|
Zbigniew Jędrzejewski-Szmek |
f4a676 |
From fd22bede6e06da50ca072cdfdd7b9acbb5f1fc06 Mon Sep 17 00:00:00 2001
|
|
Zbigniew Jędrzejewski-Szmek |
f4a676 |
From: Ivan Shapovalov <intelfx@intelfx.name>
|
|
Zbigniew Jędrzejewski-Szmek |
f4a676 |
Date: Mon, 24 Apr 2017 20:38:53 +0400
|
|
Zbigniew Jędrzejewski-Szmek |
f4a676 |
Subject: [PATCH] fstab-generator: do not skip Before= ordering for noauto
|
|
Zbigniew Jędrzejewski-Szmek |
f4a676 |
mountpoints (#5547)
|
|
Zbigniew Jędrzejewski-Szmek |
f4a676 |
|
|
Zbigniew Jędrzejewski-Szmek |
f4a676 |
(cherry picked from commit bd6bcce4d7fd9f34f84588888fa9d0e664e0500b)
|
|
Zbigniew Jędrzejewski-Szmek |
f4a676 |
---
|
|
Zbigniew Jędrzejewski-Szmek |
f4a676 |
src/fstab-generator/fstab-generator.c | 2 +-
|
|
Zbigniew Jędrzejewski-Szmek |
f4a676 |
1 file changed, 1 insertion(+), 1 deletion(-)
|
|
Zbigniew Jędrzejewski-Szmek |
f4a676 |
|
|
Zbigniew Jędrzejewski-Szmek |
f4a676 |
diff --git a/src/fstab-generator/fstab-generator.c b/src/fstab-generator/fstab-generator.c
|
|
Zbigniew Jędrzejewski-Szmek |
f4a676 |
index 2677a3fb32..50d350fce8 100644
|
|
Zbigniew Jędrzejewski-Szmek |
f4a676 |
--- a/src/fstab-generator/fstab-generator.c
|
|
Zbigniew Jędrzejewski-Szmek |
f4a676 |
+++ b/src/fstab-generator/fstab-generator.c
|
|
Zbigniew Jędrzejewski-Szmek |
f4a676 |
@@ -358,7 +358,7 @@ static int add_mount(
|
|
Zbigniew Jędrzejewski-Szmek |
f4a676 |
"Documentation=man:fstab(5) man:systemd-fstab-generator(8)\n",
|
|
Zbigniew Jędrzejewski-Szmek |
f4a676 |
source);
|
|
Zbigniew Jędrzejewski-Szmek |
f4a676 |
|
|
Zbigniew Jędrzejewski-Szmek |
f4a676 |
- if (!noauto && !nofail && !automount)
|
|
Zbigniew Jędrzejewski-Szmek |
f4a676 |
+ if (!nofail && !automount)
|
|
Zbigniew Jędrzejewski-Szmek |
f4a676 |
fprintf(f, "Before=%s\n", post);
|
|
Zbigniew Jędrzejewski-Szmek |
f4a676 |
|
|
Zbigniew Jędrzejewski-Szmek |
f4a676 |
if (!automount && opts) {
|