summaryrefslogtreecommitdiffstats
path: root/meta/classes/rootfs_rpm.bbclass
diff options
context:
space:
mode:
Diffstat (limited to 'meta/classes/rootfs_rpm.bbclass')
-rw-r--r--meta/classes/rootfs_rpm.bbclass6
1 files changed, 5 insertions, 1 deletions
diff --git a/meta/classes/rootfs_rpm.bbclass b/meta/classes/rootfs_rpm.bbclass
index 9039b21..fbc46c0 100644
--- a/meta/classes/rootfs_rpm.bbclass
+++ b/meta/classes/rootfs_rpm.bbclass
@@ -154,7 +154,11 @@ EOF
154} 154}
155 155
156remove_packaging_data_files() { 156remove_packaging_data_files() {
157 rm -rf ${IMAGE_ROOTFS}${rpmlibdir} 157 # Save the rpmlib for increment rpm image generation
158 t="${T}/saved_rpmlib/var/lib"
159 rm -fr $t
160 mkdir -p $t
161 mv ${IMAGE_ROOTFS}${rpmlibdir} $t
158 rm -rf ${IMAGE_ROOTFS}${opkglibdir} 162 rm -rf ${IMAGE_ROOTFS}${opkglibdir}
159} 163}
160 164