summaryrefslogtreecommitdiffstats
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)
downloadpoky-a47e493baca8c444e60d7afe9ab4670dfc2dbcd6.tar.gz
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() {
134 true 134 true
135} 135}
136 136
137remove_packaging_data_files() {
138 rm -rf ${IMAGE_ROOTFS}/usr/lib/ipkg/
139 rm -rf ${IMAGE_ROOTFS}/usr/dpkg/
140}
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() {
81 test "$do_exit" = 1 && exit 1 81 test "$do_exit" = 1 && exit 1
82 true 82 true
83} 83}
84
85remove_packaging_data_files() {
86 rm -rf ${IMAGE_ROOTFS}/usr/lib/ipkg/
87}