Re: [OE-core] [poky][PATCH] run-postinsts: do not remove postinsts directory.

2021-04-05 Thread Anton Kachalov via lists.openembedded.org
On Wed, 24 Mar 2021 at 20:12, Steve Sakoman wrote: > > On Wed, Mar 24, 2021 at 8:28 AM Khem Raj wrote: > > > > > > > > On 3/24/21 8:09 AM, Steve Sakoman wrote: > > > On Sun, Mar 21, 2021 at 12:26 AM Anton Kachalov via > > > lists.openembedde

Re: [OE-core] [poky][PATCH] package_manager: install versioned postinst scripts

2021-03-23 Thread Anton Kachalov via lists.openembedded.org
clean the deleted files on overlayfs upperdir. However, it > > will mean that all the scripts regardless if they are updated or not, > > will be re-executed after rootfs update. > > > > On Mon, 22 Mar 2021 at 17:08, Mike Looijmans > <mailto:mike.looijm...@topic.nl>>

Re: [OE-core] [poky][PATCH] package_manager: install versioned postinst scripts

2021-03-22 Thread Anton Kachalov via lists.openembedded.org
nds > > T: +31 (0) 499 33 69 69 <+31%20499%20336%20969> > E: mike.looijm...@topicproducts.com > W: www.topic.nl > > Please consider the environment before printing this e-mail > On 22-03-2021 16:45, Anton Kachalov via lists.openembedded.org wrote: > > From:

[OE-core] [poky][PATCH] package_manager: install versioned postinst scripts

2021-03-22 Thread Anton Kachalov via lists.openembedded.org
From: "Anton D. Kachalov" When running on read-only rootfs backed with overlayfs, the processed scripts are being marked as deleted on upperdir of overlayfs. When it comes to upgrade the main read-only image, it might contain new postinst scripts that are different from the already processed.

[OE-core] [poky][PATCH] run-postinsts: do not remove postinsts directory.

2021-03-21 Thread Anton Kachalov via lists.openembedded.org
From: "Anton D. Kachalov" When running on the systems having read-only rootfs backed by overlayfs, removing the whole directory lead to create a special char device file on the upperdir to reflect directory's removal. Once it is required to upgrade the whole read-only image that might contain

Re: [OE-core] [poky][PATCH] rootfs: add option to allow delayed postinsts on read-only rootfs

2021-01-19 Thread Anton Kachalov via lists.openembedded.org
Hi, Richard. Thanks! I've expected some kind of ack :) On Tue, 19 Jan 2021 at 13:51, Richard Purdie < richard.pur...@linuxfoundation.org> wrote: > On Tue, 2021-01-19 at 12:39 +0100, Anton Kachalov via > lists.openembedded.org wrote: > > Ping on the patch > > It mer

Re: [OE-core] [poky][PATCH] rootfs: add option to allow delayed postinsts on read-only rootfs

2021-01-19 Thread Anton Kachalov via lists.openembedded.org
Ping on the patch On Fri, 15 Jan 2021 at 16:43, Anton Kachalov via lists.openembedded.org wrote: > Example use case in OpenBMC: rootfs is squashfs and the system has either > overlayfs for whole rootfs or for some parts (e.g. /etc). > > This option will allow to create migrat

Re: [OE-core] [poky][PATCH] bitbake: remove /usr from pseudo ignore paths

2021-01-15 Thread Anton Kachalov via lists.openembedded.org
Perhaps, I'm doing something wrong, but setting this variable in build/conf/local.conf makes packages fail to build (do_install): only those which fail with pseudo before (linux-libc-headers and base-files). On Fri, 15 Jan 2021 at 18:15, Richard Purdie < richard.pur...@linuxfoundation.org> wrote:

Re: [OE-core] [poky][PATCH] bitbake: remove /usr from pseudo ignore paths

2021-01-15 Thread Anton Kachalov via lists.openembedded.org
Hello, nope, setting the entire PSEUDO_IGNORE_PATHS without "/usr" doesn't work. The do_install task fails with error code 134 without any log file. Neither temp/run.do_install file exists. The pseudo.log doesn't have any errors. On Mon, 11 Jan 2021 at 19:22, Peter Kjellerstedt <

[OE-core] [poky][PATCH] rootfs: add option to allow delayed postinsts on read-only rootfs

2021-01-15 Thread Anton Kachalov via lists.openembedded.org
Example use case in OpenBMC: rootfs is squashfs and the system has either overlayfs for whole rootfs or for some parts (e.g. /etc). This option will allow to create migration one-shot postinsts using "pkg_postinst_ontarget_${PN}" routines defined in recipes to fix files under upper workdir in

Re: [OE-core] [poky][PATCH] bitbake: remove /usr from pseudo ignore paths

2021-01-07 Thread Anton Kachalov via lists.openembedded.org
Purdie < richard.pur...@linuxfoundation.org> wrote: > On Thu, 2021-01-07 at 22:58 +0100, Anton Kachalov via > lists.openembedded.org wrote: > > Allow the Yocto's building tree to be placed under /usr. > > > > Relevant issue: https://github.com/openbmc/openbmc/

[OE-core] [poky][PATCH] bitbake: remove /usr from pseudo ignore paths

2021-01-07 Thread Anton Kachalov via lists.openembedded.org
Allow the Yocto's building tree to be placed under /usr. Relevant issue: https://github.com/openbmc/openbmc/issues/3724 Signed-off-by: Anton D. Kachalov --- meta/conf/bitbake.conf | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/meta/conf/bitbake.conf