This commit is contained in:
simono41 2018-06-21 14:45:41 +02:00
parent de95ed9c6e
commit eb60b4cd17

View file

@ -56,7 +56,7 @@ if [ "make" == "$1" ]; then
sed "s|%LINUZ%|${linuz}|g; sed "s|%LINUZ%|${linuz}|g;
s|%KERNEL%|${kernel}|g; s|%KERNEL%|${kernel}|g;
s|rootflags=subvol=__current/ROOT|rootflags=subvol=__snapshot/${pfad}@`head -n 1 /run/btrfs-root/__current/${pfad}/SNAPSHOT`|g" /boot/arch-uefi.conf.example > /boot/loader/entries/arch-uefi-stable.conf s|rootflags=subvol=__current/ROOT|rootflags=subvol=__snapshot/ROOT@`head -n 1 /run/btrfs-root/__current/ROOT/SNAPSHOT`|g" /boot/arch-uefi.conf.example > /boot/loader/entries/arch-uefi-stable.conf
if [ -f /run/btrfs-root/__current/ROOT/SNAPSHOT ]; then if [ -f /run/btrfs-root/__current/ROOT/SNAPSHOT ]; then
rm /run/btrfs-root/__current/ROOT/SNAPSHOT rm /run/btrfs-root/__current/ROOT/SNAPSHOT