Some of this was inspired by what GNOME OS does. Signed-off-by: Clayton Craft <craftyguy@postmarketos.org> Part-of: <https://gitlab.postmarketos.org/postmarketOS/pmaports/-/merge_requests/8330>
16 lines
436 B
Desktop File
16 lines
436 B
Desktop File
[Unit]
|
|
Description=Merge confext images into sysroot /etc
|
|
ConditionPathExists=/etc/initrd-release
|
|
ConditionDirectoryNotEmpty=|/sysroot/usr/lib/confexts
|
|
ConditionDirectoryNotEmpty=|/sysroot/var/lib/confexts
|
|
RequiresMountsFor=/sysroot/usr
|
|
After=initrd-root-fs.target
|
|
Before=initrd-fs.target initrd-parse-etc.service
|
|
|
|
[Service]
|
|
Type=oneshot
|
|
ExecStart=systemd-confext --mutable=yes --root=/sysroot refresh
|
|
|
|
[Install]
|
|
WantedBy=initrd.target
|