summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMarcin Juszkiewicz <hrw@openedhand.com>2008-03-17 13:18:54 +0000
committerMarcin Juszkiewicz <hrw@openedhand.com>2008-03-17 13:18:54 +0000
commit280f86eb2c628606b1cabf53c3f3beb2f723721e (patch)
tree593afe5d3734aa8846a32ce67f9b446ea7031d47
parentbeb83fd62b8c963005192a7cd540ae2597fc90ff (diff)
downloadopenembedded-core-280f86eb2c628606b1cabf53c3f3beb2f723721e.tar.gz
openembedded-core-280f86eb2c628606b1cabf53c3f3beb2f723721e.tar.bz2
openembedded-core-280f86eb2c628606b1cabf53c3f3beb2f723721e.zip
rootfs_ipk/image.bbclass: removing of opkg lists data to rootfs_ipk class where it should belong
Signed-off-by: Marcin Juszkiewicz <hrw@openedhand.com> git-svn-id: https://svn.o-hand.com/repos/poky/trunk@4028 311d38ba-8fff-0310-9ca6-ca027cbcb966
-rw-r--r--meta/classes/image.bbclass2
-rw-r--r--meta/classes/rootfs_ipk.bbclass2
2 files changed, 2 insertions, 2 deletions
diff --git a/meta/classes/image.bbclass b/meta/classes/image.bbclass
index ff8d7521da..dee3e65618 100644
--- a/meta/classes/image.bbclass
+++ b/meta/classes/image.bbclass
@@ -85,8 +85,6 @@ fakeroot do_rootfs () {
insert_feed_uris
- rm -f ${IMAGE_ROOTFS}${libdir}/ipkg/lists/*
-
${IMAGE_PREPROCESS_COMMAND}
export TOPDIR=${TOPDIR}
diff --git a/meta/classes/rootfs_ipk.bbclass b/meta/classes/rootfs_ipk.bbclass
index 80adb0bcd7..ea60c03fc5 100644
--- a/meta/classes/rootfs_ipk.bbclass
+++ b/meta/classes/rootfs_ipk.bbclass
@@ -53,6 +53,8 @@ fakeroot rootfs_ipk_do_rootfs () {
install -d ${IMAGE_ROOTFS}/${sysconfdir}
echo ${BUILDNAME} > ${IMAGE_ROOTFS}/${sysconfdir}/version
+ rm -f ${IMAGE_ROOTFS}${libdir}/opkg/lists/*
+
${ROOTFS_POSTPROCESS_COMMAND}
log_check rootfs