From 95350afa4db2e4fa75a663517e7cd6feb913bc49 Mon Sep 17 00:00:00 2001 From: Dan Johansen Date: Mon, 16 Aug 2021 00:56:04 +0200 Subject: [PATCH] another fix for PARTUUIDs on btrfs Signed-off-by: Dan Johansen --- manjaro-arm-installer | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/manjaro-arm-installer b/manjaro-arm-installer index 3ea1a71..b16695f 100755 --- a/manjaro-arm-installer +++ b/manjaro-arm-installer @@ -382,7 +382,7 @@ cleanup () { if [ -f $TMPDIR/boot/extlinux/extlinux.conf ]; then sed -i "s/LABEL=ROOT_MNJRO/PARTUUID=$ROOT_PARTUUID/g" $TMPDIR/boot/extlinux/extlinux.conf elif [ -f $TMPDIR/boot/efi/extlinux/extlinux.conf ]; then - sed -i "s/LABEL=ROOT_MNJRO/PARTUUID=$ROOT_PART/g" $TMPDIR/boot/efi/extlinux/extlinux.conf + sed -i "s/LABEL=ROOT_MNJRO/PARTUUID=$ROOT_PARTUUID/g" $TMPDIR/boot/efi/extlinux/extlinux.conf elif [ -f $TMPDIR/boot/boot.ini ]; then sed -i "s/LABEL=ROOT_MNJRO/PARTUUID=$ROOT_PARTUUID/g" $TMPDIR/boot/boot.ini elif [ -f $TMPDIR/boot/uEnv.ini ]; then @@ -393,7 +393,7 @@ cleanup () { sync if [[ "$FSTYPE" = "btrfs" ]]; then - sed -i "s/LABEL=ROOT_MNJRO/PARTUUID=$ROOT_PART/g" $TMPDIR/root/etc/fstab + sed -i "s/LABEL=ROOT_MNJRO/PARTUUID=$ROOT_PARTUUID/g" $TMPDIR/root/etc/fstab else echo "PARTUUID=$ROOT_PARTUUID / $FSTYPE defaults 0 1" >> $TMPDIR/root/etc/fstab fi