[OE-core] rootfs_ipk.bbclass: : [: -eq: unary operator expected

Andrea Adami andrea.adami at gmail.com
Wed Jan 4 23:56:57 UTC 2012


Checking the logs I noticed this note:

/oe/oe-core/build/tmp-eglibc/work/poodle-oe-linux-gnueabi/initramfs-kexecboot-klibc-image-1.0-r0/temp/run.do_rootfs.22017:
line 271: [: -eq: unary operator expected

The line in question is in rootfs_ipk.bbclass

rootfs_ipk_do_rootfs()
...

 if [ $runtime_script_required -eq 0 ]; then


IMHO the test should be refined.

Regards

Andrea




More information about the Openembedded-core mailing list