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 | |
parent | 215379647bc3cfaccdd52730c9b643524f95102b (diff) | |
download | openembedded-core-23b93ceb820de17f28c2bf2bf114c0fca70cf159.tar.gz openembedded-core-23b93ceb820de17f28c2bf2bf114c0fca70cf159.tar.bz2 openembedded-core-23b93ceb820de17f28c2bf2bf114c0fca70cf159.zip |
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.bbclass | 2 | ||||
-rw-r--r-- | meta/packages/meta/package-index.bb | 2 |
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 () { 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/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 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 } |