[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#766411: debian-cd: can't read boot1/isolinux/desktop/*.cfg



Package: debian-cd
Version: 3.1.15
Severity: important
Tags: patch

When building a Jessie image with debian-cd (admittedly by way of
simple-cdd), I get:

'boot1/isolinux/win32-loader.ini' -> 'boot1/win32-loader.ini'
  gtk/vmlinuz identical to ../vmlinuz. Linking
sed: can't read boot1/isolinux/desktop/*.cfg: No such file or directory
      FAILED: error 2
    Failed to start disc 1, error 512
Makefile:406: recipe for target 'image-trees' failed
make: *** [image-trees] Error 2


It appears to be partially fixed in git:

  b494adcb039ec2f9d2787a3e76cd68366a493400
  adapt desktop handling for tasksel/d-i changes


But simple-cdd makes use of KERNEL_PARAMS, and triggers the issue in
another place:

diff --git a/tools/boot/jessie/boot-x86 b/tools/boot/jessie/boot-x86
index e42dee0..bc549ac 100644
--- a/tools/boot/jessie/boot-x86
+++ b/tools/boot/jessie/boot-x86
@@ -364,7 +364,7 @@ sed -i "s|built on|built $BUILD_DATE; d-i|" boot$N/isolinux/f1.txt
 
 if [ -n "$KERNEL_PARAMS" ]; then
 	# Substitute custom kernel params into the isolinux config file(s)
-	for file in boot$N/isolinux/*.cfg boot$N/isolinux/desktop/*.cfg; do
+	for file in boot$N/isolinux/*.cfg ; do
 		case "$(basename $file)" in
 			instsel.cfg)
 				continue ;;


With that applied to git, it works for me...

live well,
  vagrant

-- System Information:
Debian Release: jessie/sid
  APT prefers testing
  APT policy: (500, 'testing'), (120, 'unstable'), (1, 'experimental')
Architecture: amd64 (x86_64)
Foreign Architectures: i386
armhf

Kernel: Linux 3.16-2-amd64 (SMP w/4 CPU cores)
Locale: LANG=en_US.utf8, LC_CTYPE=en_US.utf8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash

Versions of packages debian-cd depends on:
ii  apt                        1.0.9.3
ii  bc                         1.06.95-9
ii  bzip2                      1.0.6-7
ii  cpp                        4:4.9.1-1
ii  curl                       7.38.0-2
ii  dctrl-tools [grep-dctrl]   2.23
ii  dpkg-dev                   1.17.13
ii  genisoimage                9:1.1.11-3
pn  libcompress-zlib-perl      <none>
pn  libdigest-md5-perl         <none>
ii  libdpkg-perl               1.17.13
ii  lynx-cur                   2.8.9dev1-2
ii  make                       4.0-8
ii  perl [libdigest-sha-perl]  5.20.1-1
ii  tofrodos                   1.7.13+ds-1
ii  xorriso                    1.3.2-1.1

Versions of packages debian-cd recommends:
ii  dosfstools       3.0.26-4
ii  hfsutils         3.2.6-13
pn  isolinux         <none>
ii  mtools           4.0.18-2
ii  netpbm           2:10.0-15.1+b1
ii  syslinux-common  3:6.03+dfsg-1

debian-cd suggests no packages.

-- no debconf information

Attachment: pgpgr160q1h8W.pgp
Description: PGP signature


Reply to: