diff options
author | Richard Purdie <richard@openedhand.com> | 2006-07-24 08:27:13 +0000 |
---|---|---|
committer | Richard Purdie <richard@openedhand.com> | 2006-07-24 08:27:13 +0000 |
commit | 23b93ceb820de17f28c2bf2bf114c0fca70cf159 (patch) | |
tree | d11b9fe98fc38f93f1c40dac86498ecaf49aa05a /meta/classes | |
parent | 215379647bc3cfaccdd52730c9b643524f95102b (diff) | |
download | poky-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/classes')
-rw-r--r-- | meta/classes/rootfs_ipk.bbclass | 2 |
1 files changed, 0 insertions, 2 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} |