mirror of
https://github.com/Start9Labs/start-os.git
synced 2026-03-26 02:11:53 +00:00
fix rootflags for btrfs update (#2315)
This commit is contained in:
@@ -31,7 +31,7 @@ local_mount_root()
|
|||||||
modprobe ${FSTYPE}
|
modprobe ${FSTYPE}
|
||||||
checkfs ${ROOT} root "${FSTYPE}"
|
checkfs ${ROOT} root "${FSTYPE}"
|
||||||
|
|
||||||
ROOTFLAGS="$(echo "${ROOTFLAGS}" | sed 's/subvol=\(next\|current\)//')"
|
ROOTFLAGS="$(echo "${ROOTFLAGS}" | sed 's/subvol=\(next\|current\)//' | sed 's/^-o *$//')"
|
||||||
|
|
||||||
if [ "${FSTYPE}" != "unknown" ]; then
|
if [ "${FSTYPE}" != "unknown" ]; then
|
||||||
mount -t ${FSTYPE} ${ROOTFLAGS} ${ROOT} ${rootmnt}
|
mount -t ${FSTYPE} ${ROOTFLAGS} ${ROOT} ${rootmnt}
|
||||||
|
|||||||
Reference in New Issue
Block a user