mirror of
https://github.com/systemd/systemd
synced 2024-09-16 06:43:18 +00:00
fstab-util: consider /run/nextroot/ among extrinsic mounts
This way we'll not add deps for the mount point that unmount it during shutdown. This is similar as for /run/initramfs/ which we want to transition into during shutdown. This way we don't have to add "-o x-initrd.mount" to all bind mounts for /run/nextroot anymore to make it survive the reboot, it will be implied.
This commit is contained in:
parent
d585065624
commit
ba1af88c3c
|
@ -47,6 +47,7 @@ bool fstab_is_extrinsic(const char *mount, const char *opts) {
|
|||
|
||||
if (PATH_STARTSWITH_SET(mount,
|
||||
"/run/initramfs", /* This should stay around from before we boot until after we shutdown */
|
||||
"/run/nextroot", /* Similar (though might be updated from the host) */
|
||||
"/proc", /* All of this is API VFS */
|
||||
"/sys", /* … dito … */
|
||||
"/dev")) /* … dito … */
|
||||
|
|
Loading…
Reference in a new issue