Skip to content

Commit

Permalink
defaults/initrd.scripts: bug #449186, strip iversion from mountopts.
Browse files Browse the repository at this point in the history
  • Loading branch information
mudler committed Sep 6, 2016
1 parent dacd972 commit 46180ea
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion defaults/initrd.d/00-rootdev.sh
Original file line number Diff line number Diff line change
Expand Up @@ -146,7 +146,9 @@ _get_mount_device() {
# make like a little easier, busybox mount does not care about
# leading, trailing or duplicate commas.
_strip_mount_options() {
sed -r 's/(,|^)(no)?auto(,|$)/,/g'
sed -r \
-e 's/(,|^)(no)?auto(,|$)/,/g' \
-e 's/(,|^)iversion(,|$)/,/g'
}

real_root_init() {
Expand Down

0 comments on commit 46180ea

Please sign in to comment.