Skip to content
This repository has been archived by the owner on Jul 24, 2024. It is now read-only.

Commit

Permalink
switch to gpt-auto
Browse files Browse the repository at this point in the history
  • Loading branch information
chrinorse authored and fwiesel committed Jun 10, 2024
1 parent fc87809 commit 830a549
Show file tree
Hide file tree
Showing 5 changed files with 4 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -10,5 +10,5 @@ for i in "${configDir}"/*-*.cfg; do
source $i
done

echo "root=${DEVICE} ${CMDLINE_LINUX}" > /etc/kernel/cmdline.new
echo "root=gpt-auto ${CMDLINE_LINUX} systemd.gpt_auto" > /etc/kernel/cmdline.new
mv /etc/kernel/cmdline.new /etc/kernel/cmdline

This file was deleted.

Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
CMDLINE_LINUX="$CMDLINE_LINUX mount.usr=/dev/mapper/verity_usr mount.usrfstype=ext4 mount.usrflags=ro systemd.verity"
Original file line number Diff line number Diff line change
Expand Up @@ -10,5 +10,5 @@ for i in "${configDir}"/*-*.cfg; do
source $i
done

echo "root=${DEVICE} ${CMDLINE_LINUX}" > /etc/kernel/cmdline.new
echo "root=gpt-auto ${CMDLINE_LINUX}" > /etc/kernel/cmdline.new
mv /etc/kernel/cmdline.new /etc/kernel/cmdline
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
CMDLINE_LINUX="$CMDLINE_LINUX rootflags=rw,errors=remount-ro,prjquota,discard"

0 comments on commit 830a549

Please sign in to comment.