From 23b93ceb820de17f28c2bf2bf114c0fca70cf159 Mon Sep 17 00:00:00 2001 From: Richard Purdie Date: Mon, 24 Jul 2006 08:27:13 +0000 Subject: 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 --- meta/classes/rootfs_ipk.bbclass | 2 -- meta/packages/meta/package-index.bb | 2 -- 2 files changed, 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 } -- cgit v1.2.3