Hi Terry,

Are you using the dash shell? if so there's a section that is not supported.


echo "creating an initamfs compressed filesystem image: initramfs.cpio.gz" geninitramfs -U -D $dev_tab -d $stage | gen_init_cpio - | gzip -9 > $tdir/initramfs.cpio.gz
    # Note: not supported in dash (sigh)
    if [ -n "\$PIPESTATUS" -a \$PIPESTATUS -ne 0 ]
    then
        exit 1
    fi
    if [ "$pcf->{DEPLOYMENT_RAMDISK_U_BOOT}" = "y" ]

This may be what you're running into, but without more in-context output I can't tell.

If this is the case, I'd recommend changing to a standard bash shell.

Regards, Stuart

On 21/09/12 03:38, Lv Terry-R65388 wrote:
Hi All,

        I'm using ltib to generate an ramfs and I encountered an error when the 
script is creating an initamfs compressed filesystem.

        creating an initamfs compressed filesystem image: initramfs.cpio.gz
        [: 101: -ne: unexpected operator

        The error place is in bin/Ltibutils.pm.

        Do you know why?

Yours
Terry
_______________________________________________
LTIB home page: http://ltib.org

Ltib mailing list
[email protected]
https://lists.nongnu.org/mailman/listinfo/ltib


_______________________________________________
LTIB home page: http://ltib.org

Ltib mailing list
[email protected]
https://lists.nongnu.org/mailman/listinfo/ltib

Reply via email to