Adding live-helper 1.0~a20-1.

This commit is contained in:
Daniel Baumann 2007-09-23 10:05:16 +02:00
parent c79ab34a7c
commit f314791fa2
71 changed files with 598 additions and 398 deletions

View File

@ -91,9 +91,9 @@ uninstall:
update:
set -e; for FILE in functions/*.sh examples/cron/*.sh manpages/*.de.* manpages/*.en.*; \
do \
sed -i -e 's/2007\\-07\\-16/2007\\-07\\-23/' \
-e 's/16.07.2007/23.07.2007/' \
-e 's/1.0~a19/1.0~a20/' \
sed -i -e 's/2007\\-07\\-23/2007\\-07\\-30/' \
-e 's/23.07.2007/30.07.2007/' \
-e 's/1.0~a20/1.0~a21/' \
$$FILE; \
done

View File

@ -1,29 +0,0 @@
Boot Parameters for Debian Live
-------------------------------
Updated for casper 1.77+debian-7 on 2007-02-08.
These options (can be combined) work from the syslinux bootprompt:
casper casper-getty
casper xdebconf
casper hostname=HOSTNAME
casper userfullname=USERFULLNAME
casper username=USERNAME
casper {keyb|kbd-chooser/method}=KEYBOARD
casper {klayout|console-setup/layoutcode}=LAYOUT
casper {kvariant|console-setup/variantcode}=VARIANT ,
casper {kmodel|console-setup/modelcode}=CODE , koptions=OPTIONS
casper ip=IFACE,ADDRESS,NETMASK,GATEWAY[:IFACE,ADDRESS,NETMASK,GATEWAY]*
casper ip[=frommedia]
casper {live-media|bootfrom}=DEVICE
casper live-media-offset=BYTES
casper locale=LOCALE | debian-installer/locale=LOCALE
casper netboot[=nfs|cifs]
casper persistent
casper nopersistent
casper showmounts
casper todisk=DEVICE
casper toram
casper {preseed/file|file}=FILE
casper package/question=VALUE

6
debian/changelog vendored
View File

@ -1,3 +1,9 @@
live-helper (1.0~a20-1) unstable; urgency=medium
* New upstream release.
-- Daniel Baumann <daniel@debian.org> Mon, 23 Jul 2007 00:00:00 +0200
live-helper (1.0~a19-1) unstable; urgency=medium
* New upstream release:

6
debian/control vendored
View File

@ -12,9 +12,6 @@ Package: live-helper
Architecture: all
Depends: cdebootstrap (>= 0.3.15) | debootstrap (>= 0.3.3.2)
Suggests: genisoimage | mkisofs, memtest86+ | memtest86, mtools, squashfs-tools | genext2fs, syslinux | grub
Conflicts: live-package
Replaces: live-package
Provides: make-live
Description: Debian Live helper programs
Live-helper is a collection of programs that can be used to build Debian Live
system images. The philosophy behind live-helper is to provide a collection of
@ -22,7 +19,6 @@ Description: Debian Live helper programs
to automate building of a Live system.
.
A typical program that uses live-helper will call several live-helper commands
in sequence. Live-helper commands are all named with a "lh_" prefix. Examples
of such a program that uses live-helper is make-live (included here).
in sequence. Live-helper commands are all named with a "lh_" prefix.
.
Homepage: <http://debian-live.alioth.debian.org/>

28
debian/postinst vendored Normal file
View File

@ -0,0 +1,28 @@
#!/bin/sh
set -e
case "${1}" in
configure)
update-alternatives --install /usr/share/live-helper/templates \
live-helper_templates \
/usr/share/live-helper/templates.debian 100
update-alternatives --install /usr/share/live-helper/includes \
live-helper_includes \
/usr/share/live-helper/includes.debian 100
;;
abort-upgrade|abort-remove|abort-deconfigure)
;;
*)
echo "postinst called with unknown argument \`${1}'" >&2
exit 1
;;
esac
#DEBHELPER#
exit 0

23
debian/prerm vendored Normal file
View File

@ -0,0 +1,23 @@
#!/bin/sh
set -e
case "${1}" in
remove|upgrade|deconfigure)
update-alternatives --remove live-helper_includes /usr/share/live-helper/includes.debian
update-alternatives --remove live-helper_templates /usr/share/live-helper/templates.debian
;;
failed-upgrade)
;;
*)
echo "prerm called with unknown argument \`${1}'" >&2
exit 1
;;
esac
#DEBHELPER#
exit 0

4
debian/rules vendored
View File

@ -29,6 +29,10 @@ install: build
install -D -m 0644 debian/default debian/live-helper/etc/default/live-helper
# Preparing alternatives
mv debian/live-helper/usr/share/live-helper/includes debian/live-helper/usr/share/live-helper/includes.debian
mv debian/live-helper/usr/share/live-helper/templates debian/live-helper/usr/share/live-helper/templates.debian
# Removing double files
rm -f debian/live-helper/usr/share/doc/live-helper/COPYING
rm -f debian/live-helper/usr/share/doc/live-helper/ChangeLog

View File

@ -1,3 +1,18 @@
2007-07-27 Daniel Baumann <daniel@debian.org>
* Makefile, debian/postinst, prerm:
- Added alternatives handling for includes and templates.
* examples/hooks/*:
- Cleaned up.
* helpers/lh_chroot_preseed:
- Process flavour specific preseeds, if available, dropping
LIVE_PRESEED.
* helpers/lh_chroot_local-preseed:
- Added.
* templates/syslinux:
- Added installer specific templates.
- Renamebled additional boot targets (localboot).
2007-07-19 Daniel Baumann <daniel@debian.org>
* functions/defaults.sh, package.sh, helpers/lh_config, lh_binary_*:

View File

@ -2,14 +2,9 @@
# This is a hook for live-helper(7) to install ipw2100 drivers
# To enable it, copy this hook into your config/chroot_local-hooks directory.
# IMPORTANT: for apt-get to locate the required packages you need to
# add "contrib" sections and the 686 flavour.
#
# e.g with make-live : --sections "main contrib" --kernel-flavour 686
# Updating indices
apt-get update
# Note: This hook requires packages from the contrib section. Make sure you enabled
# it in your configuration.
# Building kernel module
which module-assistant || apt-get install --yes module-assistant
@ -18,7 +13,6 @@ module-assistant --non-inter --quiet auto-install ipw2100
module-assistant clean ipw2100
# Installing firmware (http://ipw2100.sourceforge.net/firmware.php)
# grabbing 0.55 (Wed May 16 15:17:38 -- matth)
wget --referer "http://ipw2100.sourceforge.net/firmware.php" "http://ipw2100.sourceforge.net/firmware.php?i_agree_to_the_license=yes&f=ipw2100-fw-1.3.tgz" -O /tmp/ipw2100-fw-1.3.tgz
cd /tmp

View File

@ -2,14 +2,9 @@
# This is a hook for live-helper(7) to install nvidia-legacy drivers
# To enable it, copy this hook into your config/chroot_local-hooks directory.
# IMPORTANT: for apt-get to locate the required packages you need to
# add "contrib" sections and the 686 flavour.
#
# e.g with make-live : --sections "main contrib" --kernel-flavour 686
# Updating indices
apt-get update
# Note: This hook requires packages from the contrib section. Make sure you enabled
# it in your configuration.
# Building kernel mdoule
which module-assistant || apt-get install --yes module-assistant
@ -18,7 +13,6 @@ module-assistant --non-inter --quiet auto-install ipw2200
module-assistant clean ipw2200
# Installing firmware (http://ipw2200.sourceforge.net/firmware.php)
# grabbing 3.0 (Wed May 16 15:17:38 -- matth)
wget --referer "http://ipw2200.sourceforge.net/firmware.php" "http://ipw2200.sourceforge.net/firmware.php?i_agree_to_the_license=yes&f=ipw2200-fw-3.0.tgz" -O /tmp/ipw2200-fw-3.0.tgz
cd /tmp

View File

@ -2,22 +2,20 @@
# This is a hook for live-helper(7) to install ipw3945 drivers
# To enable it, copy this hook into your config/chroot_local-hooks directory.
# IMPORTANT: for apt-get to locate the required packages you need to
# add "non-free" sections
#
# e.g with make-live : --sections "main non-free"
# Updating indices
apt-get update
# Note: This hook requires packages from the contrib and non-free section. Make
# sure you enabled it in your configuration.
#
# FIXME: it runs in interactive mode
# Building kernel module
which module-assistant || apt-get install --yes module-assistant
module-assistant update
module-assistant auto-install ipw3945 # interactive mode for now
module-assistant auto-install ipw3945
module-assistant clean ipw3945
apt-get install ipw3945d firmware-ipw3945
# Installing additional stuff
apt-get install firmware-ipw3945 ipw3945d
# hackish, autorun regulatory daemon, update-rc.d will reject that
ln -s /etc/init.d/ipw3945d /etc/rc2.d/S19ipw3945d

View File

@ -2,16 +2,11 @@
# This is a hook for live-helper(7) to install madwifi drivers
# To enable it, copy this hook into your config/chroot_localhooks directory.
# IMPORTANT: for apt-get to locate the required packages you need to
# add "non-free" sections
#
# e.g with make-live : --sections "main non-free"
# NOTE: it runs in interactive mode
# Updating indices
apt-get update
# Note: This hook requires packages from the contrib section. Make sure you enabled
# it in your configuration.
#
# FIXME: it runs in interactive mode
# Building kernel module
which module-assistant || apt-get install --yes module-assistant
@ -19,5 +14,5 @@ module-assistant update
module-assistant auto-install madwifi
module-assistant clean madwifi
# Installing aditional stuff
# Installing additional stuff
apt-get install --yes madwifi-tools madwifi-doc

View File

@ -2,14 +2,9 @@
# This is a hook for live-helper(7) to install nvidia-legacy drivers
# To enable it, copy this hook into your config/chroot_localhooks directory.
# IMPORTANT: for apt-get to locate the required packages you need to
# add "contrib non-free" sections.
#
# e.g with make-live : --sections "main contrib non-free"
# Updating indices
apt-get update
# Note: This hook requires packages from the non-free section. Make sure you
# enabled it in your configuration.
# Building kernel module
which module-assistant || apt-get install --yes module-assistant nvidia-kernel-common
@ -17,10 +12,10 @@ module-assistant update
module-assistant --non-inter --quiet auto-install nvidia-kernel-legacy
module-assistant clean nvidia-kernel-legacy
# Installing aditional stuff
# Installing additional stuff
apt-get install --yes nvidia-glx-legacy nvidia-xconfig discover
# fixup (#421028)
# Fix #421028
if [ -f /usr/lib/xorg/modules/drivers/nvidia_drv.o ]
then
cd /usr/lib/xorg/modules/drivers

View File

@ -2,13 +2,9 @@
# This is a hook for live-helper(7) to install ralink rt2570 drivers
# To enable it, copy this hook into your config/chroot_local-hooks directory.
#
# FIXME: it runs in interactive mode
# NOTE: it runs in interactive mode
# Updating indices
apt-get update
# Building kernel module
which module-assistant || apt-get install --yes module-assistant
module-assistant update
module-assistant auto-install rt2570-source

View File

@ -2,11 +2,8 @@
# This is a hook for live-helper(7) to install ralink rt2x00 drivers
# To enable it, copy this hook into your config/chroot_local-hooks directory.
# NOTE: it runs in interactive mode
# Updating indices
apt-get update
#
# FIXME: it runs in interactive mode
# Building kernel modules
which module-assistant || apt-get install --yes module-assistant

View File

@ -1,10 +1,11 @@
#!/bin/sh
# This is a hook for live-helper(7) to install sun-java.
# To enable it, copy this hook into your config/chroot_local-hooks directory.
#
# To enable it, copy this hook into your config/chroot_local-hooks directory and
# don't forget to enable non-free in LIVE_SECTIONS.
#
# Note: This hook requires packages from the non-free section. Make sure you
# enabled it in your configuration.
# live-helper sets DEBIAN_FRONTEND to 'noninteractive' to advise debconf to not
# ask any questions while installing packages. Suns redistribution terms for
# Java do not allow this, therefore we need to overwrite DEBIAN_FRONTEND for

View File

@ -1,10 +1,11 @@
#!/bin/sh
# This is a hook for live-helper(7) to install sun-java.
# To enable it, copy this hook into your config/chroot_local-hooks directory.
#
# To enable it, copy this hook into your config/chroot_local-hooks directory and
# don't forget to enable non-free in LIVE_SECTIONS.
#
# Note: This hook requires packages from the non-free section. Make sure you
# enabled it in your configuration.
# live-helper sets DEBIAN_FRONTEND to 'noninteractive' to advise debconf to not
# ask any questions while installing packages. Suns redistribution terms for
# Java do not allow this, therefore we need to overwrite DEBIAN_FRONTEND for

View File

@ -10,4 +10,4 @@
set -e
PROGRAM="`basename ${0}`"
VERSION="1.0~a19"
VERSION="1.0~a20"

View File

@ -511,9 +511,6 @@ Set_defaults ()
# Setting packages list string
LIVE_PACKAGES_LISTS="${LIVE_PACKAGES_LISTS:-standard}"
# Setting package preseed
# LIVE_PRESEED
# Setting tasks string
for LIST in ${LIVE_PACKAGES_LISTS}
do

View File

@ -11,10 +11,10 @@ set -e
Check_templates ()
{
ITEM="${1}"
PACKAGE="${1}"
# Check user defined templates directory
if [ ! -d "${LIVE_TEMPLATES}" ]
if [ ! -e "${LIVE_TEMPLATES}" ]
then
if [ -d config/templates ]
then
@ -25,11 +25,11 @@ Check_templates ()
fi
fi
if [ -d "${LIVE_TEMPLATES}/${ITEM}" ]
if [ -d "${LIVE_TEMPLATES}/${PACKAGE}" ]
then
TEMPLATES="${LIVE_TEMPLATES}/${ITEM}"
TEMPLATES="${LIVE_TEMPLATES}/${PACKAGE}"
else
Echo_error "${ITEM} templates not accessible in ${LIVE_TEMPLATES}"
Echo_error "${PACKAGE} templates not accessible in ${LIVE_TEMPLATES}"
exit 1
fi
}

View File

@ -24,6 +24,14 @@ USAGE="${PROGRAM} [--force]"
Arguments "${@}"
# Reading configuration files
Read_conffile config/common
Read_conffile config/bootstrap
Read_conffile config/chroot
Read_conffile config/binary
Read_conffile config/source
Set_defaults
# Preparing root filesystem
lh_binary_chroot ${*}

View File

@ -106,7 +106,9 @@ fi
case "${LH_INITRAMFS}" in
casper)
cp "${LH_BASE:-/usr/share/live-helper}"/data/casper/parameters.txt "${DESTDIR}"/parameters.txt
# Checking casper templates
Check_templates casper
cp "${TEMPLATES}"/casper/parameters.txt "${DESTDIR}"/parameters.txt
;;
live-initramfs)

View File

@ -335,6 +335,32 @@ case "${LIVE_BINARY_IMAGES}" in
esac
cp -r "${TEMPLATES}"/* binary/isolinux
for FILE in binary/isolinux/*.live
do
mv ${FILE} `dirname ${FILE}`/`basename ${FILE} .live`
done
if [ "${LIVE_DEBIAN_INSTALLER}" != "disabled" ]
then
for FILE in binary/isolinux/*.install
do
mv ${FILE} `dirname ${FILE}`/`basename ${FILE} .install`
done
if [ "${LIVE_ARCHITECTURE}" = "amd64" ] || [ "${LIVE_ARCHITECTURE}" = "i386" ] || [ "${LIVE_ARCHITECTURE}" = "powerpc" ]
then
for FILE in binary/isolinux/*.install.g-i
do
mv ${FILE} `dirname ${FILE}`/`basename ${FILE} .install.g-i`
done
else
rm -f binary/isolinux/*.install.g-i
fi
else
rm -f binary/isolinux/*.install*
fi
mv binary/isolinux/syslinux.cfg binary/isolinux/isolinux.cfg
# Copying local configuration file
@ -363,7 +389,8 @@ case "${LIVE_BINARY_IMAGES}" in
# Configure syslinux templates
sed -i -e "s@LINUX_LIVE@${LINUX_LIVE}@" -e "s@LINUX_INSTALL@${LINUX_INSTALL}@" -e "s@MEMTEST@${MEMTEST}@" binary/isolinux/isolinux.cfg
sed -i -e "s#LIVE_BOOTAPPEND#${LIVE_BOOTAPPEND}#" binary/isolinux/isolinux.cfg
sed -i -e "s/LIVE_DATE/`date +%Y%m%d`/" binary/isolinux/f1.txt
sed -i -e "s/LIVE_DISTRIBUTION/${LIVE_DISTRIBUTION}/" -e "s/LIVE_DATE/`date +%Y%m%d`/" -e "s/LIVE_MEDIA/CD-ROM/" binary/isolinux/f1.txt
sed -i -e "s/LIVE_MEDIA/CD-ROM/" binary/isolinux/f3.txt
sed -i -e "s/LIVE_VERSION/${VERSION}/" binary/isolinux/f10.txt
# Working arround syslinux 8.3 limitation
@ -407,6 +434,32 @@ case "${LIVE_BINARY_IMAGES}" in
mkdir -p tftpboot/pxelinux.cfg
cp -r "${TEMPLATES}"/* tftpboot/pxelinux.cfg
for FILE in tftpboot/pxelinux.cfg/*.live
do
mv ${FILE} `dirname ${FILE}`/`basename ${FILE} .live`
done
if [ "${LIVE_DEBIAN_INSTALLER}" != "disabled" ]
then
for FILE in tftpboot/pxelinux.cfg/*.install
do
mv ${FILE} `dirname ${FILE}`/`basename ${FILE} .install`
done
if [ "${LIVE_ARCHITECTURE}" = "amd64" ] || [ "${LIVE_ARCHITECTURE}" = "i386" ] || [ "${LIVE_ARCHITECTURE}" = "powerpc" ]
then
for FILE in tftpboot/pxelinux.cfg/*.install.g-i
do
mv ${FILE} `dirname ${FILE}`/`basename ${FILE} .install.g-i`
done
else
rm -f tftpboot/pxelinux.cfg/*.install.g-i
fi
else
rm -f tftpboot/pxelinux.cfg/*.install*
fi
mv tftpboot/pxelinux.cfg/syslinux.cfg tftpboot/pxelinux.cfg/default
# Copying local configuration file
@ -437,7 +490,8 @@ case "${LIVE_BINARY_IMAGES}" in
# Configure syslinux templates
sed -i -e "s@LINUX_LIVE@${LINUX_LIVE}@" -e "s@LINUX_INSTALL@${LINUX_INSTALL}@" -e "s@MEMTEST@${MEMTEST}@" tftpboot/pxelinux.cfg/default
sed -i -e "s#LIVE_BOOTAPPEND#${LIVE_BOOTAPPEND}#" -e "s/LIVE_NET_SERVER/${LIVE_NET_SERVER}/" -e "s#LIVE_NET_PATH#${LIVE_NET_PATH}#" tftpboot/pxelinux.cfg/default
sed -i -e "s/LIVE_DATE/`date +%Y%m%d`/" tftpboot/pxelinux.cfg/f1.txt
sed -i -e "s/LIVE_DISTRIBUTION/${LIVE_DISTRIBUTION}/" -e "s/LIVE_DATE/`date +%Y%m%d`/" -e "s/LIVE_MEDIA/netboot/" tftpboot/pxelinux.cfg/f1.txt
sed -i -e "s/LIVE_MEDIA/netboot/" tftpboot/pxelinux.cfg/f3.txt
sed -i -e "s/LIVE_VERSION/${VERSION}/" tftpboot/pxelinux.cfg/f10.txt
# Working arround syslinux 8.3 limitation
@ -476,6 +530,31 @@ case "${LIVE_BINARY_IMAGES}" in
cp -r "${TEMPLATES}"/* "${DESTDIR}"
for FILE in "${DESTDIR}"/*.live
do
mv ${FILE} `dirname ${FILE}`/`basename ${FILE} .live`
done
if [ "${LIVE_DEBIAN_INSTALLER}" != "disabled" ]
then
for FILE in "${DESTDIR}"/*.install
do
mv ${FILE} `dirname ${FILE}`/`basename ${FILE} .install`
done
if [ "${LIVE_ARCHITECTURE}" = "amd64" ] || [ "${LIVE_ARCHITECTURE}" = "i386" ] || [ "${LIVE_ARCHITECTURE}" = "powerpc" ]
then
for FILE in "${DESTDIR}"/*.install.g-i
do
mv ${FILE} `dirname ${FILE}`/`basename ${FILE} .install.g-i`
done
else
rm -f "${DESTDIR}"/*.install.g-i
fi
else
rm -f "${DESTDIR}"/*.install*
fi
# Copying local configuration file
if [ -f config/binary_syslinux/syslinux.cfg ]
then
@ -502,7 +581,8 @@ case "${LIVE_BINARY_IMAGES}" in
# Configure syslinux templates
sed -i -e "s@LINUX_LIVE@${LINUX_LIVE}@" -e "s@LINUX_INSTALL@${LINUX_INSTALL}@" -e "s@MEMTEST@${MEMTEST}@" "${DESTDIR}"/syslinux.cfg
sed -i -e "s#LIVE_BOOTAPPEND#${LIVE_BOOTAPPEND}#" "${DESTDIR}"/syslinux.cfg
sed -i -e "s/LIVE_DATE/`date +%Y%m%d`/" "${DESTDIR}"/f1.txt
sed -i -e "s/LIVE_DISTRIBUTION/${LIVE_DISTRIBUTION}/" -e "s/LIVE_DATE/`date +%Y%m%d`/" -e "s/LIVE_MEDIA/hd-media/" "${DESTDIR}"/f1.txt #FIXME
sed -i -e "s/LIVE_MEDIA/hd-media/" "${DESTDIR}"/f3.txt #FIXME
sed -i -e "s/LIVE_VERSION/${VERSION}/" "${DESTDIR}"/f10.txt
# Workaround for syslinux (<< 3.36) which doesn't support long file/path names

View File

@ -47,6 +47,7 @@ lh_chroot_linux-image install ${*}
# Customizing chroot
lh_chroot_preseed ${*}
lh_chroot_local-preseed ${*}
lh_chroot_tasks ${*}
lh_chroot_packageslists ${*}
lh_chroot_packages ${*}

View File

@ -89,9 +89,6 @@ echo "0.0 0 0.0" > chroot/etc/adjtime
# Remove generated xorg.conf based on build systems configuration
rm -f chroot/etc/X11/xorg.conf
# Touch resolv.conf
touch chroot/etc/resolv.conf
# Remove cruft
rm -f chroot/boot/initrd*bak*
rm -f /etc/apt/trusted.gpg~

73
helpers/lh_chroot_local-preseed Executable file
View File

@ -0,0 +1,73 @@
#!/bin/sh
# lh_chroot_local-preseed(1) - use debconf local preseeding file
# Copyright (C) 2006-2007 Daniel Baumann <daniel@debian.org>
#
# live-helper comes with ABSOLUTELY NO WARRANTY; for details see COPYING.
# This is free software, and you are welcome to redistribute it
# under certain conditions; see COPYING for details.
set -e
# Including common functions
LH_BASE="${LH_BASE:-/usr/share/live-helper}"
for FUNCTION in "${LH_BASE}"/functions/*.sh
do
. "${FUNCTION}"
done
# Setting static variables
DESCRIPTION="execute local preseed in chroot"
HELP=""
USAGE="${PROGRAM} [--force]"
Arguments "${@}"
# Reading configuration files
Read_conffile config/common
Read_conffile config/bootstrap
Read_conffile config/chroot
Read_conffile config/binary
Read_conffile config/source
Set_defaults
Echo_message "Begin executing locale preseed..."
# Requiring stage file
Require_stagefile .stage/bootstrap
# Checking stage file
Check_stagefile .stage/chroot_local-preseed
# Checking lock file
Check_lockfile .lock
# Creating lock file
Create_lockfile .lock
if ls config/chroot_local-preseed/* > /dev/null 2>&1
then
# Check dependency
Check_package chroot/usr/bin/debconf-set-selections debconf
# Install dependency
Install_package
for PRESEED in config/chroot_local-preseed/*
do
# Copying local preseed
cp "${PRESEED}" chroot/root/preseed
Chroot "debconf-set-selections /root/preseed"
# Removing local preseed file
rm -f chroot/root/preseed
done
# Remove dependency
Remove_package
# Creating stage file
Create_stagefile .stage/chroot_local-preseed
fi

View File

@ -1,6 +1,6 @@
#!/bin/sh
# lh_chroot_preseed(1) - mount /proc
# lh_chroot_preseed(1) - use debconf preseeding file
# Copyright (C) 2006-2007 Daniel Baumann <daniel@debian.org>
#
# live-helper comes with ABSOLUTELY NO WARRANTY; for details see COPYING.
@ -32,11 +32,6 @@ Read_conffile config/binary
Read_conffile config/source
Set_defaults
if [ -z "${LIVE_PRESEED}" ]
then
exit 0
fi
Echo_message "Begin executing preseed..."
# Requiring stage file
@ -51,28 +46,29 @@ Check_lockfile .lock
# Creating lock file
Create_lockfile .lock
if [ -f "${LIVE_PRESEED}" ]
then
# Check dependency
Check_package chroot/usr/bin/debconf-set-selections debconf
# Processing preseeds
for PRESEED in ${LIVE_PACKAGES_LISTS} ${LIVE_TASKS}
do
if [ -f ${LH_BASE:-/usr/share/live-helper}/preseed/"${PRESEED}" ]
then
# Check dependency
Check_package chroot/usr/bin/debconf-set-selections debconf
# Install dependency
Install_package
# Install dependency
Install_package
# Copying preseed
cp "${LIVE_PRESEED}" chroot/root/preseed
# Copying preseed
cp "${PRESEED}" chroot/root/preseed
Chroot "debconf-set-selections /root/preseed"
Chroot "debconf-set-selections /root/preseed"
# Removing preseed file
rm -f chroot/root/preseed
# Removing preseed file
rm -f chroot/root/preseed
# Remove dependency
Remove_package
# Remove dependency
Remove_package
# Creating stage file
Create_stagefile .stage/chroot_preseed
else
Echo_error "'${LIVE_PRESEED}' file doesn't exists."
exit 1
fi
# Creating stage file
Create_stagefile .stage/chroot_preseed
fi
done

View File

@ -75,11 +75,11 @@ case "${1}" in
if [ -f chroot/etc/resolv.conf.orig ]
then
# Restore resolv file
# Restoring resolv file
mv chroot/etc/resolv.conf.orig chroot/etc/resolv.conf
else
# Remove resolv file
rm -f chroot/etc/resolv.conf
# Truncating resolv file
cat < /dev/null > chroot/etc/resolv.conf
fi
# Removing stage file

View File

@ -272,10 +272,6 @@ LIVE_PACKAGES="${LIVE_PACKAGES}"
# (Default: ${LIVE_PACKAGES_LISTS})
LIVE_PACKAGES_LISTS="${LIVE_PACKAGES_LISTS}"
# \$LIVE_PRESEED: set package preseed
# (Default: ${LIVE_PRESEED})
LIVE_PRESEED="${LIVE_PRESEED}"
# \$LIVE_TASKS: set tasks to install
# (Default: empty)
LIVE_TASKS="${LIVE_TASKS}"

View File

@ -33,13 +33,13 @@ done
# Setting static variables
PROGRAM="`basename ${0}`"
DESCRIPTION="utility to build Debian Live systems"
USAGE="${PROGRAM} [config] [--mode MODE] [--config CONFIG] [--apt apt|aptitude] [--apt-ftpproxy URL] [--apt-httpproxy URL] [--binary-indices enabled|disabled] [--apt-pdiffs enabled|disabled] [--apt-recommends enabled|disabled] [--apt-secure enabled|disabled] [--bootstrap cdebootstrap|deboostrap] [--cache enabled|disabled] [--debconf-frontend dialog|readline|noninteractive] [--debconf-priority low|medium|high|critical] [--debconf-nowarnings yes|no] [--genisoimage genisoimage|mkisofs] [--losetup losetup|losetup.org] [--tasksel aptitude|tasksel] [-r|--root DIRECTORY] [-a|--architecture ARCHITECTURE] [-d|--distribution stable|testing|unstable|etch|lenny|sid] [--distribution-config DIRECTORY] [-f|--bootstrap-flavour minimal|standard] [-m|--mirror-bootstrap URL] [--mirror-bootstrap-security URL] [--mirror-binary URL] [--mirror-binary-security URL] [--sections SECTION|\"SECTIONS\"] [--interactive shell|x11|xnest] [-k|--linux-flavour FLAVOUR] [--linux-packages PACKAGE|\"PACKAGES\"] [--keyring-packages PACKAGE|\"PACKAGES\"] [--hooks \"COMMAND\"|\"COMMANDS\"] [-l|--language LANGUAGE] [--packages PACKAGE|\"PACKAGES\"] [-p|--packages-lists LIST|\"LISTS\"] [--tasks TASK|\"TASKS\"] [--security enabled|disabled] [--symlinks enabled|disabled] [--sysvinit enabled|disabled] [--bootappend BOOT_PARAMETER|\"BOOT_PARAMETERS\"] [-e|--encryption ALGORITHM] [--username NAME] [--hostname NAME] [--chroot-filesystem ext2|plain|squashfs] [--memtest memtest86|memtest86+] [--iso-volume STRING] [--net-server HOSTNAME|IP] [--net-path DIRECTORY] [--source enabled|disabled] [--bootloader grub|syslinux] [--grub-splash FILE] [--syslinux-splash FILE] [-b|--binary-images iso|net|tar|usb-hdd] [-s|--source-images iso|net|tar|usb-hdd] [--includes PATH] [--templates PATH] [--breakpoints] [--debug] [--force] [--quiet] [--verbose] [--root-command sudo]"
USAGE="${PROGRAM} [config] [--mode MODE] [--config CONFIG] [--apt apt|aptitude] [--apt-ftpproxy URL] [--apt-httpproxy URL] [--binary-indices enabled|disabled] [--apt-pdiffs enabled|disabled] [--apt-recommends enabled|disabled] [--apt-secure enabled|disabled] [--bootstrap cdebootstrap|deboostrap] [--cache enabled|disabled] [--debconf-frontend dialog|readline|noninteractive] [--debconf-priority low|medium|high|critical] [--debconf-nowarnings yes|no] [--genisoimage genisoimage|mkisofs] [--losetup losetup|losetup.org] [--tasksel aptitude|tasksel] [-r|--root DIRECTORY] [-a|--architecture ARCHITECTURE] [-d|--distribution stable|testing|unstable|etch|lenny|sid] [--distribution-config DIRECTORY] [-f|--bootstrap-flavour minimal|standard] [-m|--mirror-bootstrap URL] [--mirror-bootstrap-security URL] [--mirror-binary URL] [--mirror-binary-security URL] [--sections SECTION|\"SECTIONS\"] [--interactive shell|x11|xnest] [-k|--linux-flavours FLAVOUR] [--linux-packages PACKAGE|\"PACKAGES\"] [--keyring-packages PACKAGE|\"PACKAGES\"] [--hooks \"COMMAND\"|\"COMMANDS\"] [-l|--language LANGUAGE] [--packages PACKAGE|\"PACKAGES\"] [-p|--packages-lists LIST|\"LISTS\"] [--tasks TASK|\"TASKS\"] [--security enabled|disabled] [--symlinks enabled|disabled] [--sysvinit enabled|disabled] [--bootappend BOOT_PARAMETER|\"BOOT_PARAMETERS\"] [-e|--encryption ALGORITHM] [--username NAME] [--hostname NAME] [--chroot-filesystem ext2|plain|squashfs] [--memtest memtest86|memtest86+] [--iso-volume STRING] [--iso-preparer STRING] [--iso-publisher STRING] [--iso-application STRING] [--net-server HOSTNAME|IP] [--net-path DIRECTORY] [--source enabled|disabled] [--bootloader grub|syslinux] [--grub-splash FILE] [--syslinux-splash FILE] [-b|--binary-images iso|net|tar|usb-hdd] [-s|--source-images iso|net|tar|usb-hdd] [--includes PATH] [--templates PATH] [--breakpoints] [--debug] [--force] [--quiet] [--verbose] [--root-command sudo]"
HELP="Lists: gnome, gnome-core, gnome-desktop, gnome-full, gnome-junior, gnustep, kde, kde-core, kde-desktop, kde-extra, kde-full, kde-junior, mini, minimal, minimal-net, rescue, standard, standard-x11, xfce, xfce-desktop, xfce-junior"
Local_arguments ()
{
ARGUMENTS="`getopt --longoptions mode:,config:,apt:,apt-ftpproxy:,apt-httpproxy:,binary-indices:,apt-pdiffs:,apt-recommends:,apt-secure:,bootstrap:,cache:,debconf-frontend:,debconf-priority:,debconf-nowarnings:,genisoimage:,losetup:,tasksel:,root:,architecture:,distribution:,distribution-config:,flavour:,mirror-bootstrap:,mirror-bootstrap-security:,mirror-binary:,mirror-binary-security:,sections:,interactive:,kernel:,kernel-packages:,keyring-packages:,hooks:,language:,packages:,packages-lists:,tasks:,security:,symlinks:,sysvinit:,bootappend:,encryption:,username:,hostname:,chroot-filesystem:,memtest:,iso-application:,iso-preparer:,iso-publisher:,iso-volume:,server-address:,server-path:,source:,bootloader:,grub-splash:,syslinux-splash:,binary-images:,binary-source:,includes:,templates:,help,usage,version,force,breakpoints,debug,quiet,verbose,root-command:,initramfs: --name=${PROGRAM} --options r:a:d:f:m:k:l:p:e:b:s:huv --shell sh -- "${@}"`"
ARGUMENTS="`getopt --longoptions mode:,config:,apt:,apt-ftpproxy:,apt-httpproxy:,binary-indices:,apt-pdiffs:,apt-recommends:,apt-secure:,bootstrap:,bootstrap-flavour:,cache:,debconf-frontend:,debconf-priority:,debconf-nowarnings:,genisoimage:,losetup:,tasksel:,root:,architecture:,distribution:,distribution-config:,linux-flavours:,mirror-bootstrap:,mirror-bootstrap-security:,mirror-binary:,mirror-binary-security:,sections:,interactive:,linux-packages:,keyring-packages:,hooks:,language:,packages:,packages-lists:,tasks:,security:,symlinks:,sysvinit:,bootappend:,encryption:,username:,hostname:,chroot-filesystem:,memtest:,iso-application:,iso-preparer:,iso-publisher:,iso-volume:,net-server:,net-path:,source:,bootloader:,grub-splash:,syslinux-splash:,binary-images:,source-images:,includes:,templates:,help,usage,version,force,breakpoints,debug,quiet,verbose,root-command:,initramfs: --name=${PROGRAM} --options r:a:d:f:m:k:l:p:e:b:s:huv --shell sh -- "${@}"`"
if [ "${?}" -ne "0" ]
then

View File

@ -1,4 +1,4 @@
.TH LH_BINARY 1 "16.07.2007" "1.0~a19" "live\-helper"
.TH LH_BINARY 1 "23.07.2007" "1.0~a20" "live\-helper"
.SH NAME
lh_binary \- Meta\-Helper f\[:u]r lh_binary_*

View File

@ -1,4 +1,4 @@
.TH LH_BINARY 1 "2007\-07\-16" "1.0~a19" "live\-helper"
.TH LH_BINARY 1 "2007\-07\-23" "1.0~a20" "live\-helper"
.SH NAME
lh_binary \- meta\-helper for lh_binary_*

View File

@ -1,4 +1,4 @@
.TH LH_BOOTSTRAP 1 "16.07.2007" "1.0~a19" "live\-helper"
.TH LH_BOOTSTRAP 1 "23.07.2007" "1.0~a20" "live\-helper"
.SH NAME
lh_bootstrap \- Meta\-Helper f\[:u]r lh_bootstrap_*

View File

@ -1,4 +1,4 @@
.TH LH_BOOTSTRAP 1 "2007\-07\-16" "1.0~a19" "live\-helper"
.TH LH_BOOTSTRAP 1 "2007\-07\-23" "1.0~a20" "live\-helper"
.SH NAME
lh_bootstrap \- meta\-helper for lh_bootstrap_*

View File

@ -1,4 +1,4 @@
.TH LH_BOOTSTRAP_CDEBOOTSTRAP 1 "16.07.2007" "1.0~a19" "live\-helper"
.TH LH_BOOTSTRAP_CDEBOOTSTRAP 1 "23.07.2007" "1.0~a20" "live\-helper"
.SH NAME
lh_bootstrap_cdebootstrap \- erstellt ein Debian-System mit \fIcdebootstrap\fR(1)

View File

@ -1,4 +1,4 @@
.TH LH_BOOTSTRAP_CDEBOOTSTRAP 1 "2007\-07\-16" "1.0~a19" "live\-helper"
.TH LH_BOOTSTRAP_CDEBOOTSTRAP 1 "2007\-07\-23" "1.0~a20" "live\-helper"
.SH NAME
lh_bootstrap_cdebootstrap \- bootstrap a Debian system with \fIcdebootstrap\fR(1)

View File

@ -1,4 +1,4 @@
.TH LH_BOOTSTRAP_DEBOOTSTRAP 1 "16.07.2007" "1.0~a19" "live\-helper"
.TH LH_BOOTSTRAP_DEBOOTSTRAP 1 "23.07.2007" "1.0~a20" "live\-helper"
.SH NAME
lh_bootstrap_debootstrap \- erstellt ein Debian-System mit \fIdebootstrap\fR(8)

View File

@ -1,4 +1,4 @@
.TH LH_BOOTSTRAP_DEBOOTSTRAP 1 "2007\-07\-16" "1.0~a19" "live\-helper"
.TH LH_BOOTSTRAP_DEBOOTSTRAP 1 "2007\-07\-23" "1.0~a20" "live\-helper"
.SH NAME
lh_bootstrap_debootstrap \- bootstrap a Debian system with \fIdebootstrap\fR(8)

View File

@ -1,4 +1,4 @@
.TH LH_BUILD 1 "16.07.2007" "1.0~a19" "live\-helper"
.TH LH_BUILD 1 "23.07.2007" "1.0~a20" "live\-helper"
.SH NAME
lh_build \- erstellen eines Live-Systemes

View File

@ -1,4 +1,4 @@
.TH LH_BUILD 1 "2007\-07\-16" "1.0~a19" "live\-helper"
.TH LH_BUILD 1 "2007\-07\-23" "1.0~a20" "live\-helper"
.SH NAME
lh_build \- building a live system

View File

@ -1,4 +1,4 @@
.TH LH_CHROOT 1 "16.07.2007" "1.0~a19" "live\-helper"
.TH LH_CHROOT 1 "23.07.2007" "1.0~a20" "live\-helper"
.SH NAME
lh_chroot \- Meta\-Helper f\[:u]r lh_chroot_*

View File

@ -1,4 +1,4 @@
.TH LH_CHROOT 1 "2007\-07\-16" "1.0~a19" "live\-helper"
.TH LH_CHROOT 1 "2007\-07\-23" "1.0~a20" "live\-helper"
.SH NAME
lh_chroot \- meta\-helper for lh_chroot_*

View File

@ -1,4 +1,4 @@
.TH LH_CLEAN 1 "16.07.2007" "1.0~a19" "live\-helper"
.TH LH_CLEAN 1 "23.07.2007" "1.0~a20" "live\-helper"
.SH NAME
lh_clean \- r\[:a]umt das Build-Verzeichnis auf

View File

@ -1,4 +1,4 @@
.TH LH_CLEAN 1 "2007\-07\-16" "1.0~a19" "live\-helper"
.TH LH_CLEAN 1 "2007\-07\-23" "1.0~a20" "live\-helper"
.SH NAME
lh_clean \- clean up system build directories

View File

@ -1,4 +1,4 @@
.TH LH_SOURCE 1 "16.07.2007" "1.0~a19" "live\-helper"
.TH LH_SOURCE 1 "23.07.2007" "1.0~a20" "live\-helper"
.SH NAME
lh_source \- Meta\-Helper f\[:u]r lh_source_*

View File

@ -1,4 +1,4 @@
.TH LH_SOURCE 1 "2007\-07\-16" "1.0~a19" "live\-helper"
.TH LH_SOURCE 1 "2007\-07\-23" "1.0~a20" "live\-helper"
.SH NAME
lh_source \- meta\-helper for lh_source_*

View File

@ -1,4 +1,4 @@
.TH LH_TESTROOT 1 "16.07.2007" "1.0~a19" "live\-helper"
.TH LH_TESTROOT 1 "23.07.2007" "1.0~a20" "live\-helper"
.SH NAME
lh_testroot \- stellt sicher dass das System als root gebaut wird

View File

@ -1,4 +1,4 @@
.TH LH_TESTROOT 1 "2007\-07\-16" "1.0~a19" "live\-helper"
.TH LH_TESTROOT 1 "2007\-07\-23" "1.0~a20" "live\-helper"
.SH NAME
lh_testroot \- ensure that a system is built as root

View File

@ -1,4 +1,4 @@
.TH LIVE\-HELPER 7 "16.07.2007" "1.0~a19" "live\-helper"
.TH LIVE\-HELPER 7 "23.07.2007" "1.0~a20" "live\-helper"
.SH NAME
live\-helper \- Debian Live Helper-Programme
@ -9,7 +9,7 @@ live\-helper \- Debian Live Helper-Programme
.SH BESCHREIBUNG
Live\-helper ist eine Sammlung von programmen die dazu benutzt werden k\[:o]nnen, Debian Live Systeme zu erstellen. Die Philosophie hinter live\-helper ist eine kleine Sammlung von kleinen, kurzen und einfach zu verstehenden Werkzeugen zur verf\[:u]gung zu stellen, welche auch in anderen Programmen benutzt werden k\[:o]nnen um automatisch Live-Systeme erstellen.
.PP
Ein typisches Programm das live\-helper benutzt wird verschiedene live\-helper Kommandos nacheinander aufrufen. Live\-helper Kommandos haben alle einen "lh_"-Pr\[:a]fix im Namen. Beispiele eines solchen Programmes das live\-helper benutzt ist \fImake\-live\fR(1).
Ein typisches Programm das live\-helper benutzt wird verschiedene live\-helper Kommandos nacheinander aufrufen. Live\-helper Kommandos haben alle einen "lh_"-Pr\[:a]fix im Namen.
.\" .SH CONFIGURATION FILE
.\" live\-helper reads debian\-live/config/live\-helper if available. See ENVIRONMENT for the correct environment variables to use.

View File

@ -1,4 +1,4 @@
.TH LIVE\-HELPER 7 "2007\-07\-16" "1.0~a19" "live\-helper"
.TH LIVE\-HELPER 7 "2007\-07\-23" "1.0~a20" "live\-helper"
.SH NAME
live\-helper \- Debian Live helper programs
@ -9,7 +9,7 @@ live\-helper \- Debian Live helper programs
.SH DESCRIPTION
Live\-helper is a collection of programs that can be used to build Debian Live system images. The philosophy behind live\-helper is to provide a collection of small, simple, and easily understood tools that can be used in your own program to automate building of a Live system.
.PP
A typical program that uses live\-helper will call several live\-helper commands in sequence. Live\-helper commands are all named with a "lh_" prefix. Examples of such a program that uses live\-helper is \fImake\-live\fR(1).
A typical program that uses live\-helper will call several live\-helper commands in sequence. Live\-helper commands are all named with a "lh_" prefix.
.\" .SH CONFIGURATION FILE
.\" live\-helper reads debian\-live/config/live\-helper if available. See ENVIRONMENT for the correct environment variables to use.

View File

@ -1,88 +0,0 @@
.TH MAKE\-LIVE 1 "16.07.2007" "1.0~a19" "live\-helper"
.SH NAME
make\-live \- erstellt ein Debian Live-System
.SH SYNOPSIS
.B make\-live
[config]
[\-\-mode \fIMODE\fR]
[\-\-config \fICONFIG\fR]
[\-\-apt \fIapt\fR|\fIaptitude\fR]
[\-\-apt\-ftpproxy \fIURL\fR]
[\-\-apt\-httpproxy \fIURL\fR]
[\-\-apt\-generic \fIenabled\fR|\fIdisabled\fR]
[\-\-apt\-pdiffs \fIenabled\fR|\fIdisabled\fR]
[\-\-apt\-recommends \fIenabled\fR|\fIdisabled]
[\-\-apt\-secure \fIenabled\fR|\fIdisabled\fR]
[\-\-bootstrap \fIcdebootstrap\fR|\fIdeboostrap\fR]
[\-\-cache \fIenabled\fR|\fIdisabled\fR]
[\-\-debconf\-frontend \fIdialog\fR|\fIreadline\fR|\fInoninteractive\fR]
[\-\-debconf\-priority \fIlow\fR|\fImedium\fR|\fIhigh\fR|\fIcritical\fR]
[\-\-debconf\-nowarnings \fIyes\fR|\fIno\fR]
[\-\-genisoimage \fIgenisoimage\fR|\fImkisofs\fR]
[\-\-losetup \fIlosetup\fR|\fIlosetup.org\fR]
[\-\-tasksel \fIaptitude\fR|\fItasksel\fR]
[\-r|\-\-root \fIDIRECTORY\fR]
[\-a|\-\-archi\fItecture \fIARCHITECTURE\fR]
[\-d|\-\-distribution \fIstable\fR|\fItesting\fR|\fIunstable\fR|\fIetch\fR|\fIlenny\fR|\fIsid\fR]
[\-\-distribution\-config \fIDIRECTORY\fR]
[\-f|\-\-bootstrap\-flavour \fIminimal\fR|\fIstandard\fR]
[\-m|\-\-mirror\-build \fIURL\fR]
[\-\-mirror\-build\-security \fIURL\fR]
[\-\-mirror\-image \fIURL\fR]
[\-\-mirror\-image\-security \fIURL\fR]
[\-\-sections \fISECTION\fR|\fI\"SECTIONS\"\fR]
[\-\-interactive \fIshell\fR|\fIx11\fR|\fIxnest\fR]
[\-k|\-\-kernel\-flavour \fIFLAVOUR\fR]
[\-\-kernel\-packages \fIPACKAGE\fR|\fI\"PACKAGES\"\fR]
[\-\-keyring\-packages \fIPACKAGE\fR|\fI\"PACKAGES\"\fR]
[\-\-hooks \fI\"COMMAND\"\fR|\fI\"COMMANDS\"\fR]
[\-l|\-\-language \fILANGUAGE\fR]
[\-\-packages \fIPACKAGE\fR|\fI\"PACKAGES\"\fR]
[\-p|\-\-packages\-lists \fILIST\fR|\fI\"LISTS\"\fR]
[\-\-tasks \fITASK\fR|\fI\"TASKS\"\fR]
[\-\-security \fIenabled\fR|\fIdisabled\fR]
[\-\-symlinks \fIenabled\fR|\fIdisabled\fR]
[\-\-sysvinit \fIenabled\fR|\fIdisabled\fR]
[\-\-bootappend \fIKERNEL_PARAMETER\fR|\fI\"KERNEL_PARAMETERS\"\fR]
[\-e|\-\-encryption \fIALGORITHM\fR]
[\-\-username \fINAME\fR]
[\-\-hostname \fINAME\fR]
[\-\-filesystem \fIext2\fR|\fIplain\fR|\fIsquashfs\fR]
[\-\-memtest \fImemtest86\fR|\fImemtest86+\fR]
[\-\-iso\-volume \fISTRING\fR]
[\-\-server\-address \fIHOSTNAME\fR|\fIIP\fR]
[\-\-server\-path \fIDIRECTORY\fR]
[\-\-source \fIenabled\fR|\fIdisabled\fR]
[\-\-bootloader \fIgrub\fR|\fIsyslinux\fR]
[\-\-grub\-splash \fIFILE\fR]
[\-\-syslinux\-splash \fIFILE\fR]
[\-b|\-\-binary\-image \fIiso\fR|\fInet\fR|\fItar\fR|\fInet\fR]
[\-s|\-\-source\-image \fIiso\fR|\fInet\fR|\fItar\fR|\fInet\fR]
[\-\-includes \fIPATH\fR]
[\-\-templates \fIPATH\fR]
[\-\-breakpoints]
[\-\-debug]
[\-\-force]
[\-\-quiet]
[\-\-verbose]
.SH BESCHREIBUNG
make\-live is ein Script das alle n\[:o]tigen live\-helper Programme aufruft um ein Live-System zu erstellen.
.SH OPTIONEN
.SH SIEHE AUCH
\fIlive\-helper\fR(7)
.PP
Dieses Programm ist Teil von live\-helper.
.SH FEHLER
Fehler k\[:o]nnen gegen live\-helper <\fIhttp://packages.qa.debian.org/live\-helper/\fR> gemeldet werden.
.SH HOMEPAGE
Mehr Informationen \[:u]ber das Debian Live\-Projekt k\[:o]nnen auf <\fIhttp://debian\-live.alioth.debian.org/\fR> und <\fIhttp://wiki.debian.org/DebianLive/\fR> gefunden werden.
.SH AUTOR
live\-helper wurde von Daniel Baumann <\fIdaniel@debian.org\fR> f\[:u]r das Debian\-Projekt geschrieben.

View File

@ -1,88 +0,0 @@
.TH MAKE\-LIVE 1 "2007\-07\-16" "1.0~a19" "live\-helper"
.SH NAME
make\-live \- build a Debian Live system
.SH SYNOPSIS
.B make\-live
[config]
[\-\-mode \fIMODE\fR]
[\-\-config \fICONFIG\fR]
[\-\-apt \fIapt\fR|\fIaptitude\fR]
[\-\-apt\-ftpproxy \fIURL\fR]
[\-\-apt\-httpproxy \fIURL\fR]
[\-\-apt\-generic \fIenabled\fR|\fIdisabled\fR]
[\-\-apt\-pdiffs \fIenabled\fR|\fIdisabled\fR]
[\-\-apt\-recommends \fIenabled\fR|\fIdisabled]
[\-\-apt\-secure \fIenabled\fR|\fIdisabled\fR]
[\-\-bootstrap \fIcdebootstrap\fR|\fIdeboostrap\fR]
[\-\-cache \fIenabled\fR|\fIdisabled\fR]
[\-\-debconf\-frontend \fIdialog\fR|\fIreadline\fR|\fInoninteractive\fR]
[\-\-debconf\-priority \fIlow\fR|\fImedium\fR|\fIhigh\fR|\fIcritical\fR]
[\-\-debconf\-nowarnings \fIyes\fR|\fIno\fR]
[\-\-genisoimage \fIgenisoimage\fR|\fImkisofs\fR]
[\-\-losetup \fIlosetup\fR|\fIlosetup.org\fR]
[\-\-tasksel \fIaptitude\fR|\fItasksel\fR]
[\-r|\-\-root \fIDIRECTORY\fR]
[\-a|\-\-archi\fItecture \fIARCHITECTURE\fR]
[\-d|\-\-distribution \fIstable\fR|\fItesting\fR|\fIunstable\fR|\fIetch\fR|\fIlenny\fR|\fIsid\fR]
[\-\-distribution\-config \fIDIRECTORY\fR]
[\-f|\-\-bootstrap\-flavour \fIminimal\fR|\fIstandard\fR]
[\-m|\-\-mirror\-build \fIURL\fR]
[\-\-mirror\-build\-security \fIURL\fR]
[\-\-mirror\-image \fIURL\fR]
[\-\-mirror\-image\-security \fIURL\fR]
[\-\-sections \fISECTION\fR|\fI\"SECTIONS\"\fR]
[\-\-interactive \fIshell\fR|\fIx11\fR|\fIxnest\fR]
[\-k|\-\-kernel\-flavour \fIFLAVOUR\fR]
[\-\-kernel\-packages \fIPACKAGE\fR|\fI\"PACKAGES\"\fR]
[\-\-keyring\-packages \fIPACKAGE\fR|\fI\"PACKAGES\"\fR]
[\-\-hooks \fI\"COMMAND\"\fR|\fI\"COMMANDS\"\fR]
[\-l|\-\-language \fILANGUAGE\fR]
[\-\-packages \fIPACKAGE\fR|\fI\"PACKAGES\"\fR]
[\-p|\-\-packages\-lists \fILIST\fR|\fI\"LISTS\"\fR]
[\-\-tasks \fITASK\fR|\fI\"TASKS\"\fR]
[\-\-security \fIenabled\fR|\fIdisabled\fR]
[\-\-symlinks \fIenabled\fR|\fIdisabled\fR]
[\-\-sysvinit \fIenabled\fR|\fIdisabled\fR]
[\-\-bootappend \fIKERNEL_PARAMETER\fR|\fI\"KERNEL_PARAMETERS\"\fR]
[\-e|\-\-encryption \fIALGORITHM\fR]
[\-\-username \fINAME\fR]
[\-\-hostname \fINAME\fR]
[\-\-filesystem \fIext2\fR|\fIplain\fR|\fIsquashfs\fR]
[\-\-memtest \fImemtest86\fR|\fImemtest86+\fR]
[\-\-iso\-volume \fISTRING\fR]
[\-\-server\-address \fIHOSTNAME\fR|\fIIP\fR]
[\-\-server\-path \fIDIRECTORY\fR]
[\-\-source \fIenabled\fR|\fIdisabled\fR]
[\-\-bootloader \fIgrub\fR|\fIsyslinux\fR]
[\-\-grub\-splash \fIFILE\fR]
[\-\-syslinux\-splash \fIFILE\fR]
[\-b|\-\-binary\-image \fIiso\fR|\fInet\fR|\fItar\fR|\fInet\fR]
[\-s|\-\-source\-image \fIiso\fR|\fInet\fR|\fItar\fR|\fInet\fR]
[\-\-includes \fIPATH\fR]
[\-\-templates \fIPATH\fR]
[\-\-breakpoints]
[\-\-debug]
[\-\-force]
[\-\-quiet]
[\-\-verbose]
.SH DESCRIPTION
make\-live is a script calling all required live\-helper(7) programs to build a live system.
.SH OPTIONS
.SH SEE ALSO
\fIlive\-helper\fR(7)
.PP
This program is a part of live\-helper.
.SH BUGS
Report bugs against live\-helper <\fIhttp://packages.qa.debian.org/live\-helper/\fR>.
.SH HOMEPAGE
More information about the Debian Live project can be found at <\fIhttp://debian\-live.alioth.debian.org/\fR> and <\fIhttp://wiki.debian.org/DebianLive/\fR>.
.SH AUTHOR
live\-helper was written by Daniel Baumann <\fIdaniel@debian.org\fR> for the Debian project.

View File

@ -0,0 +1,49 @@
Boot Parameters for Debian Live
-------------------------------
Updated for casper 1.77+debian-7 on 2007-02-08.
These options (can be combined) work from the syslinux bootprompt:
casper casper-getty
casper xdebconf
casper hostname=HOSTNAME
casper userfullname=USERFULLNAME
casper username=USERNAME
casper {keyb|kbd-chooser/method}=KEYBOARD
casper {klayout|console-setup/layoutcode}=LAYOUT
casper {kvariant|console-setup/variantcode}=VARIANT ,
casper {kmodel|console-setup/modelcode}=CODE , koptions=OPTIONS
casper ip=IFACE,ADDRESS,NETMASK,GATEWAY[:IFACE,ADDRESS,NETMASK,GATEWAY]*
casper ip[=frommedia]
casper {live-media|bootfrom}=DEVICE
casper live-media-offset=BYTES
casper locale=LOCALE | debian-installer/locale=LOCALE
casper netboot[=nfs|cifs]
casper persistent
casper nopersistent
casper showmounts
casper todisk=DEVICE
casper toram
casper {preseed/file|file}=FILE
casper package/question=VALUE
Values for the vga kernel parameter:
Colours 640x400 640x480 800x600 1024x768 1152x864 1280x1024 1600x1200
--------+--------------------------------------------------------------
4 bits | ? ? 0x302 ? ? ? ?
8 bits | 0x300 0x301 0x303 0x305 0x161 0x307 0x31C
15 bits | ? 0x310 0x313 0x316 0x162 0x319 0x31D
16 bits | ? 0x311 0x314 0x317 0x163 0x31A 0x31E
24 bits | ? 0x312 0x315 0x318 ? 0x31B 0x31F
32 bits | ? ? ? ? 0x164 ?
Colours 640x400 640x480 800x600 1024x768 1152x864 1280x1024 1600x1200
--------+--------------------------------------------------------------
4 bits | ? ? 770 ? ? ? ?
8 bits | 768 769 771 773 353 775 796
15 bits | ? 784 787 790 354 793 797
16 bits | ? 758 788 791 355 794 798
24 bits | ? 786 789 792 ? 795 799
32 bits | ? ? ? ? 356 ?

View File

@ -1,3 +1,3 @@
splash.rle
Press F1control and F then 1 for help, or ENTER to
Press F1control and F then 1 for help, or ENTER to

View File

@ -0,0 +1,25 @@
 0fWelcome to Debian GNU/Linux!07 09F107
This is a Debian LIVE_DISTRIBUTION combined live and installation LIVE_MEDIA.
It was built on LIVE_DATE.
0fHELP INDEX07
0fKEY TOPIC07
<09F107> This page, the help index.
<09F207> Prerequisites for installing Debian.
<09F307> Boot methods for special ways of using this LIVE_MEDIA
<09F407> Additional boot methods; rescue mode.
<09F507> Special boot parameters, overview.
<09F607> Special boot parameters for special machines.
<09F707> Special boot parameters for selected disk controllers.
<09F807> Special boot parameters for the install system.
<09F907> How to get help.
<09F1007> Copyrights and warranties.

For F1-F9 type control and F then the digit 1-9
For F10 type control and F then the digit 0

Press F2 through F10 for details, or ENTER to

View File

@ -1,6 +1,6 @@
 0fWelcome to Debian GNU/Linux!07 09F107
This is a Debian Live CD-ROM.
This is a Debian LIVE_DISTRIBUTION live LIVE_MEDIA.
It was built on LIVE_DATE.
0fHELP INDEX07
@ -9,8 +9,8 @@ It was built on LIVE_DATE.
<09F107> This page, the help index.
<09F207> Prerequisites for installing Debian.
<09F307> Boot methods for special ways of using this CD-ROM
<09F407> Additional boot methods; live and rescue modes.
<09F307> Boot methods for special ways of using this LIVE_MEDIA
<09F407> Additional boot methods.
<09F507> Special boot parameters, overview.
<09F607> Special boot parameters for special machines.
<09F707> Special boot parameters for selected disk controllers.

View File

@ -1,6 +1,12 @@
 0fPREREQUISITES FOR INSTALLING DEBIAN07 09F207
 0fPREREQUISITES FOR USING DEBIAN07 09F207
You must have at least 32 megabytes of RAM to use this Debian installer.
You must have at least 64 megabytes of RAM to run this Debian Live system.
See the Live Manual or the FAQ for more information; both
documents are available at the Debian Live web site, 0fhttp://debian-live.alioth.debian.org/07
You must have at least 32 megabytes of RAM to use the Debian installer.
You should have space on your hard disk to create a new disk partition
of at least 256 megabytes to install the base system. You'll need more
@ -14,10 +20,4 @@ Thank you for choosing Debian!
Press F1control and F then 1 for the help index, or ENTER to
Press F1control and F then 1 for the help index, or ENTER to

View File

@ -0,0 +1,23 @@
 0fPREREQUISITES FOR RUNNING DEBIAN07 09F207
You must have at least 64 megabytes of RAM to run this Debian Live system.
See the Live Manual or the FAQ for more information; both
documents are available at the Debian Live web site, 0fhttp://debian-live.alioth.debian.org/07
Thank you for choosing Debian!
Press F1control and F then 1 for the help index, or ENTER to

View File

@ -1,23 +1,23 @@
 0fBOOT METHODS07 09F307
0fAvailable boot methods:07
0flive07
Start the live system -- this is the default LIVE_MEDIA method.
0flive-failsafe07
Start the live system in fail-safe mode.
0finstall07
Start the installation.
0finstallgui07
Start the installation using the graphical installer.
0fexpert07
Start the installation in expert mode, for maximum control.
0fexpertgui07
Start the installation in expert mode using the graphical installer.
To use one of these boot methods, type it at the prompt, optionally
followed by any boot parameters. For example:
boot: install acpi=off
If unsure, you should use the default boot method, with no special
parameters, by simply pressing enter at the boot prompt.
Except in expert mode, non-critical kernel boot messages are suppressed.
Press F1control and F then 1 for the help index, or ENTER to

View File

@ -0,0 +1,23 @@
 0fBOOT METHODS07 09F307
0fAvailable boot methods:07
0flive07
Start the live system -- this is the default LIVE_MEDIA method.
0flive-failsafe07
Start the live system in fail-safe mode.
0finstall07 or 0finstallgui07
Start the installation using the normal or graphical installer.
0fexpert07 and 0fexpertgui07
Start the installation in expert mode, for maximum control.
To use one of these boot methods, type it at the prompt, optionally
followed by any boot parameters. For example:
boot: install acpi=off
If unsure, you should use the default boot method, with no special
parameters, by simply pressing enter at the boot prompt.
Except in expert mode, non-critical kernel boot messages are suppressed.
Press F1control and F then 1 for the help index, or ENTER to

View File

@ -0,0 +1,23 @@
 0fBOOT METHODS07 09F307
0fAvailable boot methods:07
0flive07
Start the live system -- this is the default LIVE_MEDIA method.
0flive-failsafe07
Start the live system in fail-safe mode.
To use one of these boot methods, type it at the prompt, optionally
followed by any boot parameters. For example:
boot: live acpi=off
If unsure, you should use the default boot method, with no special
parameters, by simply pressing enter at the boot prompt.
Press F1control and F then 1 for the help index, or ENTER to

View File

@ -0,0 +1,23 @@
 0fRESCUE MODE07 09F407
0fUse one of these boot methods to rescue an existing install07
0frescue07
Boot into rescue mode.
0fmemtest07
Start memtest to scan your RAM for errors.
0ffloppy07, 0fdisk107 or 0fdisk207
Boot from the floppy, first or second hard disk.
To use one of these boot methods, type it at the prompt, optionally
followed by any boot parameters. For example:
boot: rescue acpi=off
Press F1control and F then 1 for the help index, or ENTER to

View File

@ -1,12 +1,4 @@
 0fLIVE AND RESCUE MODES07 09F407
0fUse one of these boot methods to start the live system07
0flive07
Start the live system in standard mode -- this is the default.
0flive-failsafe07
Start the live system in failsafe mode.
 0fRESCUE MODE07 09F407
0fUse one of these boot methods to rescue an existing install07
@ -16,8 +8,16 @@
Boot into rescue mode using the graphical installer.
0fmemtest07
Run memtest86+ (memory tester).
Start memtest to scan your RAM for errors.
0ffloppy07, 0fdisk107 or 0fdisk207
Boot from the floppy, first or second hard disk.
To use one of these boot methods, type it at the prompt, optionally
followed by any boot parameters. For example:
boot: rescue acpi=off
Press F1control and F then 1 for the help index, or ENTER to

View File

@ -0,0 +1,23 @@
 0fADDITIONAL BOOT METHODS07 09F307
0fAvailable boot methods:07
0fmemtest07
Start memtest to scan your RAM for errors.
0ffloppy07, 0fdisk107 or 0fdisk207
Boot from the floppy, first or second hard disk.
Press F1control and F then 1 for the help index, or ENTER to

View File

@ -20,4 +20,4 @@ module.param=value, for example: libata.atapi_enabled=1
Press F1control and F then 1 for the help index, or ENTER to
Press F1control and F then 1 for the help index, or ENTER to

View File

@ -7,17 +7,17 @@ If you use hex numbers you have to use the 0x prefix (e.g., 0x300).
HARDWARE PARAMETER TO SPECIFY07
IBM PS/1 or ValuePoint (IDE disk) 0fhd=0bcylinders0f,0bheads0f,0bsectors07
Some IBM ThinkPads 0ffloppy.floppy=thinkpad07
IBM Pentium Microchannel 0fmca-pentium no-hlt07
Protect I/O port regions 0freserve=0biobase0f,0bextent07[0f,0b...07]
Workaround faulty FPU (old machines) 0fno38707
Laptops with screen display problems 0fvga=77107
Use first serial port at 9600 baud 0fconsole=ttyS0,9600n807
Force use of generic IDE driver 0fgeneric.all_generic_ide=107
If you experience lockups or other hardware failures,
Possible (temporary) workarounds for lockups or other hardware failures:
disable buggy APIC interrupt routing 0fnoapic nolapic07
(partly) disable ACPI 0facpi=noirq07 or 0facpi=off07
disable USB 0fnousb07
For example:
boot: install vga=771 noapic nolapic
Press F1control and F then 1 for the help index, or ENTER to
Press F1control and F then 1 for the help index, or ENTER to

View File

@ -16,8 +16,8 @@ for more.
For example:
For example:
boot: install aic7xxx.aic7xxx=no_probe
Press F1control and F then 1 for the help index, or ENTER to
Press F1control and F then 1 for the help index, or ENTER to ${BOOTPROMPT}

View File

@ -1,6 +1,6 @@
 0fSPECIAL BOOT PARAMETERS - INSTALLATION SYSTEM07 09F807
You can use the following boot parameters at the 0fboot:07 prompt,
You can use the following boot parameters at the 0fboot:07 prompt,
in combination with the boot method (see <09F307>). These parameters
control how the installer works.
0f
@ -8,7 +8,6 @@ RESULT PARAMETER07
Verbose debugging 0fDEBCONF_DEBUG=507
Debug boot sequence 0fBOOT_DEBUG=2|307
Disable framebuffer 0ffb=false07
Don't probe for USB 0fdebian-installer/probe/usb=false07
Don't start PCMCIA 0fhw-detect/start_pcmcia=false07
Force static network config 0fnetcfg/disable_dhcp=true07
Set keyboard map 0fbootkbd=es07
@ -16,8 +15,9 @@ Use Braille tty 0fbrltty=driver,device,texttable07
Use high contrast accessibility theme 0ftheme=dark07
Use special tasks 0ftasks="kde-desktop, standard"07
For example:
For example:
boot: install fb=false
Press F1control and F then 1 for the help index, or ENTER to
Press F1control and F then 1 for the help index, or ENTER to ${BOOTPROMPT}

View File

@ -11,13 +11,13 @@ experience!
See the Installation Manual or the FAQ for more information; both
documents are available at the Debian web site, 0fhttp://www.debian.org/07
If you can't run the Debian Live system, see the Installation Manual or
the FAQ for more information; both documents are available at
the Debian web site, 0fhttp://debian-live.alioth.debian.org/07
Press F1control and F then 1 for the help index, or ENTER to
Press F1control and F then 1 for the help index, or ENTER to ${BOOTPROMPT}

View File

@ -0,0 +1,23 @@
 0fGETTING HELP07 09F907
If you can't run Debian, don't despair! The Debian team is ready to
help you! We are especially interested in hearing about boot
problems, because in general they don't happen to only 0fone07 person.
We've either already heard about your particular problem and can dispense a
quick fix, or we would like to hear about it and work through it with you,
and the next user who comes up with the same problem will profit from your
experience!
See the Live Manual or the FAQ for more information; both
documents are available at the Debian web site,
0fhttp://debian-live.alioth.debian.org/07
Press F1control and F then 1 for the help index, or ENTER to ${BOOTPROMPT}

View File

@ -20,17 +20,17 @@ LINUX_INSTALL
MEMTEST
#LABEL floppy
# localboot 0x00
LABEL floppy
localboot 0x00
#LABEL disk1
# localboot 0x80
LABEL disk1
localboot 0x80
#LABEL disk2
# localboot 0x81
LABEL disk2
localboot 0x81
#LABEL nextboot
# localboot -1
LABEL nextboot
localboot -1
PROMPT 1
TIMEOUT 0