[OE-core] [PATCH 2/2] prelink_git.bb: Only block the postinst script when no image-prelink (v2)

Cui, Dexuan dexuan.cui at intel.com
Wed Jun 29 14:47:49 UTC 2011


Mark Hatle wrote:
> On 6/29/11 9:42 AM, Phil Blundell wrote:
>> On Wed, 2011-06-29 at 22:39 +0800, Cui, Dexuan wrote:
>>> Even if without the patch, we still skip this on the host side --
>>> previously we skipped with "exit 1", and with the patch now we skip
>>> with "exit 1" or "exit 0". So IMHO looks the patch doesn't actually
>>> help? :-)  
>> 
>> If the script exits with 0 in offline mode then it won't get rerun at
>> first boot on the target.  If it exits with 1 then it will.
> 
> Yes.  Since we've already run the equivalent of the script in the
> image-prelink, we can safely exit with a '0' telling the "image"
> preinst code that this was successfully run and to ignore it at first
> boot. 
> 
Ok, got it!

Thanks very much for the explanation!

Thanks,
-- Dexuan



More information about the Openembedded-core mailing list