diff options
Diffstat (limited to 'sys-kernel/dracut/files/022-0014-parse-root-opts-first-check-for-ro-lat.patch')
-rw-r--r-- | sys-kernel/dracut/files/022-0014-parse-root-opts-first-check-for-ro-lat.patch | 27 |
1 files changed, 27 insertions, 0 deletions
diff --git a/sys-kernel/dracut/files/022-0014-parse-root-opts-first-check-for-ro-lat.patch b/sys-kernel/dracut/files/022-0014-parse-root-opts-first-check-for-ro-lat.patch new file mode 100644 index 000000000000..7895815b555e --- /dev/null +++ b/sys-kernel/dracut/files/022-0014-parse-root-opts-first-check-for-ro-lat.patch @@ -0,0 +1,27 @@ +From e061c0f683d4c9504ed16284fd46e8fce3845c2e Mon Sep 17 00:00:00 2001 +From: =?UTF-8?q?Amadeusz=20=C5=BBo=C5=82nowski?= <aidecoe@aidecoe.name> +Date: Thu, 26 Jul 2012 15:58:27 +0200 +Subject: [PATCH 14/14] parse-root-opts: first check for ro, later for rw + +This order is already in 98usrmount. +--- + modules.d/99base/parse-root-opts.sh | 2 +- + 1 files changed, 1 insertions(+), 1 deletions(-) + +diff --git a/modules.d/99base/parse-root-opts.sh b/modules.d/99base/parse-root-opts.sh +index 7b0b758..b74eeb3 100755 +--- a/modules.d/99base/parse-root-opts.sh ++++ b/modules.d/99base/parse-root-opts.sh +@@ -5,8 +5,8 @@ + root=$(getarg root=) + + rflags="$(getarg rootflags=)" +-getargbool 0 rw && rflags="${rflags},rw" + getargbool 0 ro && rflags="${rflags},ro" ++getargbool 0 rw && rflags="${rflags},rw" + rflags="${rflags#,}" + + fstype="$(getarg rootfstype=)" +-- +1.7.8.6 + |