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

2018-09-05 Thread Hongxu Jia
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).

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

2018-09-05 Thread Richard Purdie
On Wed, 2018-09-05 at 08:36 -0400, Hongxu Jia wrote: > After postinst was executed at do_rootfs successfully, > there will be no first boot to redo. > > Since `229f4e9 package.bbclass: add support for > pkg_postinst_ontarget()' applied in oe-core, use > pkg_postinst_ontarget to instead. > >

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

2018-09-05 Thread Hongxu Jia
After postinst was executed at do_rootfs successfully, there will be no first boot to redo. Since `229f4e9 package.bbclass: add support for pkg_postinst_ontarget()' applied in oe-core, use pkg_postinst_ontarget to instead. Signed-off-by: Hongxu Jia ---