[OE-core] [PATCH] packagegroup-core-standalone-sdk-target: Add qemuwrapper-cross to target sysroot

David Nyström david.c.nystrom at gmail.com
Wed Jan 22 18:29:55 UTC 2014


On ons 22 jan 2014 19:24:47, Otavio Salvador wrote:
> On Wed, Jan 22, 2014 at 4:15 PM, David Nyström <david.nystrom at enea.com> wrote:
>> On 2014-01-22 19:08, Otavio Salvador wrote:
>>>
>>> On Wed, Jan 22, 2014 at 1:48 PM, David Nyström
>>> <david.c.nystrom at gmail.com> wrote:
>>>>
>>>> Some postinstall scripts use the qemuwrapper script, so to be able to
>>>> offline install these packages outside of the bitbake environment, this
>>>> script
>>>> needs to be exposed also in the SDK.
>>>>
>>>> This to enable rootfs generation from a package repository using only a
>>>> package repository and the toolchain tarball.
>>>>
>>>> See https://github.com/nysan/rootfs-sandbox for examples.
>>>>
>>>> Signed-off-by: David Nyström <david.nystrom at enea.com>
>>>
>>>
>>> Shouldn't this be a RDEPENDS of the postinst package?
>>>
>>
>> Do you mean a RDEPENDS on the run-postinsts package ?
>> In that case no.
>>
>> When $D is set, postinstalls interpret this as a offline install,
>> some postinstalls call postinstall-intercepts, which in turn use the
>> qemuwrapper script _only_ if $D is set.
>>
>> run-postinsts should be installed if there are postinstalls which failed to
>> run during the offline install.
>>
>> Just to clarify this, the qemuwrapper-cross will only be installed to the
>> target SDK sysroot, never on the target rootfs.
>
> No; in postinstall-intercepts RDEPENDS.
>

Ah, now I get it.
If I do that, will it not end up on the target rootfs ?

Br,
David




More information about the Openembedded-core mailing list