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:
parent
215379647b
commit
23b93ceb82
|
@ -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}
|
||||
|
|
|
@ -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
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue