[OE-core] rootfs_ipk.bbclass: : [: -eq: unary operator expected
Andrea Adami
andrea.adami at gmail.com
Thu Jan 5 08:22:14 UTC 2012
On Thu, Jan 5, 2012 at 12:56 AM, Andrea Adami <andrea.adami at gmail.com> wrote:
> 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
I think it comes from the recent commit
"2feba313c991170747381c7cf821a45c2cd04632 opkg: Update svn 625 -> 633
and fix preinst issues"
Regards
Andrea
More information about the Openembedded-core
mailing list