Skip to content

Commit

Permalink
fix btrfs rootflags
Browse files Browse the repository at this point in the history
  • Loading branch information
dr-bonez committed Jun 21, 2023
1 parent 2ad7493 commit c747217
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions build/lib/scripts/embassy-initramfs-module
Original file line number Diff line number Diff line change
Expand Up @@ -31,6 +31,8 @@ local_mount_root()
modprobe ${FSTYPE}
checkfs ${ROOT} root "${FSTYPE}"

ROOTFLAGS="$(echo "${ROOTFLAGS}" | sed 's/subvol=\(next\|current\)//')"

if [ "${FSTYPE}" != "unknown" ]; then
mount -t ${FSTYPE} ${ROOTFLAGS} ${ROOT} ${rootmnt}
else
Expand Down

0 comments on commit c747217

Please sign in to comment.