[oe-commits] org.oe.oz354x 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.
hrw commit
openembedded-commits at lists.openembedded.org
Tue Aug 22 15:38:53 UTC 2006
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. (from poky)
from .dev
Author: hrw at openembedded.org
Branch: org.openembedded.oz354x
Revision: 2fe0885c97120c781e74b27c9ac930ecfb36a5ec
ViewMTN: http://monotone.openembedded.org/revision.psp?id=2fe0885c97120c781e74b27c9ac930ecfb36a5ec
Files:
1
classes/rootfs_ipk.bbclass
packages/meta/package-index.bb
Diffs:
#
# mt diff -rf09d3ca4cb220a76f03a8ee52cdc5ec6a5a3534e -r2fe0885c97120c781e74b27c9ac930ecfb36a5ec
#
#
#
# patch "classes/rootfs_ipk.bbclass"
# from [4b5aa55d5aa16a8bbbd6b4cbd19b6d4761724216]
# to [b68d3a18d81c44b5aaa77736bce3f6547d53976b]
#
# patch "packages/meta/package-index.bb"
# from [714127eb3d8e8ae6aef58d3364147c83950fda89]
# to [5abc93f5c6ef094038f52eeb2f66e32748d079a3]
#
============================================================
--- classes/rootfs_ipk.bbclass 4b5aa55d5aa16a8bbbd6b4cbd19b6d4761724216
+++ classes/rootfs_ipk.bbclass b68d3a18d81c44b5aaa77736bce3f6547d53976b
@@ -36,8 +36,6 @@ real_do_rootfs () {
insert_feed_uris_t
else
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
echo "src oe file:${DEPLOY_DIR_IPK}" > ${T}/ipkg.conf
============================================================
--- packages/meta/package-index.bb 714127eb3d8e8ae6aef58d3364147c83950fda89
+++ packages/meta/package-index.bb 5abc93f5c6ef094038f52eeb2f66e32748d079a3
@@ -28,8 +28,6 @@ do_build() {
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
}
More information about the Openembedded-commits
mailing list