summaryrefslogtreecommitdiff
path: root/units
diff options
context:
space:
mode:
authorZbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl>2022-07-14 14:36:52 +0200
committerZbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl>2022-07-23 19:02:39 +0200
commit028a981c005e90c36c269e28709bf25032c2e8ca (patch)
treef911f852b74a6601ccca297298468a6d39bed257 /units
parent5df2a4a6e0b3e8574e067d0252b954a5e002e751 (diff)
downloadsystemd-028a981c005e90c36c269e28709bf25032c2e8ca.tar.gz
fstab-generator: add mode to check /sysroot/etc/fstab and maybe do daemon-reload
The idea is that we can peek into /sysroot/etc/fstab and figure out if there's anything interesting there. We could use a separate binary for this, but we'd need to duplicate most of the logic that in systemd-fstab-generator. Thus I think it's nicer to make systemd-fstab-generator work as a multi-call binary. If called as systemd-sysroot-fstab-check, we look for units that we'd mount and call daemon-reload and initrd-fs.target/restart, similarly to what we did before, but in the process itself.
Diffstat (limited to 'units')
0 files changed, 0 insertions, 0 deletions