[gnome-continuous-yocto/gnomeostree-3.28-rocko: 4410/8267] rootfs-postcommands.bbclass: drop insert_feed_uris function



commit 5707949f032d6b7c8baccef53cc61a8ae1547b16
Author: Ming Liu <peter x liu external atlascopco com>
Date:   Thu Jan 26 14:03:48 2017 +0100

    rootfs-postcommands.bbclass: drop insert_feed_uris function
    
    The source makes no reference to insert_feed_uris any more, simply drop
    the unused reference, to avoid confusing the developers.
    
    (From OE-Core rev: 26dddb7d4a4945abaaefd460a342de6abd609594)
    
    Signed-off-by: Ming Liu <peter x liu external atlascopco com>
    Signed-off-by: Ross Burton <ross burton intel com>
    Signed-off-by: Richard Purdie <richard purdie linuxfoundation org>

 meta/classes/rootfs-postcommands.bbclass |   18 ------------------
 1 files changed, 0 insertions(+), 18 deletions(-)
---
diff --git a/meta/classes/rootfs-postcommands.bbclass b/meta/classes/rootfs-postcommands.bbclass
index 65ab3ed..c42829d 100644
--- a/meta/classes/rootfs-postcommands.bbclass
+++ b/meta/classes/rootfs-postcommands.bbclass
@@ -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


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]