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

Bug#394301: live-package: A simple patch to resolve this b



Followup-For: Bug #394301
Package: live-package
Version: 0.99.14-1

Hi,

I found the same problem with a recent downloaded live-package. When I
# make-live
the execution has stopped by the follow error:
Removing syslinux ...
cp: target `/root/debian-live/binary/isolinux/initrd.gz' is not a directory

This operation is make in /usr/share/make-live/scripts/21image.sh at
procedure Linuximage ().

There are files .bak at /boot:

# ls debian-live/chroot/boot/
config-2.6.18-3-486  initrd.img-2.6.18-3-486
initrd.img-2.6.18-3-486.bak  System.map-2.6.18-3-486
vmlinuz-2.6.18-3-486

and the problem is the same reported by Bas Wijnen.

I'm sending a simple patch to resolve this problem. Is enough only
remove the .bak's from de /boot of the chroot.

root@casa:/usr/share/make-live/scripts# diff -hup 21image.sh
21image.sh.orig
--- 21image.sh  2006-12-18 19:10:03.000000000 -0300
+++ 21image.sh.orig     2006-12-18 19:09:08.000000000 -0300
@@ -215,9 +215,6 @@ Syslinux ()

 Linuximage ()
  {
  -       # deleting .bak's
  -       rm -f "${LIVE_CHROOT}"/boot/*.bak
  -
          case "${1}" in
                          iso)
                                                  # Copy linux-image

If do you have another better solution, please tell me therefore I'm
intersting to keep use this tool.

Regards,

Cason


-- System Information:
Debian Release: testing/unstable
  APT prefers unstable
  APT policy: (500, 'unstable'), (500, 'testing')
Architecture: amd64 (x86_64)
Shell:  /bin/sh linked to /bin/bash
Kernel: Linux 2.6.18-rc2
Locale: LANG=pt_BR.UTF-8, LC_CTYPE=pt_BR.UTF-8 (charmap=UTF-8)

Versions of packages live-package depends on:
ii  cdebootstrap              0.3.15         Bootstrap a Debian system
ii  genext2fs                 1.4-rc1-2.1    ext2 filesystem generator for
embe
ii  mkisofs                   5:1.0~pre4-1.1 Creates ISO-9660 CD-ROM
filesystem
ii  squashfs-tools            1:3.1r2-5      Tool to create and append to
squas

live-package recommends no packages.




Reply to: