summaryrefslogtreecommitdiffstats
path: root/meta
diff options
context:
space:
mode:
authorRichard Purdie <richard@openedhand.com>2006-07-24 08:27:13 +0000
committerRichard Purdie <richard@openedhand.com>2006-07-24 08:27:13 +0000
commit23b93ceb820de17f28c2bf2bf114c0fca70cf159 (patch)
treed11b9fe98fc38f93f1c40dac86498ecaf49aa05a /meta
parent215379647bc3cfaccdd52730c9b643524f95102b (diff)
downloadpoky-23b93ceb820de17f28c2bf2bf114c0fca70cf159.tar.gz
rootfs_ipk.bbclass, package-index: With the fixed ipkg-utils there is no need to remove the old Packages file when regenerating the Packages index. This gives a big speed improvement when regenerating images as it doesn't have to open every ipk for its metadata.
git-svn-id: https://svn.o-hand.com/repos/poky/trunk@545 311d38ba-8fff-0310-9ca6-ca027cbcb966
Diffstat (limited to 'meta')
-rw-r--r--meta/classes/rootfs_ipk.bbclass2
-rw-r--r--meta/packages/meta/package-index.bb2
2 files changed, 0 insertions, 4 deletions
diff --git a/meta/classes/rootfs_ipk.bbclass b/meta/classes/rootfs_ipk.bbclass
index 2729503507..8dfba10b5e 100644
--- a/meta/classes/rootfs_ipk.bbclass
+++ b/meta/classes/rootfs_ipk.bbclass
@@ -31,8 +31,6 @@ real_do_rootfs () {
31 mkdir -p ${IMAGE_ROOTFS}/dev 31 mkdir -p ${IMAGE_ROOTFS}/dev
32 32
33 if [ -z "${DEPLOY_KEEP_PACKAGES}" ]; then 33 if [ -z "${DEPLOY_KEEP_PACKAGES}" ]; then
34 rm -f ${DEPLOY_DIR_IPK}/Packages
35 touch ${DEPLOY_DIR_IPK}/Packages
36 ipkg-make-index -r ${DEPLOY_DIR_IPK}/Packages -p ${DEPLOY_DIR_IPK}/Packages -l ${DEPLOY_DIR_IPK}/Packages.filelist -m ${DEPLOY_DIR_IPK} 34 ipkg-make-index -r ${DEPLOY_DIR_IPK}/Packages -p ${DEPLOY_DIR_IPK}/Packages -l ${DEPLOY_DIR_IPK}/Packages.filelist -m ${DEPLOY_DIR_IPK}
37 fi 35 fi
38 mkdir -p ${T} 36 mkdir -p ${T}
diff --git a/meta/packages/meta/package-index.bb b/meta/packages/meta/package-index.bb
index f230af0e27..0f8c450e37 100644
--- a/meta/packages/meta/package-index.bb
+++ b/meta/packages/meta/package-index.bb
@@ -27,8 +27,6 @@ do_build[nostamp] = 1
27do_build[dirs] = "${DEPLOY_DIR_IPK}" 27do_build[dirs] = "${DEPLOY_DIR_IPK}"
28do_build() { 28do_build() {
29 set -ex 29 set -ex
30 rm -f Packages
31 touch Packages
32 ipkg-make-index -r Packages -p Packages -l Packages.filelist -m . 30 ipkg-make-index -r Packages -p Packages -l Packages.filelist -m .
33 set +ex 31 set +ex
34} 32}