This commit is contained in:
Your Name 2024-02-17 08:54:37 -07:00
parent 099c296b5c
commit f3b7843ed1

View File

@ -330,7 +330,7 @@ snapshots() {
echo "title Gentoo snapshot-root-${DATE}" >$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 "linux /$MACHINE_ID/$KERNEL_VERSION/linux" >>$LOADER_FILE
echo "initrd /$MACHINE_ID/$KERNEL_VERSION/initrd" >>$LOADER_FILE