mirror of
https://git.yoctoproject.org/poky
synced 2026-02-21 00:49:41 +01:00
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:
@@ -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
|
||||
|
||||
|
||||
Reference in New Issue
Block a user