[poky] Postinstallation script for target throw warnings
Robert Yang
liezhi.yang at windriver.com
Thu Jan 11 17:45:16 PST 2018
On 01/11/2018 07:40 PM, Alexander Kanavin wrote:
> On 01/11/2018 07:33 AM, Robert Yang wrote:
>> Yes, just remove the "else" block and use something like:
>>
>> if [ -z "$D" ]; then
>> # Actions
>> fi
>>
>> But it would be better if you can make it work during do_rootfs rather
>> than firstboot.
>
> This is not correct. If you do this, then the postinst will be executed once,
> during image creation, and Actions will never be taken.
Sorry, I think that the 'Action' will be executed when first boot ?
// Robert
>
> Alex
>
More information about the poky
mailing list