]> code.ossystems Code Review - openembedded-core.git/commit
rootfs_rpm: fix rootfs generation rm error
authorDarren Hart <dvhart@linux.intel.com>
Thu, 6 Jan 2011 00:45:56 +0000 (16:45 -0800)
committerDarren Hart <dvhart@linux.intel.com>
Thu, 6 Jan 2011 00:50:43 +0000 (16:50 -0800)
commit21fafc889e81411735de7d04ffe504e5cff4830d
treea48bbf59bd685c4e07f58d29c1d691dc848fb3c9
parent5e384038cbd5035377d61a1b77ad23ab69e0cac0
rootfs_rpm: fix rootfs generation rm error

During a poky-image-minimal build I ran into the following error:
rm: cannot remove `/vol/1/dvhart/poky.git/build/tmp/work/atom-pc-poky-linux/poky-image-minimal-initramfs-1.0-r0/rootfs/install': Is a directory

This is caused by a missing -r (recursive) argument to rm. This patch
adds that to the rm command of rootfs_rpm.bbclass.

Signed-off-by: Darren Hart <dvhart@linux.intel.com>
CC: Bruce Ashfield <bruce.ashfield@windriver.com>
meta/classes/rootfs_rpm.bbclass