]> git.plutz.net Git - blast/commitdiff
iso filesystem label for live medium
authorPaul Hänsch <paul@plutz.net>
Mon, 19 Jan 2026 04:41:36 +0000 (05:41 +0100)
committerPaul Hänsch <paul@plutz.net>
Mon, 19 Jan 2026 04:41:36 +0000 (05:41 +0100)
Makefile

index c450a3f571cebe25dc116d4e4e07573d9c2fa95f..d79bf0bc80dadd44a80de4bd071d54bc600c9131 100644 (file)
--- a/Makefile
+++ b/Makefile
@@ -23,6 +23,8 @@ ROOT_MB := 895
 
 fstype := ext4
 
+ISOLABEL := Blast
+
 config.mk:
        cp "config.example" "$@"
 
@@ -189,7 +191,7 @@ else ifeq "${ARCH}" "i386"
   PACKAGES += linux-image-686
 endif
 
-export SOURCES SYSROOT CFGROOT VOLUME PBOOT PROOT SQUASH ARCH KEYRING BOOTSTRAP ISOROOT ISO
+export SOURCES SYSROOT CFGROOT VOLUME PBOOT PROOT SQUASH ARCH KEYRING BOOTSTRAP ISOROOT ISO ISOLABEL
 
 sys_root_${release}_${ARCH}/:
        btrfs subvol create "$@" || mkdir "$@"
@@ -330,7 +332,7 @@ _format_boot: ${PBOOT}
 _format: _format_root _format_boot
 
 _iso_image: ${ISOROOT}
-       grub-mkrescue --compress=xz -o "$${ISO}" "$${ISOROOT}"
+       grub-mkrescue --compress=xz -volid "$${ISOLABEL}" -o "$${ISO}" "$${ISOROOT}"
 
 .PHONY: _syslinux_efi32 _syslinux_efi64 _syslinux_bios
 .PHONY: _grub_efi32 _grub_efi64