mirror of
https://gitlab.archlinux.org/tpowa/archboot.git
synced 2024-09-20 03:50:37 +02:00
remove rw removing on boot commandline, new systemd will need rw
This commit is contained in:
parent
122bcbc9e5
commit
2160e93c6a
1 changed files with 2 additions and 2 deletions
|
@ -3040,9 +3040,9 @@ getrootfstype() {
|
|||
}
|
||||
|
||||
getrootflags() {
|
||||
# remove rw for all filesystems and gcpid for nilfs2
|
||||
# remove gcpid for nilfs2
|
||||
ROOTFLAGS=""
|
||||
ROOTFLAGS="$(findmnt -m -n -o options -T ${DESTDIR} | sed -e 's/^rw//g' -e 's/,gcpid=.*[0-9]//g')"
|
||||
ROOTFLAGS="$(findmnt -m -n -o options -T ${DESTDIR} | sed -e 's/,gcpid=.*[0-9]//g')"
|
||||
[[ -n "${ROOTFLAGS}" ]] && ROOTFLAGS="rootflags=${ROOTFLAGS}"
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue