summaryrefslogtreecommitdiff
path: root/meta
diff options
context:
space:
mode:
authorMarcin Juszkiewicz <hrw@openedhand.com>2007-06-26 11:35:20 +0000
committerMarcin Juszkiewicz <hrw@openedhand.com>2007-06-26 11:35:20 +0000
commita47e493baca8c444e60d7afe9ab4670dfc2dbcd6 (patch)
treea86612f5d3c4aa1a6c311fd643e0e389a1dfe766 /meta
parentab15c530d106f99417d6d9f23ad6247dc04a237e (diff)
downloadopenembedded-core-a47e493baca8c444e60d7afe9ab4670dfc2dbcd6.tar.gz
openembedded-core-a47e493baca8c444e60d7afe9ab4670dfc2dbcd6.tar.bz2
openembedded-core-a47e493baca8c444e60d7afe9ab4670dfc2dbcd6.zip
rootfs classes: added remove_packaging_data_files() function to be used in minimal images
git-svn-id: https://svn.o-hand.com/repos/poky/trunk@2007 311d38ba-8fff-0310-9ca6-ca027cbcb966
Diffstat (limited to 'meta')
-rw-r--r--meta/classes/rootfs_deb.bbclass4
-rw-r--r--meta/classes/rootfs_ipk.bbclass4
2 files changed, 8 insertions, 0 deletions
diff --git a/meta/classes/rootfs_deb.bbclass b/meta/classes/rootfs_deb.bbclass
index f3dba97436..b7a139c02b 100644
--- a/meta/classes/rootfs_deb.bbclass
+++ b/meta/classes/rootfs_deb.bbclass
@@ -134,3 +134,7 @@ rootfs_deb_log_check() {
true
}
+remove_packaging_data_files() {
+ rm -rf ${IMAGE_ROOTFS}/usr/lib/ipkg/
+ rm -rf ${IMAGE_ROOTFS}/usr/dpkg/
+}
diff --git a/meta/classes/rootfs_ipk.bbclass b/meta/classes/rootfs_ipk.bbclass
index 0e38579cd4..89c35ab85b 100644
--- a/meta/classes/rootfs_ipk.bbclass
+++ b/meta/classes/rootfs_ipk.bbclass
@@ -81,3 +81,7 @@ rootfs_ipk_log_check() {
test "$do_exit" = 1 && exit 1
true
}
+
+remove_packaging_data_files() {
+ rm -rf ${IMAGE_ROOTFS}/usr/lib/ipkg/
+}