diff options
author | Richard Purdie <richard.purdie@linuxfoundation.org> | 2011-01-05 18:56:47 +0000 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2011-01-05 18:57:07 +0000 |
commit | 5e384038cbd5035377d61a1b77ad23ab69e0cac0 (patch) | |
tree | 32246eee39179fbcc1c4555e45c2020f3a05b3a6 /meta/classes/rootfs_rpm.bbclass | |
parent | 6ded4e0ae7f271512f580010c9ec10c4e4218f40 (diff) | |
download | openembedded-core-5e384038cbd5035377d61a1b77ad23ab69e0cac0.tar.gz openembedded-core-5e384038cbd5035377d61a1b77ad23ab69e0cac0.tar.bz2 openembedded-core-5e384038cbd5035377d61a1b77ad23ab69e0cac0.zip |
rootfs_rpm.bbclass: Remove temporary work files in install directory, saving the manifests as logfiles into ${T}
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta/classes/rootfs_rpm.bbclass')
-rw-r--r-- | meta/classes/rootfs_rpm.bbclass | 7 |
1 files changed, 5 insertions, 2 deletions
diff --git a/meta/classes/rootfs_rpm.bbclass b/meta/classes/rootfs_rpm.bbclass index 33abe96df9..2f7d6916d9 100644 --- a/meta/classes/rootfs_rpm.bbclass +++ b/meta/classes/rootfs_rpm.bbclass @@ -202,8 +202,11 @@ EOF # remove lock files rm -f ${IMAGE_ROOTFS}${rpmlibdir}/__db.* - # remove resolver files and manifests - rm -f ${IMAGE_ROOTFS}/install/install.manifest + # Move manifests into the directory with the logs + mv ${IMAGE_ROOTFS}/install/*.manifest ${T}/ + + # Remove all remaining resolver files + rm -f ${IMAGE_ROOTFS}/install log_check rootfs |