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

Re: Transition from live-build 2 to 3 - Build problems



Hi,

On Thu, 09 May 2013 11:51:38 -0430
Luis Alejandro Martínez Faneyth <luis@huntingbears.com.ve> wrote:

> There is no "686" flavour on wheezy anymore, there is "686-pae". That's 
> why you have no binary/live/vmlinuz.

actually I have even two:

# ls binary/live/vmlinuz*
binary/live/vmlinuz-3.2.0-4-686-pae  
binary/live/vmlinuz-3.2.0-4-rt-686-pae

Maybe that's the problem. How can I get rid of the rt-kernel and why
does live-build install both in the first place?


However changing the parameter two 686-pae doesn't change anything:

# cat auto/config
#!/bin/sh

lb config noauto \
       --architecture i386 \
       --linux-flavours 686-pae \
       --bootloader syslinux \
       --iso-application "mylivedistro" \
       --iso-volume "mylivedistro" \
       --bootappend-live "boot=live config noautologin keyboard-layouts=de keyboard-variant=nodeadkeys ip=frommediahostname=myhost.local" \
 "${@}"


Last output still:

Setting up syslinux-common (2:4.05+dfsg-6+deb7u1) ...
Setting up syslinux (2:4.05+dfsg-6+deb7u1) ...
cp: cannot stat `/root/isolinux/libutil.c32': No such file or directory
cp: cannot stat `/root/isolinux/ldlinux.c32': No such file or directory
cp: cannot stat `/root/isolinux/libcom32.c32': No such file or directory
mv: target `binary/live/vmlinuz' is not a directory
P: Begin unmounting filesystems...
P: Saving caches...
Reading package lists... Done
Building dependency tree       
Reading state information... Done

without building the iso.

>Also, you will probably have an old syslinux template on your config/ 
>directory, update that.

No, I haven't.

I found out that the isolinux files came
from /usr/share/live/build/bootloaders/isolinux. However this three
files are dead symlinks:

# ls -l /usr/share/live/build/bootloaders/isolinux/l*.c32
lrwxrwxrwx 1 root root 29 Apr 29 12:54 /usr/share/live/build/bootloaders/isolinux/ldlinux.c32 -> /usr/lib/syslinux/ldlinux.c3 
lrwxrwxrwx 1 root root 30 Apr 29 12:54 /usr/share/live/build/bootloaders/isolinux/libcom32.c32 -> /usr/lib/syslinux/libcom32.c32 
lrwxrwxrwx 1 root root 29 Apr 29 12:54 /usr/share/live/build/bootloaders/isolinux/libutil.c32 -> /usr/lib/syslinux/libutil.c32


# ls /usr/lib/syslinux/ldlinux.c32 /usr/lib/syslinux/libcom32.c32 /usr/lib/syslinux/libutil.c32
ls: cannot access /usr/lib/syslinux/ldlinux.c32: No such file or directory 
ls: cannot access /usr/lib/syslinux/libcom32.c32: No such file or directory 
ls: cannot access /usr/lib/syslinux/libutil.c32: No such file or directory

I have current wheezy syslinux installed.

# dpkg -l|grep syslinux
ii  syslinux                             2:4.05+dfsg-6+deb7u1       i386         collection of boot loaders
ii  syslinux-common                      2:4.05+dfsg-6+deb7u1       all          collection of boot loaders (common files)

See also http://packages.debian.org/wheezy/all/syslinux-common/filelist, the files symlinked 
at /usr/share/live/build/bootloaders/isolinux/  don't exist in syslinux or syslinux-common.

Regards,

Henry



Reply to: