Re: Question about --debian-installer option
2011/4/29 Daniel Baumann <daniel.baumann@progress-technologies.net>:
> On 04/29/2011 11:12 AM, Jose Luis Zabalza wrote:
>> if --debian-installer option is some diferent to "live",
>> live-installer udeb is not installed on live media so is not posible
>> install live image into target system.
>
> have you consulted the lb_config manpage?
>
Of course. But I don't undstand how is compatible with
live-installer/enable=false.
To use live-installer/enable=false the image must be build with
--debian-installer=live.
If this is true, this code on lb_binary_debian-installer script is executed
# Enable live-installer
if [ "${LB_DEBIAN_INSTALLER}" = "live" ]
then
# Remove local udebs
rm -f pool/main/b/base-installer/bootstrap-base_*.udeb
# Remove d-i udebs
rm -f bootstrap-base_*.udeb
fi
So bootstrap-base udeb is removed, and this code
if [ "${LB_DEBIAN_INSTALLER}" != "live" ]
then
# Including base debian packages
if ls cache/packages_bootstrap/*.deb > /dev/null 2>&1
then
for FILE in cache/packages_bootstrap/*.deb
do
Install_file "${FILE}" "binary/pool/main"
done
else
Echo_error "Could not find packages in cache/packages_bootstrap."
Echo_error "You selected values of LB_CACHE, LB_CACHE_PACKAGES,
LB_CACHE_STAGES and LB_DEBIAN_INSTALLER which will result in
'bootstrap' packages not being cached - these are required when
integrating the Debian Installer."
exit 1
fi
fi
is not executed so bootstrap packages are not in media pool and is a
posible cause of bug 598182.
am I wrong?
I try comment the "rm" commands and the "if != live", adding grub-pc
and linux-kernel packages and it is running but I don't know if this
is the best way of fix it.
See you later.
--
José Luis Zabalza
jlz.3008 a t gmail.com
Linux Counter 172551
Reply to: