Skip to contentSkip to conversation

rootfs-postcommands.bbclass: drop insert_feed_uris function

PATCH New [email protected] 1 participant 1 message Jan 26, 2017

lore
Share & tools
lore
#0 lore raw

PATCH v2 1/1 rootfs-postcommands.bbclass: drop insert_feed_uris function

From: Ming Liu <[email protected]>

The source makes no reference to insert_feed_uris any more, simply drop the unused reference, to avoid confusing the developers.

---
 meta/classes/rootfs-postcommands.bbclass | 18 ------------------
 1 file changed, 18 deletions(-)
meta/classes/rootfs-postcommands.bbclass +0 -18
index c8f18c6..1acda29 100644
@@ -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
Signature · 1 line
1.9.1