summaryrefslogtreecommitdiffstats
path: root/meta/classes/rootfs_rpm.bbclass
diff options
context:
space:
mode:
authorDarren Hart <dvhart@linux.intel.com>2011-01-05 16:45:56 -0800
committerDarren Hart <dvhart@linux.intel.com>2011-01-05 16:50:43 -0800
commit21fafc889e81411735de7d04ffe504e5cff4830d (patch)
treea48bbf59bd685c4e07f58d29c1d691dc848fb3c9 /meta/classes/rootfs_rpm.bbclass
parent5e384038cbd5035377d61a1b77ad23ab69e0cac0 (diff)
downloadpoky-21fafc889e81411735de7d04ffe504e5cff4830d.tar.gz
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>
Diffstat (limited to 'meta/classes/rootfs_rpm.bbclass')
-rw-r--r--meta/classes/rootfs_rpm.bbclass2
1 files changed, 1 insertions, 1 deletions
diff --git a/meta/classes/rootfs_rpm.bbclass b/meta/classes/rootfs_rpm.bbclass
index 2f7d6916d9..8646eec1e1 100644
--- a/meta/classes/rootfs_rpm.bbclass
+++ b/meta/classes/rootfs_rpm.bbclass
@@ -206,7 +206,7 @@ EOF
206 mv ${IMAGE_ROOTFS}/install/*.manifest ${T}/ 206 mv ${IMAGE_ROOTFS}/install/*.manifest ${T}/
207 207
208 # Remove all remaining resolver files 208 # Remove all remaining resolver files
209 rm -f ${IMAGE_ROOTFS}/install 209 rm -rf ${IMAGE_ROOTFS}/install
210 210
211 log_check rootfs 211 log_check rootfs
212 212