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 _______________________________________________ Openembedded-core mailing list [email protected] http://lists.linuxtogo.org/cgi-bin/mailman/listinfo/openembedded-core
