Fix mask, preset, enable and restore /etc/machine-id in stateful images
Get series with b4
b4 am [email protected]Versions newest first · linked by author and title
- v2 Latest3 patches 0 repliesNew
- v11 patch 7 repliesSuperseded
Changes in v2 from the cover letter
- use stateless-rootfs in IMAGE_FEATURES, not DISTRO_FEATURES
- restore support for enable command
- restore mask and preset targets, fix instance creation
Patches in v2 No applies recorded yet
| # | Subject and files | Size | Replies | Applied |
|---|---|---|---|---|
| 1/3 | systemd: Default to non-stateless imagesmeta/ meta/ | +13 | 0 replies | |
| 2/3 | systemd-systemctl: Restore support for enable commandmeta/ | +102 | 0 replies | |
| 3/3 | systemd: Restore mask and preset targets, fix instance creationmeta/ | +28 | 0 replies |
Reviews trailers per patch
No Reviewed-by, Acked-by or Tested-by trailers for v2 yet.
Cover letter [PATCH v2 0/3] Fix mask, preset, enable and restore /etc/machine-id in stateful images
The recent changes to systemd.bbclass broke support for SYSTEMD_AUTO_ENABLE set to anything other than "enable" or "disable", whereas there are existing users for "mask" and "preset".
In addition /etc/machine-id was not created as an empty file which caused systemd to fail to do it's boot time update of it if the rootfs was ro at boot.
Finally instance creation from templates whilst present was no longer correctly exposed.
Changes in v2:
- use stateless-rootfs in IMAGE_FEATURES, not DISTRO_FEATURES
- restore support for enable command
- restore mask and preset targets, fix instance creation
Alex Kiernan (3):
systemd: Default to non-stateless images
systemd-systemctl: Restore support for enable command
systemd: Restore mask and preset targets, fix instance creation
meta/classes/image.bbclass | 9 +- meta/classes/systemd.bbclass | 37 +++- .../systemd/systemd-systemctl/systemctl | 186 +++++++++++------- 3 files changed, 142 insertions(+), 90 deletions(-)
Signature · 1 line
2.17.1