I have solved the issues with using ubuntu mode and the debian installer
as follows:
1. lb_binary_debian-installer changes required:
The script
/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
"../binary/.disk/casper-uuid${INITRD#binary/casper/initrd.img}"
should read: mv conf/uuid.conf
"../binary/.disk/casper-uuid${INITRD#binary/casper/initrd1.img}"
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,
Rob Key
--
To UNSUBSCRIBE, email to debian-live-requ...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org
Archive: http://lists.debian.org/4cff652e.7070...@telkomsa.net