summaryrefslogtreecommitdiff
path: root/meta/classes/rootfs_rpm.bbclass
diff options
context:
space:
mode:
authorMarcin Juszkiewicz <hrw@openedhand.com>2008-10-03 15:23:05 +0000
committerMarcin Juszkiewicz <hrw@openedhand.com>2008-10-03 15:23:05 +0000
commite71b7011d4ec25a50e7db94e4af79514e51fbd4e (patch)
tree61f8cd3fa910ff5515373c601972a305d73d9915 /meta/classes/rootfs_rpm.bbclass
parent47f77ae3e79c6c54c3e12c6cf0d212842dcfc289 (diff)
downloadopenembedded-core-e71b7011d4ec25a50e7db94e4af79514e51fbd4e.tar.gz
openembedded-core-e71b7011d4ec25a50e7db94e4af79514e51fbd4e.tar.bz2
openembedded-core-e71b7011d4ec25a50e7db94e4af79514e51fbd4e.tar.xz
openembedded-core-e71b7011d4ec25a50e7db94e4af79514e51fbd4e.zip
rootfs_rpm.bbclass: remove lock files to get rpm working on device
git-svn-id: https://svn.o-hand.com/repos/poky/trunk@5412 311d38ba-8fff-0310-9ca6-ca027cbcb966
Diffstat (limited to 'meta/classes/rootfs_rpm.bbclass')
-rw-r--r--meta/classes/rootfs_rpm.bbclass3
1 files changed, 3 insertions, 0 deletions
diff --git a/meta/classes/rootfs_rpm.bbclass b/meta/classes/rootfs_rpm.bbclass
index 5f250e44f..876036ae6 100644
--- a/meta/classes/rootfs_rpm.bbclass
+++ b/meta/classes/rootfs_rpm.bbclass
@@ -141,6 +141,9 @@ EOF
rm -rf ${IMAGE_ROOTFS}/var/log2/
rm -rf ${IMAGE_ROOTFS}${DEPLOY_DIR_RPM}/
+ # remove lock files
+ rm -f ${IMAGE_ROOTFS}/var/lib/rpm/__db.*
+
log_check rootfs
}