]> git.ipfire.org Git - thirdparty/dracut-ng.git/commit
chore(rootfs-block, usrmount): align systemd and non-systemd initramfs
authorJo Zzsi <jozzsicsataban@gmail.com>
Sun, 7 Sep 2025 01:36:34 +0000 (21:36 -0400)
committerLaszlo <laszlo.gombos@gmail.com>
Sat, 13 Sep 2025 13:49:19 +0000 (09:49 -0400)
commit8d2a6d25f34bce7302b489002cc94cfd756765cc
tree90b5d92097b8698c89f5c16a64f2202ac41f504f
parent32b3b8c732c979f0e0842d99e473d4e6cae657a5
chore(rootfs-block, usrmount): align systemd and non-systemd initramfs

`rootfs-block/mount-root.sh` and `srmount/mount-usr.sh ` are only
included in the initramfs if systemd is _not_ included.

`systemd` does not poke into `NEWROOT` to determine fsck options,
which seems like a good idea.

Let's do the same for non-systemd initramfs. Lot of the related path
 - e.g. `/etc/sysconfig/autofsck` are distribution specific anyways.
modules.d/74rootfs-block/mount-root.sh
modules.d/77usrmount/mount-usr.sh