rootfs_ipk: don't emit error code when ONLINE_PACKAGE_MANAGEMENT is really none
authorMartin Jansa <Martin.Jansa@gmail.com>
Tue, 15 Feb 2011 08:33:50 +0000 (09:33 +0100)
committerMartin Jansa <Martin.Jansa@gmail.com>
Tue, 15 Feb 2011 08:35:53 +0000 (09:35 +0100)
commitd4f2f04f7478018d195331179e7e8b95997e7ffc
treef2e95366523bfda04c45dc89dd875023bd88c1ea
parent91afc3ec0eb102c995ad1a597031004e26f5a794
rootfs_ipk: don't emit error code when ONLINE_PACKAGE_MANAGEMENT is really none

* currently do_rootfs fails when it's "none", because that test returns
  exit code '1':
  | log_check: Using /OE/tmpdir-shr/work/spitz-oe-linux-gnueabi/initramfs-kexecboot-klibc-image-1.0-r0/temp/log.do_rootfs.21324 as logfile
  | Logfile is clean
  | + rm -rf /OE/tmpdir-shr/rootfs/initramfs-kexecboot-klibc-image-tmp
  | + '[' none '!=' none ']'
  NOTE: package initramfs-kexecboot-klibc-image-1.0-r0: task do_rootfs: Failed
  ERROR: Function 'do_rootfs' failed (see /OE/tmpdir-shr/work/spitz-oe-linux-gnueabi/initramfs-kexecboot-klibc-image-1.0-r0/temp/log.do_rootfs.21324 for further information)
  ERROR: Task 1356 (/OE/dev/recipes/images/initramfs-kexecboot-klibc-image.bb, do_rootfs) failed with exit code '1'
  ERROR: '/OE/dev/recipes/images/initramfs-kexecboot-klibc-image.bb' failed

Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
classes/rootfs_ipk.bbclass