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
This commit is contained in:
Richard Purdie 2006-07-24 08:27:13 +00:00
parent 215379647b
commit 23b93ceb82
2 changed files with 0 additions and 4 deletions

View File

@ -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}

View File

@ -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
}