Commit ec3697f2 authored by Michael Stapelberg's avatar Michael Stapelberg Committed by Michael Stapelberg

fstab-generator: don’t rely on /usr being mounted in the initrd

Debian is not there yet. Let’s revert this upstream change for now.

Closes: #724797
parent 95f67279
......@@ -194,9 +194,7 @@ static bool mount_is_network(struct mntent *me) {
static bool mount_in_initrd(struct mntent *me) {
hasmntopt(me, "x-initrd.mount") ||
streq(me->mnt_dir, "/usr");
return hasmntopt(me, "x-initrd.mount");
static int add_mount(
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment