Blame 0054-parse-root-opts-first-check-for-ro-later-for-rw.patch
|
Harald Hoyer |
12f6cc |
From aa505d588f92c41e4060b75e8fde729a01fe9c6f Mon Sep 17 00:00:00 2001
|
|
Harald Hoyer |
12f6cc |
From: =?UTF-8?q?Amadeusz=20=C5=BBo=C5=82nowski?= <aidecoe@aidecoe.name>
|
|
Harald Hoyer |
12f6cc |
Date: Thu, 26 Jul 2012 15:58:27 +0200
|
|
Harald Hoyer |
12f6cc |
Subject: [PATCH] parse-root-opts: first check for ro, later for rw
|
|
Harald Hoyer |
12f6cc |
|
|
Harald Hoyer |
12f6cc |
This order is already in 98usrmount.
|
|
Harald Hoyer |
12f6cc |
---
|
|
Harald Hoyer |
12f6cc |
modules.d/99base/parse-root-opts.sh | 2 +-
|
|
Harald Hoyer |
12f6cc |
1 file changed, 1 insertion(+), 1 deletion(-)
|
|
Harald Hoyer |
12f6cc |
|
|
Harald Hoyer |
12f6cc |
diff --git a/modules.d/99base/parse-root-opts.sh b/modules.d/99base/parse-root-opts.sh
|
|
Harald Hoyer |
12f6cc |
index 7b0b758..b74eeb3 100755
|
|
Harald Hoyer |
12f6cc |
--- a/modules.d/99base/parse-root-opts.sh
|
|
Harald Hoyer |
12f6cc |
+++ b/modules.d/99base/parse-root-opts.sh
|
|
Harald Hoyer |
12f6cc |
@@ -5,8 +5,8 @@
|
|
Harald Hoyer |
12f6cc |
root=$(getarg root=)
|
|
Harald Hoyer |
12f6cc |
|
|
Harald Hoyer |
12f6cc |
rflags="$(getarg rootflags=)"
|
|
Harald Hoyer |
12f6cc |
-getargbool 0 rw && rflags="${rflags},rw"
|
|
Harald Hoyer |
12f6cc |
getargbool 0 ro && rflags="${rflags},ro"
|
|
Harald Hoyer |
12f6cc |
+getargbool 0 rw && rflags="${rflags},rw"
|
|
Harald Hoyer |
12f6cc |
rflags="${rflags#,}"
|
|
Harald Hoyer |
12f6cc |
|
|
Harald Hoyer |
12f6cc |
fstype="$(getarg rootfstype=)"
|