diff options
author | Richard Purdie <richard.purdie@linuxfoundation.org> | 2011-02-05 14:04:56 +0100 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2011-02-07 09:06:38 +0000 |
commit | 8e070a9a54a17d5cbd098798d94fa84d97477a94 (patch) | |
tree | 92a6bb9286e3bcfd16886f28b98018ec162bc447 /meta/recipes-devtools/rpm | |
parent | 7202a77134029cb37540c785ce0161a4dd574853 (diff) | |
download | poky-8e070a9a54a17d5cbd098798d94fa84d97477a94.tar.gz |
rpm: Update extra unpack code after fetcher changes
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta/recipes-devtools/rpm')
-rw-r--r-- | meta/recipes-devtools/rpm/rpm_5.4.0.bb | 7 |
1 files changed, 2 insertions, 5 deletions
diff --git a/meta/recipes-devtools/rpm/rpm_5.4.0.bb b/meta/recipes-devtools/rpm/rpm_5.4.0.bb index 09d1fc0a62..e158b80cd1 100644 --- a/meta/recipes-devtools/rpm/rpm_5.4.0.bb +++ b/meta/recipes-devtools/rpm/rpm_5.4.0.bb | |||
@@ -332,11 +332,8 @@ FILE_${PN}-dev = "${includedir}/rpm \ | |||
332 | python base_do_unpack_append() { | 332 | python base_do_unpack_append() { |
333 | import subprocess | 333 | import subprocess |
334 | 334 | ||
335 | for url in src_uri.split(): | 335 | for url in src_uri: |
336 | try: | 336 | local = bb.fetch2.localpath(url) |
337 | local = bb.data.expand(bb.fetch.localpath(url, localdata), localdata) | ||
338 | except bb.MalformedUrl, e: | ||
339 | raise FuncFailed('Unable to generate local path for malformed uri: %s' % e) | ||
340 | if local is None: | 337 | if local is None: |
341 | continue | 338 | continue |
342 | local = os.path.realpath(local) | 339 | local = os.path.realpath(local) |