mirror of
https://git.yoctoproject.org/poky
synced 2026-04-26 18:32:13 +02:00
rootfs_ipk: implement FEED_DEPLOYDIR_BASE_URI support
this feature was present in OE-classic, is documented in OE-core but its implementation is actually missing. The present implementation is directly copied from OE-classic and tested on an arm926 machine. (From OE-Core rev: 63b619fd7a3d0ca55a965f0a5b99f6e9c8584ea4) Signed-off-by: Eric Bénard <eric@eukrea.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This commit is contained in:
committed by
Richard Purdie
parent
272f410224
commit
64ee1e6e71
@@ -205,7 +205,18 @@ ipk_insert_feed_uris () {
|
||||
|
||||
# insert new feed-sources
|
||||
echo "src/gz $feed_name $feed_uri" >> ${IPKGCONF_TARGET}
|
||||
done
|
||||
done
|
||||
|
||||
# Allow to use package deploy directory contents as quick devel-testing
|
||||
# feed. This creates individual feed configs for each arch subdir of those
|
||||
# specified as compatible for the current machine.
|
||||
# NOTE: Development-helper feature, NOT a full-fledged feed.
|
||||
if [ -n "${FEED_DEPLOYDIR_BASE_URI}" ]; then
|
||||
for arch in ${PACKAGE_ARCHS}
|
||||
do
|
||||
echo "src/gz local-$arch ${FEED_DEPLOYDIR_BASE_URI}/$arch" >> ${IMAGE_ROOTFS}/etc/opkg/local-$arch-feed.conf
|
||||
done
|
||||
fi
|
||||
}
|
||||
|
||||
python () {
|
||||
|
||||
Reference in New Issue
Block a user