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>
This commit is contained in:
Darren Hart
2011-01-05 16:45:56 -08:00
parent 5e384038cb
commit 21fafc889e

View File

@@ -206,7 +206,7 @@ EOF
mv ${IMAGE_ROOTFS}/install/*.manifest ${T}/
# Remove all remaining resolver files
rm -f ${IMAGE_ROOTFS}/install
rm -rf ${IMAGE_ROOTFS}/install
log_check rootfs