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

lb_binary_debian-installer and grub2



Dear All,

 

I'm working on XBMCLive (Ubuntu together with live-build 3.x) and using a config with grub2 as bootloader and iso as binary image. When setting the debian-installer to true the image creation fails. It seems that there's a dependency in the lb_binary_debian-installer to use the older grub versions. It would be very nice to have permanent fix for this. I'm using the code below to temporary fix this issue.
 
Many thanks for your work on live!

 

Regards, Piethein

 

# TODO: proper required packages for debian installer inclusion when building Ubuntu
if [ -f /usr/share/live/build/scripts/build/lb_binary_debian-installer ]
then
    sed -i "s/DI_REQ_PACKAGES=\"elilo lilo grub grub-pc\"/DI_REQ_PACKAGES=\"grub-pc\"/g" /usr/share/live/build/scripts/build/lb_binary_debian-installer
    sed -i "s/DI_PACKAGES=\"\${DI_PACKAGES} busybox cryptsetup mdadm lvm2\"/DI_PACKAGES=\"\${DI_PACKAGES} cryptsetup mdadm lvm2\"/g" /usr/share/live/build/scripts/build/lb_binary_debian-installer
fi


Reply to: