Re: [SOLVED] Some issues with live-build 2.0.7-1 in ubuntu mode
I have solved the issues with using ubuntu mode and the debian installer
1. lb_binary_debian-installer changes required:
/usr/share/live/build/scripts/build/lb_binary_debian-installer uses the
wrong name for the linux-image.
It tries to install linux-image-2.6-generic for i386 and amd64. This
image does not exist.
linux-image-2.6-generic must become linux-image-generic
for all casper segments for i386 and amd64.
2. lb_binary_disk changes required:
the line: for INITRD in binary/casper/initrd.img* should
read: for INITRD in binary/casper/initrd*
the line: mv conf/uuid.conf
should read: mv conf/uuid.conf
These changes for lb_binary_disk are necessary because "initrd1.img"
gets generated in the casper directory. The build will fail at this step
if the changes are not made.
By making these changes in live-build-2.0.7-1 and 2.0.8-1 it will build
live ubuntu images with the debian installer included.
I hope this helps some one as I struggled with building ubuntu images
for quite a while. A preferable change would be to scrap casper and use
live-initramfs in ubuntu mode as well.
Thanks, hope this helps,