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/rpm_5.4.0.bb | |
parent | 7202a77134029cb37540c785ce0161a4dd574853 (diff) | |
download | openembedded-core-8e070a9a54a17d5cbd098798d94fa84d97477a94.tar.gz openembedded-core-8e070a9a54a17d5cbd098798d94fa84d97477a94.tar.bz2 openembedded-core-8e070a9a54a17d5cbd098798d94fa84d97477a94.zip |
rpm: Update extra unpack code after fetcher changes
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta/recipes-devtools/rpm/rpm_5.4.0.bb')
-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 \ python base_do_unpack_append() { import subprocess - for url in src_uri.split(): - try: - local = bb.data.expand(bb.fetch.localpath(url, localdata), localdata) - except bb.MalformedUrl, e: - raise FuncFailed('Unable to generate local path for malformed uri: %s' % e) + for url in src_uri: + local = bb.fetch2.localpath(url) if local is None: continue local = os.path.realpath(local) |