summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRichard Purdie <rpurdie@rpsys.net>2006-07-24 11:16:10 +0000
committerRichard Purdie <rpurdie@rpsys.net>2006-07-24 11:16:10 +0000
commit817cb42b0dc6e3db089c8cdc4a1340718e858000 (patch)
tree6474a5daca8851e31a80cbd43c8061931c378103
parent316746313305f48dfdd6e54cc0c5854b6f44cd5c (diff)
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. (from poky)
-rw-r--r--classes/rootfs_ipk.bbclass2
-rw-r--r--packages/meta/package-index.bb2
2 files changed, 0 insertions, 4 deletions
diff --git a/classes/rootfs_ipk.bbclass b/classes/rootfs_ipk.bbclass
index b2b7479fad..2b92415b58 100644
--- a/classes/rootfs_ipk.bbclass
+++ b/classes/rootfs_ipk.bbclass
@@ -31,8 +31,6 @@ real_do_rootfs () {
mkdir -p ${IMAGE_ROOTFS}/dev
if [ -z "${DEPLOY_KEEP_PACKAGES}" ]; then
- rm -f ${DEPLOY_DIR_IPK}/Packages
- touch ${DEPLOY_DIR_IPK}/Packages
ipkg-make-index -r ${DEPLOY_DIR_IPK}/Packages -p ${DEPLOY_DIR_IPK}/Packages -l ${DEPLOY_DIR_IPK}/Packages.filelist -m ${DEPLOY_DIR_IPK}
fi
mkdir -p ${T}
diff --git a/packages/meta/package-index.bb b/packages/meta/package-index.bb
index f230af0e27..0f8c450e37 100644
--- a/packages/meta/package-index.bb
+++ b/packages/meta/package-index.bb
@@ -27,8 +27,6 @@ do_build[nostamp] = 1
do_build[dirs] = "${DEPLOY_DIR_IPK}"
do_build() {
set -ex
- rm -f Packages
- touch Packages
ipkg-make-index -r Packages -p Packages -l Packages.filelist -m .
set +ex
}