OSDN Git Service

Use RELEASE_OS_TITLE in the volume ID of the ISO image
authorMichael Goffioul <michael.goffioul@gmail.com>
Mon, 25 Jun 2018 14:41:26 +0000 (22:41 +0800)
committerChih-Wei Huang <cwhuang@linux.org.tw>
Mon, 25 Jun 2018 14:41:26 +0000 (22:41 +0800)
Android.mk

index 0f0e200..0e6a9a9 100644 (file)
@@ -91,7 +91,7 @@ $(ISO_IMAGE): $(boot_dir) $(BUILT_IMG)
        sed -i "s|OS_TITLE|$(if $(RELEASE_OS_TITLE),$(RELEASE_OS_TITLE),Android-x86)|" $</isolinux/isolinux.cfg $</efi/boot/android.cfg
        $(GENISOIMG) -vJURT -b isolinux/isolinux.bin -c isolinux/boot.cat \
                -no-emul-boot -boot-load-size 4 -boot-info-table -eltorito-alt-boot -e boot/grub/efi.img -no-emul-boot \
-               -input-charset utf-8 -V "Android-x86 LiveCD" -o $@ $^
+               -input-charset utf-8 -V "$(if $(RELEASE_OS_TITLE),$(RELEASE_OS_TITLE),Android-x86) LiveCD" -o $@ $^
        $(hide) isohybrid --uefi $@ || echo -e "isohybrid not found.\nInstall syslinux 4.0 or higher if you want to build a usb bootable iso."
        @echo -e "\n\n$@ is built successfully.\n\n"