From: Thomas Glanzmann Date: Mon, 4 Apr 2022 16:36:13 +0000 (+0200) Subject: better way to find out UUID X-Git-Url: http://cvs.zerfleddert.de/cgi-bin/gitweb.cgi/m1-debian/commitdiff_plain/eb57d280d4950fee970c83d5f4f89cd33e854c25?hp=933c215fb80d43f7850e69b17633e51d1d381d0b better way to find out UUID --- diff --git a/bootstrap.sh b/bootstrap.sh index 1db9091..dd3e7aa 100644 --- a/bootstrap.sh +++ b/bootstrap.sh @@ -143,7 +143,7 @@ build_efi() export INITRD=`ls -1 testing/boot/ | grep initrd` export VMLINUZ=`ls -1 testing/boot/ | grep vmlinuz` - export UUID=`blkid media | awk -F\" '{print $2}'` + export UUID=`blkid -s UUID -o value media` cat > EFI/debian/grub.cfg <