I just wanted to write down that the label approach works for me. This would be the patch/commit for this approach:
https://github.com/rescatux/live-build/commit/cf11816e64256d8028c4b2f10de2996de09328f2 replace: search --set=root --file /live/vmlinuz with: search --set=root --label "${LB_ISO_VOLUME}" . As I said I'll work on the /live/id/12345678.ABC approach later. adrian15 El 09/03/19 a las 15:18, adrian15 escribió: > I am currently building and testing a label search approach. > It works manually on both UEFI USB boot and TianaCore UEFI CDROM boot. > > The patch is here: > https://github.com/rescatux/live-build/commit/2716635f6314bba1d94f0693a33bbb55eba323e5 > > and, well it's quite simple: > replace: > > search --set=root --file /live/vmlinuz > > with: > > search --set=root --label \"${LB_ISO_VOLUME}\" > . > > > I might discard this label approach and take yours because of tools to > remaster distros. > > If I hard code 'DebianLive87' or whatever Debian label is then anyone > who wants modify minimally the iso then needs to reconstruct the efi.img > file so that it searchs for their label. > > Because, obviously when you remaster an ISO you want to put your volume > name and not "Debian", "Ubuntu" or whatever. > > > Your filename base approach just enforces the remaster tool to find an > unknown 8.3 file and make sure to copy it. Or maybe every single file at > device root ? > > It's way simpler than mine. > > > So Thomas... any more thoughts that you can bring me in... to make > remaster tools work easier? > > Maybe I'm missing something obvious. > > Thank you. > > > adrian15 > -- Support free software. Donate to Super Grub Disk. Apoya el software libre. Dona a Super Grub Disk. http://www.supergrubdisk.org/donate/