[OE-core] [PATCH 08/30] package-index.bb: add support for deb and rpm.
Cui, Dexuan
dexuan.cui at intel.com
Fri May 20 01:13:06 UTC 2011
Richard Purdie wrote:
> Hi,
>
> We're nearly there with this, I'd like just one other tweak please:
>
> On Thu, 2011-05-19 at 12:19 -0700, Saul Wold wrote:
>> diff --git a/meta/classes/package_deb.bbclass
>> b/meta/classes/package_deb.bbclass index 4faeb4a..f9ef32c 100644 ---
>> a/meta/classes/package_deb.bbclass +++
>> b/meta/classes/package_deb.bbclass @@ -431,3 +431,12 @@ python
>> do_package_write_deb () { do_package_write_deb[dirs] =
>> "${PKGWRITEDIRDEB}" addtask package_write_deb before
>> do_package_write after do_package
>>
>> +
>> +PACKAGEINDEXES += "package_index_deb;"
>> +PACKAGEINDEXDEPS += "dpkg-native:do_populate_sysroot"
>> +PACKAGEINDEXDEPS += "apt-native:do_populate_sysroot" +
>> +package_index_deb() {
>> + package_update_index_deb
>> +}
>
> Can't we just do +PACKAGEINDEXES += "package_update_index_deb;"
>
> instead of adding the function?
Richard, thanks for the suggestion!
I made a new git commit at: please review it:
http://git.pokylinux.org/cgit.cgi/poky-contrib/commit/?h=dcui/master&id=949f58a3ff0b4227986cff2c165a0d49aa2631cc
Thanks,
-- Dexuan
More information about the Openembedded-core
mailing list