diff options
author | Ming Liu <peter.x.liu@external.atlascopco.com> | 2017-01-26 14:03:48 +0100 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2017-01-31 14:43:02 +0000 |
commit | 5707949f032d6b7c8baccef53cc61a8ae1547b16 (patch) | |
tree | 2758dff4ce8cccf44f1dd464fecb9be333accba8 /meta/classes | |
parent | 3c89b61533d33be674c1e480e6cca5982f6b4b10 (diff) | |
download | poky-5707949f032d6b7c8baccef53cc61a8ae1547b16.tar.gz |
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>
Diffstat (limited to 'meta/classes')
-rw-r--r-- | 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 65ab3ed4b3..c42829dd65 100644 --- a/meta/classes/rootfs-postcommands.bbclass +++ b/meta/classes/rootfs-postcommands.bbclass | |||
@@ -220,24 +220,6 @@ make_zimage_symlink_relative () { | |||
220 | fi | 220 | fi |
221 | } | 221 | } |
222 | 222 | ||
223 | insert_feed_uris () { | ||
224 | |||
225 | echo "Building feeds for [${DISTRO}].." | ||
226 | |||
227 | for line in ${FEED_URIS} | ||
228 | do | ||
229 | # strip leading and trailing spaces/tabs, then split into name and uri | ||
230 | line_clean="`echo "$line"|sed 's/^[ \t]*//;s/[ \t]*$//'`" | ||
231 | feed_name="`echo "$line_clean" | sed -n 's/\(.*\)##\(.*\)/\1/p'`" | ||
232 | feed_uri="`echo "$line_clean" | sed -n 's/\(.*\)##\(.*\)/\2/p'`" | ||
233 | |||
234 | echo "Added $feed_name feed with URL $feed_uri" | ||
235 | |||
236 | # insert new feed-sources | ||
237 | echo "src/gz $feed_name $feed_uri" >> ${IMAGE_ROOTFS}/etc/opkg/${feed_name}-feed.conf | ||
238 | done | ||
239 | } | ||
240 | |||
241 | python write_image_manifest () { | 223 | python write_image_manifest () { |
242 | from oe.rootfs import image_list_installed_packages | 224 | from oe.rootfs import image_list_installed_packages |
243 | from oe.utils import format_pkg_list | 225 | from oe.utils import format_pkg_list |