]> git.ipfire.org Git - thirdparty/systemd.git/commit
fstab-generator: use DefaultDependencies=no for /sysroot mounts
authorJonathan Lebon <jonathan@jlebon.com>
Wed, 10 Apr 2019 21:28:15 +0000 (17:28 -0400)
committerLennart Poettering <lennart@poettering.net>
Thu, 11 Apr 2019 15:04:24 +0000 (17:04 +0200)
commit30fdb8962ad4bcb6093044e1942975659d44d86b
treec3fb01990d0b3036ad7cdfa139b5888f6f82a916
parent574ef404d817f6edaffae82cf1872ed8a3d4d2a7
fstab-generator: use DefaultDependencies=no for /sysroot mounts

Otherwise we can end up with an ordering cycle. Since d54bab90, all
local mounts now gain a default `Before=local-fs.target` dependency.
This doesn't make sense for `/sysroot` mounts in the initrd though,
since those happen later in the boot process.

Closes: #12231
src/fstab-generator/fstab-generator.c