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

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



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

Cheers,

El 09/05/13 08:40, Henry Jensen escribió:
Hello,

I upgraded from squeeze to wheezy and therefore from live-build 2.x
to 3. Unfortunately there seemed to be lot of changes, so that my
build scripts didn't work any more. Where can I read about the changes?

My old auto/config looked like this:

lb config noauto \
        --architecture i386 \
        --linux-flavours 686 \
        --packages-lists standard \
        --syslinux-timeout 5 \
        --hostname "myhost.local" \
        --iso-application "mylivedistro" \
        --iso-volume "mylivedistro" \
        --bootappend-live "noautologin keyboard-layouts=de
keyboard-variant=nodeadkeys ip=frommedia" \
        --packages "iscsitarget-dkms iscsitarget mc nfs-kernel-server elinks tcpdump syslog-ng lvm2 xfsprogs parted e2fsprogs ssh snmpd ntp ntpdate screen less pciutils hdparm pv rsync gnu-fdisk ethtool iotop sysstat" \
"${@}"

At first lb config complained about unknown options:

lb config: unrecognized option '--packages-lists'
lb config: unrecognized option '--syslinux-timeout'
lb config: unrecognized option '--hostname'
lb config: unrecognized option '--packages'

I figured out, that packages now must be defined in
config/package-lists/my.list.chroot and that the hostname must be
defined in the --bootappend-live option. I couldn't find a replacement
for the --syslinux-timeout option. And  --packages-lists seemed to be
gone as well.

I used to modify LB_SYSLINUX_MENU_LIVE_ENTRY in config/binary to set a
custom boot entry label. But all LB_SYSLINUX_* variables don't
exist any more. What are the substitutes for them?

After that my auto/config now looks like this:

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

But now I got the following errors:

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...
Building dependency tree...
Reading state information...

And the build stops there. Sorry, if I missed something obvious.

Regards,

Henry







--
Luis Alejandro Martínez Faneyth
Blog: http://www.huntingbears.com.ve/
Twitter/Identi.ca: @LuisAlejandro
ED51 8FE7 4107 715D 0464 8366 F614 5A95 E78D AA2E

CODE IS POETRY


Reply to: