[OE-core] [PATCH 3/3] prelink: do not use 'exit 0' to incorrectly postpone to first boot

Hongxu Jia hongxu.jia at windriver.com
Thu Sep 6 01:12:14 UTC 2018


On 2018年09月06日 01:34, Richard Purdie wrote:
>> -
>> -if [ "x$D" != "x" ]; then
>> -  exit 0
>> -fi
>> -
>> +pkg_postinst_ontarget_prelink() {
>>   prelink -a
>>   }
> I'm not sure this is correct. The idea here is that no postinst runs,
> on target or at rootfs time (since we prelink the rootfs elsewhere at
> rootfs time). The only time a postinst runs is if the package is
> actually installed onto a target system later on a running system.
>
> I think you change the behaviour here so that it would run on the
> target system at first boot?

Yes, you are right, since the behavior is on purpose, the fix
is not necessary, please drop it.

> Cheers,
>
> Richard


-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openembedded.org/pipermail/openembedded-core/attachments/20180906/7df0a1f7/attachment-0002.html>


More information about the Openembedded-core mailing list