Bug#886655: debian-cd: Fails to add EFI Grub menu entries when append gets too long or so
Package: debian-cd
Version: 3.1.20
Severity: important
Hi everyone,
I've used simple-cdd to create a Debian Installer CD which would result in
having a pretty complex append line::
kernel /install.amd/vmlinuz
append auto url=bootimage-01.zdv.uni-mainz.de/d-i/stretch/scvmm.cfg
language=en country=DE locale=en_US.UTF-8 keymap=de hostname=unassigned-
hostname domain=unassigned-domain preseed/file=/cdrom/simple-
cdd/default.preseed debian-installer/locale=en_US console-keymaps-at/keymap=de
keyboard-configuration/xkb-keymap=de keyboard-configuration/layout=de simple-
cdd/profiles=zdv,scvmm vga=788 initrd=/install.amd/initrd.gz --- quiet
The first parameters, up to domain= are mine, the others are added by simple-
cdd.
This seems to work fine for the isolinux part, but generating the Grub efi menu
entries using parse_isolinux generates almost linux and initrd lines::
linux /install.amd/vmlinuz
initrd
The respective logfile of debian-cd says::
stdout: Adding EFI boot code for amd64 on CD1
stderr: Use of uninitialized value $k{"append"} in substitution (s///) at
/data/schlarbm/simple-cdd/tmp/debian-cd/tools/boot/stretch/parse_isolinux line
105.
stderr: Use of uninitialized value $k{"append"} in concatenation (.) or string
at /data/schlarbm/simple-cdd/tmp/debian-cd/tools/boot/stretch/parse_isolinux
line 111.
stderr: Use of uninitialized value $initrd in concatenation (.) or string at
/data/schlarbm/simple-cdd/tmp/debian-cd/tools/boot/stretch/parse_isolinux line
112.
[...]
Now I don't know whether the problem lies in the sheer length of the line or in
any of the characters in it.
Regards,
Moritz
-- System Information:
Debian Release: 9.3
APT prefers stable-updates
APT policy: (700, 'stable-updates'), (700, 'stable'), (60, 'testing'), (50, 'unstable')
Architecture: amd64 (x86_64)
Foreign Architectures: i386
Kernel: Linux 4.9.0-5-amd64 (SMP w/8 CPU cores)
Locale: LANG=en_US.utf8, LC_CTYPE=en_US.utf8 (charmap=UTF-8), LANGUAGE=en_US.utf8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash
Init: systemd (via /run/systemd/system)
Versions of packages debian-cd depends on:
ii apt 1.4.8
ii bc 1.06.95-9+b3
ii bzip2 1.0.6-8.1
ii cpp 4:6.3.0-4
ii curl 7.52.1-5+deb9u3
ii dctrl-tools [grep-dctrl] 2.24-2+b1
ii dpkg-dev 1.18.24
ii genisoimage 9:1.1.11-3+b2
pn libcompress-zlib-perl <none>
pn libdigest-md5-perl <none>
ii libdpkg-perl 1.18.24
ii libperl5.24 [libdigest-sha-perl] 5.24.1-3+deb9u2
ii lynx 2.8.9dev11-1
ii lynx-cur 2.8.9dev11-1
ii make 4.1-9.1
ii perl 5.24.1-3+deb9u2
ii tofrodos 1.7.13+ds-2
ii xorriso 1.4.6-1+b1
Versions of packages debian-cd recommends:
ii dosfstools 4.1-1
ii hfsutils 3.2.6-13+b1
ii isolinux 3:6.03+dfsg-14.1+deb9u1
ii mtools 4.0.18-2+b1
ii netpbm 2:10.0-15.3+b2
ii syslinux-common 3:6.03+dfsg-14.1+deb9u1
ii syslinux-utils 3:6.03+dfsg-14.1+deb9u1
ii wget 1.18-5+deb9u1
debian-cd suggests no packages.
-- no debconf information
Reply to: