]> code.ossystems Code Review - openembedded-core.git/commitdiff
rootfs-postcommands.bbclass: drop insert_feed_uris function
authorMing Liu <peter.x.liu@external.atlascopco.com>
Thu, 26 Jan 2017 13:03:48 +0000 (14:03 +0100)
committerRichard Purdie <richard.purdie@linuxfoundation.org>
Tue, 31 Jan 2017 14:40:19 +0000 (14:40 +0000)
The source makes no reference to insert_feed_uris any more, simply drop
the unused reference, to avoid confusing the developers.

Signed-off-by: Ming Liu <peter.x.liu@external.atlascopco.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
meta/classes/rootfs-postcommands.bbclass

index 65ab3ed4b356d38b1463230a2f06b9c7dee1761b..c42829dd6520e571a90a5e1d102e8a785a6fc3b3 100644 (file)
@@ -220,24 +220,6 @@ make_zimage_symlink_relative () {
        fi
 }
 
-insert_feed_uris () {
-       
-       echo "Building feeds for [${DISTRO}].."
-
-       for line in ${FEED_URIS}
-       do
-               # strip leading and trailing spaces/tabs, then split into name and uri
-               line_clean="`echo "$line"|sed 's/^[ \t]*//;s/[ \t]*$//'`"
-               feed_name="`echo "$line_clean" | sed -n 's/\(.*\)##\(.*\)/\1/p'`"
-               feed_uri="`echo "$line_clean" | sed -n 's/\(.*\)##\(.*\)/\2/p'`"
-               
-               echo "Added $feed_name feed with URL $feed_uri"
-               
-               # insert new feed-sources
-               echo "src/gz $feed_name $feed_uri" >> ${IMAGE_ROOTFS}/etc/opkg/${feed_name}-feed.conf
-       done
-}
-
 python write_image_manifest () {
     from oe.rootfs import image_list_installed_packages
     from oe.utils import format_pkg_list