commit:     4b467f0ab3dccc518355fe42f089c01a761ebaf7
Author:     Robin H. Johnson <robbat2 <AT> gentoo <DOT> org>
AuthorDate: Mon May 16 06:55:26 2016 +0000
Commit:     Robin H. Johnson <robbat2 <AT> gentoo <DOT> org>
CommitDate: Mon May 16 06:55:26 2016 +0000
URL:        https://gitweb.gentoo.org/proj/genkernel.git/commit/?id=4b467f0a

defaults/initrd.scripts: bug #449186, strip iversion from mountopts.

Signed-off-by: Robin H. Johnson <robbat2 <AT> gentoo.org>

 defaults/initrd.scripts | 4 +++-
 1 file changed, 3 insertions(+), 1 deletion(-)

diff --git a/defaults/initrd.scripts b/defaults/initrd.scripts
index 1395690..703c0fe 100644
--- a/defaults/initrd.scripts
+++ b/defaults/initrd.scripts
@@ -1627,5 +1627,7 @@ get_mount_device()
 # trailing or duplicate commas.
 strip_mount_options()
 {
-       sed -r 's/(,|^)(no)?auto(,|$)/,/g'
+       sed -r \
+               -e 's/(,|^)(no)?auto(,|$)/,/g' \
+               -e 's/(,|^)iversion(,|$)/,/g'
 }

Reply via email to