All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH 0/7] systemd patches
@ 2018-12-31 12:05 Jonas Bonn
  2018-12-31 12:05 ` [PATCH 1/7] systemd: do not create machine-id Jonas Bonn
                   ` (8 more replies)
  0 siblings, 9 replies; 17+ messages in thread
From: Jonas Bonn @ 2018-12-31 12:05 UTC (permalink / raw)
  To: openembedded-core

These patches make some modifications to systemd with the long-term goal
of being able to run OE in systemd's "stateless" configuration.
"Stateless" boils down to building an image with empty /etc and /var
directories so that volatile (tmpfs) filesystems can be mounted there;
this requires that the system subsequently be able to populate these
directories dynamically, which systemd mostly takes care of if things
are done right.

In these patches:
i)    Don't include machine-id in writable images so that systemd can run
its first-boot machinery
ii)   Move systemd configuration files out of /etc
iii)  Allow systemd to dynamically enable services and populate
/etc/systemd/system via the presets mechanism

There's a long way to go to get to a working "stateless" configuration.
Getting to a "volatile" system (just empty /var) should be easier and
I'll post patches moving things in that direction shortly.

/Jonas

Jonas Bonn (7):
  systemd: do not create machine-id
  systemd-conf: simplify creation of configuration
  systemd: move additional conffiles to systemd-conf
  systemd: create preset files instead of installing in image
  systemd-systemctl-native: simplify and support preset-all
  rootfs-postcommands: call preset-all for read-only-rootfs
  systemd: do not pre-enable services, rely on presets

 meta/classes/rootfs-postcommands.bbclass      |  8 ++++
 meta/classes/systemd.bbclass                  | 33 +++++++-------
 meta/recipes-core/systemd/systemd-conf.bb     | 45 +++++++------------
 .../systemd/systemd-systemctl/systemctl       | 36 +++------------
 meta/recipes-core/systemd/systemd_239.bb      |  4 ++
 5 files changed, 52 insertions(+), 74 deletions(-)

-- 
2.19.1



^ permalink raw reply	[flat|nested] 17+ messages in thread

end of thread, other threads:[~2019-01-02 14:56 UTC | newest]

Thread overview: 17+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2018-12-31 12:05 [PATCH 0/7] systemd patches Jonas Bonn
2018-12-31 12:05 ` [PATCH 1/7] systemd: do not create machine-id Jonas Bonn
2018-12-31 12:05 ` [PATCH 2/7] systemd-conf: simplify creation of configuration Jonas Bonn
2019-01-01 15:29   ` Randy MacLeod
2019-01-01 17:03     ` Jonas Bonn
2019-01-01 20:17       ` Randy MacLeod
2018-12-31 12:05 ` [PATCH 3/7] systemd: move additional conffiles to systemd-conf Jonas Bonn
2018-12-31 12:05 ` [PATCH 4/7] systemd: create preset files instead of installing in image Jonas Bonn
2018-12-31 12:05 ` [PATCH 5/7] systemd-systemctl-native: simplify and support preset-all Jonas Bonn
2018-12-31 12:05 ` [PATCH 6/7] rootfs-postcommands: call preset-all for read-only-rootfs Jonas Bonn
2018-12-31 12:05 ` [PATCH 7/7] systemd: do not pre-enable services, rely on presets Jonas Bonn
2019-01-02 12:06   ` Alexander Kanavin
2019-01-02 14:32     ` Jonas Bonn
2018-12-31 12:33 ` ✗ patchtest: failure for systemd patches Patchwork
2019-01-02  7:58 ` [PATCH 0/7] " ChenQi
2019-01-02 11:48   ` Jonas Bonn
2019-01-02 14:56   ` Jonas Bonn

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.