This commit is contained in:
Your Name 2024-02-17 08:23:07 -07:00
parent 82e3878931
commit 099c296b5c

View File

@ -330,7 +330,7 @@ snapshots() {
echo "title Gentoo snapshot-root-${DATE}" >$LOADER_FILE echo "title Gentoo snapshot-root-${DATE}" >$LOADER_FILE
echo "version $KERNEL_VERSION" >>$LOADER_FILE echo "version $KERNEL_VERSION" >>$LOADER_FILE
echo "options root=UUID=$(/sbin/blkid -s UUID -o value $BTRFS) rootflags=subvol=/.snapshots/snapshot-root-${DATE} rw " >>$LOADER_FILE echo "options root=UUID=$(/sbin/blkid -s UUID -o value $BTRFS) rootflags=subvol= @.snapshots/snapshot-root-${DATE} rw " >>$LOADER_FILE
echo "machine-id $MACHINE_ID" >>$LOADER_FILE echo "machine-id $MACHINE_ID" >>$LOADER_FILE
echo "linux /$MACHINE_ID/$KERNEL_VERSION/linux" >>$LOADER_FILE echo "linux /$MACHINE_ID/$KERNEL_VERSION/linux" >>$LOADER_FILE
echo "initrd /$MACHINE_ID/$KERNEL_VERSION/initrd" >>$LOADER_FILE echo "initrd /$MACHINE_ID/$KERNEL_VERSION/initrd" >>$LOADER_FILE