diff options
author | Darren Hart <dvhart@linux.intel.com> | 2011-01-05 16:45:56 -0800 |
---|---|---|
committer | Darren Hart <dvhart@linux.intel.com> | 2011-01-05 16:50:43 -0800 |
commit | 21fafc889e81411735de7d04ffe504e5cff4830d (patch) | |
tree | a48bbf59bd685c4e07f58d29c1d691dc848fb3c9 /meta | |
parent | 5e384038cbd5035377d61a1b77ad23ab69e0cac0 (diff) | |
download | openembedded-core-21fafc889e81411735de7d04ffe504e5cff4830d.tar.gz openembedded-core-21fafc889e81411735de7d04ffe504e5cff4830d.tar.bz2 openembedded-core-21fafc889e81411735de7d04ffe504e5cff4830d.zip |
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')
-rw-r--r-- | meta/classes/rootfs_rpm.bbclass | 2 |
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 mv ${IMAGE_ROOTFS}/install/*.manifest ${T}/ # Remove all remaining resolver files - rm -f ${IMAGE_ROOTFS}/install + rm -rf ${IMAGE_ROOTFS}/install log_check rootfs |