Adding support for live-installer.

This commit is contained in:
Daniel Baumann 2007-09-23 14:05:10 +02:00
parent 117d1ef02c
commit 0e4a03132a
2 changed files with 13 additions and 7 deletions

View File

@ -35,7 +35,7 @@ Set_defaults
# Setting remote d-i directories # Setting remote d-i directories
case "${LH_DEBIAN_INSTALLER}" in case "${LH_DEBIAN_INSTALLER}" in
enabled|cdrom|netinst|businesscard) enabled|cdrom|netinst|businesscard|live)
DI="cdrom" DI="cdrom"
DI_GTK="${DI}/gtk" DI_GTK="${DI}/gtk"
DI_KERNEL="vmlinuz" DI_KERNEL="vmlinuz"
@ -381,6 +381,12 @@ do
rm -f "${EXCLUDE}"_*.udeb rm -f "${EXCLUDE}"_*.udeb
done done
# Enable live-installer
if [ "${LH_DEBIAN_INSTALLER}" = "live" ]
then
rm -f bootstrap-base_*.udeb
fi
# Moving udebs # Moving udebs
for UDEB in ${UDEBS} for UDEB in ${UDEBS}
do do

View File

@ -79,7 +79,7 @@ case "${LH_MODE}" in
cp "${LH_BASE}"/data/debian-cd/${LH_DISTRIBUTION}/${LH_ARCHITECTURE}_udeb_include binary/.disk/udeb_include cp "${LH_BASE}"/data/debian-cd/${LH_DISTRIBUTION}/${LH_ARCHITECTURE}_udeb_include binary/.disk/udeb_include
;; ;;
enabled|netinst) enabled|netinst|live)
echo "main" > binary/.disk/base_components echo "main" > binary/.disk/base_components
touch binary/.disk/base_installable touch binary/.disk/base_installable
@ -89,6 +89,11 @@ case "${LH_MODE}" in
echo "Debian GNU/Linux ${VERSION} \"${DISTRIBUTION}\" - Official ${ARCHITECTURE} NETINST Binary `date +%Y%m%d-%H:%M`" > binary/.disk/info echo "Debian GNU/Linux ${VERSION} \"${DISTRIBUTION}\" - Official ${ARCHITECTURE} NETINST Binary `date +%Y%m%d-%H:%M`" > binary/.disk/info
cp "${LH_BASE}"/data/debian-cd/${LH_DISTRIBUTION}/${LH_ARCHITECTURE}_netinst_udeb_include binary/.disk/udeb_include cp "${LH_BASE}"/data/debian-cd/${LH_DISTRIBUTION}/${LH_ARCHITECTURE}_netinst_udeb_include binary/.disk/udeb_include
if [ "${LH_DEBIAN_INSTALLER}" = "live" ]
then
echo "live-installer" >> binary/.disk/udeb_include
fi
;; ;;
businesscard) businesscard)
@ -114,10 +119,5 @@ case "${LH_MODE}" in
;; ;;
esac esac
if [ -d binary/pool/main/l/live-installer ]
then
echo "live-installer" >> binary/.disk/udeb_include
fi
# Creating stage file # Creating stage file
Create_stagefile .stage/binary_disk Create_stagefile .stage/binary_disk