summaryrefslogtreecommitdiff
path: root/classes
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 /classes
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)
Diffstat (limited to 'classes')
-rw-r--r--classes/rootfs_ipk.bbclass2
1 files changed, 0 insertions, 2 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}