Re: [OE-core] [PATCH v2 3/5] systemd: create preset files instead of installing in image

2019-01-08 Thread Jonas Bonn
Hi Peter, On 07/01/2019 17:43, Peter Kjellerstedt wrote: -Original Message- From: openembedded-core-boun...@lists.openembedded.org On Behalf Of Jonas Bonn +def systemd_create_presets(pkg): +action = get_package_var(d, 'SYSTEMD_AUTO_ENABLE', pkg) +presetf = oe.path.

Re: [OE-core] [PATCH v2 3/5] systemd: create preset files instead of installing in image

2019-01-07 Thread Peter Kjellerstedt
> -Original Message- > From: openembedded-core-boun...@lists.openembedded.org core-boun...@lists.openembedded.org> On Behalf Of Jonas Bonn > Sent: den 2 januari 2019 17:12 > To: openembedded-core@lists.openembedded.org > Subject: [OE-core] [PATCH v2 3/5] systemd: c

[OE-core] [PATCH v2 3/5] systemd: create preset files instead of installing in image

2019-01-02 Thread Jonas Bonn
At first boot, systemd will create the /etc/systemd/system directory from service preset files. As such, for a normal, writable /etc (writable rootfs), there is no need to set up this directory at image creation time. This patch changes the systemd machinery to create preset files and to rely on