Re: [OE-core] [PATCH 1/6] overlayfs-etc: mount etc as overlayfs

2021-12-09 Thread Richard Purdie
On Thu, 2021-12-09 at 16:19 +0100, Vyacheslav Yurkov wrote: > On 09.12.2021 12:08, Richard Purdie wrote: > > The second thing which I don't really like is this mix of shell and python, > > it > > is very confusing to read. I'd much rather we put template files into > > meta/lib/files/ and then

Re: [OE-core] [PATCH 1/6] overlayfs-etc: mount etc as overlayfs

2021-12-09 Thread Vyacheslav Yurkov
On 09.12.2021 12:08, Richard Purdie wrote: The second thing which I don't really like is this mix of shell and python, it is very confusing to read. I'd much rather we put template files into meta/lib/files/ and then read them from there for the variable substitutions. We do this for other

Re: [OE-core] [PATCH 1/6] overlayfs-etc: mount etc as overlayfs

2021-12-09 Thread Vyacheslav Yurkov
On 09.12.2021 11:59, Ross Burton wrote: On Fri, 19 Nov 2021 at 06:15, Vyacheslav Yurkov wrote: +# Class for setting up /etc in overlayfs +# +# In order to have /etc directory in overlayfs a special handling at early boot stage is required +# The idea is to supply a custom init script that

Re: [OE-core] [PATCH 1/6] overlayfs-etc: mount etc as overlayfs

2021-12-09 Thread Richard Purdie
On Fri, 2021-11-19 at 07:15 +0100, Vyacheslav Yurkov wrote: > This class provides an image feature that mounts /etc as an overlayfs > file system. This is an extension for existing overlayfs class, which > doesn't support /etc > > Signed-off-by: Alfred Schapansky > Signed-off-by: Vyacheslav

Re: [OE-core] [PATCH 1/6] overlayfs-etc: mount etc as overlayfs

2021-12-09 Thread Ross Burton
On Fri, 19 Nov 2021 at 06:15, Vyacheslav Yurkov wrote: > +# Class for setting up /etc in overlayfs > +# > +# In order to have /etc directory in overlayfs a special handling at early > boot stage is required > +# The idea is to supply a custom init script that mounts /etc before > launching

[OE-core] [PATCH 1/6] overlayfs-etc: mount etc as overlayfs

2021-11-18 Thread Vyacheslav Yurkov
This class provides an image feature that mounts /etc as an overlayfs file system. This is an extension for existing overlayfs class, which doesn't support /etc Signed-off-by: Alfred Schapansky Signed-off-by: Vyacheslav Yurkov --- meta/classes/overlayfs-etc.bbclass | 93