Adding live-helper 1.0~a7-1.
This commit is contained in:
parent
2230835b69
commit
3de3c99147
50
Makefile
50
Makefile
|
@ -2,7 +2,13 @@
|
||||||
|
|
||||||
all: install
|
all: install
|
||||||
|
|
||||||
install:
|
test:
|
||||||
|
set -e; for SCRIPT in functions/* examples/*.sh helpers/* hooks/*; \
|
||||||
|
do \
|
||||||
|
sh -n $$SCRIPT; \
|
||||||
|
done
|
||||||
|
|
||||||
|
install: test
|
||||||
# Installing executables
|
# Installing executables
|
||||||
mkdir -p $(DESTDIR)/usr/bin
|
mkdir -p $(DESTDIR)/usr/bin
|
||||||
cp helpers/lh_* helpers/make-live $(DESTDIR)/usr/bin
|
cp helpers/lh_* helpers/make-live $(DESTDIR)/usr/bin
|
||||||
|
@ -16,11 +22,25 @@ install:
|
||||||
cp -r COPYING doc/* $(DESTDIR)/usr/share/doc/live-helper
|
cp -r COPYING doc/* $(DESTDIR)/usr/share/doc/live-helper
|
||||||
|
|
||||||
# Installing manpages
|
# Installing manpages
|
||||||
mkdir -p $(DESTDIR)/usr/share/man/man1
|
set -e; for MANPAGE in manpages/*.1.en; \
|
||||||
cp manpages/*.1 $(DESTDIR)/usr/share/man/man1
|
do \
|
||||||
|
install -D -m 0644 $$MANPAGE $(DESTDIR)/usr/share/man/man1/`basename $$MANPAGE .en`; \
|
||||||
|
done
|
||||||
|
|
||||||
mkdir -p $(DESTDIR)/usr/share/man/man7
|
set -e; for MANPAGE in manpages/*.7.en; \
|
||||||
cp manpages/*.7 $(DESTDIR)/usr/share/man/man7
|
do \
|
||||||
|
install -D -m 0644 $$MANPAGE $(DESTDIR)/usr/share/man/man7/`basename $$MANPAGE .en`; \
|
||||||
|
done
|
||||||
|
|
||||||
|
set -e; for MANPAGE in manpages/*.1.de; \
|
||||||
|
do \
|
||||||
|
install -D -m 0644 $$MANPAGE $(DESTDIR)/usr/share/man/de/man1/`basename $$MANPAGE .de`; \
|
||||||
|
done
|
||||||
|
|
||||||
|
set -e; for MANPAGE in manpages/*.7.de; \
|
||||||
|
do \
|
||||||
|
install -D -m 0644 $$MANPAGE $(DESTDIR)/usr/share/man/de/man7/`basename $$MANPAGE .de`; \
|
||||||
|
done
|
||||||
|
|
||||||
uninstall:
|
uninstall:
|
||||||
# Uninstalling executables
|
# Uninstalling executables
|
||||||
|
@ -36,16 +56,28 @@ uninstall:
|
||||||
rm -rf $(DESTDIR)/usr/share/doc/live-helper
|
rm -rf $(DESTDIR)/usr/share/doc/live-helper
|
||||||
|
|
||||||
# Uninstalling manpages
|
# Uninstalling manpages
|
||||||
for MANPAGE in manpages/*.1; \
|
set -e; for MANPAGE in manpages/*.1.en; \
|
||||||
do \
|
do \
|
||||||
rm -f $(DESTDIR)/usr/share/man/man1/`basename $$MANPAGE`; \
|
rm -f $(DESTDIR)/usr/share/man/man1/`basename $$MANPAGE .en`; \
|
||||||
done
|
done
|
||||||
|
|
||||||
for MANPAGE in manpages/*.7; \
|
set -e; for MANPAGE in manpages/*.7.en; \
|
||||||
do \
|
do \
|
||||||
rm -f $(DESTDIR)/usr/share/man/man7/`basename $$MANPAGE`; \
|
rm -f $(DESTDIR)/usr/share/man/man7/`basename $$MANPAGE .en`; \
|
||||||
|
done
|
||||||
|
|
||||||
|
set -e; for MANPAGE in manpages/*.1.de; \
|
||||||
|
do \
|
||||||
|
rm -f $(DESTDIR)/usr/share/man/de/man1/`basename $$MANPAGE .de`; \
|
||||||
|
done
|
||||||
|
|
||||||
|
set -e; for MANPAGE in manpages/*.7.de; \
|
||||||
|
do \
|
||||||
|
rm -f $(DESTDIR)/usr/share/man/de/man7/`basename $$MANPAGE .de`; \
|
||||||
done
|
done
|
||||||
|
|
||||||
clean:
|
clean:
|
||||||
|
|
||||||
|
distclean:
|
||||||
|
|
||||||
reinstall: uninstall install
|
reinstall: uninstall install
|
||||||
|
|
|
@ -1,3 +1,12 @@
|
||||||
|
live-helper (1.0~a7-1) unstable; urgency=medium
|
||||||
|
|
||||||
|
* New upstream release:
|
||||||
|
- make-live unmounts proc and sys on exit and failures
|
||||||
|
(Closes: #394334, #410147).
|
||||||
|
- supporting sudo (Closes: #387069).
|
||||||
|
|
||||||
|
-- Daniel Baumann <daniel@debian.org> Mon, 23 Apr 2007 00:00:00 +0200
|
||||||
|
|
||||||
live-helper (1.0~a6-1) unstable; urgency=low
|
live-helper (1.0~a6-1) unstable; urgency=low
|
||||||
|
|
||||||
* New upstream release.
|
* New upstream release.
|
||||||
|
@ -18,7 +27,7 @@ live-helper (1.0~a4-1) unstable; urgency=low
|
||||||
|
|
||||||
live-helper (1.0~a3-2) unstable; urgency=low
|
live-helper (1.0~a3-2) unstable; urgency=low
|
||||||
|
|
||||||
* Fixed typo in maintainer scripts.
|
* New upstream snapshot.
|
||||||
|
|
||||||
-- Daniel Baumann <daniel@debian.org> Mon, 26 Mar 2007 17:00:00 +0200
|
-- Daniel Baumann <daniel@debian.org> Mon, 26 Mar 2007 17:00:00 +0200
|
||||||
|
|
||||||
|
@ -36,15 +45,13 @@ live-helper (1.0~a2-1) unstable; urgency=low
|
||||||
|
|
||||||
live-helper (1.0~a1-3) unstable; urgency=low
|
live-helper (1.0~a1-3) unstable; urgency=low
|
||||||
|
|
||||||
* helpers/lh_chroot_hacks: Added removal of udev persistent-net rule.
|
* New upstream snapshot.
|
||||||
|
|
||||||
-- Daniel Baumann <daniel@debian.org> Wed, 14 Mar 2007 21:00:00 +0100
|
-- Daniel Baumann <daniel@debian.org> Wed, 14 Mar 2007 21:00:00 +0100
|
||||||
|
|
||||||
live-helper (1.0~a1-2) unstable; urgency=low
|
live-helper (1.0~a1-2) unstable; urgency=low
|
||||||
|
|
||||||
* functions/defaults.sh: Fixed setting of LIVE_SYSVINIT.
|
* New upstream snapshot.
|
||||||
* helpers/lh_chroot_sysvinit: Changed check for LIVE_SYSVINIT from disabled to
|
|
||||||
enabled.
|
|
||||||
|
|
||||||
-- Daniel Baumann <daniel@debian.org> Wed, 14 Mar 2007 18:00:00 +0100
|
-- Daniel Baumann <daniel@debian.org> Wed, 14 Mar 2007 18:00:00 +0100
|
||||||
|
|
||||||
|
|
|
@ -0,0 +1,128 @@
|
||||||
|
#!/bin/sh -x
|
||||||
|
|
||||||
|
set -e
|
||||||
|
|
||||||
|
BUILD="daily"
|
||||||
|
|
||||||
|
# Check for live-helper availability
|
||||||
|
if [ ! -x /usr/bin/make-live ]
|
||||||
|
then
|
||||||
|
exit 0
|
||||||
|
fi
|
||||||
|
|
||||||
|
# Check for live-helper defaults
|
||||||
|
if [ -r /etc/default/live-helper ]
|
||||||
|
then
|
||||||
|
. /etc/default/live-helper
|
||||||
|
else
|
||||||
|
echo "E: /etc/default/live-helper missing."
|
||||||
|
exit 1
|
||||||
|
fi
|
||||||
|
|
||||||
|
# Check for autobuild
|
||||||
|
if [ "${AUTOBUILD}" != "enabled" ]
|
||||||
|
then
|
||||||
|
exit 0
|
||||||
|
fi
|
||||||
|
|
||||||
|
# Check for build directory
|
||||||
|
if [ ! -d "${AUTOBUILD_TEMPDIR}" ]
|
||||||
|
then
|
||||||
|
mkdir -p "${AUTOBUILD_TEMPDIR}"/debian-live
|
||||||
|
else
|
||||||
|
# FIXME: maybe we should just remove the left overs.
|
||||||
|
echo "E: ${AUTOBUILD_TEMPDIR} needs cleanup."
|
||||||
|
exit 1
|
||||||
|
fi
|
||||||
|
|
||||||
|
for ARCHITECTURE in ${AUTOBUILD_ARCHITECTURES}
|
||||||
|
do
|
||||||
|
for DISTRIBUTION in ${AUTOBUILD_DISTRIBUTIONS}
|
||||||
|
do
|
||||||
|
for PACKAGES_LIST in ${AUTOBUILD_PACKAGES_LISTS}
|
||||||
|
do
|
||||||
|
if [ ! -f "${AUTOBUILD_DESTDIR}"/"${BUILD}"-builds/${AUTOBUILD_DATE}/log/debian-live-${DISTRIBUTION}-${ARCHITECTURE}-${PACKAGES_LIST}_${AUTOBUILD_DATE}-iso-log.txt ]
|
||||||
|
then
|
||||||
|
# Generating images
|
||||||
|
mkdir -p "${AUTOBUILD_TEMPDIR}"/debian-live
|
||||||
|
cd "${AUTOBUILD_TEMPDIR}"
|
||||||
|
make-live -b iso -s generic --distribution ${DISTRIBUTION} --packages-lists ${PACKAGES_LIST} --mirror-build ${AUTOBUILD_MIRROR} --mirror-build-security ${AUTOBUILD_MIRROR_SECURITY} --source enabled ${AUTOBUILD_OPTIONS} > "${AUTOBUILD_TEMPDIR}"/debian-live/log.txt 2>&1
|
||||||
|
fi
|
||||||
|
|
||||||
|
if [ -f "${AUTOBUILD_TEMPDIR}"/debian-live/binary.iso ] && [ -f "${AUTOBUILD_TEMPDIR}"/debian-live/source.tar ]
|
||||||
|
then
|
||||||
|
# Moving logs
|
||||||
|
mkdir -p "${AUTOBUILD_DESTDIR}"/"${BUILD}"-builds/${AUTOBUILD_DATE}/log
|
||||||
|
mv "${AUTOBUILD_TEMPDIR}"/debian-live/log.txt "${AUTOBUILD_DESTDIR}"/"${BUILD}"-builds/${AUTOBUILD_DATE}/log/debian-live-${DISTRIBUTION}-${ARCHITECTURE}-${PACKAGES_LIST}_${AUTOBUILD_DATE}-iso-log.txt
|
||||||
|
mv "${AUTOBUILD_TEMPDIR}"/debian-live/packages.txt "${AUTOBUILD_DESTDIR}"/"${BUILD}"-builds/${AUTOBUILD_DATE}/log/debian-live-${DISTRIBUTION}-${ARCHITECTURE}-${PACKAGES_LIST}_${AUTOBUILD_DATE}-iso-packages.txt
|
||||||
|
|
||||||
|
# Moving images
|
||||||
|
mkdir -p "${AUTOBUILD_DESTDIR}"/"${BUILD}"-builds/${AUTOBUILD_DATE}/${ARCHITECTURE}
|
||||||
|
mv "${AUTOBUILD_TEMPDIR}"/debian-live/binary.iso "${AUTOBUILD_DESTDIR}"/"${BUILD}"-builds/${AUTOBUILD_DATE}/${ARCHITECTURE}/debian-live-${DISTRIBUTION}-${ARCHITECTURE}-${PACKAGES_LIST}.iso
|
||||||
|
|
||||||
|
mkdir -p "${AUTOBUILD_DESTDIR}"/"${BUILD}"-builds/${AUTOBUILD_DATE}/source
|
||||||
|
mv "${AUTOBUILD_TEMPDIR}"/debian-live/source.tar "${AUTOBUILD_DESTDIR}"/"${BUILD}"-builds/${AUTOBUILD_DATE}/source/debian-live-${DISTRIBUTION}-source-${PACKAGES_LIST}.tar
|
||||||
|
fi
|
||||||
|
|
||||||
|
if [ ! -f "${AUTOBUILD_DESTDIR}"/"${BUILD}"-builds/${AUTOBUILD_DATE}/log/debian-live-${DISTRIBUTION}-${ARCHITECTURE}-${PACKAGES_LIST}_${AUTOBUILD_DATE}-usb-log.txt ]
|
||||||
|
then
|
||||||
|
# Workaround of missing multi-binary support in live-helper
|
||||||
|
mv "${AUTOBUILD_TEMPDIR}"/debian-live/binary/casper "${AUTOBUILD_TEMPDIR}"/debian-live/casper.tmp
|
||||||
|
rm -rf "${AUTOBUILD_TEMPDIR}"/debian-live/binary* "${AUTOBUILD_TEMPDIR}"/debian-live/.stage/binary_*
|
||||||
|
mkdir "${AUTOBUILD_TEMPDIR}"/debian-live/binary
|
||||||
|
mv "${AUTOBUILD_TEMPDIR}"/debian-live/casper.tmp "${AUTOBUILD_TEMPDIR}"/debian-live/binary/casper
|
||||||
|
touch "${AUTOBUILD_TEMPDIR}"/debian-live/.stage/binary_chroot
|
||||||
|
touch "${AUTOBUILD_TEMPDIR}"/debian-live/.stage/binary_rootfs
|
||||||
|
|
||||||
|
# Generating images
|
||||||
|
mkdir -p "${AUTOBUILD_TEMPDIR}"/debian-live
|
||||||
|
cd "${AUTOBUILD_TEMPDIR}"
|
||||||
|
make-live -b usb -s generic --distribution ${DISTRIBUTION} --packages-lists ${PACKAGES_LIST} --mirror-build ${AUTOBUILD_MIRROR} --mirror-build-security ${AUTOBUILD_MIRROR_SECURITY} --source disabled ${AUTOBUILD_OPTIONS} > "${AUTOBUILD_TEMPDIR}"/debian-live/log.txt 2>&1
|
||||||
|
fi
|
||||||
|
|
||||||
|
if [ -f "${AUTOBUILD_TEMPDIR}"/debian-live/binary.img ]
|
||||||
|
then
|
||||||
|
# Moving logs
|
||||||
|
mkdir -p "${AUTOBUILD_DESTDIR}"/"${BUILD}"-builds/${AUTOBUILD_DATE}/log
|
||||||
|
mv "${AUTOBUILD_TEMPDIR}"/debian-live/log.txt "${AUTOBUILD_DESTDIR}"/"${BUILD}"-builds/${AUTOBUILD_DATE}/log/debian-live-${DISTRIBUTION}-${ARCHITECTURE}-${PACKAGES_LIST}_${AUTOBUILD_DATE}-usb-log.txt
|
||||||
|
cp "${AUTOBUILD_DESTDIR}"/"${BUILD}"-builds/${AUTOBUILD_DATE}/log/debian-live-${DISTRIBUTION}-${ARCHITECTURE}-${PACKAGES_LIST}_${AUTOBUILD_DATE}-iso-packages.txt "${AUTOBUILD_DESTDIR}"/"${BUILD}"-builds/${AUTOBUILD_DATE}/log/debian-live-${DISTRIBUTION}-${ARCHITECTURE}-${PACKAGES_LIST}_${AUTOBUILD_DATE}-usb-packages.txt
|
||||||
|
|
||||||
|
# Moving images
|
||||||
|
mkdir -p "${AUTOBUILD_DESTDIR}"/"${BUILD}"-builds/${AUTOBUILD_DATE}/${ARCHITECTURE}
|
||||||
|
mv "${AUTOBUILD_TEMPDIR}"/debian-live/binary.img "${AUTOBUILD_DESTDIR}"/"${BUILD}"-builds/${AUTOBUILD_DATE}/${ARCHITECTURE}/debian-live-${DISTRIBUTION}-${ARCHITECTURE}-${PACKAGES_LIST}.img
|
||||||
|
fi
|
||||||
|
|
||||||
|
# Cleanup
|
||||||
|
cd "${AUTOBUILD_TEMPDIR}"/debian-live
|
||||||
|
lh_clean
|
||||||
|
done
|
||||||
|
|
||||||
|
# Cleanup
|
||||||
|
cd "${AUTOBUILD_TEMPDIR}"/debian-live
|
||||||
|
lh_clean purge
|
||||||
|
done
|
||||||
|
done
|
||||||
|
|
||||||
|
# Cleanup
|
||||||
|
if [ -e "${AUTOBUILD_TEMPDIR}"/debian-live/chroot/proc/version ]
|
||||||
|
then
|
||||||
|
umount "${AUTOBUILD_TEMPDIR}"/debian-live/chroot/proc
|
||||||
|
fi
|
||||||
|
|
||||||
|
if [ -d "${AUTOBUILD_TEMPDIR}"/debian-live/chroot/sys/kernel ]
|
||||||
|
then
|
||||||
|
umount "${AUTOBUILD_TEMPDIR}"/debian-live/chroot/sys
|
||||||
|
fi
|
||||||
|
|
||||||
|
rm -rf "${AUTOBUILD_TEMPDIR}"
|
||||||
|
|
||||||
|
# md5sums
|
||||||
|
for DIRECTORY in "${AUTOBUILD_DESTDIR}"/"${BUILD}"-builds/${AUTOBUILD_DATE}/*
|
||||||
|
do
|
||||||
|
cd "${DIRECTORY}"
|
||||||
|
md5sum * > MD5SUMS
|
||||||
|
done
|
||||||
|
|
||||||
|
# Current symlink
|
||||||
|
rm -f "${AUTOBUILD_DESTDIR}"/"${BUILD}"-builds/current
|
||||||
|
ln -s ${AUTOBUILD_DATE} "${AUTOBUILD_DESTDIR}"/"${BUILD}"-builds/current
|
|
@ -0,0 +1,15 @@
|
||||||
|
# Defaults for /etc/cron.daily/live-helper
|
||||||
|
|
||||||
|
AUTOBUILD="disabled"
|
||||||
|
|
||||||
|
AUTOBUILD_ARCHITECTURES="`dpkg --print-architecture`"
|
||||||
|
AUTOBUILD_DISTRIBUTIONS="sid"
|
||||||
|
AUTOBUILD_PACKAGES_LISTS="standard gnome-desktop kde-desktop xfce-desktop"
|
||||||
|
AUTOBUILD_OPTIONS="--apt-recommends disabled"
|
||||||
|
|
||||||
|
AUTOBUILD_DATE="`date +%Y%m%d`"
|
||||||
|
AUTOBUILD_DESTDIR="/srv/debian-live"
|
||||||
|
AUTOBUILD_TEMPDIR="/srv/tmp"
|
||||||
|
|
||||||
|
AUTOBUILD_MIRROR="http://ftp.debian.org/debian/"
|
||||||
|
AUTOBUILD_MIRROR_SECURITY="http://security.debian.org/"
|
|
@ -25,13 +25,14 @@ install: build
|
||||||
# Installing package
|
# Installing package
|
||||||
$(MAKE) install DESTDIR=$(CURDIR)/debian/live-helper
|
$(MAKE) install DESTDIR=$(CURDIR)/debian/live-helper
|
||||||
|
|
||||||
install -m 644 debian/changelog.old debian/live-helper/usr/share/doc/live-helper/changelog.Debian.old
|
install -D -m 0644 debian/changelog.old debian/live-helper/usr/share/doc/live-helper/changelog.Debian.old
|
||||||
|
|
||||||
|
install -D -m 0644 debian/default debian/live-helper/etc/default/live-helper
|
||||||
|
|
||||||
# Removing double files
|
# Removing double files
|
||||||
rm -f debian/live-helper/usr/share/doc/live-helper/COPYING
|
rm -f debian/live-helper/usr/share/doc/live-helper/COPYING
|
||||||
rm -f debian/live-helper/usr/share/doc/live-helper/ChangeLog
|
rm -f debian/live-helper/usr/share/doc/live-helper/ChangeLog
|
||||||
mv debian/live-helper/usr/share/doc/live-helper/ChangeLog.old \
|
mv debian/live-helper/usr/share/doc/live-helper/ChangeLog.old debian/live-helper/usr/share/doc/live-helper/changelog.old
|
||||||
debian/live-helper/usr/share/doc/live-helper/changelog.old
|
|
||||||
|
|
||||||
binary-arch: build install
|
binary-arch: build install
|
||||||
|
|
||||||
|
@ -41,6 +42,7 @@ binary-indep: build install
|
||||||
dh_installchangelogs doc/ChangeLog
|
dh_installchangelogs doc/ChangeLog
|
||||||
dh_installdocs
|
dh_installdocs
|
||||||
dh_install
|
dh_install
|
||||||
|
dh_installcron
|
||||||
dh_installman
|
dh_installman
|
||||||
dh_compress
|
dh_compress
|
||||||
dh_fixperms
|
dh_fixperms
|
||||||
|
|
|
@ -0,0 +1,51 @@
|
||||||
|
How to report a bug in Debian Live
|
||||||
|
==================================
|
||||||
|
|
||||||
|
"No software is perfect... we need your help!"
|
||||||
|
|
||||||
|
Debian Live is far from being perfect, but we want to make it as close as
|
||||||
|
possible to perfect - with your help.
|
||||||
|
|
||||||
|
Do not hesitate to report a bug: it is better to fill a report twice than never.
|
||||||
|
However, here are some recommendations how to file good bug reports.
|
||||||
|
|
||||||
|
|
||||||
|
1. Where does the bug appear?
|
||||||
|
-----------------------------
|
||||||
|
|
||||||
|
...at build time while bootstrapping?
|
||||||
|
|
||||||
|
make-live first bootstraps a basic Debian system with cdebootstrap(1) or
|
||||||
|
debootstrap(8). Depending on both cdebootstrap/debootstrap and the Debian
|
||||||
|
distribution it is bootstrapping, it runs sucessful or not. If a bug appears
|
||||||
|
here, check if the error is related to a specific Debian package (most likely),
|
||||||
|
or if it is related to cdebootstrap/debootstrap itself.
|
||||||
|
|
||||||
|
In both cases, this is not a bug in Debian Live, but rather in Debian itself. We
|
||||||
|
can not fix this directly. Instead, report such a bug against the cdebootstrap
|
||||||
|
package, or the failing package.
|
||||||
|
|
||||||
|
|
||||||
|
...at build time while installing packages?
|
||||||
|
|
||||||
|
Debian Live installs additional packages from the Debian archive. Depending on
|
||||||
|
the Debian distribution used and the daily archive state, it can fail. If a bug
|
||||||
|
appears here, check if the error is also reproducible on a normal system.
|
||||||
|
|
||||||
|
If this is the case, this is not a bug in Debian Live, but rather in Debian
|
||||||
|
again. Report it against the failing package.
|
||||||
|
|
||||||
|
|
||||||
|
...at run time?
|
||||||
|
|
||||||
|
If a package was successfully installed, but fails while actually running the
|
||||||
|
Live system, this is probably a bug in Debian Live.
|
||||||
|
|
||||||
|
|
||||||
|
2. Where to send the bug report?
|
||||||
|
--------------------------------
|
||||||
|
|
||||||
|
Report error logs of build time errors to live-package and run time errors to
|
||||||
|
casper in the Debian Bug Tracking System. If you are unsure or need more help
|
||||||
|
before submitting a bug report, you can always send a message to
|
||||||
|
<debian-devel-live@lists.alioth.debian.org>. We will help you to figure it out.
|
|
@ -1,3 +1,59 @@
|
||||||
|
2007-04-23 Daniel Baumann <daniel@debian.org>
|
||||||
|
|
||||||
|
* Makefile:
|
||||||
|
- Added simple test rule.
|
||||||
|
* functions/*, helpers/*:
|
||||||
|
- Added LH_ROOT_COMMAND to support sudo.
|
||||||
|
* functions/package.sh:
|
||||||
|
- Added. Helper dependencies in-chroot can now be handled by
|
||||||
|
functions.
|
||||||
|
* helpers/make-live:
|
||||||
|
- Added trap to unmount proc and sys on exit and failure.
|
||||||
|
* Uploaded 1.0~a7-1.
|
||||||
|
|
||||||
|
2007-04-22 Daniel Baumann <daniel@debian.org>
|
||||||
|
|
||||||
|
* functions/defaults.sh:
|
||||||
|
- In ubuntu mode, setting default sections to main restricted.
|
||||||
|
* helpers/lh_binary_grub:
|
||||||
|
- Making copy call of grub arch independent.
|
||||||
|
* helpers/lh_chroot_sources:
|
||||||
|
- In debian mode, checking for non-sid rather than if-etch.
|
||||||
|
- Fixed wrong Ubuntu security URL.
|
||||||
|
|
||||||
|
2007-04-20 Daniel Baumann <daniel@debian.org>
|
||||||
|
|
||||||
|
* helpers/lh_binary_rootfs, lh_binary_iso:
|
||||||
|
- Added mksquashfs/genisoimage quiet/verbose options.
|
||||||
|
|
||||||
|
2007-04-19 Daniel Baumann <daniel@debian.org>
|
||||||
|
|
||||||
|
* helpers/lh_binary_grub, lh_binary_syslinux:
|
||||||
|
- Added check for splash in config directory.
|
||||||
|
|
||||||
|
2007-04-18 Daniel Baumann <daniel@debian.org>
|
||||||
|
|
||||||
|
* debian/cron.daily, default:
|
||||||
|
- Added.
|
||||||
|
* doc/BUGS, DOWNLOAD:
|
||||||
|
- Added.
|
||||||
|
* examples/edu.sources.list, fai.sources.list:
|
||||||
|
- Added.
|
||||||
|
* manpages/*:
|
||||||
|
- Added language suffix.
|
||||||
|
- Added German translations.
|
||||||
|
|
||||||
|
2007-04-17 Daniel Baumann <daniel@debian.org>
|
||||||
|
|
||||||
|
* helpers/lh_chroot_hooks:
|
||||||
|
- Also check for tasks specific hooks, not just for package lists.
|
||||||
|
* helpers/lh_chroot_tasks:
|
||||||
|
- Allowing to use either aptitude or tasksel.
|
||||||
|
* hooks/kde-desktop:
|
||||||
|
- Added.
|
||||||
|
* manpages/lh_build.1, lh_source.1:
|
||||||
|
- Added.
|
||||||
|
|
||||||
2007-04-16 Daniel Baumann <daniel@debian.org>
|
2007-04-16 Daniel Baumann <daniel@debian.org>
|
||||||
|
|
||||||
* functions/defaults.sh:
|
* functions/defaults.sh:
|
||||||
|
|
|
@ -0,0 +1,43 @@
|
||||||
|
Download of prebuilt images
|
||||||
|
===========================
|
||||||
|
|
||||||
|
Although Debian Live is about creating your own customized Live system, we offer
|
||||||
|
some prebuilt images as well. Currently, builds for the three desktop
|
||||||
|
environments GNOME[0], KDE[1] and Xfce[2] as well as the standard system are
|
||||||
|
available. Builds based on testing are created every week and the ones based on
|
||||||
|
unstable are build daily. For stable, we build update them when needed.
|
||||||
|
|
||||||
|
Currently, the following flavours are autobuilt here (.iso for CD/DVD images,
|
||||||
|
.img for USB stick images):
|
||||||
|
|
||||||
|
* debian-live-${DIST}-${ARCH}-standard
|
||||||
|
|
||||||
|
only packages of priority standard or higher and a few live specific
|
||||||
|
packages (eject, file and sudo).
|
||||||
|
|
||||||
|
* debian-live-${DIST}-${ARCH}-gnome-desktop
|
||||||
|
|
||||||
|
the standard system, laptop related packages (laptop task) and the GNOME[1]
|
||||||
|
desktop environment (desktop and gnome-desktop tasks).
|
||||||
|
|
||||||
|
* debian-live-${DIST}-${ARCH}-kde-desktop
|
||||||
|
|
||||||
|
the standard system, laptop related packages (laptop task) and the KDE[2]
|
||||||
|
desktop environment (desktop and kde-desktop tasks).
|
||||||
|
|
||||||
|
* debian-live-${DIST}-${ARCH}-xfce-desktop
|
||||||
|
|
||||||
|
the standard system, laptop related packages (laptop task) and the Xfce[3]
|
||||||
|
desktop environment (desktop and xfce-desktop tasks).
|
||||||
|
|
||||||
|
Note: Currently, we build images for lenny (aka "testing") and sid (aka
|
||||||
|
"unstable"). Due to the nature of unreleased Debian versions, it is possible
|
||||||
|
that no or not all images could be built because of uninstallable packages.
|
||||||
|
Please be patient then and wait for the next builds, use the previous, or do it
|
||||||
|
on your own by using live-helper. If you want something which works for sure,
|
||||||
|
use the etch (aka "stable") builds.
|
||||||
|
|
||||||
|
[0] http://packages.debian.org/live-helper
|
||||||
|
[1] http://www.gnome.org/
|
||||||
|
[2] http://www.kde.org/
|
||||||
|
[3] http://www.xfce.org/
|
41
doc/FAQ
41
doc/FAQ
|
@ -1,5 +1,5 @@
|
||||||
Debian Live: Frequently Asked Questions (FAQ)
|
Frequently Asked Questions (FAQ)
|
||||||
=============================================
|
================================
|
||||||
|
|
||||||
Build Time
|
Build Time
|
||||||
----------
|
----------
|
||||||
|
@ -9,10 +9,22 @@ A: live-helper supports Debian and Ubuntu right now. Adding automatic defaults
|
||||||
for other Debian derivatives is easy - let us know about them and we may
|
for other Debian derivatives is easy - let us know about them and we may
|
||||||
include it.
|
include it.
|
||||||
|
|
||||||
|
|
||||||
|
Q: How can I build images with an unprevileged user account?
|
||||||
|
A: You can use --root-command sudo or set LH_ROOT_COMMAND="sudo" in
|
||||||
|
config/common.
|
||||||
|
|
||||||
|
*BIG* *FAT* *WARNING*: Building an image as non-root can make your image
|
||||||
|
different compared to a regular Debian system (different owners of files). It
|
||||||
|
is *NOT* recommended to build images as non-root. Do *NOT* use this feature
|
||||||
|
yet.
|
||||||
|
|
||||||
|
|
||||||
Q: How do I drop in to a shell during make-live chroot process?
|
Q: How do I drop in to a shell during make-live chroot process?
|
||||||
A: Use "--interactive shell", then exit with 'logout' when you have made the
|
A: Use "--interactive shell", then exit with 'logout' when you have made the
|
||||||
setting changes you want and the build process will continue.
|
setting changes you want and the build process will continue.
|
||||||
|
|
||||||
|
|
||||||
Q: Where to set the username or the hostname?
|
Q: Where to set the username or the hostname?
|
||||||
A: casper uses default username 'casper' and hostname 'live'. You can specify
|
A: casper uses default username 'casper' and hostname 'live'. You can specify
|
||||||
them by passing 'username=' and 'hostname=' as kernel parameters.
|
them by passing 'username=' and 'hostname=' as kernel parameters.
|
||||||
|
@ -22,6 +34,30 @@ A: casper uses default username 'casper' and hostname 'live'. You can specify
|
||||||
--hostname to make-live, or alter LIVE_USERNAME and LIVE_HOSTNAME in
|
--hostname to make-live, or alter LIVE_USERNAME and LIVE_HOSTNAME in
|
||||||
config/image.
|
config/image.
|
||||||
|
|
||||||
|
|
||||||
|
Q: How can I make my own grub bootsplash?
|
||||||
|
A: To add a grub splash screen, you can use --grub-splash FILE, or copy your
|
||||||
|
custom splash to config/binary_grub/splash.xpm.gz.
|
||||||
|
|
||||||
|
Documentation about creating a bootsplash for grub can be found at:
|
||||||
|
<http://ruslug.rutgers.edu/~mcgrof/grub-images/>
|
||||||
|
|
||||||
|
|
||||||
|
Q: How can I make my own syslinux bootsplash?
|
||||||
|
A: To add a syslinux splash screen, you can use --syslinux-splash FILE, or copy
|
||||||
|
your custom splash to config/binary_syslinux/splash.rle.
|
||||||
|
|
||||||
|
Documentation about creating a bootsplash for grub can be found at:
|
||||||
|
<http://www.sweb.cz/Frantisek.Rysanek/splash/isolinux-splash-HOWTO.html>
|
||||||
|
contrib/syslinux-splash/COPYING in the live-helper sources.
|
||||||
|
|
||||||
|
Basically, you need to install netpbm and syslinux, and run this:
|
||||||
|
anytopnm < $your_splash > $your_splash.pnm
|
||||||
|
pnmcolormap 15 < $your_splash.pnm > $your_splash.map
|
||||||
|
pnmremap -map=$your_splash.map $your_splash.pnm | \
|
||||||
|
ppmtolss16 '#ffffff=7' > splash.rle
|
||||||
|
|
||||||
|
|
||||||
Run Time
|
Run Time
|
||||||
--------
|
--------
|
||||||
|
|
||||||
|
@ -29,5 +65,6 @@ Q: What is the root password?
|
||||||
A: There is none set. You can switch to root with 'sudo -i' or set a password
|
A: There is none set. You can switch to root with 'sudo -i' or set a password
|
||||||
with 'sudo passwd'.
|
with 'sudo passwd'.
|
||||||
|
|
||||||
|
|
||||||
Q: What is the user password?
|
Q: What is the user password?
|
||||||
A: The password for the default user is 'live'.
|
A: The password for the default user is 'live'.
|
||||||
|
|
3
doc/NEWS
3
doc/NEWS
|
@ -25,3 +25,6 @@ News:
|
||||||
http://lists.alioth.debian.org/pipermail/debian-live-devel/2007-February/000836.html
|
http://lists.alioth.debian.org/pipermail/debian-live-devel/2007-February/000836.html
|
||||||
|
|
||||||
* 2007-03-12: Uploaded first live-helper to Debian unstable.
|
* 2007-03-12: Uploaded first live-helper to Debian unstable.
|
||||||
|
|
||||||
|
* 2007-04-19: Google Summer of Code 2007
|
||||||
|
http://lists.alioth.debian.org/pipermail/debian-live-devel/2007-April/001221.html
|
||||||
|
|
|
@ -6,17 +6,6 @@
|
||||||
# To enable it, copy this hook into your config/chroot_localhooks directory.
|
# To enable it, copy this hook into your config/chroot_localhooks directory.
|
||||||
# At boot prompt, type 'live aixgl', press enter and have fun.
|
# At boot prompt, type 'live aixgl', press enter and have fun.
|
||||||
|
|
||||||
# Update sources.list
|
|
||||||
cat >> /etc/apt/sources.list << EOF
|
|
||||||
# beryl-project
|
|
||||||
deb http://debian.beryl-project.org/ etch main
|
|
||||||
EOF
|
|
||||||
|
|
||||||
if grep deb-src /etc/apt/sources.list
|
|
||||||
then
|
|
||||||
echo "deb-src http://debian.beryl-project.org/ etch main" >> /etc/apt/sources.list
|
|
||||||
fi
|
|
||||||
|
|
||||||
# Import archive signing key
|
# Import archive signing key
|
||||||
wget -O - http://debian.beryl-project.org/root@lupine.me.uk.gpg | apt-key add -
|
wget -O - http://debian.beryl-project.org/root@lupine.me.uk.gpg | apt-key add -
|
||||||
|
|
||||||
|
@ -24,7 +13,8 @@ wget -O - http://debian.beryl-project.org/root@lupine.me.uk.gpg | apt-key add -
|
||||||
apt-get update
|
apt-get update
|
||||||
|
|
||||||
# Install packages
|
# Install packages
|
||||||
PACKAGES="beryl beryl-core beryl-manager beryl-plugins beryl-plugins-unsupported beryl-settings beryl-settings-bindings beryl-settings-simple"
|
PACKAGES="beryl beryl-core beryl-manager beryl-plugins beryl-settings beryl-settings-bindings beryl-settings-simple"
|
||||||
|
#beryl-plugins-unsupported
|
||||||
|
|
||||||
if [ -f /usr/bin/gnome-session ]
|
if [ -f /usr/bin/gnome-session ]
|
||||||
then
|
then
|
||||||
|
|
|
@ -0,0 +1,14 @@
|
||||||
|
## This is a sources.list for live-helper(7) to use packages from the
|
||||||
|
## Beryl Etch repository.
|
||||||
|
##
|
||||||
|
## To enable it, copy this file to your config/chroot_sources directory, once
|
||||||
|
## as e.g. beryl.build and once as beryl.image.
|
||||||
|
## Additionally, you need to copy the beryl-hook.sh file to your
|
||||||
|
## config/chroot_localhooks directory.
|
||||||
|
##
|
||||||
|
## Remeber to also import http://debian.beryl-project.org/root@lupine.me.uk.gpg
|
||||||
|
## into your trusted keyring.
|
||||||
|
|
||||||
|
# Beryl packages for Etch
|
||||||
|
deb http://debian.beryl-project.org/ etch main
|
||||||
|
deb-src http://debian.beryl-project.org/ etch main
|
|
@ -0,0 +1,136 @@
|
||||||
|
#!/bin/sh -x
|
||||||
|
|
||||||
|
set -e
|
||||||
|
|
||||||
|
BUILD="daily"
|
||||||
|
|
||||||
|
AUTOBUILD_ARCHITECTURES="`dpkg --print-architecture`"
|
||||||
|
AUTOBUILD_DISTRIBUTIONS="sid"
|
||||||
|
AUTOBUILD_PACKAGES_LISTS="standard gnome-desktop kde-desktop xfce-desktop"
|
||||||
|
AUTOBUILD_OPTIONS="--apt-recommends disabled"
|
||||||
|
|
||||||
|
AUTOBUILD_DATE="`date +%Y%m%d`"
|
||||||
|
AUTOBUILD_DESTDIR="/srv/debian-unofficial/ftp/debian-live"
|
||||||
|
AUTOBUILD_TEMPDIR="/srv/tmp"
|
||||||
|
|
||||||
|
AUTOBUILD_MIRROR="http://ftp.de.debian.org/debian/"
|
||||||
|
AUTOBUILD_MIRROR_SECURITY="http://ftp.de.debian.org/debian-security/"
|
||||||
|
|
||||||
|
# Check for live-helper availability
|
||||||
|
if [ ! -x /usr/bin/make-live ]
|
||||||
|
then
|
||||||
|
exit 0
|
||||||
|
fi
|
||||||
|
|
||||||
|
# Check for live-helper defaults
|
||||||
|
#if [ -r /etc/default/live-helper ]
|
||||||
|
#then
|
||||||
|
# . /etc/default/live-helper
|
||||||
|
#else
|
||||||
|
# echo "E: /etc/default/live-helper missing."
|
||||||
|
# exit 1
|
||||||
|
#fi
|
||||||
|
|
||||||
|
# Check for autobuild
|
||||||
|
#if [ "${AUTOBUILD}" != "enabled" ]
|
||||||
|
#then
|
||||||
|
# exit 0
|
||||||
|
#fi
|
||||||
|
|
||||||
|
# Check for build directory
|
||||||
|
if [ ! -d "${AUTOBUILD_TEMPDIR}" ]
|
||||||
|
then
|
||||||
|
mkdir -p "${AUTOBUILD_TEMPDIR}"/debian-live
|
||||||
|
else
|
||||||
|
# FIXME: maybe we should just remove the left overs.
|
||||||
|
echo "E: ${AUTOBUILD_TEMPDIR} needs cleanup."
|
||||||
|
exit 1
|
||||||
|
fi
|
||||||
|
|
||||||
|
for ARCHITECTURE in ${AUTOBUILD_ARCHITECTURES}
|
||||||
|
do
|
||||||
|
for DISTRIBUTION in ${AUTOBUILD_DISTRIBUTIONS}
|
||||||
|
do
|
||||||
|
for PACKAGES_LIST in ${AUTOBUILD_PACKAGES_LISTS}
|
||||||
|
do
|
||||||
|
if [ ! -f "${AUTOBUILD_DESTDIR}"/"${BUILD}"-builds/${AUTOBUILD_DATE}/log/debian-live-${DISTRIBUTION}-${ARCHITECTURE}-${PACKAGES_LIST}_${AUTOBUILD_DATE}-iso-log.txt ]
|
||||||
|
then
|
||||||
|
# Generating images
|
||||||
|
mkdir -p "${AUTOBUILD_TEMPDIR}"/debian-live
|
||||||
|
cd "${AUTOBUILD_TEMPDIR}"
|
||||||
|
make-live -b iso -s generic --distribution ${DISTRIBUTION} --packages-lists ${PACKAGES_LIST} --mirror-build ${AUTOBUILD_MIRROR} --mirror-build-security ${AUTOBUILD_MIRROR_SECURITY} --source enabled ${AUTOBUILD_OPTIONS} > "${AUTOBUILD_TEMPDIR}"/debian-live/log.txt 2>&1
|
||||||
|
fi
|
||||||
|
|
||||||
|
if [ -f "${AUTOBUILD_TEMPDIR}"/debian-live/binary.iso ] && [ -f "${AUTOBUILD_TEMPDIR}"/debian-live/source.tar ]
|
||||||
|
then
|
||||||
|
# Moving logs
|
||||||
|
mkdir -p "${AUTOBUILD_DESTDIR}"/"${BUILD}"-builds/${AUTOBUILD_DATE}/log
|
||||||
|
mv "${AUTOBUILD_TEMPDIR}"/debian-live/log.txt "${AUTOBUILD_DESTDIR}"/"${BUILD}"-builds/${AUTOBUILD_DATE}/log/debian-live-${DISTRIBUTION}-${ARCHITECTURE}-${PACKAGES_LIST}_${AUTOBUILD_DATE}-iso-log.txt
|
||||||
|
mv "${AUTOBUILD_TEMPDIR}"/debian-live/packages.txt "${AUTOBUILD_DESTDIR}"/"${BUILD}"-builds/${AUTOBUILD_DATE}/log/debian-live-${DISTRIBUTION}-${ARCHITECTURE}-${PACKAGES_LIST}_${AUTOBUILD_DATE}-iso-packages.txt
|
||||||
|
|
||||||
|
# Moving images
|
||||||
|
mkdir -p "${AUTOBUILD_DESTDIR}"/"${BUILD}"-builds/${AUTOBUILD_DATE}/${ARCHITECTURE}
|
||||||
|
mv "${AUTOBUILD_TEMPDIR}"/debian-live/binary.iso "${AUTOBUILD_DESTDIR}"/"${BUILD}"-builds/${AUTOBUILD_DATE}/${ARCHITECTURE}/debian-live-${DISTRIBUTION}-${ARCHITECTURE}-${PACKAGES_LIST}.iso
|
||||||
|
|
||||||
|
mkdir -p "${AUTOBUILD_DESTDIR}"/"${BUILD}"-builds/${AUTOBUILD_DATE}/source
|
||||||
|
mv "${AUTOBUILD_TEMPDIR}"/debian-live/source.tar "${AUTOBUILD_DESTDIR}"/"${BUILD}"-builds/${AUTOBUILD_DATE}/source/debian-live-${DISTRIBUTION}-source-${PACKAGES_LIST}.tar
|
||||||
|
fi
|
||||||
|
|
||||||
|
if [ ! -f "${AUTOBUILD_DESTDIR}"/"${BUILD}"-builds/${AUTOBUILD_DATE}/log/debian-live-${DISTRIBUTION}-${ARCHITECTURE}-${PACKAGES_LIST}_${AUTOBUILD_DATE}-usb-log.txt ]
|
||||||
|
then
|
||||||
|
# Workaround of missing multi-binary support in live-helper
|
||||||
|
mv "${AUTOBUILD_TEMPDIR}"/debian-live/binary/casper "${AUTOBUILD_TEMPDIR}"/debian-live/casper.tmp
|
||||||
|
rm -rf "${AUTOBUILD_TEMPDIR}"/debian-live/binary* "${AUTOBUILD_TEMPDIR}"/debian-live/.stage/binary_*
|
||||||
|
mkdir "${AUTOBUILD_TEMPDIR}"/debian-live/binary
|
||||||
|
mv "${AUTOBUILD_TEMPDIR}"/debian-live/casper.tmp "${AUTOBUILD_TEMPDIR}"/debian-live/binary/casper
|
||||||
|
touch "${AUTOBUILD_TEMPDIR}"/debian-live/.stage/binary_chroot
|
||||||
|
touch "${AUTOBUILD_TEMPDIR}"/debian-live/.stage/binary_rootfs
|
||||||
|
|
||||||
|
# Generating images
|
||||||
|
mkdir -p "${AUTOBUILD_TEMPDIR}"/debian-live
|
||||||
|
cd "${AUTOBUILD_TEMPDIR}"
|
||||||
|
make-live -b usb -s generic --distribution ${DISTRIBUTION} --packages-lists ${PACKAGES_LIST} --mirror-build ${AUTOBUILD_MIRROR} --mirror-build-security ${AUTOBUILD_MIRROR_SECURITY} --source disabled ${AUTOBUILD_OPTIONS} > "${AUTOBUILD_TEMPDIR}"/debian-live/log.txt 2>&1
|
||||||
|
fi
|
||||||
|
|
||||||
|
if [ -f "${AUTOBUILD_TEMPDIR}"/debian-live/binary.img ]
|
||||||
|
then
|
||||||
|
# Moving logs
|
||||||
|
mkdir -p "${AUTOBUILD_DESTDIR}"/"${BUILD}"-builds/${AUTOBUILD_DATE}/log
|
||||||
|
mv "${AUTOBUILD_TEMPDIR}"/debian-live/log.txt "${AUTOBUILD_DESTDIR}"/"${BUILD}"-builds/${AUTOBUILD_DATE}/log/debian-live-${DISTRIBUTION}-${ARCHITECTURE}-${PACKAGES_LIST}_${AUTOBUILD_DATE}-usb-log.txt
|
||||||
|
cp "${AUTOBUILD_DESTDIR}"/"${BUILD}"-builds/${AUTOBUILD_DATE}/log/debian-live-${DISTRIBUTION}-${ARCHITECTURE}-${PACKAGES_LIST}_${AUTOBUILD_DATE}-iso-packages.txt "${AUTOBUILD_DESTDIR}"/"${BUILD}"-builds/${AUTOBUILD_DATE}/log/debian-live-${DISTRIBUTION}-${ARCHITECTURE}-${PACKAGES_LIST}_${AUTOBUILD_DATE}-usb-packages.txt
|
||||||
|
|
||||||
|
# Moving images
|
||||||
|
mkdir -p "${AUTOBUILD_DESTDIR}"/"${BUILD}"-builds/${AUTOBUILD_DATE}/${ARCHITECTURE}
|
||||||
|
mv "${AUTOBUILD_TEMPDIR}"/debian-live/binary.img "${AUTOBUILD_DESTDIR}"/"${BUILD}"-builds/${AUTOBUILD_DATE}/${ARCHITECTURE}/debian-live-${DISTRIBUTION}-${ARCHITECTURE}-${PACKAGES_LIST}.img
|
||||||
|
fi
|
||||||
|
|
||||||
|
# Cleanup
|
||||||
|
cd "${AUTOBUILD_TEMPDIR}"/debian-live
|
||||||
|
lh_clean
|
||||||
|
done
|
||||||
|
done
|
||||||
|
done
|
||||||
|
|
||||||
|
# Cleanup
|
||||||
|
if [ -e "${AUTOBUILD_TEMPDIR}"/debian-live/chroot/proc/version ]
|
||||||
|
then
|
||||||
|
umount "${AUTOBUILD_TEMPDIR}"/debian-live/chroot/proc
|
||||||
|
fi
|
||||||
|
|
||||||
|
if [ -d "${AUTOBUILD_TEMPDIR}"/debian-live/chroot/sys/kernel ]
|
||||||
|
then
|
||||||
|
umount "${AUTOBUILD_TEMPDIR}"/debian-live/chroot/sys
|
||||||
|
fi
|
||||||
|
|
||||||
|
rm -rf "${AUTOBUILD_TEMPDIR}"
|
||||||
|
|
||||||
|
# md5sums
|
||||||
|
for DIRECTORY in "${AUTOBUILD_DESTDIR}"/"${BUILD}"-builds/${AUTOBUILD_DATE}/*
|
||||||
|
do
|
||||||
|
cd "${DIRECTORY}"
|
||||||
|
md5sum * > MD5SUMS
|
||||||
|
done
|
||||||
|
|
||||||
|
# Current symlink
|
||||||
|
rm -f "${AUTOBUILD_DESTDIR}"/"${BUILD}"-builds/current
|
||||||
|
ln -s ${AUTOBUILD_DATE} "${AUTOBUILD_DESTDIR}"/"${BUILD}"-builds/current
|
|
@ -0,0 +1,11 @@
|
||||||
|
## This is a sources.list for live-helper(7) to use packages from the
|
||||||
|
## Debian Edu/Skolelinux repository.
|
||||||
|
##
|
||||||
|
## To enable it, copy this file to your config/chroot_sources directory, once
|
||||||
|
## as e.g. edu.build and once as edu.image.
|
||||||
|
##
|
||||||
|
## Remeber to add debian-edu-archive-keyring to your package selection.
|
||||||
|
|
||||||
|
# Debian Edu/Skolelinux
|
||||||
|
deb http://ftp.skolelinux.org/skolelinux/ etch-test local
|
||||||
|
deb-src http://ftp.skolelinux.org/skolelinux/ etch-test local
|
|
@ -0,0 +1,146 @@
|
||||||
|
#!/bin/sh -x
|
||||||
|
|
||||||
|
set -e
|
||||||
|
|
||||||
|
BUILD="etch+beryl"
|
||||||
|
|
||||||
|
AUTOBUILD_ARCHITECTURES="`dpkg --print-architecture`"
|
||||||
|
AUTOBUILD_DISTRIBUTIONS="etch"
|
||||||
|
AUTOBUILD_PACKAGES_LISTS="gnome-desktop kde-desktop xfce-desktop"
|
||||||
|
AUTOBUILD_OPTIONS="--apt-recommends disabled"
|
||||||
|
|
||||||
|
AUTOBUILD_DATE="r0_1.0~a7-1"
|
||||||
|
AUTOBUILD_DESTDIR="/srv/debian-unofficial/ftp/debian-live"
|
||||||
|
AUTOBUILD_TEMPDIR="/srv/tmp"
|
||||||
|
|
||||||
|
AUTOBUILD_MIRROR="http://ftp.de.debian.org/debian/"
|
||||||
|
AUTOBUILD_MIRROR_SECURITY="http://ftp.de.debian.org/debian-security/"
|
||||||
|
|
||||||
|
# Check for live-helper availability
|
||||||
|
if [ ! -x /usr/bin/make-live ]
|
||||||
|
then
|
||||||
|
exit 0
|
||||||
|
fi
|
||||||
|
|
||||||
|
# Check for live-helper defaults
|
||||||
|
#if [ -r /etc/default/live-helper ]
|
||||||
|
#then
|
||||||
|
# . /etc/default/live-helper
|
||||||
|
#else
|
||||||
|
# echo "E: /etc/default/live-helper missing."
|
||||||
|
# exit 1
|
||||||
|
#fi
|
||||||
|
|
||||||
|
# Check for autobuild
|
||||||
|
#if [ "${AUTOBUILD}" != "enabled" ]
|
||||||
|
#then
|
||||||
|
# exit 0
|
||||||
|
#fi
|
||||||
|
|
||||||
|
# Check for build directory
|
||||||
|
if [ ! -d "${AUTOBUILD_TEMPDIR}" ]
|
||||||
|
then
|
||||||
|
mkdir -p "${AUTOBUILD_TEMPDIR}"/debian-live
|
||||||
|
else
|
||||||
|
# FIXME: maybe we should just remove the left overs.
|
||||||
|
echo "E: ${AUTOBUILD_TEMPDIR} needs cleanup."
|
||||||
|
exit 1
|
||||||
|
fi
|
||||||
|
|
||||||
|
for ARCHITECTURE in ${AUTOBUILD_ARCHITECTURES}
|
||||||
|
do
|
||||||
|
for DISTRIBUTION in ${AUTOBUILD_DISTRIBUTIONS}
|
||||||
|
do
|
||||||
|
for PACKAGES_LIST in ${AUTOBUILD_PACKAGES_LISTS}
|
||||||
|
do
|
||||||
|
if [ ! -f "${AUTOBUILD_DESTDIR}"/"${BUILD}"-builds/${AUTOBUILD_DATE}/log/debian-live-etch+beryl-${ARCHITECTURE}-${PACKAGES_LIST}_${AUTOBUILD_DATE}-iso-log.txt ]
|
||||||
|
then
|
||||||
|
# Generating images
|
||||||
|
mkdir -p "${AUTOBUILD_TEMPDIR}"/debian-live
|
||||||
|
cd "${AUTOBUILD_TEMPDIR}"
|
||||||
|
|
||||||
|
# Beryl hook
|
||||||
|
mkdir -p debian-live/config/chroot_localhooks
|
||||||
|
cp /usr/share/live-helper/examples/beryl-hook.sh debian-live/config/chroot_localhooks/beryl.sh
|
||||||
|
mkdir -p debian-live/config/chroot_sources
|
||||||
|
wget http://debian.beryl-project.org/root@lupine.me.uk.gpg -O debian-live/config/chroot_sources/beryl.build.gpg
|
||||||
|
wget http://debian.beryl-project.org/root@lupine.me.uk.gpg -O debian-live/config/chroot_sources/beryl.image.gpg
|
||||||
|
cp /usr/share/live-helper/examples/beryl.sources.list debian-live/config/chroot_sources/beryl.build
|
||||||
|
cp /usr/share/live-helper/examples/beryl.sources.list debian-live/config/chroot_sources/beryl.image
|
||||||
|
|
||||||
|
make-live -b iso -s generic --distribution ${DISTRIBUTION} --packages-lists ${PACKAGES_LIST} --mirror-build ${AUTOBUILD_MIRROR} --mirror-build-security ${AUTOBUILD_MIRROR_SECURITY} --source enabled ${AUTOBUILD_OPTIONS} > "${AUTOBUILD_TEMPDIR}"/debian-live/log.txt 2>&1
|
||||||
|
fi
|
||||||
|
|
||||||
|
if [ -f "${AUTOBUILD_TEMPDIR}"/debian-live/binary.iso ] && [ -f "${AUTOBUILD_TEMPDIR}"/debian-live/source.tar ]
|
||||||
|
then
|
||||||
|
# Moving logs
|
||||||
|
mkdir -p "${AUTOBUILD_DESTDIR}"/"${BUILD}"-builds/${AUTOBUILD_DATE}/log
|
||||||
|
mv "${AUTOBUILD_TEMPDIR}"/debian-live/log.txt "${AUTOBUILD_DESTDIR}"/"${BUILD}"-builds/${AUTOBUILD_DATE}/log/debian-live-etch+beryl-${ARCHITECTURE}-${PACKAGES_LIST}_${AUTOBUILD_DATE}-iso-log.txt
|
||||||
|
mv "${AUTOBUILD_TEMPDIR}"/debian-live/packages.txt "${AUTOBUILD_DESTDIR}"/"${BUILD}"-builds/${AUTOBUILD_DATE}/log/debian-live-etch+beryl-${ARCHITECTURE}-${PACKAGES_LIST}_${AUTOBUILD_DATE}-iso-packages.txt
|
||||||
|
|
||||||
|
# Moving images
|
||||||
|
mkdir -p "${AUTOBUILD_DESTDIR}"/"${BUILD}"-builds/${AUTOBUILD_DATE}/${ARCHITECTURE}
|
||||||
|
mv "${AUTOBUILD_TEMPDIR}"/debian-live/binary.iso "${AUTOBUILD_DESTDIR}"/"${BUILD}"-builds/${AUTOBUILD_DATE}/${ARCHITECTURE}/debian-live-etch+beryl-${ARCHITECTURE}-${PACKAGES_LIST}.iso
|
||||||
|
|
||||||
|
mkdir -p "${AUTOBUILD_DESTDIR}"/"${BUILD}"-builds/${AUTOBUILD_DATE}/source
|
||||||
|
mv "${AUTOBUILD_TEMPDIR}"/debian-live/source.tar "${AUTOBUILD_DESTDIR}"/"${BUILD}"-builds/${AUTOBUILD_DATE}/source/debian-live-etch+beryl-source-${PACKAGES_LIST}.tar
|
||||||
|
fi
|
||||||
|
|
||||||
|
if [ ! -f "${AUTOBUILD_DESTDIR}"/"${BUILD}"-builds/${AUTOBUILD_DATE}/log/debian-live-etch+beryl-${ARCHITECTURE}-${PACKAGES_LIST}_${AUTOBUILD_DATE}-usb-log.txt ]
|
||||||
|
then
|
||||||
|
# Workaround of missing multi-binary support in live-helper
|
||||||
|
mv "${AUTOBUILD_TEMPDIR}"/debian-live/binary/casper "${AUTOBUILD_TEMPDIR}"/debian-live/casper.tmp
|
||||||
|
rm -rf "${AUTOBUILD_TEMPDIR}"/debian-live/binary* "${AUTOBUILD_TEMPDIR}"/debian-live/.stage/binary_*
|
||||||
|
mkdir "${AUTOBUILD_TEMPDIR}"/debian-live/binary
|
||||||
|
mv "${AUTOBUILD_TEMPDIR}"/debian-live/casper.tmp "${AUTOBUILD_TEMPDIR}"/debian-live/binary/casper
|
||||||
|
touch "${AUTOBUILD_TEMPDIR}"/debian-live/.stage/binary_chroot
|
||||||
|
touch "${AUTOBUILD_TEMPDIR}"/debian-live/.stage/binary_rootfs
|
||||||
|
|
||||||
|
# Generating images
|
||||||
|
mkdir -p "${AUTOBUILD_TEMPDIR}"/debian-live
|
||||||
|
cd "${AUTOBUILD_TEMPDIR}"
|
||||||
|
make-live -b usb -s generic --distribution ${DISTRIBUTION} --packages-lists ${PACKAGES_LIST} --mirror-build ${AUTOBUILD_MIRROR} --mirror-build-security ${AUTOBUILD_MIRROR_SECURITY} --source disabled ${AUTOBUILD_OPTIONS} > "${AUTOBUILD_TEMPDIR}"/debian-live/log.txt 2>&1
|
||||||
|
fi
|
||||||
|
|
||||||
|
if [ -f "${AUTOBUILD_TEMPDIR}"/debian-live/binary.img ]
|
||||||
|
then
|
||||||
|
# Moving logs
|
||||||
|
mkdir -p "${AUTOBUILD_DESTDIR}"/"${BUILD}"-builds/${AUTOBUILD_DATE}/log
|
||||||
|
mv "${AUTOBUILD_TEMPDIR}"/debian-live/log.txt "${AUTOBUILD_DESTDIR}"/"${BUILD}"-builds/${AUTOBUILD_DATE}/log/debian-live-etch+beryl-${ARCHITECTURE}-${PACKAGES_LIST}_${AUTOBUILD_DATE}-usb-log.txt
|
||||||
|
cp "${AUTOBUILD_DESTDIR}"/"${BUILD}"-builds/${AUTOBUILD_DATE}/log/debian-live-etch+beryl-${ARCHITECTURE}-${PACKAGES_LIST}_${AUTOBUILD_DATE}-iso-packages.txt "${AUTOBUILD_DESTDIR}"/"${BUILD}"-builds/${AUTOBUILD_DATE}/log/debian-live-etch+beryl-${ARCHITECTURE}-${PACKAGES_LIST}_${AUTOBUILD_DATE}-usb-packages.txt
|
||||||
|
|
||||||
|
# Moving images
|
||||||
|
mkdir -p "${AUTOBUILD_DESTDIR}"/"${BUILD}"-builds/${AUTOBUILD_DATE}/${ARCHITECTURE}
|
||||||
|
mv "${AUTOBUILD_TEMPDIR}"/debian-live/binary.img "${AUTOBUILD_DESTDIR}"/"${BUILD}"-builds/${AUTOBUILD_DATE}/${ARCHITECTURE}/debian-live-etch+beryl-${ARCHITECTURE}-${PACKAGES_LIST}.img
|
||||||
|
fi
|
||||||
|
|
||||||
|
# Cleanup
|
||||||
|
cd "${AUTOBUILD_TEMPDIR}"/debian-live
|
||||||
|
lh_clean
|
||||||
|
done
|
||||||
|
done
|
||||||
|
done
|
||||||
|
|
||||||
|
# Cleanup
|
||||||
|
if [ -e "${AUTOBUILD_TEMPDIR}"/debian-live/chroot/proc/version ]
|
||||||
|
then
|
||||||
|
umount "${AUTOBUILD_TEMPDIR}"/debian-live/chroot/proc
|
||||||
|
fi
|
||||||
|
|
||||||
|
if [ -d "${AUTOBUILD_TEMPDIR}"/debian-live/chroot/sys/kernel ]
|
||||||
|
then
|
||||||
|
umount "${AUTOBUILD_TEMPDIR}"/debian-live/chroot/sys
|
||||||
|
fi
|
||||||
|
|
||||||
|
rm -rf "${AUTOBUILD_TEMPDIR}"
|
||||||
|
|
||||||
|
# md5sums
|
||||||
|
for DIRECTORY in "${AUTOBUILD_DESTDIR}"/"${BUILD}"-builds/${AUTOBUILD_DATE}/*
|
||||||
|
do
|
||||||
|
cd "${DIRECTORY}"
|
||||||
|
md5sum * > MD5SUMS
|
||||||
|
done
|
||||||
|
|
||||||
|
# Current symlink
|
||||||
|
rm -f "${AUTOBUILD_DESTDIR}"/"${BUILD}"-builds/current
|
||||||
|
ln -s ${AUTOBUILD_DATE} "${AUTOBUILD_DESTDIR}"/"${BUILD}"-builds/current
|
|
@ -0,0 +1,136 @@
|
||||||
|
#!/bin/sh -x
|
||||||
|
|
||||||
|
set -e
|
||||||
|
|
||||||
|
BUILD="etch"
|
||||||
|
|
||||||
|
AUTOBUILD_ARCHITECTURES="`dpkg --print-architecture`"
|
||||||
|
AUTOBUILD_DISTRIBUTIONS="etch"
|
||||||
|
AUTOBUILD_PACKAGES_LISTS="standard gnome-desktop kde-desktop xfce-desktop"
|
||||||
|
AUTOBUILD_OPTIONS="--apt-recommends disabled"
|
||||||
|
|
||||||
|
AUTOBUILD_DATE="r0_1.0~a7-1"
|
||||||
|
AUTOBUILD_DESTDIR="/srv/debian-unofficial/ftp/debian-live"
|
||||||
|
AUTOBUILD_TEMPDIR="/srv/tmp"
|
||||||
|
|
||||||
|
AUTOBUILD_MIRROR="http://ftp.de.debian.org/debian/"
|
||||||
|
AUTOBUILD_MIRROR_SECURITY="http://ftp.de.debian.org/debian-security/"
|
||||||
|
|
||||||
|
# Check for live-helper availability
|
||||||
|
if [ ! -x /usr/bin/make-live ]
|
||||||
|
then
|
||||||
|
exit 0
|
||||||
|
fi
|
||||||
|
|
||||||
|
# Check for live-helper defaults
|
||||||
|
#if [ -r /etc/default/live-helper ]
|
||||||
|
#then
|
||||||
|
# . /etc/default/live-helper
|
||||||
|
#else
|
||||||
|
# echo "E: /etc/default/live-helper missing."
|
||||||
|
# exit 1
|
||||||
|
#fi
|
||||||
|
|
||||||
|
# Check for autobuild
|
||||||
|
#if [ "${AUTOBUILD}" != "enabled" ]
|
||||||
|
#then
|
||||||
|
# exit 0
|
||||||
|
#fi
|
||||||
|
|
||||||
|
# Check for build directory
|
||||||
|
if [ ! -d "${AUTOBUILD_TEMPDIR}" ]
|
||||||
|
then
|
||||||
|
mkdir -p "${AUTOBUILD_TEMPDIR}"/debian-live
|
||||||
|
else
|
||||||
|
# FIXME: maybe we should just remove the left overs.
|
||||||
|
echo "E: ${AUTOBUILD_TEMPDIR} needs cleanup."
|
||||||
|
exit 1
|
||||||
|
fi
|
||||||
|
|
||||||
|
for ARCHITECTURE in ${AUTOBUILD_ARCHITECTURES}
|
||||||
|
do
|
||||||
|
for DISTRIBUTION in ${AUTOBUILD_DISTRIBUTIONS}
|
||||||
|
do
|
||||||
|
for PACKAGES_LIST in ${AUTOBUILD_PACKAGES_LISTS}
|
||||||
|
do
|
||||||
|
if [ ! -f "${AUTOBUILD_DESTDIR}"/"${BUILD}"-builds/${AUTOBUILD_DATE}/log/debian-live-${DISTRIBUTION}-${ARCHITECTURE}-${PACKAGES_LIST}_${AUTOBUILD_DATE}-iso-log.txt ]
|
||||||
|
then
|
||||||
|
# Generating images
|
||||||
|
mkdir -p "${AUTOBUILD_TEMPDIR}"/debian-live
|
||||||
|
cd "${AUTOBUILD_TEMPDIR}"
|
||||||
|
make-live -b iso -s generic --distribution ${DISTRIBUTION} --packages-lists ${PACKAGES_LIST} --mirror-build ${AUTOBUILD_MIRROR} --mirror-build-security ${AUTOBUILD_MIRROR_SECURITY} --source enabled ${AUTOBUILD_OPTIONS} > "${AUTOBUILD_TEMPDIR}"/debian-live/log.txt 2>&1
|
||||||
|
fi
|
||||||
|
|
||||||
|
if [ -f "${AUTOBUILD_TEMPDIR}"/debian-live/binary.iso ] && [ -f "${AUTOBUILD_TEMPDIR}"/debian-live/source.tar ]
|
||||||
|
then
|
||||||
|
# Moving logs
|
||||||
|
mkdir -p "${AUTOBUILD_DESTDIR}"/"${BUILD}"-builds/${AUTOBUILD_DATE}/log
|
||||||
|
mv "${AUTOBUILD_TEMPDIR}"/debian-live/log.txt "${AUTOBUILD_DESTDIR}"/"${BUILD}"-builds/${AUTOBUILD_DATE}/log/debian-live-${DISTRIBUTION}-${ARCHITECTURE}-${PACKAGES_LIST}_${AUTOBUILD_DATE}-iso-log.txt
|
||||||
|
mv "${AUTOBUILD_TEMPDIR}"/debian-live/packages.txt "${AUTOBUILD_DESTDIR}"/"${BUILD}"-builds/${AUTOBUILD_DATE}/log/debian-live-${DISTRIBUTION}-${ARCHITECTURE}-${PACKAGES_LIST}_${AUTOBUILD_DATE}-iso-packages.txt
|
||||||
|
|
||||||
|
# Moving images
|
||||||
|
mkdir -p "${AUTOBUILD_DESTDIR}"/"${BUILD}"-builds/${AUTOBUILD_DATE}/${ARCHITECTURE}
|
||||||
|
mv "${AUTOBUILD_TEMPDIR}"/debian-live/binary.iso "${AUTOBUILD_DESTDIR}"/"${BUILD}"-builds/${AUTOBUILD_DATE}/${ARCHITECTURE}/debian-live-${DISTRIBUTION}-${ARCHITECTURE}-${PACKAGES_LIST}.iso
|
||||||
|
|
||||||
|
mkdir -p "${AUTOBUILD_DESTDIR}"/"${BUILD}"-builds/${AUTOBUILD_DATE}/source
|
||||||
|
mv "${AUTOBUILD_TEMPDIR}"/debian-live/source.tar "${AUTOBUILD_DESTDIR}"/"${BUILD}"-builds/${AUTOBUILD_DATE}/source/debian-live-${DISTRIBUTION}-source-${PACKAGES_LIST}.tar
|
||||||
|
fi
|
||||||
|
|
||||||
|
if [ ! -f "${AUTOBUILD_DESTDIR}"/"${BUILD}"-builds/${AUTOBUILD_DATE}/log/debian-live-${DISTRIBUTION}-${ARCHITECTURE}-${PACKAGES_LIST}_${AUTOBUILD_DATE}-usb-log.txt ]
|
||||||
|
then
|
||||||
|
# Workaround of missing multi-binary support in live-helper
|
||||||
|
mv "${AUTOBUILD_TEMPDIR}"/debian-live/binary/casper "${AUTOBUILD_TEMPDIR}"/debian-live/casper.tmp
|
||||||
|
rm -rf "${AUTOBUILD_TEMPDIR}"/debian-live/binary* "${AUTOBUILD_TEMPDIR}"/debian-live/.stage/binary_*
|
||||||
|
mkdir "${AUTOBUILD_TEMPDIR}"/debian-live/binary
|
||||||
|
mv "${AUTOBUILD_TEMPDIR}"/debian-live/casper.tmp "${AUTOBUILD_TEMPDIR}"/debian-live/binary/casper
|
||||||
|
touch "${AUTOBUILD_TEMPDIR}"/debian-live/.stage/binary_chroot
|
||||||
|
touch "${AUTOBUILD_TEMPDIR}"/debian-live/.stage/binary_rootfs
|
||||||
|
|
||||||
|
# Generating images
|
||||||
|
mkdir -p "${AUTOBUILD_TEMPDIR}"/debian-live
|
||||||
|
cd "${AUTOBUILD_TEMPDIR}"
|
||||||
|
make-live -b usb -s generic --distribution ${DISTRIBUTION} --packages-lists ${PACKAGES_LIST} --mirror-build ${AUTOBUILD_MIRROR} --mirror-build-security ${AUTOBUILD_MIRROR_SECURITY} --source disabled ${AUTOBUILD_OPTIONS} > "${AUTOBUILD_TEMPDIR}"/debian-live/log.txt 2>&1
|
||||||
|
fi
|
||||||
|
|
||||||
|
if [ -f "${AUTOBUILD_TEMPDIR}"/debian-live/binary.img ]
|
||||||
|
then
|
||||||
|
# Moving logs
|
||||||
|
mkdir -p "${AUTOBUILD_DESTDIR}"/"${BUILD}"-builds/${AUTOBUILD_DATE}/log
|
||||||
|
mv "${AUTOBUILD_TEMPDIR}"/debian-live/log.txt "${AUTOBUILD_DESTDIR}"/"${BUILD}"-builds/${AUTOBUILD_DATE}/log/debian-live-${DISTRIBUTION}-${ARCHITECTURE}-${PACKAGES_LIST}_${AUTOBUILD_DATE}-usb-log.txt
|
||||||
|
cp "${AUTOBUILD_DESTDIR}"/"${BUILD}"-builds/${AUTOBUILD_DATE}/log/debian-live-${DISTRIBUTION}-${ARCHITECTURE}-${PACKAGES_LIST}_${AUTOBUILD_DATE}-iso-packages.txt "${AUTOBUILD_DESTDIR}"/"${BUILD}"-builds/${AUTOBUILD_DATE}/log/debian-live-${DISTRIBUTION}-${ARCHITECTURE}-${PACKAGES_LIST}_${AUTOBUILD_DATE}-usb-packages.txt
|
||||||
|
|
||||||
|
# Moving images
|
||||||
|
mkdir -p "${AUTOBUILD_DESTDIR}"/"${BUILD}"-builds/${AUTOBUILD_DATE}/${ARCHITECTURE}
|
||||||
|
mv "${AUTOBUILD_TEMPDIR}"/debian-live/binary.img "${AUTOBUILD_DESTDIR}"/"${BUILD}"-builds/${AUTOBUILD_DATE}/${ARCHITECTURE}/debian-live-${DISTRIBUTION}-${ARCHITECTURE}-${PACKAGES_LIST}.img
|
||||||
|
fi
|
||||||
|
|
||||||
|
# Cleanup
|
||||||
|
cd "${AUTOBUILD_TEMPDIR}"/debian-live
|
||||||
|
lh_clean
|
||||||
|
done
|
||||||
|
done
|
||||||
|
done
|
||||||
|
|
||||||
|
# Cleanup
|
||||||
|
if [ -e "${AUTOBUILD_TEMPDIR}"/debian-live/chroot/proc/version ]
|
||||||
|
then
|
||||||
|
umount "${AUTOBUILD_TEMPDIR}"/debian-live/chroot/proc
|
||||||
|
fi
|
||||||
|
|
||||||
|
if [ -d "${AUTOBUILD_TEMPDIR}"/debian-live/chroot/sys/kernel ]
|
||||||
|
then
|
||||||
|
umount "${AUTOBUILD_TEMPDIR}"/debian-live/chroot/sys
|
||||||
|
fi
|
||||||
|
|
||||||
|
rm -rf "${AUTOBUILD_TEMPDIR}"
|
||||||
|
|
||||||
|
# md5sums
|
||||||
|
for DIRECTORY in "${AUTOBUILD_DESTDIR}"/"${BUILD}"-builds/${AUTOBUILD_DATE}/*
|
||||||
|
do
|
||||||
|
cd "${DIRECTORY}"
|
||||||
|
md5sum * > MD5SUMS
|
||||||
|
done
|
||||||
|
|
||||||
|
# Current symlink
|
||||||
|
rm -f "${AUTOBUILD_DESTDIR}"/"${BUILD}"-builds/current
|
||||||
|
ln -s ${AUTOBUILD_DATE} "${AUTOBUILD_DESTDIR}"/"${BUILD}"-builds/current
|
|
@ -0,0 +1,9 @@
|
||||||
|
## This is a sources.list for live-helper(7) to use packages from the
|
||||||
|
## FAI - Fully Automated Install repository.
|
||||||
|
##
|
||||||
|
## To enable it, copy this file to your config/chroot_sources directory, once
|
||||||
|
## as e.g. fai.build and once as fai.image.
|
||||||
|
|
||||||
|
# FAI - Fully Automated Install
|
||||||
|
deb http://www.informatik.uni-koeln.de/fai/download/ etch koeln
|
||||||
|
deb-src http://www.informatik.uni-koeln.de/fai/download/ etch koeln
|
|
@ -0,0 +1,136 @@
|
||||||
|
#!/bin/sh -x
|
||||||
|
|
||||||
|
set -e
|
||||||
|
|
||||||
|
BUILD="weekly"
|
||||||
|
|
||||||
|
AUTOBUILD_ARCHITECTURES="`dpkg --print-architecture`"
|
||||||
|
AUTOBUILD_DISTRIBUTIONS="lenny"
|
||||||
|
AUTOBUILD_PACKAGES_LISTS="standard gnome-desktop kde-desktop xfce-desktop"
|
||||||
|
AUTOBUILD_OPTIONS="--apt-recommends disabled"
|
||||||
|
|
||||||
|
AUTOBUILD_DATE="`date +%Y%m%d`"
|
||||||
|
AUTOBUILD_DESTDIR="/srv/debian-unofficial/ftp/debian-live"
|
||||||
|
AUTOBUILD_TEMPDIR="/srv/tmp"
|
||||||
|
|
||||||
|
AUTOBUILD_MIRROR="http://ftp.de.debian.org/debian/"
|
||||||
|
AUTOBUILD_MIRROR_SECURITY="http://ftp.de.debian.org/debian-security/"
|
||||||
|
|
||||||
|
# Check for live-helper availability
|
||||||
|
if [ ! -x /usr/bin/make-live ]
|
||||||
|
then
|
||||||
|
exit 0
|
||||||
|
fi
|
||||||
|
|
||||||
|
# Check for live-helper defaults
|
||||||
|
#if [ -r /etc/default/live-helper ]
|
||||||
|
#then
|
||||||
|
# . /etc/default/live-helper
|
||||||
|
#else
|
||||||
|
# echo "E: /etc/default/live-helper missing."
|
||||||
|
# exit 1
|
||||||
|
#fi
|
||||||
|
|
||||||
|
# Check for autobuild
|
||||||
|
#if [ "${AUTOBUILD}" != "enabled" ]
|
||||||
|
#then
|
||||||
|
# exit 0
|
||||||
|
#fi
|
||||||
|
|
||||||
|
# Check for build directory
|
||||||
|
if [ ! -d "${AUTOBUILD_TEMPDIR}" ]
|
||||||
|
then
|
||||||
|
mkdir -p "${AUTOBUILD_TEMPDIR}"/debian-live
|
||||||
|
else
|
||||||
|
# FIXME: maybe we should just remove the left overs.
|
||||||
|
echo "E: ${AUTOBUILD_TEMPDIR} needs cleanup."
|
||||||
|
exit 1
|
||||||
|
fi
|
||||||
|
|
||||||
|
for ARCHITECTURE in ${AUTOBUILD_ARCHITECTURES}
|
||||||
|
do
|
||||||
|
for DISTRIBUTION in ${AUTOBUILD_DISTRIBUTIONS}
|
||||||
|
do
|
||||||
|
for PACKAGES_LIST in ${AUTOBUILD_PACKAGES_LISTS}
|
||||||
|
do
|
||||||
|
if [ ! -f "${AUTOBUILD_DESTDIR}"/"${BUILD}"-builds/${AUTOBUILD_DATE}/log/debian-live-${DISTRIBUTION}-${ARCHITECTURE}-${PACKAGES_LIST}_${AUTOBUILD_DATE}-iso-log.txt ]
|
||||||
|
then
|
||||||
|
# Generating images
|
||||||
|
mkdir -p "${AUTOBUILD_TEMPDIR}"/debian-live
|
||||||
|
cd "${AUTOBUILD_TEMPDIR}"
|
||||||
|
make-live -b iso -s generic --distribution ${DISTRIBUTION} --packages-lists ${PACKAGES_LIST} --mirror-build ${AUTOBUILD_MIRROR} --mirror-build-security ${AUTOBUILD_MIRROR_SECURITY} --source enabled ${AUTOBUILD_OPTIONS} > "${AUTOBUILD_TEMPDIR}"/debian-live/log.txt 2>&1
|
||||||
|
fi
|
||||||
|
|
||||||
|
if [ -f "${AUTOBUILD_TEMPDIR}"/debian-live/binary.iso ] && [ -f "${AUTOBUILD_TEMPDIR}"/debian-live/source.tar ]
|
||||||
|
then
|
||||||
|
# Moving logs
|
||||||
|
mkdir -p "${AUTOBUILD_DESTDIR}"/"${BUILD}"-builds/${AUTOBUILD_DATE}/log
|
||||||
|
mv "${AUTOBUILD_TEMPDIR}"/debian-live/log.txt "${AUTOBUILD_DESTDIR}"/"${BUILD}"-builds/${AUTOBUILD_DATE}/log/debian-live-${DISTRIBUTION}-${ARCHITECTURE}-${PACKAGES_LIST}_${AUTOBUILD_DATE}-iso-log.txt
|
||||||
|
mv "${AUTOBUILD_TEMPDIR}"/debian-live/packages.txt "${AUTOBUILD_DESTDIR}"/"${BUILD}"-builds/${AUTOBUILD_DATE}/log/debian-live-${DISTRIBUTION}-${ARCHITECTURE}-${PACKAGES_LIST}_${AUTOBUILD_DATE}-iso-packages.txt
|
||||||
|
|
||||||
|
# Moving images
|
||||||
|
mkdir -p "${AUTOBUILD_DESTDIR}"/"${BUILD}"-builds/${AUTOBUILD_DATE}/${ARCHITECTURE}
|
||||||
|
mv "${AUTOBUILD_TEMPDIR}"/debian-live/binary.iso "${AUTOBUILD_DESTDIR}"/"${BUILD}"-builds/${AUTOBUILD_DATE}/${ARCHITECTURE}/debian-live-${DISTRIBUTION}-${ARCHITECTURE}-${PACKAGES_LIST}.iso
|
||||||
|
|
||||||
|
mkdir -p "${AUTOBUILD_DESTDIR}"/"${BUILD}"-builds/${AUTOBUILD_DATE}/source
|
||||||
|
mv "${AUTOBUILD_TEMPDIR}"/debian-live/source.tar "${AUTOBUILD_DESTDIR}"/"${BUILD}"-builds/${AUTOBUILD_DATE}/source/debian-live-${DISTRIBUTION}-source-${PACKAGES_LIST}.tar
|
||||||
|
fi
|
||||||
|
|
||||||
|
if [ ! -f "${AUTOBUILD_DESTDIR}"/"${BUILD}"-builds/${AUTOBUILD_DATE}/log/debian-live-${DISTRIBUTION}-${ARCHITECTURE}-${PACKAGES_LIST}_${AUTOBUILD_DATE}-usb-log.txt ]
|
||||||
|
then
|
||||||
|
# Workaround of missing multi-binary support in live-helper
|
||||||
|
mv "${AUTOBUILD_TEMPDIR}"/debian-live/binary/casper "${AUTOBUILD_TEMPDIR}"/debian-live/casper.tmp
|
||||||
|
rm -rf "${AUTOBUILD_TEMPDIR}"/debian-live/binary* "${AUTOBUILD_TEMPDIR}"/debian-live/.stage/binary_*
|
||||||
|
mkdir "${AUTOBUILD_TEMPDIR}"/debian-live/binary
|
||||||
|
mv "${AUTOBUILD_TEMPDIR}"/debian-live/casper.tmp "${AUTOBUILD_TEMPDIR}"/debian-live/binary/casper
|
||||||
|
touch "${AUTOBUILD_TEMPDIR}"/debian-live/.stage/binary_chroot
|
||||||
|
touch "${AUTOBUILD_TEMPDIR}"/debian-live/.stage/binary_rootfs
|
||||||
|
|
||||||
|
# Generating images
|
||||||
|
mkdir -p "${AUTOBUILD_TEMPDIR}"/debian-live
|
||||||
|
cd "${AUTOBUILD_TEMPDIR}"
|
||||||
|
make-live -b usb -s generic --distribution ${DISTRIBUTION} --packages-lists ${PACKAGES_LIST} --mirror-build ${AUTOBUILD_MIRROR} --mirror-build-security ${AUTOBUILD_MIRROR_SECURITY} --source disabled ${AUTOBUILD_OPTIONS} > "${AUTOBUILD_TEMPDIR}"/debian-live/log.txt 2>&1
|
||||||
|
fi
|
||||||
|
|
||||||
|
if [ -f "${AUTOBUILD_TEMPDIR}"/debian-live/binary.img ]
|
||||||
|
then
|
||||||
|
# Moving logs
|
||||||
|
mkdir -p "${AUTOBUILD_DESTDIR}"/"${BUILD}"-builds/${AUTOBUILD_DATE}/log
|
||||||
|
mv "${AUTOBUILD_TEMPDIR}"/debian-live/log.txt "${AUTOBUILD_DESTDIR}"/"${BUILD}"-builds/${AUTOBUILD_DATE}/log/debian-live-${DISTRIBUTION}-${ARCHITECTURE}-${PACKAGES_LIST}_${AUTOBUILD_DATE}-usb-log.txt
|
||||||
|
cp "${AUTOBUILD_DESTDIR}"/"${BUILD}"-builds/${AUTOBUILD_DATE}/log/debian-live-${DISTRIBUTION}-${ARCHITECTURE}-${PACKAGES_LIST}_${AUTOBUILD_DATE}-iso-packages.txt "${AUTOBUILD_DESTDIR}"/"${BUILD}"-builds/${AUTOBUILD_DATE}/log/debian-live-${DISTRIBUTION}-${ARCHITECTURE}-${PACKAGES_LIST}_${AUTOBUILD_DATE}-usb-packages.txt
|
||||||
|
|
||||||
|
# Moving images
|
||||||
|
mkdir -p "${AUTOBUILD_DESTDIR}"/"${BUILD}"-builds/${AUTOBUILD_DATE}/${ARCHITECTURE}
|
||||||
|
mv "${AUTOBUILD_TEMPDIR}"/debian-live/binary.img "${AUTOBUILD_DESTDIR}"/"${BUILD}"-builds/${AUTOBUILD_DATE}/${ARCHITECTURE}/debian-live-${DISTRIBUTION}-${ARCHITECTURE}-${PACKAGES_LIST}.img
|
||||||
|
fi
|
||||||
|
|
||||||
|
# Cleanup
|
||||||
|
cd "${AUTOBUILD_TEMPDIR}"/debian-live
|
||||||
|
lh_clean
|
||||||
|
done
|
||||||
|
done
|
||||||
|
done
|
||||||
|
|
||||||
|
# Cleanup
|
||||||
|
if [ -e "${AUTOBUILD_TEMPDIR}"/debian-live/chroot/proc/version ]
|
||||||
|
then
|
||||||
|
umount "${AUTOBUILD_TEMPDIR}"/debian-live/chroot/proc
|
||||||
|
fi
|
||||||
|
|
||||||
|
if [ -d "${AUTOBUILD_TEMPDIR}"/debian-live/chroot/sys/kernel ]
|
||||||
|
then
|
||||||
|
umount "${AUTOBUILD_TEMPDIR}"/debian-live/chroot/sys
|
||||||
|
fi
|
||||||
|
|
||||||
|
rm -rf "${AUTOBUILD_TEMPDIR}"
|
||||||
|
|
||||||
|
# md5sums
|
||||||
|
for DIRECTORY in "${AUTOBUILD_DESTDIR}"/"${BUILD}"-builds/${AUTOBUILD_DATE}/*
|
||||||
|
do
|
||||||
|
cd "${DIRECTORY}"
|
||||||
|
md5sum * > MD5SUMS
|
||||||
|
done
|
||||||
|
|
||||||
|
# Current symlink
|
||||||
|
rm -f "${AUTOBUILD_DESTDIR}"/"${BUILD}"-builds/current
|
||||||
|
ln -s ${AUTOBUILD_DATE} "${AUTOBUILD_DESTDIR}"/"${BUILD}"-builds/current
|
|
@ -11,7 +11,7 @@ set -e
|
||||||
|
|
||||||
Arguments ()
|
Arguments ()
|
||||||
{
|
{
|
||||||
ARGUMENTS="`getopt --longoptions breakpoints,conffile:,debug,force,help,logfile:,quiet,usage,verbose,version --name=${PROGRAM} --options huv --shell sh -- "${@}"`"
|
ARGUMENTS="`getopt --longoptions breakpoints,conffile:,debug,force,help,logfile:,trace,root-command:,quiet,usage,verbose,version --name=${PROGRAM} --options huv --shell sh -- "${@}"`"
|
||||||
|
|
||||||
if [ "${?}" != "0" ]
|
if [ "${?}" != "0" ]
|
||||||
then
|
then
|
||||||
|
@ -48,6 +48,14 @@ Arguments ()
|
||||||
LH_LOGFILE="${2}"; shift 2
|
LH_LOGFILE="${2}"; shift 2
|
||||||
;;
|
;;
|
||||||
|
|
||||||
|
--trace)
|
||||||
|
LH_TRACE="enabled"; shift
|
||||||
|
;;
|
||||||
|
|
||||||
|
--root-command)
|
||||||
|
LH_ROOT_COMMAND="${2}"; shift
|
||||||
|
;;
|
||||||
|
|
||||||
--quiet)
|
--quiet)
|
||||||
LH_QUIET="enabled"; shift
|
LH_QUIET="enabled"; shift
|
||||||
;;
|
;;
|
||||||
|
|
|
@ -9,11 +9,11 @@
|
||||||
|
|
||||||
Breakpoint ()
|
Breakpoint ()
|
||||||
{
|
{
|
||||||
|
NAME="${1}"
|
||||||
|
|
||||||
if [ "${LH_BREAKPOINTS}" = "enabled" ]
|
if [ "${LH_BREAKPOINTS}" = "enabled" ]
|
||||||
then
|
then
|
||||||
BREAKPOINT="${1}"
|
Echo_message "Waiting at ${NAME}"
|
||||||
|
|
||||||
Echo_message "Waiting at ${BREAKPOINT}"
|
|
||||||
read
|
read
|
||||||
fi
|
fi
|
||||||
}
|
}
|
||||||
|
|
|
@ -15,5 +15,5 @@ Chroot ()
|
||||||
|
|
||||||
# Executing commands in chroot
|
# Executing commands in chroot
|
||||||
Echo_debug "Executing: ${COMMANDS}"
|
Echo_debug "Executing: ${COMMANDS}"
|
||||||
chroot chroot /usr/bin/env -i HOME="/root" PATH="/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin" TERM="${TERM}" ftp_proxy="${LH_APT_FTPPROXY}" http_proxy="${LH_APT_HTTPPROXY}" DEBIAN_FRONTEND="${LH_DEBCONF_FRONTEND}" DEBIAN_PRIORITY="${LH_DEBCONF_PRIORITY}" DEBCONF_NOWARNINGS="${LH_DEBCONF_NOWARNINGS}" ${COMMANDS}
|
${LH_ROOT_COMMAND} chroot chroot /usr/bin/env -i HOME="/root" PATH="/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin" TERM="${TERM}" ftp_proxy="${LH_APT_FTPPROXY}" http_proxy="${LH_APT_HTTPPROXY}" DEBIAN_FRONTEND="${LH_DEBCONF_FRONTEND}" DEBIAN_PRIORITY="${LH_DEBCONF_PRIORITY}" DEBCONF_NOWARNINGS="${LH_DEBCONF_NOWARNINGS}" ${COMMANDS}
|
||||||
}
|
}
|
||||||
|
|
|
@ -10,4 +10,4 @@
|
||||||
set -e
|
set -e
|
||||||
|
|
||||||
PROGRAM="`basename ${0}`"
|
PROGRAM="`basename ${0}`"
|
||||||
VERSION="1.0~a6"
|
VERSION="1.0~a7"
|
||||||
|
|
|
@ -170,6 +170,12 @@ Set_defaults ()
|
||||||
fi
|
fi
|
||||||
fi
|
fi
|
||||||
|
|
||||||
|
# Setting tasksel
|
||||||
|
if [ -z "${LH_TASKSEL}" ]
|
||||||
|
then
|
||||||
|
LH_TASKSEL="aptitude"
|
||||||
|
fi
|
||||||
|
|
||||||
# Setting root directory
|
# Setting root directory
|
||||||
if [ -z "${LIVE_ROOT}" ]
|
if [ -z "${LIVE_ROOT}" ]
|
||||||
then
|
then
|
||||||
|
@ -210,6 +216,12 @@ Set_defaults ()
|
||||||
LH_VERBOSE="disabled"
|
LH_VERBOSE="disabled"
|
||||||
fi
|
fi
|
||||||
|
|
||||||
|
# If we are root, disable root command
|
||||||
|
if [ "`id -u`" = "0" ]
|
||||||
|
then
|
||||||
|
LIVE_ROOT_COMMAND=""
|
||||||
|
fi
|
||||||
|
|
||||||
## config/bootstrap
|
## config/bootstrap
|
||||||
|
|
||||||
# Setting architecture value
|
# Setting architecture value
|
||||||
|
@ -305,7 +317,15 @@ Set_defaults ()
|
||||||
# Setting sections value
|
# Setting sections value
|
||||||
if [ -z "${LIVE_SECTIONS}" ]
|
if [ -z "${LIVE_SECTIONS}" ]
|
||||||
then
|
then
|
||||||
|
case "${LH_MODE}" in
|
||||||
|
debian)
|
||||||
LIVE_SECTIONS="main"
|
LIVE_SECTIONS="main"
|
||||||
|
;;
|
||||||
|
|
||||||
|
ubuntu)
|
||||||
|
LIVE_SECTIONS="main restricted"
|
||||||
|
;;
|
||||||
|
esac
|
||||||
fi
|
fi
|
||||||
|
|
||||||
## config/chroot
|
## config/chroot
|
||||||
|
|
|
@ -11,34 +11,44 @@ set -e
|
||||||
|
|
||||||
Echo_debug ()
|
Echo_debug ()
|
||||||
{
|
{
|
||||||
|
STRING="${1}"
|
||||||
|
|
||||||
if [ "${LH_DEBUG}" = "enabled" ]
|
if [ "${LH_DEBUG}" = "enabled" ]
|
||||||
then
|
then
|
||||||
echo "D: ${@}"
|
echo "D: ${STRING}"
|
||||||
fi
|
fi
|
||||||
}
|
}
|
||||||
|
|
||||||
Echo_error ()
|
Echo_error ()
|
||||||
{
|
{
|
||||||
echo "E: ${@}"
|
STRING="${1}"
|
||||||
|
|
||||||
|
echo "E: ${STRING}"
|
||||||
}
|
}
|
||||||
|
|
||||||
Echo_message ()
|
Echo_message ()
|
||||||
{
|
{
|
||||||
|
STRING="${1}"
|
||||||
|
|
||||||
if [ "${LH_QUIET}" != "enabled" ]
|
if [ "${LH_QUIET}" != "enabled" ]
|
||||||
then
|
then
|
||||||
echo "P: ${@}"
|
echo "P: ${STRING}"
|
||||||
fi
|
fi
|
||||||
}
|
}
|
||||||
|
|
||||||
Echo_verbose ()
|
Echo_verbose ()
|
||||||
{
|
{
|
||||||
|
STRING="${1}"
|
||||||
|
|
||||||
if [ "${LH_VERBOSE}" = "enabled" ]
|
if [ "${LH_VERBOSE}" = "enabled" ]
|
||||||
then
|
then
|
||||||
echo "I: ${@}"
|
echo "I: ${STRING}"
|
||||||
fi
|
fi
|
||||||
}
|
}
|
||||||
|
|
||||||
Echo_warning ()
|
Echo_warning ()
|
||||||
{
|
{
|
||||||
echo "W: ${@}"
|
STRING="${1}"
|
||||||
|
|
||||||
|
echo "W: ${STRING}"
|
||||||
}
|
}
|
||||||
|
|
|
@ -13,6 +13,7 @@ Exit ()
|
||||||
{
|
{
|
||||||
if [ "${LH_DEBUG}" = "enabled" ]
|
if [ "${LH_DEBUG}" = "enabled" ]
|
||||||
then
|
then
|
||||||
|
# Dump variables
|
||||||
set | grep -e ^LH -e ^LIVE
|
set | grep -e ^LH -e ^LIVE
|
||||||
fi
|
fi
|
||||||
|
|
||||||
|
|
|
@ -0,0 +1,53 @@
|
||||||
|
#!/bin/sh
|
||||||
|
|
||||||
|
# packages.sh - handle packages installation
|
||||||
|
# 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
|
||||||
|
|
||||||
|
Check_package ()
|
||||||
|
{
|
||||||
|
FILE="${1}"
|
||||||
|
PACKAGE="${2}"
|
||||||
|
|
||||||
|
if [ ! -f "${FILE}" ]
|
||||||
|
then
|
||||||
|
PACKAGES="${PACKAGES} ${PACKAGE}"
|
||||||
|
fi
|
||||||
|
}
|
||||||
|
|
||||||
|
Install_package ()
|
||||||
|
{
|
||||||
|
if [ -n "${PACKAGES}" ]
|
||||||
|
then
|
||||||
|
case "${LH_APT}" in
|
||||||
|
apt|apt-get)
|
||||||
|
Chroot "apt-get install --yes ${PACKAGES}"
|
||||||
|
;;
|
||||||
|
|
||||||
|
aptitude)
|
||||||
|
Chroot "aptitude install --assume-yes ${PACKAGES}"
|
||||||
|
;;
|
||||||
|
esac
|
||||||
|
fi
|
||||||
|
}
|
||||||
|
|
||||||
|
Remove_package ()
|
||||||
|
{
|
||||||
|
if [ -n "${PACKAGES}" ]
|
||||||
|
then
|
||||||
|
case "${LH_APT}" in
|
||||||
|
apt|apt-get)
|
||||||
|
Chroot "apt-get remove --purge --yes ${PACKAGES}"
|
||||||
|
;;
|
||||||
|
|
||||||
|
aptitude)
|
||||||
|
Chroot "aptitude purge --assume-yes ${PACKAGES}"
|
||||||
|
;;
|
||||||
|
esac
|
||||||
|
fi
|
||||||
|
}
|
|
@ -17,14 +17,15 @@ Check_stagefile ()
|
||||||
# Checking stage file
|
# Checking stage file
|
||||||
if [ -f "${FILE}" ]
|
if [ -f "${FILE}" ]
|
||||||
then
|
then
|
||||||
if [ "${LH_FORCE}" = "enabled" ]
|
if [ "${LH_FORCE}" != "enabled" ]
|
||||||
then
|
then
|
||||||
# Forcing execution
|
|
||||||
rm -f "${FILE}"
|
|
||||||
else
|
|
||||||
# Skipping execution
|
# Skipping execution
|
||||||
Echo_warning "skipping ${NAME}"
|
Echo_warning "skipping ${NAME}"
|
||||||
exit 0
|
exit 0
|
||||||
|
else
|
||||||
|
# Forcing execution
|
||||||
|
Echo_message "forcing ${NAME}"
|
||||||
|
rm -f "${FILE}"
|
||||||
fi
|
fi
|
||||||
fi
|
fi
|
||||||
}
|
}
|
||||||
|
|
|
@ -45,25 +45,30 @@ Check_lockfile .lock
|
||||||
# Creating lock file
|
# Creating lock file
|
||||||
Create_lockfile .lock
|
Create_lockfile .lock
|
||||||
|
|
||||||
# Normally, proc is not mounted here, but people tend to be lazy
|
# Normally, virtual filesystems are not mounted here, but people tend to be lazy
|
||||||
if [ -f chroot/proc/version ]
|
if [ -f chroot/proc/version ]
|
||||||
then
|
then
|
||||||
umount chroot/proc
|
${LH_ROOT_COMMAND} umount chroot/proc
|
||||||
fi
|
fi
|
||||||
|
|
||||||
if [ -d chroot/sys/kernel ]
|
if [ -d chroot/sys/kernel ]
|
||||||
then
|
then
|
||||||
umount chroot/sys
|
${LH_ROOT_COMMAND} umount chroot/sys
|
||||||
fi
|
fi
|
||||||
|
|
||||||
# Removing old chroot
|
# Removing old chroot
|
||||||
rm -rf chroot/chroot
|
${LH_ROOT_COMMAND} rm -rf chroot/chroot
|
||||||
rm -rf chroot.tmp
|
${LH_ROOT_COMMAND} rm -rf chroot.tmp
|
||||||
|
|
||||||
# Copying new chroot
|
# Copying new chroot
|
||||||
Echo_message "Copying chroot, this can take a while."
|
Echo_message "Copying chroot, this can take a while."
|
||||||
cp -a chroot chroot.tmp
|
${LH_ROOT_COMMAND} cp -a chroot chroot.tmp
|
||||||
mv chroot.tmp chroot/chroot
|
${LH_ROOT_COMMAND} mv chroot.tmp chroot/chroot
|
||||||
|
|
||||||
|
if [ -n "${LH_ROOT_COMMAND}" ]
|
||||||
|
then
|
||||||
|
${LH_ROOT_COMMAND} chown -R `whoami`:`whoami` chroot
|
||||||
|
fi
|
||||||
|
|
||||||
# Creating stage file
|
# Creating stage file
|
||||||
Create_stagefile .stage/binary_chroot
|
Create_stagefile .stage/binary_chroot
|
||||||
|
|
|
@ -66,24 +66,11 @@ case "${LIVE_FILESYSTEM}" in
|
||||||
;;
|
;;
|
||||||
esac
|
esac
|
||||||
|
|
||||||
if [ ! -f chroot/usr/bin/aespipe ]
|
# Checking depends
|
||||||
then
|
Check_package chroot/usr/bin/aespipe aespipe
|
||||||
PACKAGES="${PACKAGES} aespipe"
|
|
||||||
fi
|
|
||||||
|
|
||||||
if [ -n "${PACKAGES}" ]
|
# Installing depends
|
||||||
then
|
Install_package
|
||||||
# Installing packages
|
|
||||||
case "${LH_APT}" in
|
|
||||||
apt|apt-get)
|
|
||||||
Chroot "apt-get install --yes ${PACKAGES}"
|
|
||||||
;;
|
|
||||||
|
|
||||||
aptitude)
|
|
||||||
Chroot "aptitude install --assume-yes ${PACKAGES}"
|
|
||||||
;;
|
|
||||||
esac
|
|
||||||
fi
|
|
||||||
|
|
||||||
# Moving image
|
# Moving image
|
||||||
mv binary/casper/filesystem.${LIVE_FILESYSTEM} chroot
|
mv binary/casper/filesystem.${LIVE_FILESYSTEM} chroot
|
||||||
|
@ -113,18 +100,8 @@ Chroot "sh encrypt"
|
||||||
mv chroot/filesystem.${LIVE_FILESYSTEM} binary/casper
|
mv chroot/filesystem.${LIVE_FILESYSTEM} binary/casper
|
||||||
rm -f chroot/encrypt
|
rm -f chroot/encrypt
|
||||||
|
|
||||||
# Removing packages
|
# Removing depends
|
||||||
if [ -n "${PACKAGES}" ]
|
Remove_package
|
||||||
then
|
|
||||||
case "${LH_APT}" in
|
|
||||||
apt|apt-get)
|
|
||||||
Chroot "apt-get remove --purge --yes ${PACKAGES}"
|
|
||||||
;;
|
|
||||||
aptitude)
|
|
||||||
Chroot "aptitude purge --assume-yes ${PACKAGES}"
|
|
||||||
;;
|
|
||||||
esac
|
|
||||||
fi
|
|
||||||
|
|
||||||
# Creating stage file
|
# Creating stage file
|
||||||
Create_stagefile .stage/binary_encryption
|
Create_stagefile .stage/binary_encryption
|
||||||
|
|
|
@ -68,24 +68,11 @@ then
|
||||||
fi
|
fi
|
||||||
fi
|
fi
|
||||||
|
|
||||||
if [ ! -f chroot/usr/sbin/grub ]
|
# Checking depends
|
||||||
then
|
Check_package chroot/usr/sbin/grub grub
|
||||||
PACKAGES="${PACKAGES} grub"
|
|
||||||
fi
|
|
||||||
|
|
||||||
if [ -n "${PACKAGES}" ]
|
# Installing depends
|
||||||
then
|
Install_package
|
||||||
# Installing symlinks
|
|
||||||
case "${LH_APT}" in
|
|
||||||
apt|apt-get)
|
|
||||||
Chroot "apt-get install --yes ${PACKAGES}"
|
|
||||||
;;
|
|
||||||
|
|
||||||
aptitude)
|
|
||||||
Chroot "aptitude install --assume-yes ${PACKAGES}"
|
|
||||||
;;
|
|
||||||
esac
|
|
||||||
fi
|
|
||||||
|
|
||||||
# Setting destination directory
|
# Setting destination directory
|
||||||
case "${LIVE_BINARY_IMAGE}" in
|
case "${LIVE_BINARY_IMAGE}" in
|
||||||
|
@ -176,15 +163,20 @@ cp -r "${LIVE_TEMPLATES}"/grub/* binary/boot/grub
|
||||||
# Copyring grub
|
# Copyring grub
|
||||||
case ${LIVE_BINARY_IMAGE} in
|
case ${LIVE_BINARY_IMAGE} in
|
||||||
iso)
|
iso)
|
||||||
cp chroot/usr/lib/grub/i386-pc/stage2_eltorito binary/boot/grub
|
cp chroot/usr/lib/grub/*/stage2_eltorito binary/boot/grub
|
||||||
;;
|
;;
|
||||||
|
|
||||||
usb|hdd)
|
usb|hdd)
|
||||||
cp chroot/usr/lib/grub/i386-pc/stage1 chroot/usr/lib/grub/i386-pc/stage2 binary/boot/grub
|
cp chroot/usr/lib/grub/*/stage1 chroot/usr/lib/grub/*/stage2 binary/boot/grub
|
||||||
;;
|
;;
|
||||||
esac
|
esac
|
||||||
|
|
||||||
# Copying splash screen
|
# Copying splash screen
|
||||||
|
if [ -f config/binary_grub/splash.xpm.gz ]
|
||||||
|
then
|
||||||
|
LIVE_GRUB_SPLASH="config/binary_grub/splash.xpm.gz"
|
||||||
|
fi
|
||||||
|
|
||||||
if [ -n "${LIVE_GRUB_SPLASH}" ]
|
if [ -n "${LIVE_GRUB_SPLASH}" ]
|
||||||
then
|
then
|
||||||
if [ "${LIVE_GRUB_SPLASH}" = "none" ]
|
if [ "${LIVE_GRUB_SPLASH}" = "none" ]
|
||||||
|
@ -213,19 +205,8 @@ EOF
|
||||||
sed -i -e "s#LIVE_KERNEL_LIVE#${LINUX}#" -e "s#LIVE_KERNEL_INSTALL#${LIVE_KERNEL_INSTALL}#" -e "s#LIVE_MEMTEST#${MEMTEST}#" binary/boot/grub/menu.lst
|
sed -i -e "s#LIVE_KERNEL_LIVE#${LINUX}#" -e "s#LIVE_KERNEL_INSTALL#${LIVE_KERNEL_INSTALL}#" -e "s#LIVE_MEMTEST#${MEMTEST}#" binary/boot/grub/menu.lst
|
||||||
sed -i -e "s#LIVE_BOOTAPPEND#${LIVE_BOOTAPPEND}#" binary/boot/grub/menu.lst
|
sed -i -e "s#LIVE_BOOTAPPEND#${LIVE_BOOTAPPEND}#" binary/boot/grub/menu.lst
|
||||||
|
|
||||||
if [ -n "${PACKAGES}" ]
|
# Removing depends
|
||||||
then
|
Remove_package
|
||||||
# Removing packages
|
|
||||||
case "${LH_APT}" in
|
|
||||||
apt|apt-get)
|
|
||||||
Chroot "apt-get remove --purge --yes ${PACKAGES}"
|
|
||||||
;;
|
|
||||||
|
|
||||||
aptitude)
|
|
||||||
Chroot "aptitude purge --assume-yes ${PACKAGES}"
|
|
||||||
;;
|
|
||||||
esac
|
|
||||||
fi
|
|
||||||
|
|
||||||
# Creating stage file
|
# Creating stage file
|
||||||
Create_stagefile .stage/binary_grub
|
Create_stagefile .stage/binary_grub
|
||||||
|
|
|
@ -49,24 +49,11 @@ do
|
||||||
# Creating lock file
|
# Creating lock file
|
||||||
Create_lockfile .lock
|
Create_lockfile .lock
|
||||||
|
|
||||||
if [ ! -f chroot/usr/bin/"${LH_GENISOIMAGE}" ]
|
# Checking depends
|
||||||
then
|
Check_package chroot/usr/bin/"${LH_GENISOIMAGE}" ${LH_GENISOIMAGE}
|
||||||
PACKAGES="${PACKAGES} ${LH_GENISOIMAGE}"
|
|
||||||
fi
|
|
||||||
|
|
||||||
if [ -n "${PACKAGES}" ]
|
# Installing depends
|
||||||
then
|
Install_package
|
||||||
# Installing packages
|
|
||||||
case "${LH_APT}" in
|
|
||||||
apt|apt-get)
|
|
||||||
Chroot "apt-get install --yes ${PACKAGES}"
|
|
||||||
;;
|
|
||||||
|
|
||||||
aptitude)
|
|
||||||
Chroot "aptitude install --assume-yes ${PACKAGES}"
|
|
||||||
;;
|
|
||||||
esac
|
|
||||||
fi
|
|
||||||
|
|
||||||
# Remove old iso image
|
# Remove old iso image
|
||||||
if [ -f binary.iso ]
|
if [ -f binary.iso ]
|
||||||
|
@ -74,6 +61,11 @@ do
|
||||||
rm -f binary.iso
|
rm -f binary.iso
|
||||||
fi
|
fi
|
||||||
|
|
||||||
|
if [ "${LH_VERBOSE}" = "enabled" ]
|
||||||
|
then
|
||||||
|
GENISOIMAGE_OPTIONS="${GENISOIMAGE_OPTIONS} -i"
|
||||||
|
fi
|
||||||
|
|
||||||
# Moving image
|
# Moving image
|
||||||
mv binary chroot
|
mv binary chroot
|
||||||
|
|
||||||
|
@ -82,37 +74,26 @@ do
|
||||||
then
|
then
|
||||||
case "${LIVE_BOOTLOADER}" in
|
case "${LIVE_BOOTLOADER}" in
|
||||||
grub)
|
grub)
|
||||||
Chroot "${LH_GENISOIMAGE} -o binary.iso -r -J -l -b boot/grub/stage2_eltorito -m boot/grub/stage2_eltorito -no-emul-boot -boot-load-size 4 -boot-info-table binary"
|
Chroot "${LH_GENISOIMAGE} ${GENISOIMAGE_OPTIONS} -o binary.iso -r -J -l -b boot/grub/stage2_eltorito -m boot/grub/stage2_eltorito -no-emul-boot -boot-load-size 4 -boot-info-table binary"
|
||||||
;;
|
;;
|
||||||
|
|
||||||
syslinux)
|
syslinux)
|
||||||
#Chroot "${LH_GENISOIMAGE} -A \"Debian Live\" -p \"Debian Live; http://debian-live.alioth.debian.org/; debian-live-devel@lists.alioth.debian.org\" -publisher \"Debian Live; http://debian-live.alioth.debian.org/; debian-live-devel@lists.alioth.debian.org\" -o binary.iso -r -J -l -V \"${LIVE_ISO_VOLUME}\" -b isolinux/isolinux.bin -c isolinux/boot.cat -no-emul-boot -boot-load-size 4 -boot-info-table binary"
|
#Chroot "${LH_GENISOIMAGE} -A \"Debian Live\" -p \"Debian Live; http://debian-live.alioth.debian.org/; debian-live-devel@lists.alioth.debian.org\" -publisher \"Debian Live; http://debian-live.alioth.debian.org/; debian-live-devel@lists.alioth.debian.org\" -o binary.iso -r -J -l -V \"${LIVE_ISO_VOLUME}\" -b isolinux/isolinux.bin -c isolinux/boot.cat -no-emul-boot -boot-load-size 4 -boot-info-table binary"
|
||||||
Chroot "${LH_GENISOIMAGE} -o binary.iso -r -J -l -b isolinux/isolinux.bin -m isolinux/isolinux.bin -c isolinux/boot.cat -no-emul-boot -boot-load-size 4 -boot-info-table binary"
|
Chroot "${LH_GENISOIMAGE} ${GENISOIMAGE_OPTIONS} -o binary.iso -r -J -l -b isolinux/isolinux.bin -m isolinux/isolinux.bin -c isolinux/boot.cat -no-emul-boot -boot-load-size 4 -boot-info-table binary"
|
||||||
;;
|
;;
|
||||||
esac
|
esac
|
||||||
else
|
else
|
||||||
Echo_warning "Bootloader on your architecture not yet supported (Continuing in 5 seconds)."
|
Echo_warning "Bootloader on your architecture not yet supported (Continuing in 5 seconds)."
|
||||||
sleep 5
|
sleep 5
|
||||||
#Chroot "${LH_GENISOIMAGE} -A 'Debian Live' -p 'Debian Live; http://debian-live.alioth.debian.org/; debian-live-devel@lists.alioth.debian.org' -publisher 'Debian Live; http://debian-live.alioth.debian.org/; debian-live-devel@lists.alioth.debian.org' -o binary.iso -r -J -l -V \"${LIVE_ISO_VOLUME}\" binary"
|
#Chroot "${LH_GENISOIMAGE} -A 'Debian Live' -p 'Debian Live; http://debian-live.alioth.debian.org/; debian-live-devel@lists.alioth.debian.org' -publisher 'Debian Live; http://debian-live.alioth.debian.org/; debian-live-devel@lists.alioth.debian.org' -o binary.iso -r -J -l -V \"${LIVE_ISO_VOLUME}\" binary"
|
||||||
Chroot "${LH_GENISOIMAGE} -o binary.iso -r -J -l binary"
|
Chroot "${LH_GENISOIMAGE} ${GENISOIMAGE} -o binary.iso -r -J -l binary"
|
||||||
fi
|
fi
|
||||||
|
|
||||||
# Move image
|
# Move image
|
||||||
mv chroot/binary chroot/binary.iso ./
|
mv chroot/binary chroot/binary.iso ./
|
||||||
|
|
||||||
# Removing packages
|
# Removing depends
|
||||||
if [ -n "${PACKAGES}" ]
|
Remove_package
|
||||||
then
|
|
||||||
case "${LH_APT}" in
|
|
||||||
apt|apt-get)
|
|
||||||
Chroot "apt-get remove --purge --yes ${PACKAGES}"
|
|
||||||
;;
|
|
||||||
|
|
||||||
aptitude)
|
|
||||||
Chroot "aptitude purge --assume-yes ${PACKAGES}"
|
|
||||||
;;
|
|
||||||
esac
|
|
||||||
fi
|
|
||||||
|
|
||||||
# Creating stage file
|
# Creating stage file
|
||||||
Create_stagefile .stage/binary_iso
|
Create_stagefile .stage/binary_iso
|
||||||
|
|
|
@ -56,35 +56,19 @@ then
|
||||||
exit 0
|
exit 0
|
||||||
fi
|
fi
|
||||||
|
|
||||||
|
# Checking depends
|
||||||
case "${LIVE_MEMTEST}" in
|
case "${LIVE_MEMTEST}" in
|
||||||
memtest86)
|
memtest86)
|
||||||
if [ ! -f chroot/boot/memtest86.bin ]
|
Check_package chroot/boot/memtest86.bin memtest86
|
||||||
then
|
|
||||||
PACKAGES="${PACKAGES} memtest86"
|
|
||||||
fi
|
|
||||||
;;
|
;;
|
||||||
|
|
||||||
memtest86+)
|
memtest86+)
|
||||||
if [ ! -f chroot/boot/memtest86+.bin ]
|
Check_package chroot/boot/memtest86+.bin memtest86+
|
||||||
then
|
|
||||||
PACKAGES="${PACKAGES} memtest86+"
|
|
||||||
fi
|
|
||||||
;;
|
;;
|
||||||
esac
|
esac
|
||||||
|
|
||||||
if [ -n "${PACKAGES}" ]
|
# Installing depends
|
||||||
then
|
Install_package
|
||||||
# Installing symlinks
|
|
||||||
case "${LH_APT}" in
|
|
||||||
apt|apt-get)
|
|
||||||
Chroot "apt-get install --yes ${PACKAGES}"
|
|
||||||
;;
|
|
||||||
|
|
||||||
aptitude)
|
|
||||||
Chroot "aptitude install --assume-yes ${PACKAGES}"
|
|
||||||
;;
|
|
||||||
esac
|
|
||||||
fi
|
|
||||||
|
|
||||||
# Setting destination directory
|
# Setting destination directory
|
||||||
case "${LIVE_BINARY_IMAGE}" in
|
case "${LIVE_BINARY_IMAGE}" in
|
||||||
|
@ -132,19 +116,8 @@ case "${LIVE_MEMTEST}" in
|
||||||
;;
|
;;
|
||||||
esac
|
esac
|
||||||
|
|
||||||
if [ -n "${PACKAGES}" ]
|
# Removing depends
|
||||||
then
|
Remove_package
|
||||||
# Removing packages
|
|
||||||
case "${LH_APT}" in
|
|
||||||
apt|apt-get)
|
|
||||||
Chroot "apt-get remove --purge --yes ${PACKAGES}"
|
|
||||||
;;
|
|
||||||
|
|
||||||
aptitude)
|
|
||||||
Chroot "aptitude purge --assume-yes ${PACKAGES}"
|
|
||||||
;;
|
|
||||||
esac
|
|
||||||
fi
|
|
||||||
|
|
||||||
# Creating stage file
|
# Creating stage file
|
||||||
Create_stagefile .stage/binary_memtest
|
Create_stagefile .stage/binary_memtest
|
||||||
|
|
|
@ -54,24 +54,11 @@ fi
|
||||||
|
|
||||||
case "${LIVE_FILESYSTEM}" in
|
case "${LIVE_FILESYSTEM}" in
|
||||||
ext2)
|
ext2)
|
||||||
if [ ! -f chroot/usr/bin/genext2fs ]
|
# Checking depends
|
||||||
then
|
Check_package chroot/usr/bin/genext2fs genext2fs
|
||||||
PACKAGES="${PACKAGES} genext2fs"
|
|
||||||
fi
|
|
||||||
|
|
||||||
if [ -n "${PACKAGES}" ]
|
# Installing depends
|
||||||
then
|
Install_package
|
||||||
# Installing packages
|
|
||||||
case "${LH_APT}" in
|
|
||||||
apt|apt-get)
|
|
||||||
Chroot "apt-get install --yes ${PACKAGES}"
|
|
||||||
;;
|
|
||||||
|
|
||||||
aptitude)
|
|
||||||
Chroot "aptitude install --assume-yes ${PACKAGES}"
|
|
||||||
;;
|
|
||||||
esac
|
|
||||||
fi
|
|
||||||
|
|
||||||
# Remove old ext2 image
|
# Remove old ext2 image
|
||||||
if [ -f binary/casper/filesystem.ext2 ]
|
if [ -f binary/casper/filesystem.ext2 ]
|
||||||
|
@ -88,19 +75,8 @@ case "${LIVE_FILESYSTEM}" in
|
||||||
mv chroot/filesystem.ext2 binary/casper
|
mv chroot/filesystem.ext2 binary/casper
|
||||||
rm -rf chroot/chroot
|
rm -rf chroot/chroot
|
||||||
|
|
||||||
# Removing packages
|
# Removing depends
|
||||||
if [ -n "${PACKAGES}" ]
|
Remove_package
|
||||||
then
|
|
||||||
case "${LH_APT}" in
|
|
||||||
apt|apt-get)
|
|
||||||
Chroot "apt-get remove --purge --yes ${PACKAGES}"
|
|
||||||
;;
|
|
||||||
|
|
||||||
aptitude)
|
|
||||||
Chroot "aptitude purge --assume-yes ${PACKAGES}"
|
|
||||||
;;
|
|
||||||
esac
|
|
||||||
fi
|
|
||||||
;;
|
;;
|
||||||
|
|
||||||
plain)
|
plain)
|
||||||
|
@ -113,24 +89,11 @@ case "${LIVE_FILESYSTEM}" in
|
||||||
;;
|
;;
|
||||||
|
|
||||||
squashfs)
|
squashfs)
|
||||||
if [ ! -f chroot/usr/sbin/mksquashfs ]
|
# Checking depends
|
||||||
then
|
Check_package chroot/usr/sbin/mksquashfs squashfs-tools
|
||||||
PACKAGES="${PACKAGES} squashfs-tools"
|
|
||||||
fi
|
|
||||||
|
|
||||||
if [ -n "${PACKAGES}" ]
|
# Installing depends
|
||||||
then
|
Install_package
|
||||||
# Installing packages
|
|
||||||
case "${LH_APT}" in
|
|
||||||
apt|apt-get)
|
|
||||||
Chroot "apt-get install --yes ${PACKAGES}"
|
|
||||||
;;
|
|
||||||
|
|
||||||
aptitude)
|
|
||||||
Chroot "aptitude install --assume-yes ${PACKAGES}"
|
|
||||||
;;
|
|
||||||
esac
|
|
||||||
fi
|
|
||||||
|
|
||||||
# Remove old squashfs image
|
# Remove old squashfs image
|
||||||
if [ -f binary/casper/filesystem.squashfs ]
|
if [ -f binary/casper/filesystem.squashfs ]
|
||||||
|
@ -138,31 +101,35 @@ case "${LIVE_FILESYSTEM}" in
|
||||||
rm -f binary/casper/filesystem.squashfs
|
rm -f binary/casper/filesystem.squashfs
|
||||||
fi
|
fi
|
||||||
|
|
||||||
|
if [ "${LH_QUIET}" = "enabled" ]
|
||||||
|
then
|
||||||
|
MKSQUASHFS_OPTIONS="${MKSQUASHFS_OPTIONS} -no-progress"
|
||||||
|
fi
|
||||||
|
|
||||||
|
if [ "${LH_VERBOSE}" = "enabled" ]
|
||||||
|
then
|
||||||
|
MKSQUASHFS_OPTIONS="${MKSQUASHFS_OPTIONS} -i"
|
||||||
|
fi
|
||||||
|
|
||||||
# Create image
|
# Create image
|
||||||
if [ "${LIVE_PACKAGES_LISTS}" != "minimal" ] && [ "${LIVE_PACKAGES_LISTS}" != "mini" ]
|
if [ "${LIVE_PACKAGES_LISTS}" != "minimal" ] && [ "${LIVE_PACKAGES_LISTS}" != "mini" ]
|
||||||
then
|
then
|
||||||
Chroot "mksquashfs chroot filesystem.squashfs"
|
Chroot "mksquashfs ${MKSQUASHFS_OPTIONS} chroot filesystem.squashfs"
|
||||||
else
|
else
|
||||||
Chroot "mksquashfs chroot filesystem.squashfs -e chroot/boot/vmlinuz* chroot/boot/initrd.img* chroot/vmlinuz* chroot/initrd.img* chroot/boot/config-* chroot/boot/System.map-*"
|
Chroot "mksquashfs ${MKSQUASHFS_OPTIONS} chroot filesystem.squashfs -e chroot/boot/vmlinuz* chroot/boot/initrd.img* chroot/vmlinuz* chroot/initrd.img* chroot/boot/config-* chroot/boot/System.map-*"
|
||||||
fi
|
fi
|
||||||
|
|
||||||
# Move image
|
# Move image
|
||||||
mv chroot/filesystem.squashfs binary/casper
|
${LH_ROOT_COMMAND} mv chroot/filesystem.squashfs binary/casper
|
||||||
rm -rf chroot/chroot
|
${LH_ROOT_COMMAND} rm -rf chroot/chroot
|
||||||
|
|
||||||
# Removing packages
|
if [ -n "${LH_ROOT_COMMAND}" ]
|
||||||
if [ -n "${PACKAGES}" ]
|
|
||||||
then
|
then
|
||||||
case "${LH_APT}" in
|
${LH_ROOT_COMMAND} chown -R `whoami`:`whoami` binary/casper
|
||||||
apt|apt-get)
|
|
||||||
Chroot "apt-get remove --purge --yes ${PACKAGES}"
|
|
||||||
;;
|
|
||||||
|
|
||||||
aptitude)
|
|
||||||
Chroot "aptitude purge --assume-yes ${PACKAGES}"
|
|
||||||
;;
|
|
||||||
esac
|
|
||||||
fi
|
fi
|
||||||
|
|
||||||
|
# Removing depends
|
||||||
|
Remove_package
|
||||||
;;
|
;;
|
||||||
esac
|
esac
|
||||||
|
|
||||||
|
|
|
@ -56,7 +56,7 @@ then
|
||||||
exit 0
|
exit 0
|
||||||
fi
|
fi
|
||||||
|
|
||||||
# Check templates
|
# Checking templates
|
||||||
if [ ! -d "${LIVE_TEMPLATES}" ]
|
if [ ! -d "${LIVE_TEMPLATES}" ]
|
||||||
then
|
then
|
||||||
if [ -d ../"${LIVE_TEMPLATES}" ]
|
if [ -d ../"${LIVE_TEMPLATES}" ]
|
||||||
|
@ -68,24 +68,11 @@ then
|
||||||
fi
|
fi
|
||||||
fi
|
fi
|
||||||
|
|
||||||
if [ ! -f chroot/usr/bin/syslinux ]
|
# Checking depends
|
||||||
then
|
Check_package chroot/usr/bin/syslinux syslinux
|
||||||
PACKAGES="${PACKAGES} syslinux"
|
|
||||||
fi
|
|
||||||
|
|
||||||
if [ -n "${PACKAGES}" ]
|
# Installing depends
|
||||||
then
|
Install_package
|
||||||
# Installing symlinks
|
|
||||||
case "${LH_APT}" in
|
|
||||||
apt|apt-get)
|
|
||||||
Chroot "apt-get install --yes ${PACKAGES}"
|
|
||||||
;;
|
|
||||||
|
|
||||||
aptitude)
|
|
||||||
Chroot "aptitude install --assume-yes ${PACKAGES}"
|
|
||||||
;;
|
|
||||||
esac
|
|
||||||
fi
|
|
||||||
|
|
||||||
# Setting destination directory
|
# Setting destination directory
|
||||||
case "${LIVE_BINARY_IMAGE}" in
|
case "${LIVE_BINARY_IMAGE}" in
|
||||||
|
@ -147,12 +134,12 @@ FAILSAFE="noapic noapm nodma nomce nolapic nosmp vga=normal"
|
||||||
if [ "${LIVE_BINARY_IMAGE}" = "iso" ]
|
if [ "${LIVE_BINARY_IMAGE}" = "iso" ]
|
||||||
then
|
then
|
||||||
DEFAULT_FLAVOUR="`echo ${LIVE_KERNEL_FLAVOUR} | awk '{ print $1 }'`"
|
DEFAULT_FLAVOUR="`echo ${LIVE_KERNEL_FLAVOUR} | awk '{ print $1 }'`"
|
||||||
LINUX="label LIVE\n kernel /`basename ${DESTDIR}`/`basename chroot/boot/vmlinuz-*${DEFAULT_FLAVOUR}`\n append initrd=/`basename ${DESTDIR}`/initrd.img-`basename chroot/boot/vmlinuz-*${DEFAULT_FLAVOUR} | sed -e 's/vmlinuz-//'` boot=casper LIVE_BOOTAPPEND"
|
LINUX="label live\n kernel /`basename ${DESTDIR}`/`basename chroot/boot/vmlinuz-*${DEFAULT_FLAVOUR}`\n append initrd=/`basename ${DESTDIR}`/initrd.img-`basename chroot/boot/vmlinuz-*${DEFAULT_FLAVOUR} | sed -e 's/vmlinuz-//'` boot=casper LIVE_BOOTAPPEND"
|
||||||
LINUX="${LINUX}\nlabel LIVE-failsafe\n kernel /`basename ${DESTDIR}`/`basename chroot/boot/vmlinuz-*${DEFAULT_FLAVOUR}`\n append initrd=/`basename ${DESTDIR}`/initrd.img-`basename chroot/boot/vmlinuz-*${DEFAULT_FLAVOUR} | sed -e 's/vmlinuz-//'` boot=casper LIVE_BOOTAPPEND ${FAILSAFE}"
|
LINUX="${LINUX}\n\nlabel live-failsafe\n kernel /`basename ${DESTDIR}`/`basename chroot/boot/vmlinuz-*${DEFAULT_FLAVOUR}`\n append initrd=/`basename ${DESTDIR}`/initrd.img-`basename chroot/boot/vmlinuz-*${DEFAULT_FLAVOUR} | sed -e 's/vmlinuz-//'` boot=casper LIVE_BOOTAPPEND ${FAILSAFE}"
|
||||||
else
|
else
|
||||||
DEFAULT_FLAVOUR="`echo ${LIVE_KERNEL_FLAVOUR} | awk '{ print $1 }'`"
|
DEFAULT_FLAVOUR="`echo ${LIVE_KERNEL_FLAVOUR} | awk '{ print $1 }'`"
|
||||||
LINUX="label LIVE\n kernel `basename chroot/boot/vmlinuz-*${DEFAULT_FLAVOUR}`\n append initrd=initrd.img-`basename chroot/boot/vmlinuz-*${DEFAULT_FLAVOUR} | sed -e 's/vmlinuz-//'` boot=casper LIVE_BOOTAPPEND"
|
LINUX="label live\n kernel `basename chroot/boot/vmlinuz-*${DEFAULT_FLAVOUR}`\n append initrd=initrd.img-`basename chroot/boot/vmlinuz-*${DEFAULT_FLAVOUR} | sed -e 's/vmlinuz-//'` boot=casper LIVE_BOOTAPPEND"
|
||||||
LINUX="${LINUX}\nlabel LIVE-failsafe\n kernel `basename chroot/boot/vmlinuz-*${DEFAULT_FLAVOUR}`\n append initrd=initrd.img-`basename chroot/boot/vmlinuz-*${DEFAULT_FLAVOUR} | sed -e 's/vmlinuz-//'` boot=casper LIVE_BOOTAPPEND ${FAILSAFE}"
|
LINUX="${LINUX}\n\nlabel live-failsafe\n kernel `basename chroot/boot/vmlinuz-*${DEFAULT_FLAVOUR}`\n append initrd=initrd.img-`basename chroot/boot/vmlinuz-*${DEFAULT_FLAVOUR} | sed -e 's/vmlinuz-//'` boot=casper LIVE_BOOTAPPEND ${FAILSAFE}"
|
||||||
fi
|
fi
|
||||||
|
|
||||||
if [ "`echo ${LIVE_KERNEL_FLAVOUR} | wc -w`" -gt "1" ]
|
if [ "`echo ${LIVE_KERNEL_FLAVOUR} | wc -w`" -gt "1" ]
|
||||||
|
@ -163,25 +150,26 @@ then
|
||||||
then
|
then
|
||||||
if [ "${LIVE_BINARY_IMAGE}" = "iso" ]
|
if [ "${LIVE_BINARY_IMAGE}" = "iso" ]
|
||||||
then
|
then
|
||||||
LINUX="label LIVE-`basename ${KERNEL} | sed -e 's/vmlinuz-//'`\n kernel /`basename ${DESTDIR}`/`basename ${KERNEL}`\n append initrd=/`basename ${DESTDIR}`/initrd.img-`basename ${KERNEL} | sed -e 's/vmlinuz-//'` boot=casper LIVE_BOOTAPPEND"
|
LINUX="label live-`basename ${KERNEL} | sed -e 's/vmlinuz-//'`\n kernel /`basename ${DESTDIR}`/`basename ${KERNEL}`\n append initrd=/`basename ${DESTDIR}`/initrd.img-`basename ${KERNEL} | sed -e 's/vmlinuz-//'` boot=casper LIVE_BOOTAPPEND"
|
||||||
LINUX="${LINUX}\nlabel LIVE-`basename ${KERNEL} | sed -e 's/vmlinuz-//'`-failsafe\n kernel /`basename ${DESTDIR}`/`basename ${KERNEL}`\n append initrd=/`basename ${DESTDIR}`/initrd.img-`basename ${KERNEL} | sed -e 's/vmlinuz-//'` boot=casper LIVE_BOOTAPPEND ${FAILSAFE}"
|
LINUX="${LINUX}\n\nlabel live-`basename ${KERNEL} | sed -e 's/vmlinuz-//'`-failsafe\n kernel /`basename ${DESTDIR}`/`basename ${KERNEL}`\n append initrd=/`basename ${DESTDIR}`/initrd.img-`basename ${KERNEL} | sed -e 's/vmlinuz-//'` boot=casper LIVE_BOOTAPPEND ${FAILSAFE}"
|
||||||
else
|
else
|
||||||
LINUX="label LIVE-`basename ${KERNEL} | sed -e 's/vmlinuz-//'`\n kernel `basename ${KERNEL}`\n append initrd=initrd.img-`basename ${KERNEL} | sed -e 's/vmlinuz-//'` boot=casper LIVE_BOOTAPPEND"
|
LINUX="label live-`basename ${KERNEL} | sed -e 's/vmlinuz-//'`\n kernel `basename ${KERNEL}`\n append initrd=initrd.img-`basename ${KERNEL} | sed -e 's/vmlinuz-//'` boot=casper live_BOOTAPPEND"
|
||||||
LINUX="${LINUX}\nlabel LIVE-`basename ${KERNEL} | sed -e 's/vmlinuz-//'`\n kernel `basename ${KERNEL}`\n append initrd=initrd.img-`basename ${KERNEL} | sed -e 's/vmlinuz-//'` boot=casper LIVE_BOOTAPPEND ${FAILSAFE}"
|
LINUX="${LINUX}\n\nlabel live-`basename ${KERNEL} | sed -e 's/vmlinuz-//'`\n kernel `basename ${KERNEL}`\n append initrd=initrd.img-`basename ${KERNEL} | sed -e 's/vmlinuz-//'` boot=casper LIVE_BOOTAPPEND ${FAILSAFE}"
|
||||||
fi
|
fi
|
||||||
else
|
else
|
||||||
if [ "${LIVE_BINARY_IMAGE}" = "iso" ]
|
if [ "${LIVE_BINARY_IMAGE}" = "iso" ]
|
||||||
then
|
then
|
||||||
LINUX="${LINUX}\nlabel LIVE-`basename ${KERNEL} | sed -e 's/vmlinuz-//'`\n kernel /`basename ${DESTDIR}`/`basename ${KERNEL}`\n append initrd=/`basename ${DESTDIR}`/initrd.img-`basename ${KERNEL} | sed -e 's/vmlinuz-//'` boot=casper LIVE_BOOTAPPEND"
|
LINUX="${LINUX}\n\nlabel live-`basename ${KERNEL} | sed -e 's/vmlinuz-//'`\n kernel /`basename ${DESTDIR}`/`basename ${KERNEL}`\n append initrd=/`basename ${DESTDIR}`/initrd.img-`basename ${KERNEL} | sed -e 's/vmlinuz-//'` boot=casper LIVE_BOOTAPPEND"
|
||||||
LINUX="${LINUX}\nlabel LIVE-`basename ${KERNEL} | sed -e 's/vmlinuz-//'`-failsafe\n kernel /`basename ${DESTDIR}`/`basename ${KERNEL}`\n append initrd=/`basename ${DESTDIR}`/initrd.img-`basename ${KERNEL} | sed -e 's/vmlinuz-//'` boot=casper LIVE_BOOTAPPEND ${FAILSAFE}"
|
LINUX="${LINUX}\n\nlabel live-`basename ${KERNEL} | sed -e 's/vmlinuz-//'`-failsafe\n kernel /`basename ${DESTDIR}`/`basename ${KERNEL}`\n append initrd=/`basename ${DESTDIR}`/initrd.img-`basename ${KERNEL} | sed -e 's/vmlinuz-//'` boot=casper LIVE_BOOTAPPEND ${FAILSAFE}"
|
||||||
else
|
else
|
||||||
LINUX="${LINUX}\nlabel LIVE-`basename ${KERNEL} | sed -e 's/vmlinuz-//'`\n kernel `basename ${KERNEL}`\n append initrd=initrd.img-`basename ${KERNEL} | sed -e 's/vmlinuz-//'` boot=casper LIVE_BOOTAPPEND"
|
LINUX="${LINUX}\n\nlabel live-`basename ${KERNEL} | sed -e 's/vmlinuz-//'`\n kernel `basename ${KERNEL}`\n append initrd=initrd.img-`basename ${KERNEL} | sed -e 's/vmlinuz-//'` boot=casper LIVE_BOOTAPPEND"
|
||||||
LINUX="${LINUX}\nlabel LIVE-`basename ${KERNEL} | sed -e 's/vmlinuz-//'`\n kernel `basename ${KERNEL}`\n append initrd=initrd.img-`basename ${KERNEL} | sed -e 's/vmlinuz-//'` boot=casper LIVE_BOOTAPPEND ${FAILSAFE}"
|
LINUX="${LINUX}\n\nlabel live-`basename ${KERNEL} | sed -e 's/vmlinuz-//'`\n kernel `basename ${KERNEL}`\n append initrd=initrd.img-`basename ${KERNEL} | sed -e 's/vmlinuz-//'` boot=casper LIVE_BOOTAPPEND ${FAILSAFE}"
|
||||||
fi
|
fi
|
||||||
fi
|
fi
|
||||||
done
|
done
|
||||||
fi
|
fi
|
||||||
|
|
||||||
|
# Removing '//'
|
||||||
LINUX="`echo ${LINUX} | sed -e 's#//#/#g'`"
|
LINUX="`echo ${LINUX} | sed -e 's#//#/#g'`"
|
||||||
|
|
||||||
# Assembling memtest configuration
|
# Assembling memtest configuration
|
||||||
|
@ -204,6 +192,11 @@ case "${LIVE_BINARY_IMAGE}" in
|
||||||
cp -r "${LIVE_TEMPLATES}"/syslinux/* binary/isolinux
|
cp -r "${LIVE_TEMPLATES}"/syslinux/* binary/isolinux
|
||||||
|
|
||||||
# Copying splash screen
|
# Copying splash screen
|
||||||
|
if [ -f config/binary_syslinux/splash.rle ]
|
||||||
|
then
|
||||||
|
LIVE_SYSLINUX_SPLASH="config/binary_syslinux/splash.rle"
|
||||||
|
fi
|
||||||
|
|
||||||
if [ -n "${LIVE_SYSLINUX_SPLASH}" ]
|
if [ -n "${LIVE_SYSLINUX_SPLASH}" ]
|
||||||
then
|
then
|
||||||
if [ "${LIVE_SYSLINUX_SPLASH}" = "none" ]
|
if [ "${LIVE_SYSLINUX_SPLASH}" = "none" ]
|
||||||
|
@ -233,12 +226,12 @@ case "${LIVE_BINARY_IMAGE}" in
|
||||||
|
|
||||||
mv "${DESTDIR}"/vmlinuz-*-${FLAVOUR} "${DESTDIR}"/vmlinuz${NUMBER}
|
mv "${DESTDIR}"/vmlinuz-*-${FLAVOUR} "${DESTDIR}"/vmlinuz${NUMBER}
|
||||||
mv "${DESTDIR}"/initrd.img-*-${FLAVOUR} "${DESTDIR}"/initrd${NUMBER}.img
|
mv "${DESTDIR}"/initrd.img-*-${FLAVOUR} "${DESTDIR}"/initrd${NUMBER}.img
|
||||||
sed -i -e "s/LIVE.*-${FLAVOUR}/live${NUMBER}/g" -e "s/vmlinuz-.*-${FLAVOUR}/vmlinuz${NUMBER}/g" -e "s/initrd.img-.*-${FLAVOUR}/initrd${NUMBER}.img/g" -e "s/LIVE/live/" binary/isolinux/isolinux.cfg
|
sed -i -e "s/vmlinuz-.*-${FLAVOUR}/vmlinuz${NUMBER}/g" -e "s/initrd.img-.*-${FLAVOUR}/initrd${NUMBER}.img/g" binary/isolinux/isolinux.cfg
|
||||||
done
|
done
|
||||||
else
|
else
|
||||||
mv "${DESTDIR}"/vmlinuz-*-${LIVE_KERNEL_FLAVOUR} "${DESTDIR}"/vmlinuz
|
mv "${DESTDIR}"/vmlinuz-*-${LIVE_KERNEL_FLAVOUR} "${DESTDIR}"/vmlinuz
|
||||||
mv "${DESTDIR}"/initrd.img-*-${LIVE_KERNEL_FLAVOUR} "${DESTDIR}"/initrd.img
|
mv "${DESTDIR}"/initrd.img-*-${LIVE_KERNEL_FLAVOUR} "${DESTDIR}"/initrd.img
|
||||||
sed -i -e "s/LIVE.*-${LIVE_KERNEL_FLAVOUR}/live/g" -e "s/vmlinuz-.*-${LIVE_KERNEL_FLAVOUR}/vmlinuz/g" -e "s/initrd.img-.*-${LIVE_KERNEL_FLAVOUR}/initrd.img/g" -e "s/LIVE/live/" binary/isolinux/isolinux.cfg
|
sed -i -e "s/vmlinuz-.*-${LIVE_KERNEL_FLAVOUR}/vmlinuz/g" -e "s/initrd.img-.*-${LIVE_KERNEL_FLAVOUR}/initrd.img/g" binary/isolinux/isolinux.cfg
|
||||||
fi
|
fi
|
||||||
;;
|
;;
|
||||||
|
|
||||||
|
@ -253,6 +246,11 @@ case "${LIVE_BINARY_IMAGE}" in
|
||||||
sed -i -e 's#splash.rle#pxelinux.cfg/splash.rle#' tftpboot/pxelinux.cfg/isolinux.txt
|
sed -i -e 's#splash.rle#pxelinux.cfg/splash.rle#' tftpboot/pxelinux.cfg/isolinux.txt
|
||||||
|
|
||||||
# Copying splash screen
|
# Copying splash screen
|
||||||
|
if [ -f config/binary_syslinux/splash.rle ]
|
||||||
|
then
|
||||||
|
LIVE_SYSLINUX_SPLASH="config/binary_syslinux/splash.rle"
|
||||||
|
fi
|
||||||
|
|
||||||
if [ -n "${LIVE_SYSLINUX_SPLASH}" ]
|
if [ -n "${LIVE_SYSLINUX_SPLASH}" ]
|
||||||
then
|
then
|
||||||
if [ "${LIVE_SYSLINUX_SPLASH}" = "none" ]
|
if [ "${LIVE_SYSLINUX_SPLASH}" = "none" ]
|
||||||
|
@ -282,12 +280,12 @@ case "${LIVE_BINARY_IMAGE}" in
|
||||||
|
|
||||||
mv "${DESTDIR}"/vmlinuz-*-${FLAVOUR} "${DESTDIR}"/vmlinuz${NUMBER}
|
mv "${DESTDIR}"/vmlinuz-*-${FLAVOUR} "${DESTDIR}"/vmlinuz${NUMBER}
|
||||||
mv "${DESTDIR}"/initrd.img-*-${FLAVOUR} "${DESTDIR}"/initrd${NUMBER}.img
|
mv "${DESTDIR}"/initrd.img-*-${FLAVOUR} "${DESTDIR}"/initrd${NUMBER}.img
|
||||||
sed -i -e "s/LIVE.*-${FLAVOUR}/live${NUMBER}/g" -e "s/vmlinuz-.*-${FLAVOUR}/vmlinuz${NUMBER}/g" -e "s/initrd.img-.*-${FLAVOUR}/initrd${NUMBER}.img/g" -e "s/LIVE/live/" tftpboot/pxelive.cfg/default
|
sed -i -e "s/vmlinuz-.*-${FLAVOUR}/vmlinuz${NUMBER}/g" -e "s/initrd.img-.*-${FLAVOUR}/initrd${NUMBER}.img/g" binary/isolinux/isolinux.cfg
|
||||||
done
|
done
|
||||||
else
|
else
|
||||||
mv "${DESTDIR}"/vmlinuz-*-${LIVE_KERNEL_FLAVOUR} "${DESTDIR}"/vmlinuz
|
mv "${DESTDIR}"/vmlinuz-*-${LIVE_KERNEL_FLAVOUR} "${DESTDIR}"/vmlinuz
|
||||||
mv "${DESTDIR}"/initrd.img-*-${LIVE_KERNEL_FLAVOUR} "${DESTDIR}"/initrd.img
|
mv "${DESTDIR}"/initrd.img-*-${LIVE_KERNEL_FLAVOUR} "${DESTDIR}"/initrd.img
|
||||||
sed -i -e "s/LIVE.*-${LIVE_KERNEL_FLAVOUR}/live/g" -e "s/vmlinuz-.*-${LIVE_KERNEL_FLAVOUR}/vmlinuz/g" -e "s/initrd.img-.*-${LIVE_KERNEL_FLAVOUR}/initrd.img/g" -e "s/LIVE/live/" tftpboot/pxelinux.cfg/default
|
sed -i -e "s/vmlinuz-.*-${LIVE_KERNEL_FLAVOUR}/vmlinuz/g" -e "s/initrd.img-.*-${LIVE_KERNEL_FLAVOUR}/initrd.img/g" binary/isolinux/isolinux.cfg
|
||||||
fi
|
fi
|
||||||
;;
|
;;
|
||||||
|
|
||||||
|
@ -301,6 +299,11 @@ case "${LIVE_BINARY_IMAGE}" in
|
||||||
sed -i -e "s/isolinux.txt/syslinux.txt/" binary/syslinux.cfg
|
sed -i -e "s/isolinux.txt/syslinux.txt/" binary/syslinux.cfg
|
||||||
|
|
||||||
# Copying splash screen
|
# Copying splash screen
|
||||||
|
if [ -f config/binary_syslinux/splash.rle ]
|
||||||
|
then
|
||||||
|
LIVE_SYSLINUX_SPLASH="config/binary_syslinux/splash.rle"
|
||||||
|
fi
|
||||||
|
|
||||||
if [ -n "${LIVE_SYSLINUX_SPLASH}" ]
|
if [ -n "${LIVE_SYSLINUX_SPLASH}" ]
|
||||||
then
|
then
|
||||||
if [ "${LIVE_SYSLINUX_SPLASH}" = "none" ]
|
if [ "${LIVE_SYSLINUX_SPLASH}" = "none" ]
|
||||||
|
@ -330,29 +333,18 @@ case "${LIVE_BINARY_IMAGE}" in
|
||||||
|
|
||||||
mv "${DESTDIR}"/vmlinuz-*-${FLAVOUR} "${DESTDIR}"/vmlinuz${NUMBER}
|
mv "${DESTDIR}"/vmlinuz-*-${FLAVOUR} "${DESTDIR}"/vmlinuz${NUMBER}
|
||||||
mv "${DESTDIR}"/initrd.img-*-${FLAVOUR} "${DESTDIR}"/initrd${NUMBER}.img
|
mv "${DESTDIR}"/initrd.img-*-${FLAVOUR} "${DESTDIR}"/initrd${NUMBER}.img
|
||||||
sed -i -e "s/LIVE.*-${FLAVOUR}/live${NUMBER}/g" -e "s/vmlinuz-.*-${FLAVOUR}/vmlinuz${NUMBER}/g" -e "s/initrd.img-.*-${FLAVOUR}/initrd${NUMBER}.img/g" -e "s/LIVE/live/" binary/syslinux.cfg
|
sed -i -e "s/vmlinuz-.*-${FLAVOUR}/vmlinuz${NUMBER}/g" -e "s/initrd.img-.*-${FLAVOUR}/initrd${NUMBER}.img/g" binary/syslinux.cfg
|
||||||
done
|
done
|
||||||
else
|
else
|
||||||
mv "${DESTDIR}"/vmlinuz-*-${LIVE_KERNEL_FLAVOUR} "${DESTDIR}"/vmlinuz
|
mv "${DESTDIR}"/vmlinuz-*-${LIVE_KERNEL_FLAVOUR} "${DESTDIR}"/vmlinuz
|
||||||
mv "${DESTDIR}"/initrd.img-*-${LIVE_KERNEL_FLAVOUR} "${DESTDIR}"/initrd.img
|
mv "${DESTDIR}"/initrd.img-*-${LIVE_KERNEL_FLAVOUR} "${DESTDIR}"/initrd.img
|
||||||
sed -i -e "s/LIVE.*-${LIVE_KERNEL_FLAVOUR}/live/g" -e "s/vmlinuz-.*-${LIVE_KERNEL_FLAVOUR}/vmlinuz/g" -e "s/initrd.img-.*-${LIVE_KERNEL_FLAVOUR}/initrd.img/g" -e "s/LIVE/live/" binary/syslinux.cfg
|
sed -i -e "s/vmlinuz-.*-${LIVE_KERNEL_FLAVOUR}/vmlinuz/g" -e "s/initrd.img-.*-${LIVE_KERNEL_FLAVOUR}/initrd.img/g" binary/syslinux.cfg
|
||||||
fi
|
fi
|
||||||
;;
|
;;
|
||||||
esac
|
esac
|
||||||
|
|
||||||
if [ -n "${PACKAGES}" ]
|
# Removing depends
|
||||||
then
|
Remove_package
|
||||||
# Removing packages
|
|
||||||
case "${LH_APT}" in
|
|
||||||
apt|apt-get)
|
|
||||||
Chroot "apt-get remove --purge --yes ${PACKAGES}"
|
|
||||||
;;
|
|
||||||
|
|
||||||
aptitude)
|
|
||||||
Chroot "aptitude purge --assume-yes ${PACKAGES}"
|
|
||||||
;;
|
|
||||||
esac
|
|
||||||
fi
|
|
||||||
|
|
||||||
# Creating stage file
|
# Creating stage file
|
||||||
Create_stagefile .stage/binary_syslinux
|
Create_stagefile .stage/binary_syslinux
|
||||||
|
|
|
@ -50,50 +50,23 @@ do
|
||||||
# Creating lock file
|
# Creating lock file
|
||||||
Create_lockfile .lock
|
Create_lockfile .lock
|
||||||
|
|
||||||
if [ ! -f chroot/sbin/mkdosfs ]
|
# Checking depends
|
||||||
then
|
Check_package chroot/sbin/mkdosfs dosfstools
|
||||||
PACKAGES="${PACKAGES} dosfstools"
|
Check_package chroot/usr/sbin/mtools mtools
|
||||||
fi
|
Check_package chroot/sbin/parted parted
|
||||||
|
|
||||||
if [ ! -f chroot/usr/bin/mtools ]
|
|
||||||
then
|
|
||||||
PACKAGES="${PACKAGES} mtools"
|
|
||||||
fi
|
|
||||||
|
|
||||||
if [ ! -f chroot/sbin/parted ]
|
|
||||||
then
|
|
||||||
PACKAGES="${PACKAGES} parted"
|
|
||||||
fi
|
|
||||||
|
|
||||||
case "${LIVE_BOOTLOADER}" in
|
case "${LIVE_BOOTLOADER}" in
|
||||||
grub)
|
grub)
|
||||||
if [ ! -f chroot/usr/sbin/grub ]
|
Check_package chroot/usr/sbin/grub grub
|
||||||
then
|
|
||||||
PACKAGES="${PACKAGES} grub"
|
|
||||||
fi
|
|
||||||
;;
|
;;
|
||||||
|
|
||||||
syslinux)
|
syslinux)
|
||||||
if [ ! -f chroot/usr/bin/syslinux ]
|
Check_package chroot/usr/bin/syslinux syslinux
|
||||||
then
|
|
||||||
PACKAGES="${PACKAGES} syslinux"
|
|
||||||
fi
|
|
||||||
;;
|
;;
|
||||||
esac
|
esac
|
||||||
|
|
||||||
if [ -n "${PACKAGES}" ]
|
# Installing depends
|
||||||
then
|
Install_package
|
||||||
# Installing packages
|
|
||||||
case "${LH_APT}" in
|
|
||||||
apt|apt-get)
|
|
||||||
Chroot "apt-get install --yes ${PACKAGES}"
|
|
||||||
;;
|
|
||||||
|
|
||||||
aptitude)
|
|
||||||
Chroot "aptitude install --assume-yes ${PACKAGES}"
|
|
||||||
;;
|
|
||||||
esac
|
|
||||||
fi
|
|
||||||
|
|
||||||
# Remove old binary
|
# Remove old binary
|
||||||
if [ -f binary.img ]
|
if [ -f binary.img ]
|
||||||
|
@ -145,9 +118,9 @@ do
|
||||||
lh_losetup $FREELO binary.img 1
|
lh_losetup $FREELO binary.img 1
|
||||||
Chroot "mkfs.msdos -n DEBIAN_LIVE ${FREELO}"
|
Chroot "mkfs.msdos -n DEBIAN_LIVE ${FREELO}"
|
||||||
mkdir -p binary.tmp
|
mkdir -p binary.tmp
|
||||||
mount ${FREELO} binary.tmp
|
${LH_ROOT_COMMAND} mount ${FREELO} binary.tmp
|
||||||
cp -r binary/* binary.tmp
|
cp -r binary/* binary.tmp
|
||||||
umount binary.tmp
|
${LH_ROOT_COMMAND} umount binary.tmp
|
||||||
rmdir binary.tmp
|
rmdir binary.tmp
|
||||||
|
|
||||||
if [ "${LIVE_BOOTLOADER}" = "syslinux" ]
|
if [ "${LIVE_BOOTLOADER}" = "syslinux" ]
|
||||||
|
@ -175,19 +148,8 @@ do
|
||||||
mv chroot/dev.tmp chroot/dev
|
mv chroot/dev.tmp chroot/dev
|
||||||
fi
|
fi
|
||||||
|
|
||||||
if [ -n "${PACKAGES}" ]
|
# Removing depends
|
||||||
then
|
Remove_package
|
||||||
# Removing packages
|
|
||||||
case "${LH_APT}" in
|
|
||||||
apt|apt-get)
|
|
||||||
Chroot "apt-get remove --purge --yes ${PACKAGES}"
|
|
||||||
;;
|
|
||||||
|
|
||||||
aptitude)
|
|
||||||
Chroot "aptitude purge --assume-yes ${PACKAGES}"
|
|
||||||
;;
|
|
||||||
esac
|
|
||||||
fi
|
|
||||||
|
|
||||||
# Creating stage file
|
# Creating stage file
|
||||||
Create_stagefile .stage/binary_usb
|
Create_stagefile .stage/binary_usb
|
||||||
|
|
|
@ -68,24 +68,11 @@ then
|
||||||
fi
|
fi
|
||||||
fi
|
fi
|
||||||
|
|
||||||
if [ ! -f chroot/usr/lib/yaboot/yaboot ]
|
# Checking depends
|
||||||
then
|
Check_package chroot/usr/lib/yaboot/yaboot yaboot
|
||||||
PACKAGES="${PACKAGES} yaboot"
|
|
||||||
fi
|
|
||||||
|
|
||||||
if [ -n "${PACKAGES}" ]
|
# Installing depends
|
||||||
then
|
Install_package
|
||||||
# Installing symlinks
|
|
||||||
case "${LH_APT}" in
|
|
||||||
apt|apt-get)
|
|
||||||
Chroot "apt-get install --yes ${PACKAGES}"
|
|
||||||
;;
|
|
||||||
|
|
||||||
aptitude)
|
|
||||||
Chroot "aptitude install --assume-yes ${PACKAGES}"
|
|
||||||
;;
|
|
||||||
esac
|
|
||||||
fi
|
|
||||||
|
|
||||||
# Setting destination directory
|
# Setting destination directory
|
||||||
case "${LIVE_BINARY_IMAGE}" in
|
case "${LIVE_BINARY_IMAGE}" in
|
||||||
|
@ -199,19 +186,8 @@ case "${LIVE_BINARY_IMAGE}" in
|
||||||
;;
|
;;
|
||||||
esac
|
esac
|
||||||
|
|
||||||
if [ -n "${PACKAGES}" ]
|
# Removing depends
|
||||||
then
|
Remove_package
|
||||||
# Removing packages
|
|
||||||
case "${LH_APT}" in
|
|
||||||
apt|apt-get)
|
|
||||||
Chroot "apt-get remove --purge --yes ${PACKAGES}"
|
|
||||||
;;
|
|
||||||
|
|
||||||
aptitude)
|
|
||||||
Chroot "aptitude purge --assume-yes ${PACKAGES}"
|
|
||||||
;;
|
|
||||||
esac
|
|
||||||
fi
|
|
||||||
|
|
||||||
# Creating stage file
|
# Creating stage file
|
||||||
Create_stagefile .stage/binary_yaboot
|
Create_stagefile .stage/binary_yaboot
|
||||||
|
|
|
@ -96,7 +96,12 @@ then
|
||||||
# Restore old cache
|
# Restore old cache
|
||||||
if [ -d cache/chroot_bootstrap ]
|
if [ -d cache/chroot_bootstrap ]
|
||||||
then
|
then
|
||||||
cp -a cache/chroot_bootstrap/* chroot
|
${LH_ROOT_COMMAND} cp -a cache/chroot_bootstrap/* chroot
|
||||||
|
|
||||||
|
if [ -n "${LH_ROOT_COMMAND}" ]
|
||||||
|
then
|
||||||
|
${LH_ROOT_COMMAND} chown -R `whoami`:`whoami` chroot
|
||||||
|
fi
|
||||||
|
|
||||||
# Creating stage file
|
# Creating stage file
|
||||||
Create_stagefile .stage/bootstrap
|
Create_stagefile .stage/bootstrap
|
||||||
|
@ -111,7 +116,12 @@ then
|
||||||
fi
|
fi
|
||||||
|
|
||||||
# Executing cdebootstrap (download-only)
|
# Executing cdebootstrap (download-only)
|
||||||
cdebootstrap ${CDEBOOTSTRAP_OPTIONS} --download-only "${LIVE_DISTRIBUTION}" chroot "${LIVE_MIRROR_BUILD}"
|
${LH_ROOT_COMMAND} cdebootstrap ${CDEBOOTSTRAP_OPTIONS} --download-only "${LIVE_DISTRIBUTION}" chroot "${LIVE_MIRROR_BUILD}"
|
||||||
|
|
||||||
|
if [ -n "${LH_ROOT_COMMAND}" ]
|
||||||
|
then
|
||||||
|
${LH_ROOT_COMMAND} chown -R `whoami`:`whoami` chroot
|
||||||
|
fi
|
||||||
|
|
||||||
# Removing old cache
|
# Removing old cache
|
||||||
if [ -d cache/bootstrap ]
|
if [ -d cache/bootstrap ]
|
||||||
|
@ -129,7 +139,12 @@ then
|
||||||
fi
|
fi
|
||||||
|
|
||||||
# Executing cdebootstrap (regular run)
|
# Executing cdebootstrap (regular run)
|
||||||
cdebootstrap ${CDEBOOTSTRAP_OPTIONS} "${LIVE_DISTRIBUTION}" chroot "${LIVE_MIRROR_BUILD}"
|
${LH_ROOT_COMMAND} cdebootstrap ${CDEBOOTSTRAP_OPTIONS} "${LIVE_DISTRIBUTION}" chroot "${LIVE_MIRROR_BUILD}"
|
||||||
|
|
||||||
|
if [ -n "${LH_ROOT_COMMAND}" ]
|
||||||
|
then
|
||||||
|
${LH_ROOT_COMMAND} chown -R `whoami`:`whoami` chroot
|
||||||
|
fi
|
||||||
|
|
||||||
# Remove cdebootstrap-helper-diverts (needed at least for minimal flavours)
|
# Remove cdebootstrap-helper-diverts (needed at least for minimal flavours)
|
||||||
if [ "${LIVE_BOOTSTRAP_FLAVOUR}" = "minimal" ] || [ "${LIVE_BOOTSTRAP_FLAVOUR}" = "mini" ]
|
if [ "${LIVE_BOOTSTRAP_FLAVOUR}" = "minimal" ] || [ "${LIVE_BOOTSTRAP_FLAVOUR}" = "mini" ]
|
||||||
|
@ -156,7 +171,12 @@ then
|
||||||
rm -rf cache/chroot_bootstrap
|
rm -rf cache/chroot_bootstrap
|
||||||
fi
|
fi
|
||||||
|
|
||||||
cp -a chroot cache/chroot_bootstrap
|
${LH_ROOT_COMMAND} cp -a chroot cache/chroot_bootstrap
|
||||||
|
|
||||||
|
if [ -n "${LH_ROOT_COMMAND}" ]
|
||||||
|
then
|
||||||
|
${LH_ROOT_COMMAND} chown -R `whoami`:`whoami` cache/chroot_bootstrap
|
||||||
|
fi
|
||||||
fi
|
fi
|
||||||
|
|
||||||
# Creating stage file
|
# Creating stage file
|
||||||
|
|
|
@ -79,7 +79,12 @@ then
|
||||||
# Restore old cache
|
# Restore old cache
|
||||||
if [ -d cache/chroot_bootstrap ]
|
if [ -d cache/chroot_bootstrap ]
|
||||||
then
|
then
|
||||||
cp -a cache/chroot_bootstrap/* chroot
|
${LH_ROOT_COMMAND} cp -a cache/chroot_bootstrap/* chroot
|
||||||
|
|
||||||
|
if [ -n "${LH_ROOT_COMMAND}" ]
|
||||||
|
then
|
||||||
|
${LH_ROOT_COMMAND} chown -R `whoami`:`whoami` chroot
|
||||||
|
fi
|
||||||
|
|
||||||
# Creating stage file
|
# Creating stage file
|
||||||
Create_stagefile .stage/bootstrap
|
Create_stagefile .stage/bootstrap
|
||||||
|
@ -94,7 +99,12 @@ then
|
||||||
fi
|
fi
|
||||||
|
|
||||||
# Executing debootstrap (download-only)
|
# Executing debootstrap (download-only)
|
||||||
debootstrap ${DEBOOTSTRAP_OPTIONS} --download-only "${LIVE_DISTRIBUTION}" chroot "${LIVE_MIRROR_BUILD}" "${LIVE_DEBOOTSTRAP_SCRIPT}"
|
${LH_ROOT_COMMAND} debootstrap ${DEBOOTSTRAP_OPTIONS} --download-only "${LIVE_DISTRIBUTION}" chroot "${LIVE_MIRROR_BUILD}" "${LIVE_DEBOOTSTRAP_SCRIPT}"
|
||||||
|
|
||||||
|
if [ -n "${LH_ROOT_COMMAND}" ]
|
||||||
|
then
|
||||||
|
${LH_ROOT_COMMAND} chown -R `whoami`:`whoami` chroot
|
||||||
|
fi
|
||||||
|
|
||||||
# Removing old cache
|
# Removing old cache
|
||||||
if [ -d cache/bootstrap ]
|
if [ -d cache/bootstrap ]
|
||||||
|
@ -112,7 +122,12 @@ then
|
||||||
fi
|
fi
|
||||||
|
|
||||||
# Executing debootstrap (regular run)
|
# Executing debootstrap (regular run)
|
||||||
debootstrap ${DEBOOTSTRAP_OPTIONS} "${LIVE_DISTRIBUTION}" chroot "${LIVE_MIRROR_BUILD}" "${LIVE_DEBOOTSTRAP_SCRIPT}"
|
${LH_ROOT_COMMAND} debootstrap ${DEBOOTSTRAP_OPTIONS} "${LIVE_DISTRIBUTION}" chroot "${LIVE_MIRROR_BUILD}" "${LIVE_DEBOOTSTRAP_SCRIPT}"
|
||||||
|
|
||||||
|
if [ -n "${LH_ROOT_COMMAND}" ]
|
||||||
|
then
|
||||||
|
${LH_ROOT_COMMAND} chown -R `whoami`:`whoami` chroot
|
||||||
|
fi
|
||||||
|
|
||||||
# Removing bootstrap cache
|
# Removing bootstrap cache
|
||||||
rm -rf chroot/var/cache/apt/archives/*.deb
|
rm -rf chroot/var/cache/apt/archives/*.deb
|
||||||
|
@ -125,7 +140,12 @@ then
|
||||||
rm -rf cache/chroot_bootstrap
|
rm -rf cache/chroot_bootstrap
|
||||||
fi
|
fi
|
||||||
|
|
||||||
cp -a chroot cache/chroot_bootstrap
|
${LH_ROOT_COMMAND} cp -a chroot cache/chroot_bootstrap
|
||||||
|
|
||||||
|
if [ -n "${LH_ROOT_COMMAND}" ]
|
||||||
|
then
|
||||||
|
${LH_ROOT_COMMAND} chown -R `whoami`:`whoami` cache/chroot_bootstrap
|
||||||
|
fi
|
||||||
fi
|
fi
|
||||||
|
|
||||||
# Creating stage file
|
# Creating stage file
|
||||||
|
|
|
@ -51,12 +51,12 @@ lh_chroot_packages "${@}"
|
||||||
lh_chroot_localpackages "${@}"
|
lh_chroot_localpackages "${@}"
|
||||||
lh_chroot_localpackageslists "${@}"
|
lh_chroot_localpackageslists "${@}"
|
||||||
lh_chroot_localization "${@}"
|
lh_chroot_localization "${@}"
|
||||||
lh_chroot_hacks "${@}"
|
|
||||||
lh_chroot_localincludes "${@}"
|
lh_chroot_localincludes "${@}"
|
||||||
lh_chroot_sysvinit "${@}"
|
lh_chroot_sysvinit "${@}"
|
||||||
lh_chroot_hooks "${@}"
|
lh_chroot_hooks "${@}"
|
||||||
lh_chroot_localhooks "${@}"
|
lh_chroot_localhooks "${@}"
|
||||||
lh_chroot_symlinks "${@}"
|
lh_chroot_symlinks "${@}"
|
||||||
|
lh_chroot_hacks "${@}"
|
||||||
lh_chroot_interactive "${@}"
|
lh_chroot_interactive "${@}"
|
||||||
|
|
||||||
# Deconfiguring chroot
|
# Deconfiguring chroot
|
||||||
|
|
|
@ -46,7 +46,7 @@ Check_lockfile .lock
|
||||||
Create_lockfile .lock
|
Create_lockfile .lock
|
||||||
|
|
||||||
# Removing udev mac caching rule
|
# Removing udev mac caching rule
|
||||||
rm -f chroot/etc/udev/rules.d/z25_persistent-net.rules
|
Chroot "rm -f /etc/udev/rules.d/z25_persistent-net.rules"
|
||||||
|
|
||||||
case "${LIVE_BINARY_IMAGE}" in
|
case "${LIVE_BINARY_IMAGE}" in
|
||||||
net)
|
net)
|
||||||
|
@ -82,5 +82,10 @@ esac
|
||||||
# Update initramfs
|
# Update initramfs
|
||||||
Chroot "update-initramfs -k all -t -u"
|
Chroot "update-initramfs -k all -t -u"
|
||||||
|
|
||||||
|
if [ -n "${LH_ROOT_COMMAND}" ]
|
||||||
|
then
|
||||||
|
${LH_ROOT_COMMAND} chown -R --quiet `whoami`:`whoami` chroot
|
||||||
|
fi
|
||||||
|
|
||||||
# Creating stage file
|
# Creating stage file
|
||||||
Create_stagefile .stage/chroot_hacks
|
Create_stagefile .stage/chroot_hacks
|
||||||
|
|
|
@ -46,26 +46,29 @@ Check_lockfile .lock
|
||||||
Create_lockfile .lock
|
Create_lockfile .lock
|
||||||
|
|
||||||
# Processing hooks
|
# Processing hooks
|
||||||
if [ -n "${LIVE_PACKAGES_LISTS}" ] && [ -f /usr/share/live-helper/hooks/"${LIVE_PACKAGES_LISTS}" ]
|
for HOOK in ${LIVE_PACKAGES_LISTS} ${LIVE_TASKS}
|
||||||
|
do
|
||||||
|
if [ -f /usr/share/live-helper/hooks/"${HOOK}" ]
|
||||||
then
|
then
|
||||||
# Copying hook
|
# Copying hook
|
||||||
cp /usr/share/live-helper/hooks/"${LIVE_PACKAGES_LISTS}" chroot/root
|
cp /usr/share/live-helper/hooks/"${HOOK}" chroot/root
|
||||||
|
|
||||||
# Making hook executable
|
# Making hook executable
|
||||||
if [ ! -x chroot/root/${LIVE_PACKAGES_LISTS} ]
|
if [ ! -x chroot/root/"${HOOK}" ]
|
||||||
then
|
then
|
||||||
chmod +x chroot/root/${LIVE_PACKAGES_LISTS}
|
chmod +x chroot/root/"${HOOK}"
|
||||||
fi
|
fi
|
||||||
|
|
||||||
# Executing hook
|
# Executing hook
|
||||||
Chroot "/root/${LIVE_PACKAGES_LISTS}"
|
Chroot "/root/${HOOK}"
|
||||||
|
|
||||||
# Removing hook
|
# Removing hook
|
||||||
rm -f chroot/root/"${LIVE_PACKAGE_LIST}"
|
rm -f chroot/root/"${HOOK}"
|
||||||
|
|
||||||
# Creating stage file
|
# Creating stage file
|
||||||
Create_stagefile .stage/chroot_hooks
|
Create_stagefile .stage/chroot_hooks
|
||||||
fi
|
fi
|
||||||
|
done
|
||||||
|
|
||||||
if [ -n "${LIVE_HOOKS}" ]
|
if [ -n "${LIVE_HOOKS}" ]
|
||||||
then
|
then
|
||||||
|
|
|
@ -635,45 +635,27 @@ then
|
||||||
do
|
do
|
||||||
case "${LOCALZATION}" in
|
case "${LOCALZATION}" in
|
||||||
iceape)
|
iceape)
|
||||||
if [ -f chroot/usr/bin/iceape ]
|
Check_package chroot/usr/bin/iceape iceweasel-l10n-"${ICEAPE}"
|
||||||
then
|
|
||||||
PACKAGES="${PACKAGES} iceweasel-l10n-${ICEAPE}"
|
|
||||||
fi
|
|
||||||
;;
|
;;
|
||||||
|
|
||||||
icedove)
|
icedove)
|
||||||
if [ -f chroot/usr/bin/icedove ]
|
Check_package chroot/usr/bin/icedove icedove-locale-"${ICEDOVE}"
|
||||||
then
|
|
||||||
PACKAGES="${PACKAGES} icedove-locale-${ICEDOVE}"
|
|
||||||
fi
|
|
||||||
;;
|
;;
|
||||||
|
|
||||||
iceweasel)
|
iceweasel)
|
||||||
if [ -f chroot/usr/bin/iceweasel ]
|
Check_package chroot/usr/bin/iceweasel iceweasel-l10n-"${ICEWEASEL}"
|
||||||
then
|
|
||||||
PACKAGES="${PACKAGES} iceweasel-l10n-${ICEWEASEL}"
|
|
||||||
fi
|
|
||||||
;;
|
;;
|
||||||
|
|
||||||
kde)
|
kde)
|
||||||
if [ -f chroot/usr/bin/kstart ]
|
Check_package chroot/usr/bin/kstart kde-i18n-"${KDE}"
|
||||||
then
|
|
||||||
PACKAGES="${PACKAGES} kde-i18n-${KDE}"
|
|
||||||
fi
|
|
||||||
;;
|
;;
|
||||||
|
|
||||||
koffice)
|
koffice)
|
||||||
if [ -f chroot/usr/bin/usr/bin/koconverter ]
|
Check_package chroot/usr/bin/usr/bin/koconverter koffice-i18n-"${KOFFICE}"
|
||||||
then
|
|
||||||
PACKAGES="${PACKAGES} koffice-i18n-${KOFFICE}"
|
|
||||||
fi
|
|
||||||
;;
|
;;
|
||||||
|
|
||||||
openoffice)
|
openoffice)
|
||||||
if [ -f chroot/usr/bin/ooffice ]
|
Check_package chroot/usr/bin/ooffice openoffice.org-l10n-"${OPENOFFICE}"
|
||||||
then
|
|
||||||
PACKAGES="${PACKAGES} openoffice.org-l10n-${OPENOFFICE}"
|
|
||||||
fi
|
|
||||||
;;
|
;;
|
||||||
esac
|
esac
|
||||||
done
|
done
|
||||||
|
@ -682,15 +664,7 @@ then
|
||||||
Restore_cache cache/chroot_localization
|
Restore_cache cache/chroot_localization
|
||||||
|
|
||||||
# Installing packages
|
# Installing packages
|
||||||
case "${LH_APT}" in
|
Install_package
|
||||||
apt|apt-get)
|
|
||||||
Chroot "apt-get install --yes ${PACKAGES}"
|
|
||||||
;;
|
|
||||||
|
|
||||||
aptitude)
|
|
||||||
Chroot "apt-get install --assume-yes ${PACKAGES}"
|
|
||||||
;;
|
|
||||||
esac
|
|
||||||
|
|
||||||
# Saving cache
|
# Saving cache
|
||||||
Save_cache cache/chroot_localization
|
Save_cache cache/chroot_localization
|
||||||
|
|
|
@ -57,7 +57,7 @@ case "${1}" in
|
||||||
fi
|
fi
|
||||||
|
|
||||||
# Mounting /proc
|
# Mounting /proc
|
||||||
mount proc-live -t proc chroot/proc
|
${LH_ROOT_COMMAND} mount proc-live -t proc chroot/proc
|
||||||
|
|
||||||
# Creating stage file
|
# Creating stage file
|
||||||
Create_stagefile .stage/chroot_proc
|
Create_stagefile .stage/chroot_proc
|
||||||
|
@ -71,14 +71,14 @@ case "${1}" in
|
||||||
Create_lockfile .lock
|
Create_lockfile .lock
|
||||||
|
|
||||||
# Workaround binfmt-support /proc locking
|
# Workaround binfmt-support /proc locking
|
||||||
if [ -e chroot/proc/sys/fs/binftm_misc/status ]
|
if [ -e chroot/proc/sys/fs/binfmt_misc/status ]
|
||||||
then
|
then
|
||||||
umount chroot/proc/sys/fs/binfmt_misc
|
${LH_ROOT_COMMAND} umount chroot/proc/sys/fs/binfmt_misc
|
||||||
fi
|
fi
|
||||||
|
|
||||||
# Unmounting /proc
|
# Unmounting /proc
|
||||||
#fuser -km chroot/proc
|
#fuser -km chroot/proc
|
||||||
umount chroot/proc > /dev/null 2>&1
|
${LH_ROOT_COMMAND} umount chroot/proc > /dev/null 2>&1
|
||||||
|
|
||||||
# Removing stage file
|
# Removing stage file
|
||||||
rm -f .stage/chroot_proc
|
rm -f .stage/chroot_proc
|
||||||
|
|
|
@ -57,15 +57,28 @@ case "${1}" in
|
||||||
|
|
||||||
if [ "${LIVE_SECURITY}" = "enabled" ]
|
if [ "${LIVE_SECURITY}" = "enabled" ]
|
||||||
then
|
then
|
||||||
|
case "${LH_MODE}" in
|
||||||
|
debian)
|
||||||
if [ "${LIVE_DISTRIBUTION}" != "sid" ] && [ "${LIVE_DISTRIBUTION}" != "unstable" ]
|
if [ "${LIVE_DISTRIBUTION}" != "sid" ] && [ "${LIVE_DISTRIBUTION}" != "unstable" ]
|
||||||
then
|
then
|
||||||
echo "deb ${LIVE_MIRROR_BUILD_SECURITY} ${LIVE_DISTRIBUTION}/updates ${LIVE_SECTIONS}" >> chroot/etc/apt/sources.list
|
echo "deb ${LIVE_MIRROR_BUILD_SECURITY} ${LIVE_DISTRIBUTION}/updates ${LIVE_SECTIONS}" >> chroot/etc/apt/sources.list
|
||||||
|
|
||||||
if [ "${LIVE_SOURCE}" = "yes" ]
|
if [ "${LIVE_SOURCE}" = "enabled" ]
|
||||||
then
|
then
|
||||||
echo "deb-src ${LIVE_MIRROR_BUILD_SECURITY} ${LIVE_DISTRIBUTION}/updates ${LIVE_SECTIONS}" >> chroot/etc/apt/sources.list
|
echo "deb-src ${LIVE_MIRROR_BUILD_SECURITY} ${LIVE_DISTRIBUTION}/updates ${LIVE_SECTIONS}" >> chroot/etc/apt/sources.list
|
||||||
fi
|
fi
|
||||||
fi
|
fi
|
||||||
|
;;
|
||||||
|
|
||||||
|
ubuntu)
|
||||||
|
echo "deb ${LIVE_MIRROR_BUILD_SECURITY} ${LIVE_DISTRIBUTION}-security ${LIVE_SECTIONS}" >> chroot/etc/apt/sources.list
|
||||||
|
|
||||||
|
if [ "${LIVE_SOURCE}" = "enabled" ]
|
||||||
|
then
|
||||||
|
echo "deb-src ${LIVE_MIRROR_BUILD_SECURITY} ${LIVE_DISTRIBUTION}-security ${LIVE_SECTIONS}" >> chroot/etc/apt/sources.list
|
||||||
|
fi
|
||||||
|
;;
|
||||||
|
esac
|
||||||
fi
|
fi
|
||||||
|
|
||||||
# Check local sources.list
|
# Check local sources.list
|
||||||
|
@ -158,15 +171,28 @@ case "${1}" in
|
||||||
|
|
||||||
if [ "${LIVE_SECURITY}" = "enabled" ]
|
if [ "${LIVE_SECURITY}" = "enabled" ]
|
||||||
then
|
then
|
||||||
if [ "${LIVE_DISTRIBUTION}" = "etch" ] || [ "${LIVE_DISTRIBUTION}" = "testing" ]
|
case "${LH_MODE}" in
|
||||||
|
debian)
|
||||||
|
if [ "${LIVE_DISTRIBUTION}" != "sid" ] && [ "${LIVE_DISTRIBUTION}" != "unstable" ]
|
||||||
then
|
then
|
||||||
echo "deb ${LIVE_MIRROR_IMAGE_SECURITY} ${LIVE_DISTRIBUTION}/updates ${LIVE_SECTIONS}" >> chroot/etc/apt/sources.list
|
echo "deb ${LIVE_MIRROR_IMAGE_SECURITY} ${LIVE_DISTRIBUTION}/updates ${LIVE_SECTIONS}" >> chroot/etc/apt/sources.list
|
||||||
|
|
||||||
if [ "${LIVE_SOURCE}" = "yes" ]
|
if [ "${LIVE_SOURCE}" = "enabled" ]
|
||||||
then
|
then
|
||||||
echo "deb-src ${LIVE_MIRROR_IMAGE_SECURITY} ${LIVE_DISTRIBUTION}/updates ${LIVE_SECTIONS}" >> chroot/etc/apt/sources.list
|
echo "deb-src ${LIVE_MIRROR_IMAGE_SECURITY} ${LIVE_DISTRIBUTION}/updates ${LIVE_SECTIONS}" >> chroot/etc/apt/sources.list
|
||||||
fi
|
fi
|
||||||
fi
|
fi
|
||||||
|
;;
|
||||||
|
|
||||||
|
ubuntu)
|
||||||
|
echo "deb ${LIVE_MIRROR_IMAGE_SECURITY} ${LIVE_DISTRIBUTION}-security ${LIVE_SECTIONS}" >> chroot/etc/apt/sources.list
|
||||||
|
|
||||||
|
if [ "${LIVE_SOURCE}" = "enabled" ]
|
||||||
|
then
|
||||||
|
echo "deb-src ${LIVE_MIRROR_IMAGE_SECURITY} ${LIVE_DISTRIBUTION}-security ${LIVE_SECTIONS}" >> chroot/etc/apt/sources.list
|
||||||
|
fi
|
||||||
|
;;
|
||||||
|
esac
|
||||||
fi
|
fi
|
||||||
|
|
||||||
# Check local sources.list
|
# Check local sources.list
|
||||||
|
@ -175,7 +201,7 @@ case "${1}" in
|
||||||
echo "" >> chroot/etc/apt/sources.list
|
echo "" >> chroot/etc/apt/sources.list
|
||||||
echo "# Custom repositories" >> chroot/etc/apt/sources.list
|
echo "# Custom repositories" >> chroot/etc/apt/sources.list
|
||||||
|
|
||||||
for FILE in config/chroot_sources/*.build
|
for FILE in config/chroot_sources/*.image
|
||||||
do
|
do
|
||||||
cat ${FILE} | grep -v "^##" >> chroot/etc/apt/sources.list
|
cat ${FILE} | grep -v "^##" >> chroot/etc/apt/sources.list
|
||||||
done
|
done
|
||||||
|
|
|
@ -47,41 +47,17 @@ Create_lockfile .lock
|
||||||
|
|
||||||
if [ "${LIVE_SYMLINKS}" = "enabled" ]
|
if [ "${LIVE_SYMLINKS}" = "enabled" ]
|
||||||
then
|
then
|
||||||
if [ -f chroot/usr/bin/symlinks ]
|
# Checking depends
|
||||||
then
|
Check_package chroot/usr/bin/symlinks symlinks
|
||||||
SYMLINKS="true"
|
|
||||||
fi
|
|
||||||
|
|
||||||
if [ -n "${SYMLINKS}" ]
|
# Installing depends
|
||||||
then
|
Install_package
|
||||||
# Installing symlinks
|
|
||||||
case "${LH_APT}" in
|
|
||||||
apt|apt-get)
|
|
||||||
Chroot "apt-get install --yes symlinks"
|
|
||||||
;;
|
|
||||||
|
|
||||||
aptitude)
|
|
||||||
Chroot "aptitude install --assume-yes symlinks"
|
|
||||||
;;
|
|
||||||
esac
|
|
||||||
fi
|
|
||||||
|
|
||||||
# Converting symlinks
|
# Converting symlinks
|
||||||
Chroot "symlinks -c -r -s /"
|
Chroot "symlinks -c -r -s /"
|
||||||
|
|
||||||
if [ -n "${SYMLINKS}" ]
|
# Removing depends
|
||||||
then
|
Remove_package
|
||||||
# Removing symlinks
|
|
||||||
case "${LH_APT}" in
|
|
||||||
apt|apt-get)
|
|
||||||
Chroot "apt-get remove --purge --yes symlinks"
|
|
||||||
;;
|
|
||||||
|
|
||||||
aptitude)
|
|
||||||
Chroot "aptitude purge --assume-yes symlinks"
|
|
||||||
;;
|
|
||||||
esac
|
|
||||||
fi
|
|
||||||
|
|
||||||
# Creating stage file
|
# Creating stage file
|
||||||
Create_stagefile .stage/chroot_symlinks
|
Create_stagefile .stage/chroot_symlinks
|
||||||
|
|
|
@ -57,7 +57,7 @@ case "${1}" in
|
||||||
fi
|
fi
|
||||||
|
|
||||||
# Mounting /sys
|
# Mounting /sys
|
||||||
mount sysfs-live -t sysfs chroot/sys
|
${LH_ROOT_COMMAND} mount sysfs-live -t sysfs chroot/sys
|
||||||
|
|
||||||
# Creating stage file
|
# Creating stage file
|
||||||
Create_stagefile .stage/chroot_sysfs
|
Create_stagefile .stage/chroot_sysfs
|
||||||
|
@ -72,7 +72,7 @@ case "${1}" in
|
||||||
|
|
||||||
# Unmounting /sys
|
# Unmounting /sys
|
||||||
#fuser -km chroot/sys
|
#fuser -km chroot/sys
|
||||||
umount chroot/sys > /dev/null 2>&1
|
${LH_ROOT_COMMAND} umount chroot/sys > /dev/null 2>&1
|
||||||
|
|
||||||
# Removing stage file
|
# Removing stage file
|
||||||
rm -f .stage/chroot_sysfs
|
rm -f .stage/chroot_sysfs
|
||||||
|
|
|
@ -50,48 +50,36 @@ then
|
||||||
# Restoring cache
|
# Restoring cache
|
||||||
Restore_cache cache/chroot_tasks
|
Restore_cache cache/chroot_tasks
|
||||||
|
|
||||||
if [ ! -f chroot/usr/bin/aptitude ]
|
# Checking depends
|
||||||
then
|
case "${LH_TASKSEL}" in
|
||||||
PACKAGES="${PACKAGES} aptitude"
|
aptitude)
|
||||||
fi
|
Check_package chroot/usr/bin/aptitude aptitude
|
||||||
|
|
||||||
if [ ! -f chroot/usr/bin/tasksel ]
|
|
||||||
then
|
|
||||||
PACKAGES="${PACKAGES} tasksel"
|
|
||||||
fi
|
|
||||||
|
|
||||||
if [ -n "${PACKAGES}" ]
|
|
||||||
then
|
|
||||||
# Installing symlinks
|
|
||||||
case "${LH_APT}" in
|
|
||||||
apt|apt-get)
|
|
||||||
Chroot "apt-get install --yes ${PACKAGES}"
|
|
||||||
;;
|
;;
|
||||||
|
|
||||||
aptitude)
|
tasksel)
|
||||||
Chroot "aptitude install --assume-yes ${PACKAGES}"
|
Check_package chroot/usr/bin/tasksel tasksel
|
||||||
;;
|
;;
|
||||||
esac
|
esac
|
||||||
fi
|
|
||||||
|
|
||||||
|
# Installing depends
|
||||||
|
Install_package
|
||||||
|
|
||||||
|
# Installing tasks
|
||||||
|
case "${LH_TASKSEL}" in
|
||||||
|
aptitude)
|
||||||
|
Chroot "aptitude install --assume-yes ${LIVE_TASKS}"
|
||||||
|
;;
|
||||||
|
|
||||||
|
tasksel)
|
||||||
for TASK in ${LIVE_TASKS}
|
for TASK in ${LIVE_TASKS}
|
||||||
do
|
do
|
||||||
Chroot "tasksel --debconf-apt-progress --logstderr install ${TASK}"
|
Chroot "tasksel --debconf-apt-progress --logstderr install ${TASK}"
|
||||||
done
|
done
|
||||||
|
|
||||||
if [ -n "${PACKAGES}" ]
|
|
||||||
then
|
|
||||||
# Removing packages
|
|
||||||
case "${LH_APT}" in
|
|
||||||
apt|apt-get)
|
|
||||||
Chroot "apt-get remove --purge --yes ${PACKAGES}"
|
|
||||||
;;
|
|
||||||
|
|
||||||
aptitude)
|
|
||||||
Chroot "aptitude purge --assume-yes ${PACKAGES}"
|
|
||||||
;;
|
;;
|
||||||
esac
|
esac
|
||||||
fi
|
|
||||||
|
# Removing depends
|
||||||
|
Remove_package
|
||||||
|
|
||||||
# Saving cache
|
# Saving cache
|
||||||
Save_cache cache/chroot_tasks
|
Save_cache cache/chroot_tasks
|
||||||
|
|
|
@ -47,22 +47,22 @@ case "${1}" in
|
||||||
;;
|
;;
|
||||||
|
|
||||||
cache)
|
cache)
|
||||||
rm -rf cache
|
${LH_ROOT_COMMAND} rm -rf cache
|
||||||
;;
|
;;
|
||||||
|
|
||||||
chroot)
|
chroot)
|
||||||
umount -f chroot/sys > /dev/null 2>&1 || true
|
${LH_ROOT_COMMAND} umount -f chroot/sys > /dev/null 2>&1 || true
|
||||||
umount -f chroot/proc > /dev/null 2>&1 || true
|
${LH_ROOT_COMMAND} umount -f chroot/proc > /dev/null 2>&1 || true
|
||||||
umount -f chroot/lib/init/rw > /dev/null 2>&1 || true
|
${LH_ROOT_COMMAND} umount -f chroot/lib/init/rw > /dev/null 2>&1 || true
|
||||||
umount -f chroot/dev/shm > /dev/null 2>&1 || true
|
${LH_ROOT_COMMAND} umount -f chroot/dev/shm > /dev/null 2>&1 || true
|
||||||
umount -f chroot/dev/pts > /dev/null 2>&1 || true
|
${LH_ROOT_COMMAND} umount -f chroot/dev/pts > /dev/null 2>&1 || true
|
||||||
umount -f chroot/dev > /dev/null 2>&1 || true
|
${LH_ROOT_COMMAND} umount -f chroot/dev > /dev/null 2>&1 || true
|
||||||
|
|
||||||
rm -rf chroot chroot.tmp
|
${LH_ROOT_COMMAND} rm -rf chroot chroot.tmp
|
||||||
|
|
||||||
if [ "${PURGE}" != "true" ] && [ -d cache/chroot_bootstrap ]
|
if [ "${PURGE}" != "true" ] && [ -d cache/chroot_bootstrap ]
|
||||||
then
|
then
|
||||||
cp -a cache/chroot_bootstrap chroot
|
${LH_ROOT_COMMAND} cp -a cache/chroot_bootstrap chroot
|
||||||
mkdir -p .stage
|
mkdir -p .stage
|
||||||
touch .stage/bootstrap
|
touch .stage/bootstrap
|
||||||
fi
|
fi
|
||||||
|
|
|
@ -121,12 +121,20 @@ LH_GENISOIMAGE="${LH_GENISOIMAGE}"
|
||||||
# (Default: autodetected)
|
# (Default: autodetected)
|
||||||
LH_LOSETUP="${LH_LOSETUP}"
|
LH_LOSETUP="${LH_LOSETUP}"
|
||||||
|
|
||||||
|
# \$LH_TASKSEL: set the tasksel program
|
||||||
|
# (Default: ${LH_TASKSEL})
|
||||||
|
LH_TASKSEL="${LH_TASKSEL}"
|
||||||
|
|
||||||
# \$LIVE_ROOT: set the root directory
|
# \$LIVE_ROOT: set the root directory
|
||||||
# (Default: ${LIVE_ROOT})
|
# (Default: ${LIVE_ROOT})
|
||||||
LIVE_ROOT="${LIVE_ROOT}"
|
LIVE_ROOT="${LIVE_ROOT}"
|
||||||
|
|
||||||
# Live-helper options
|
# Live-helper options
|
||||||
|
|
||||||
|
# \$LH_ROOT_COMMAND: use sudo or equivalent
|
||||||
|
# (Default: empty)
|
||||||
|
#LH_ROOT_COMMAND="sudo"
|
||||||
|
|
||||||
# \$LH_BREAKPOINTS: enable breakpoints
|
# \$LH_BREAKPOINTS: enable breakpoints
|
||||||
# (Default: ${LH_BREAKPOINTS})
|
# (Default: ${LH_BREAKPOINTS})
|
||||||
LH_BREAKPOINTS="${LH_BREAKPOINTS}"
|
LH_BREAKPOINTS="${LH_BREAKPOINTS}"
|
||||||
|
@ -323,4 +331,6 @@ LIVE_TEMPLATES="${LIVE_TEMPLATES}"
|
||||||
EOF
|
EOF
|
||||||
|
|
||||||
# Creating lh_binary_* directories
|
# Creating lh_binary_* directories
|
||||||
|
mkdir -p "${LIVE_ROOT}"/config/binary_grub
|
||||||
mkdir -p "${LIVE_ROOT}"/config/binary_localincludes
|
mkdir -p "${LIVE_ROOT}"/config/binary_localincludes
|
||||||
|
mkdir -p "${LIVE_ROOT}"/config/binary_syslinux
|
||||||
|
|
|
@ -35,7 +35,7 @@ Breakpoint "losetup: Init"
|
||||||
|
|
||||||
if [ -z "${1}" ]
|
if [ -z "${1}" ]
|
||||||
then
|
then
|
||||||
DEVICE="`${LH_LOSETUP} -f`"
|
DEVICE="`${LH_ROOT_COMMAND} ${LH_LOSETUP} -f`"
|
||||||
else
|
else
|
||||||
DEVICE="${1}"
|
DEVICE="${1}"
|
||||||
fi
|
fi
|
||||||
|
@ -43,9 +43,9 @@ fi
|
||||||
FILE="${2}"
|
FILE="${2}"
|
||||||
PARTITION="${3}"
|
PARTITION="${3}"
|
||||||
|
|
||||||
${LH_LOSETUP} "${DEVICE}" "${FILE}"
|
${LH_ROOT_COMMAND} ${LH_LOSETUP} "${DEVICE}" "${FILE}"
|
||||||
FDISK_OUT="`fdisk -l -u ${DEVICE} 2>&1`"
|
FDISK_OUT="`fdisk -l -u ${DEVICE} 2>&1`"
|
||||||
${LH_LOSETUP} -d "${DEVICE}"
|
${LH_ROOT_COMMAND} ${LH_LOSETUP} -d "${DEVICE}"
|
||||||
|
|
||||||
LOOPDEVICE="`echo ${DEVICE}p${PARTITION:=1}`"
|
LOOPDEVICE="`echo ${DEVICE}p${PARTITION:=1}`"
|
||||||
CYL=`echo "$FDISK_OUT" | sed -ne "s_^$LOOPDEVICE[ *]*\([0-9]*\).*_\1_p"`
|
CYL=`echo "$FDISK_OUT" | sed -ne "s_^$LOOPDEVICE[ *]*\([0-9]*\).*_\1_p"`
|
||||||
|
@ -56,7 +56,7 @@ echo loop $DEVICE at offset $OFFSET
|
||||||
|
|
||||||
if [ "${PARTITION}" = "0" ]
|
if [ "${PARTITION}" = "0" ]
|
||||||
then
|
then
|
||||||
${LH_LOSETUP} "${DEVICE}" "${FILE}"
|
${LH_ROOT_COMMAND} ${LH_LOSETUP} "${DEVICE}" "${FILE}"
|
||||||
else
|
else
|
||||||
${LH_LOSETUP} -o "${OFFSET}" "${DEVICE}" "${FILE}"
|
${LH_ROOT_COMMAND} ${LH_LOSETUP} -o "${OFFSET}" "${DEVICE}" "${FILE}"
|
||||||
fi
|
fi
|
||||||
|
|
|
@ -61,6 +61,7 @@ do
|
||||||
fi
|
fi
|
||||||
|
|
||||||
# Create tarball
|
# Create tarball
|
||||||
|
Echo_message "Creating tarball, this can take a while."
|
||||||
tar cf source.tar source
|
tar cf source.tar source
|
||||||
|
|
||||||
# Creating stage file
|
# Creating stage file
|
||||||
|
|
|
@ -61,6 +61,7 @@ do
|
||||||
fi
|
fi
|
||||||
|
|
||||||
# Create tarball
|
# Create tarball
|
||||||
|
Echo_message "Creating tarball, this can take a while."
|
||||||
tar cfz source-hdd.tar.gz source
|
tar cfz source-hdd.tar.gz source
|
||||||
|
|
||||||
# Creating stage file
|
# Creating stage file
|
||||||
|
|
|
@ -54,29 +54,12 @@ do
|
||||||
# Creating lock file
|
# Creating lock file
|
||||||
Create_lockfile .lock
|
Create_lockfile .lock
|
||||||
|
|
||||||
if [ ! -f chroot/sbin/mkdosfs ]
|
# Checking depends
|
||||||
then
|
Check_package chroot/sbin/mkdosfs dosfstools
|
||||||
PACKAGES="${PACKAGES} dosfstools"
|
Check_package chroot/sbin/parted parted
|
||||||
fi
|
|
||||||
|
|
||||||
if [ ! -f chroot/sbin/parted ]
|
# Installing depends
|
||||||
then
|
Install_package
|
||||||
PACKAGES="${PACKAGES} parted"
|
|
||||||
fi
|
|
||||||
|
|
||||||
if [ -n "${PACKAGES}" ]
|
|
||||||
then
|
|
||||||
# Installing packages
|
|
||||||
case "${LH_APT}" in
|
|
||||||
apt|apt-get)
|
|
||||||
Chroot "apt-get install --yes ${PACKAGES}"
|
|
||||||
;;
|
|
||||||
|
|
||||||
aptitude)
|
|
||||||
Chroot "aptitude install --assume-yes ${PACKAGES}"
|
|
||||||
;;
|
|
||||||
esac
|
|
||||||
fi
|
|
||||||
|
|
||||||
# Remove old source
|
# Remove old source
|
||||||
if [ -f source.img ]
|
if [ -f source.img ]
|
||||||
|
@ -107,9 +90,9 @@ do
|
||||||
lh_losetup $FREELO source.img 1
|
lh_losetup $FREELO source.img 1
|
||||||
Chroot "mkfs.msdos -n DEBIAN_LIVE ${FREELO}"
|
Chroot "mkfs.msdos -n DEBIAN_LIVE ${FREELO}"
|
||||||
mkdir -p source.tmp
|
mkdir -p source.tmp
|
||||||
mount ${FREELO} source.tmp
|
${LH_ROOT_COMMAND} mount ${FREELO} source.tmp
|
||||||
cp -r source/* source.tmp
|
cp -r source/* source.tmp
|
||||||
umount source.tmp
|
${LH_ROOT_COMMAND} umount source.tmp
|
||||||
rmdir source.tmp
|
rmdir source.tmp
|
||||||
${LH_LOSETUP} -d ${FREELO}
|
${LH_LOSETUP} -d ${FREELO}
|
||||||
echo "!!! The above error/warning messages can be ignored !!!"
|
echo "!!! The above error/warning messages can be ignored !!!"
|
||||||
|
@ -120,19 +103,8 @@ do
|
||||||
mv chroot/dev.tmp chroot/dev
|
mv chroot/dev.tmp chroot/dev
|
||||||
fi
|
fi
|
||||||
|
|
||||||
if [ -n "${PACKAGES}" ]
|
# Removing depends
|
||||||
then
|
Remove_package
|
||||||
# Removing packages
|
|
||||||
case "${LH_APT}" in
|
|
||||||
apt|apt-get)
|
|
||||||
Chroot "apt-get remove --purge --yes ${PACKAGES}"
|
|
||||||
;;
|
|
||||||
|
|
||||||
aptitude)
|
|
||||||
Chroot "aptitude purge --assume-yes ${PACKAGES}"
|
|
||||||
;;
|
|
||||||
esac
|
|
||||||
fi
|
|
||||||
|
|
||||||
# Creating stage file
|
# Creating stage file
|
||||||
Create_stagefile .stage/source_usb
|
Create_stagefile .stage/source_usb
|
||||||
|
|
|
@ -22,10 +22,14 @@ USAGE="${PROGRAM} [--force]"
|
||||||
|
|
||||||
Arguments "${@}"
|
Arguments "${@}"
|
||||||
|
|
||||||
|
# Reading configuration files
|
||||||
|
Read_conffile config/common
|
||||||
|
Set_defaults
|
||||||
|
|
||||||
Echo_debug "Init ${PROGRAM}"
|
Echo_debug "Init ${PROGRAM}"
|
||||||
|
|
||||||
# Checking user account
|
# Checking user account
|
||||||
if [ "`id -u`" -ne "0" ]
|
if [ "`${LH_ROOT_COMMAND} id -u`" -ne "0" ]
|
||||||
then
|
then
|
||||||
Echo_error "need root privileges"
|
Echo_error "need root privileges"
|
||||||
exit 1
|
exit 1
|
||||||
|
|
|
@ -31,13 +31,13 @@ done
|
||||||
# Set static variables
|
# Set static variables
|
||||||
PROGRAM="`basename ${0}`"
|
PROGRAM="`basename ${0}`"
|
||||||
DESCRIPTION="utility to build Debian Live systems"
|
DESCRIPTION="utility to build Debian Live systems"
|
||||||
USAGE="${PROGRAM} [config] [--mode MODE] [--config CONFIG] [--apt apt|aptitude] [--apt-ftpproxy URL] [--apt-httpproxy URL] [--apt-generic 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] [-r|--root DIRECTORY] [-a|--architecture ARCHITECTURE] [-d|--distribution testing|unstable|etch|sid] [--distribution-config DIRECTORY] [-f|--bootstrap-flavour minimal|standard] [-m|--mirror-build URL] [--mirror-build-security URL] [--mirror-image URL] [--mirror-image-security URL] [--sections SECTION|\"SECTIONS\"] [--interactive shell|x11|xnest] [-k|--kernel-flavour FLAVOUR] [--kernel-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 KERNEL_PARAMETER|\"KERNEL_PARAMETERS\"] [-e|--encryption ALGORITHM] [--username NAME] [--hostname NAME] [--filesystem ext2|plain|squashfs] [--memtest memtest86|memtest86+] [--iso-volume STRING] [--server-address HOSTNAME|IP] [--server-path DIRECTORY] [--source enabled|disabled] [--bootloader grub|syslinux] [--grub-splash FILE] [--syslinux-splash FILE] [-b|--binary-image hdd|iso|usb|net] [-s|--source-image generic|hdd|iso|usb|net] [--includes PATH] [--templates PATH] [--breakpoints] [--debug] [--force] [--quiet] [--verbose]"
|
USAGE="${PROGRAM} [config] [--mode MODE] [--config CONFIG] [--apt apt|aptitude] [--apt-ftpproxy URL] [--apt-httpproxy URL] [--apt-generic 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-build URL] [--mirror-build-security URL] [--mirror-image URL] [--mirror-image-security URL] [--sections SECTION|\"SECTIONS\"] [--interactive shell|x11|xnest] [-k|--kernel-flavour FLAVOUR] [--kernel-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 KERNEL_PARAMETER|\"KERNEL_PARAMETERS\"] [-e|--encryption ALGORITHM] [--username NAME] [--hostname NAME] [--filesystem ext2|plain|squashfs] [--memtest memtest86|memtest86+] [--iso-volume STRING] [--server-address HOSTNAME|IP] [--server-path DIRECTORY] [--source enabled|disabled] [--bootloader grub|syslinux] [--grub-splash FILE] [--syslinux-splash FILE] [-b|--binary-image hdd|iso|usb|net] [-s|--source-image generic|hdd|iso|usb|net] [--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"
|
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 ()
|
Local_arguments ()
|
||||||
{
|
{
|
||||||
ARGUMENTS="`getopt --longoptions mode:,config:,apt:,apt-ftpproxy:,apt-httpproxy:,apt-generic:,apt-pdiffs:,apt-recommends:,apt-secure:,bootstrap:,cache:,debconf-frontend:,debconf-priority:,debconf-nowarnings:,genisoimage:,losetup:,root:,architecture:,distribution:,distribution-config:,flavour:,mirror-build:,mirror-build-security:,mirror-image:,mirror-image-security:,sections:,interactive:,kernel:,kernel-packages:,keyring-packages:,hooks:,language:,packages:,packages-lists:,tasks:,security:,symlinks:,sysvinit:,bootappend:,encryption:,username:,hostname:,filesystem:,memtest:,iso-volume:,server-address:,server-path:,source:,bootloader:,grub-splash:,syslinux-splash:,binary-image:,binary-source:,includes:,templates:,help,usage,version,force,breakpoints,debug,quiet,verbose --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:,apt-generic:,apt-pdiffs:,apt-recommends:,apt-secure:,bootstrap:,cache:,debconf-frontend:,debconf-priority:,debconf-nowarnings:,genisoimage:,losetup:,tasksel:,root:,architecture:,distribution:,distribution-config:,flavour:,mirror-build:,mirror-build-security:,mirror-image:,mirror-image-security:,sections:,interactive:,kernel:,kernel-packages:,keyring-packages:,hooks:,language:,packages:,packages-lists:,tasks:,security:,symlinks:,sysvinit:,bootappend:,encryption:,username:,hostname:,filesystem:,memtest:,iso-volume:,server-address:,server-path:,source:,bootloader:,grub-splash:,syslinux-splash:,binary-image:,binary-source:,includes:,templates:,help,usage,version,force,breakpoints,debug,quiet,verbose,root-command: --name=${PROGRAM} --options r:a:d:f:m:k:l:p:e:b:s:huv --shell sh -- "${@}"`"
|
||||||
|
|
||||||
if [ "${?}" != "0" ]
|
if [ "${?}" != "0" ]
|
||||||
then
|
then
|
||||||
|
@ -120,10 +120,18 @@ Local_arguments ()
|
||||||
LH_LOSETUP="${2}"; shift 2
|
LH_LOSETUP="${2}"; shift 2
|
||||||
;;
|
;;
|
||||||
|
|
||||||
|
--tasksel)
|
||||||
|
LH_TASKSEL="${2}"; shift 2
|
||||||
|
;;
|
||||||
|
|
||||||
-r|--root)
|
-r|--root)
|
||||||
LIVE_ROOT="${2}"; shift 2
|
LIVE_ROOT="${2}"; shift 2
|
||||||
;;
|
;;
|
||||||
|
|
||||||
|
--root-command)
|
||||||
|
LIVE_ROOT_COMMAND="${2}"; shift 2
|
||||||
|
;;
|
||||||
|
|
||||||
# bootstrap
|
# bootstrap
|
||||||
-a|--architecture)
|
-a|--architecture)
|
||||||
LIVE_ARCHITECTURE="${2}"; shift 2
|
LIVE_ARCHITECTURE="${2}"; shift 2
|
||||||
|
@ -257,7 +265,7 @@ Local_arguments ()
|
||||||
;;
|
;;
|
||||||
|
|
||||||
--grub-splash)
|
--grub-splash)
|
||||||
LIVE_SYSLINUX="${2}"; shift 2
|
LIVE_GRUB_SPLASH="${2}"; shift 2
|
||||||
;;
|
;;
|
||||||
|
|
||||||
--syslinux-splash)
|
--syslinux-splash)
|
||||||
|
@ -345,7 +353,7 @@ Main ()
|
||||||
Local_arguments "${@}"
|
Local_arguments "${@}"
|
||||||
|
|
||||||
# Configuring (this is really shit!)
|
# Configuring (this is really shit!)
|
||||||
LH_MODE="${LH_MODE}" LH_CONFIG="${LH_CONFIG}" LH_APT="${LH_APT}" LH_APT_FTPPROXY="${LH_APT_FTPPROXY}" LH_APT_HTTPPROXY="${LH_APT_HTTPPROXY}" LH_APT_GENERIC="${LH_APT_GENERIC}" LH_APT_PDIFFS="${LH_APT_PDIFFS}" LH_APT_RECOMMENDS="${LH_APT_RECOMMENDS}" LH_APT_SECURE="${LH_APT_SECURE}" LH_BOOTSTRAP="${LH_BOOTSTRAP}" LH_CACHE="${LH_CACHE}" LH_DEBCONF_FRONTEND="${LH_DEBCONF_FRONTEND}" LH_DEBCONF_PRIORITY="${LH_DEBCONF_PRIORITY}" LH_DEBCONF_NOWARNINGS="${LH_DEBCONF_NOWARNINGS}" LH_GENISOIMAGE="${LH_GENISOIMAGE}" LIVE_ROOT="${LIVE_ROOT}" LIVE_ARCHITECTURE="${LIVE_ARCHITECTURE}" LIVE_DISTRIBUTION="${LIVE_DISTRIBUTION}" LIVE_DISTRIBUTION_CONFIG="${LIVE_DISTRIBUTION_CONFIG}" LIVE_BOOTSTRAP_FLAVOUR="${LIVE_BOOTSTRAP_FLAVOUR}" LIVE_MIRROR_BUILD="${LIVE_MIRROR_BUILD}" LIVE_MIRROR_BUILD_SECURITY="${LIVE_MIRROR_BUILD_SECURITY}" LIVE_MIRROR_IMAGE="${LIVE_MIRROR_IMAGE}" LIVE_MIRROR_IMAGE_SECURITY="${LIVE_MIRROR_IMAGE_SECURITY}" LIVE_SECTIONS="${LIVE_SECTIONS}" LIVE_INTERACTIVE="${LIVE_INTERACTIVE}" LIVE_KERNEL_FLAVOUR="${LIVE_KERNEL_FLAVOUR}" LIVE_KERNEL_PACKAGES="${LIVE_KERNEL_PACKAGES}" LIVE_KEYRING_PACKAGES="${LIVE_KEYRING_PACKAGES}" LIVE_HOOKS="${LIVE_HOOKS}" LIVE_LANGUAGE="${LIVE_LANGUAGE}" LIVE_PACKAGES="${LIVE_PACKAGES}" LIVE_PACKAGES_LISTS="${LIVE_PACKAGES_LISTS}" LIVE_TASKS="${LIVE_TASKS}" LIVE_SECURITY="${LIVE_SECURITY}" LIVE_SYMLINKS="${LIVE_SYMLINKS}" LIVE_SYSVINIT="${LIVE_SYSVINIT}" LIVE_BOOTAPPEND="${LIVE_BOOTAPPEND}" LIVE_ENCRYPTION="${LIVE_ENCRYPTION}" LIVE_USERNAME="${LIVE_USERNAME}" LIVE_HOSTNAME="${LIVE_HOSTNAME}" LIVE_FILESYSTEM="${LIVE_FILESYSTEM}" LIVE_MEMTEST="${LIVE_MEMTEST}" LIVE_ISO_VOLUME="${LIVE_ISO_VOLUME}" LIVE_SERVER_ADDRESS="${LIVE_SERVER_ADDRESS}" LIVE_SERVER_PATH="${LIVE_SERVER_PATH}" LIVE_SOURCE="${LIVE_SOURCE}" LIVE_BOOTLOADER="${LIVE_BOOTLOADER}" LIVE_GRUB_SPLASH="${LIVE_GRUB_SPLASH}" LIVE_SYSLINUX_SPLASH="${LIVE_SYSLINUX_SPLASH}" LIVE_BINARY_IMAGE="${LIVE_BINARY_IMAGE}" LIVE_SOURCE_IMAGE="${LIVE_SOURCE_IMAGE}" LIVE_INCLUDES="${LIVE_INCLUDES}" LIVE_TEMPLATES="${LIVE_TEMPLATES}" lh_config newconfig
|
LH_MODE="${LH_MODE}" LH_CONFIG="${LH_CONFIG}" LH_APT="${LH_APT}" LH_APT_FTPPROXY="${LH_APT_FTPPROXY}" LH_APT_HTTPPROXY="${LH_APT_HTTPPROXY}" LH_APT_GENERIC="${LH_APT_GENERIC}" LH_APT_PDIFFS="${LH_APT_PDIFFS}" LH_APT_RECOMMENDS="${LH_APT_RECOMMENDS}" LH_APT_SECURE="${LH_APT_SECURE}" LH_BOOTSTRAP="${LH_BOOTSTRAP}" LH_CACHE="${LH_CACHE}" LH_DEBCONF_FRONTEND="${LH_DEBCONF_FRONTEND}" LH_DEBCONF_PRIORITY="${LH_DEBCONF_PRIORITY}" LH_DEBCONF_NOWARNINGS="${LH_DEBCONF_NOWARNINGS}" LH_GENISOIMAGE="${LH_GENISOIMAGE}" LH_LOSETUP="${LH_LOSETUP}" LH_TASKSEL="${LH_TASKSEL}" LIVE_ROOT="${LIVE_ROOT}" LIVE_ARCHITECTURE="${LIVE_ARCHITECTURE}" LIVE_DISTRIBUTION="${LIVE_DISTRIBUTION}" LIVE_DISTRIBUTION_CONFIG="${LIVE_DISTRIBUTION_CONFIG}" LIVE_BOOTSTRAP_FLAVOUR="${LIVE_BOOTSTRAP_FLAVOUR}" LIVE_MIRROR_BUILD="${LIVE_MIRROR_BUILD}" LIVE_MIRROR_BUILD_SECURITY="${LIVE_MIRROR_BUILD_SECURITY}" LIVE_MIRROR_IMAGE="${LIVE_MIRROR_IMAGE}" LIVE_MIRROR_IMAGE_SECURITY="${LIVE_MIRROR_IMAGE_SECURITY}" LIVE_SECTIONS="${LIVE_SECTIONS}" LIVE_INTERACTIVE="${LIVE_INTERACTIVE}" LIVE_KERNEL_FLAVOUR="${LIVE_KERNEL_FLAVOUR}" LIVE_KERNEL_PACKAGES="${LIVE_KERNEL_PACKAGES}" LIVE_KEYRING_PACKAGES="${LIVE_KEYRING_PACKAGES}" LIVE_HOOKS="${LIVE_HOOKS}" LIVE_LANGUAGE="${LIVE_LANGUAGE}" LIVE_PACKAGES="${LIVE_PACKAGES}" LIVE_PACKAGES_LISTS="${LIVE_PACKAGES_LISTS}" LIVE_TASKS="${LIVE_TASKS}" LIVE_SECURITY="${LIVE_SECURITY}" LIVE_SYMLINKS="${LIVE_SYMLINKS}" LIVE_SYSVINIT="${LIVE_SYSVINIT}" LIVE_BOOTAPPEND="${LIVE_BOOTAPPEND}" LIVE_ENCRYPTION="${LIVE_ENCRYPTION}" LIVE_USERNAME="${LIVE_USERNAME}" LIVE_HOSTNAME="${LIVE_HOSTNAME}" LIVE_FILESYSTEM="${LIVE_FILESYSTEM}" LIVE_MEMTEST="${LIVE_MEMTEST}" LIVE_ISO_VOLUME="${LIVE_ISO_VOLUME}" LIVE_SERVER_ADDRESS="${LIVE_SERVER_ADDRESS}" LIVE_SERVER_PATH="${LIVE_SERVER_PATH}" LIVE_SOURCE="${LIVE_SOURCE}" LIVE_BOOTLOADER="${LIVE_BOOTLOADER}" LIVE_GRUB_SPLASH="${LIVE_GRUB_SPLASH}" LIVE_SYSLINUX_SPLASH="${LIVE_SYSLINUX_SPLASH}" LIVE_BINARY_IMAGE="${LIVE_BINARY_IMAGE}" LIVE_SOURCE_IMAGE="${LIVE_SOURCE_IMAGE}" LIVE_INCLUDES="${LIVE_INCLUDES}" LIVE_TEMPLATES="${LIVE_TEMPLATES}" LH_ROOT_COMMAND="${LH_ROOT_COMMAND}" lh_config newconfig
|
||||||
|
|
||||||
if [ "${LH_BREAKPOINTS}" = "enabled" ]
|
if [ "${LH_BREAKPOINTS}" = "enabled" ]
|
||||||
then
|
then
|
||||||
|
@ -379,4 +387,8 @@ Main ()
|
||||||
fi
|
fi
|
||||||
}
|
}
|
||||||
|
|
||||||
|
trap "if [ -f ${ROOT}/chroot/proc/version ]; then umount ${ROOT}/chroot/proc; fi; \
|
||||||
|
if [ -f ${ROOT}/chroot/sys/kernel ]; then umount ${ROOT}/chroot/sys; fi; exit" \
|
||||||
|
0 1 2 3 9 15
|
||||||
|
|
||||||
Main "${@}"
|
Main "${@}"
|
||||||
|
|
|
@ -0,0 +1,14 @@
|
||||||
|
#!/bin/sh
|
||||||
|
|
||||||
|
# /usr/share/live-helper/hooks/kde-desktop - hook list for live-helper(7)
|
||||||
|
# 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
|
||||||
|
|
||||||
|
apt-get remove --purge --yes gdm
|
||||||
|
update-alternatives --set x-session-manager /usr/bin/startkde
|
||||||
|
dpkg-reconfigure kdm
|
|
@ -1 +1 @@
|
||||||
etch/
|
etch
|
|
@ -13,7 +13,7 @@ mc nano-tiny qemacs-nox mg aview
|
||||||
# Harddisk
|
# Harddisk
|
||||||
hdparm blktool scsitools
|
hdparm blktool scsitools
|
||||||
# Memory
|
# Memory
|
||||||
memtester memtest86+ dmidecode
|
dmidecode
|
||||||
# System
|
# System
|
||||||
procinfo pciutils usbutils hwinfo hwtools x86info cpuid
|
procinfo pciutils usbutils hwinfo hwtools x86info cpuid
|
||||||
# Tools
|
# Tools
|
||||||
|
|
|
@ -0,0 +1,59 @@
|
||||||
|
.TH LH_BINARY 1 "23.04.2007" "1.0~a7" "live\-helper"
|
||||||
|
|
||||||
|
.SH NAME
|
||||||
|
lh_binary \- Meta\-Helper f\[:u]r lh_binary_*
|
||||||
|
|
||||||
|
.SH SYNTAX
|
||||||
|
.B lh_binary [\fIlive\-helper\ Optionen\fR\|]
|
||||||
|
|
||||||
|
.SH BESCHREIBUNG
|
||||||
|
lh_binary ist ein Meta\-Helper. Es ruft alle n\[:o]tigen Helper auf um die binary\-Stufe zu vervollst\[:a]ndigen.
|
||||||
|
|
||||||
|
.SH BINARY HELPER
|
||||||
|
Hier ist eine vollst\[:a]ndige Liste aller verf\[:u]gbaren binary\-Helper Kommandos. Siehe deren Hilfeseiten f\[:u]r zus\[:a]tzliche Dokumentation.
|
||||||
|
.IP "\fIlh_binary_chroot\fR(1)" 4
|
||||||
|
kopiert chroot in chroot.
|
||||||
|
.IP "\fIlh_binary_encryption\fR(1)" 4
|
||||||
|
verschl\[:u]sselt das Root\-Dateisystem.
|
||||||
|
.IP "\fIlh_binary_grub\fR(1)" 4
|
||||||
|
kopiert grub in das Binary\-Image.
|
||||||
|
.IP "\fIlh_binary_hdd\fR(1)" 4
|
||||||
|
erstellt den Festplatten Binary\-Tarball.
|
||||||
|
.IP "\fIlh_binary_includes\fR(1)" 4
|
||||||
|
kopiert Dateien in das Binary\-Image.
|
||||||
|
.IP "\fIlh_binary_iso\fR(1)" 4
|
||||||
|
erstell das CD/DVD Binary\-Image.
|
||||||
|
.IP "\fIlh_binary_linuximage\fR(1)" 4
|
||||||
|
kopiert linux\-image in das Binary\-Image.
|
||||||
|
.IP "\fIlh_binary_localincludes\fR(1)" 4
|
||||||
|
kopiert lokale Dateien in das Binary\-Image.
|
||||||
|
.IP "\fIlh_binary_manifest\fR(1)" 4
|
||||||
|
erstellt die Paketliste des Root\-Dateisystemes.
|
||||||
|
.IP "\fIlh_binary_md5sum\fR(1)" 4
|
||||||
|
erstellt md5sum.txt im Binary\-Image.
|
||||||
|
.IP "\fIlh_binary_memtest\fR(1)" 4
|
||||||
|
kopiert ein memtest in das Binary\-Image.
|
||||||
|
.IP "\fIlh_binary_net\fR(1)" 4
|
||||||
|
erstellt den Netboot Binary\-Tarball.
|
||||||
|
.IP "\fIlh_binary_rootfs\fR(1)" 4
|
||||||
|
erstell das Root\-Dateisystem.
|
||||||
|
.IP "\fIlh_binary_syslinux\fR(1)" 4
|
||||||
|
kopiert syslinux in das Binary\-Image.
|
||||||
|
.IP "\fIlh_binary_usb\fR(1)" 4
|
||||||
|
erstellt das USB Binary\-Image.
|
||||||
|
.IP "\fIlh_binary_yaboot\fR(1)" 4
|
||||||
|
kopiert yaboot in das Binary\-Image.
|
||||||
|
|
||||||
|
.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.
|
|
@ -1,13 +1,13 @@
|
||||||
.TH LH_BINARY 1 "2007\-04\-16" "1.0~a6" "live\-helper"
|
.TH LH_BINARY 1 "2007\-04\-23" "1.0~a7" "live\-helper"
|
||||||
|
|
||||||
.SH NAME
|
.SH NAME
|
||||||
lh_binary \- meta-helper for lh_binary_*
|
lh_binary \- meta\-helper for lh_binary_*
|
||||||
|
|
||||||
.SH SYNOPSIS
|
.SH SYNOPSIS
|
||||||
.B lh_binary [\fIlive\-helper\ options\fR\|]
|
.B lh_binary [\fIlive\-helper\ options\fR\|]
|
||||||
|
|
||||||
.SH DESCRIPTION
|
.SH DESCRIPTION
|
||||||
lh_binary is a meta-helper. It calls all necessary helpers to complete the binary stage.
|
lh_binary is a meta\-helper. It calls all necessary helpers to complete the binary stage.
|
||||||
|
|
||||||
.SH BINARY HELPERS
|
.SH BINARY HELPERS
|
||||||
Here is the complete list of available binary helper commands. See their man pages for additional documentation.
|
Here is the complete list of available binary helper commands. See their man pages for additional documentation.
|
||||||
|
@ -24,7 +24,7 @@ copies files into the binary image.
|
||||||
.IP "\fIlh_binary_iso\fR(1)" 4
|
.IP "\fIlh_binary_iso\fR(1)" 4
|
||||||
creates the CD/DVD binary image.
|
creates the CD/DVD binary image.
|
||||||
.IP "\fIlh_binary_linuximage\fR(1)" 4
|
.IP "\fIlh_binary_linuximage\fR(1)" 4
|
||||||
copies linux-image into the binary image.
|
copies linux\-image into the binary image.
|
||||||
.IP "\fIlh_binary_localincludes\fR(1)" 4
|
.IP "\fIlh_binary_localincludes\fR(1)" 4
|
||||||
copies local files into the binary image.
|
copies local files into the binary image.
|
||||||
.IP "\fIlh_binary_manifest\fR(1)" 4
|
.IP "\fIlh_binary_manifest\fR(1)" 4
|
||||||
|
@ -47,7 +47,7 @@ copies yaboot into the binary image.
|
||||||
.SH SEE ALSO
|
.SH SEE ALSO
|
||||||
\fIlive\-helper\fR(7)
|
\fIlive\-helper\fR(7)
|
||||||
.PP
|
.PP
|
||||||
This program is a part of live-helper.
|
This program is a part of live\-helper.
|
||||||
|
|
||||||
.SH BUGS
|
.SH BUGS
|
||||||
Report bugs against live\-helper <\fIhttp://packages.qa.debian.org/live\-helper/\fR>.
|
Report bugs against live\-helper <\fIhttp://packages.qa.debian.org/live\-helper/\fR>.
|
|
@ -0,0 +1,31 @@
|
||||||
|
.TH LH_BOOTSTRAP 1 "23.04.2007" "1.0~a7" "live\-helper"
|
||||||
|
|
||||||
|
.SH NAME
|
||||||
|
lh_bootstrap \- Meta\-Helper f\[:u]r lh_bootstrap_*
|
||||||
|
|
||||||
|
.SH SYNTAX
|
||||||
|
.B lh_bootstrap [\fIlive\-helper\ Optionen\fR\|]
|
||||||
|
|
||||||
|
.SH BESCHREIBUNG
|
||||||
|
lh_bootstrap ist ein Meta\-Helper. Es ruft alle n\[:o]tigen Helper auf um die bootstrap-Stufe zu vervollst\[:a]ndigen.
|
||||||
|
|
||||||
|
.SH BOOTSTRAP HELPER
|
||||||
|
Hier ist eine vollst\[:a]ndige Liste aller verf\[:u]gbaren bootstrap\-Helper Kommandos. Siehe deren Hilfeseiten f\[:u]r zus\[:a]tzliche Dokumentation.
|
||||||
|
.IP "\fIlh_bootstrap_cdebootstrap\fR(1)" 4
|
||||||
|
erstellt ein Debian-System mit cdebootstrap.
|
||||||
|
.IP "\fIlh_bootstrap_debootstrap\fR(1)" 4
|
||||||
|
erstellt ein Debian-System mit debootstrap.
|
||||||
|
|
||||||
|
.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.
|
|
@ -1,13 +1,13 @@
|
||||||
.TH LH_BOOTSTRAP 1 "2007\-04\-16" "1.0~a6" "live\-helper"
|
.TH LH_BOOTSTRAP 1 "2007\-04\-23" "1.0~a7" "live\-helper"
|
||||||
|
|
||||||
.SH NAME
|
.SH NAME
|
||||||
lh_bootstrap \- meta-helper for lh_bootstrap_*
|
lh_bootstrap \- meta\-helper for lh_bootstrap_*
|
||||||
|
|
||||||
.SH SYNOPSIS
|
.SH SYNOPSIS
|
||||||
.B lh_bootstrap [\fIlive\-helper\ options\fR\|]
|
.B lh_bootstrap [\fIlive\-helper\ options\fR\|]
|
||||||
|
|
||||||
.SH DESCRIPTION
|
.SH DESCRIPTION
|
||||||
lh_bootstrap is a meta-helper. It calls all necessary helpers to complete the bootstrap stage.
|
lh_bootstrap is a meta\-helper. It calls all necessary helpers to complete the bootstrap stage.
|
||||||
|
|
||||||
.SH BOOTSTRAP HELPERS
|
.SH BOOTSTRAP HELPERS
|
||||||
Here is the complete list of available bootstrap helper commands. See their man pages for additional documentation.
|
Here is the complete list of available bootstrap helper commands. See their man pages for additional documentation.
|
||||||
|
@ -19,7 +19,7 @@ bootstraps system with debootstrap.
|
||||||
.SH SEE ALSO
|
.SH SEE ALSO
|
||||||
\fIlive\-helper\fR(7)
|
\fIlive\-helper\fR(7)
|
||||||
.PP
|
.PP
|
||||||
This program is a part of live-helper.
|
This program is a part of live\-helper.
|
||||||
|
|
||||||
.SH BUGS
|
.SH BUGS
|
||||||
Report bugs against live\-helper <\fIhttp://packages.qa.debian.org/live\-helper/\fR>.
|
Report bugs against live\-helper <\fIhttp://packages.qa.debian.org/live\-helper/\fR>.
|
|
@ -0,0 +1,47 @@
|
||||||
|
.TH LH_BOOTSTRAP_CDEBOOTSTRAP 1 "23.04.2007" "1.0~a7" "live\-helper"
|
||||||
|
|
||||||
|
.SH NAME
|
||||||
|
lh_bootstrap_cdebootstrap \- erstellt ein Debian-System mit \fIcdebootstrap\fR(1)
|
||||||
|
|
||||||
|
.SH SYNTAX
|
||||||
|
.B lh_bootstrap_cdebootstrap [\fIlive\-helper\ Optionen\fR\|]
|
||||||
|
|
||||||
|
.SH BESCHREIBUNG
|
||||||
|
lh_bootstrap_cdebootstrap benutzt \fIcdebootstrap\fR(1) um ein Debian Grundsystem zu erstellen.
|
||||||
|
|
||||||
|
.SH KONFIGURATIONSDATEI
|
||||||
|
lh_bootstrap_cdebootstrap liest config/common und config/bootstrap wenn verf\[:ugbar]. Siehe UMGEBUNG zur Benutzung der korrekten Umgebungsvariablen.
|
||||||
|
|
||||||
|
.SH UMGEBUNG
|
||||||
|
lh_bootstrap_cdebootstrap respektiert die folgenden Umgebungsvariablen, sofern verf\[:u]gbar, andernfalls werden Standardwerte benutzt.
|
||||||
|
.IP "\fI$LH_BOOTSTRAP\fR" 4
|
||||||
|
kontrolliert das zu benutzende bootstrap-Programm (Standard: cdebootstrap)
|
||||||
|
.IP "\fI$LH_CACHE\fR" 4
|
||||||
|
kontrolliert ob heruntergeladene Pakete zwischengespeichert werden sollen (Standard: enabled)
|
||||||
|
.PP
|
||||||
|
.IP "\fI$LIVE_ARCHITECTURE\fR" 4
|
||||||
|
w\[:a]hlt die chroot-Architektur aus (Standard: automatisch)
|
||||||
|
.IP "\fI$LIVE_BOOTSTRAP_CONFIG\fR" 4
|
||||||
|
bestimmt das Distributions-Konfiguration Verzeichnis (Standard: leer)
|
||||||
|
.IP "\fI$LIVE_BOOTSTRAP_FLAVOUR\fR" 4
|
||||||
|
w\[:a]hlt die Bootstrap-Variante aus (Standard: standard)
|
||||||
|
.IP "\fI$LIVE_DISTRIBUTION\fR" 4
|
||||||
|
w\[:a]hlt die Distribution aus (Standard: etch)
|
||||||
|
.IP "\fI$LIVE_MIRROR_BUILD\fR" 4
|
||||||
|
bestimmt den Spiegelserver (Standard: http://ftp.debian.org/debian/)
|
||||||
|
|
||||||
|
.SH SIEHE AUCH
|
||||||
|
\fIcdebootstrap\fR(1)
|
||||||
|
.PP
|
||||||
|
\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.
|
|
@ -1,4 +1,4 @@
|
||||||
.TH LH_BOOTSTRAP_CDEBOOTSTRAP 1 "2007\-04\-16" "1.0~a6" "live\-helper"
|
.TH LH_BOOTSTRAP_CDEBOOTSTRAP 1 "2007\-04\-23" "1.0~a7" "live\-helper"
|
||||||
|
|
||||||
.SH NAME
|
.SH NAME
|
||||||
lh_bootstrap_cdebootstrap \- bootstrap a Debian system with \fIcdebootstrap\fR(1)
|
lh_bootstrap_cdebootstrap \- bootstrap a Debian system with \fIcdebootstrap\fR(1)
|
||||||
|
@ -35,7 +35,7 @@ set the mirror to use (Default: http://ftp.debian.org/debian/)
|
||||||
.PP
|
.PP
|
||||||
\fIlive\-helper\fR(7)
|
\fIlive\-helper\fR(7)
|
||||||
.PP
|
.PP
|
||||||
This program is a part of live-helper.
|
This program is a part of live\-helper.
|
||||||
|
|
||||||
.SH BUGS
|
.SH BUGS
|
||||||
Report bugs against live\-helper <\fIhttp://packages.qa.debian.org/live\-helper/\fR>.
|
Report bugs against live\-helper <\fIhttp://packages.qa.debian.org/live\-helper/\fR>.
|
|
@ -0,0 +1,47 @@
|
||||||
|
.TH LH_BOOTSTRAP_DEBOOTSTRAP 1 "23.04.2007" "1.0~a7" "live\-helper"
|
||||||
|
|
||||||
|
.SH NAME
|
||||||
|
lh_bootstrap_debootstrap \- erstellt ein Debian-System mit \fIdebootstrap\fR(8)
|
||||||
|
|
||||||
|
.SH SYNTAX
|
||||||
|
.B lh_bootstrap_debootstrap [\fIlive\-helper\ Optionen\fR\|]
|
||||||
|
|
||||||
|
.SH BESCHREIBUNG
|
||||||
|
lh_bootstrap_debootstrap benutzt \fIdebootstrap\fR(8) um ein Debian Grundsystem zu erstellen.
|
||||||
|
|
||||||
|
.SH KONFIGURATIONSDATEI
|
||||||
|
lh_bootstrap_debootstrap liest config/common und config/bootstrap wenn verf\[:ugbar]. Siehe UMGEBUNG zur Benutzung der korrekten Umgebungsvariablen.
|
||||||
|
|
||||||
|
.SH UMGEBUNG
|
||||||
|
lh_bootstrap_debootstrap respektiert die folgenden Umgebungsvariablen, sofern verf\[:u]gbar, andernfalls werden Standardwerte benutzt.
|
||||||
|
.IP "\fI$LH_BOOTSTRAP\fR" 4
|
||||||
|
kontrolliert das zu benutzende bootstrap-Programm (Standard: debootstrap)
|
||||||
|
.IP "\fI$LH_CACHE\fR" 4
|
||||||
|
kontrolliert ob heruntergeladene Pakete zwischengespeichert werden sollen (Standard: enabled)
|
||||||
|
.PP
|
||||||
|
.IP "\fI$LIVE_ARCHITECTURE\fR" 4
|
||||||
|
w\[:a]hlt die chroot-Architektur aus (Standard: automatisch)
|
||||||
|
.IP "\fI$LIVE_BOOTSTRAP_CONFIG\fR" 4
|
||||||
|
bestimmt das Distributions-Konfiguration Verzeichnis (Standard: leer)
|
||||||
|
.IP "\fI$LIVE_BOOTSTRAP_FLAVOUR\fR" 4
|
||||||
|
w\[:a]hlt die Bootstrap-Variante aus (Standard: standard)
|
||||||
|
.IP "\fI$LIVE_DISTRIBUTION\fR" 4
|
||||||
|
w\[:a]hlt die Distribution aus (Standard: etch)
|
||||||
|
.IP "\fI$LIVE_MIRROR_BUILD\fR" 4
|
||||||
|
bestimmt den Spiegelserver (Standard: http://ftp.debian.org/debian/)
|
||||||
|
|
||||||
|
.SH SIEHE AUCH
|
||||||
|
\fIdebootstrap\fR(8)
|
||||||
|
.PP
|
||||||
|
\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.
|
|
@ -1,4 +1,4 @@
|
||||||
.TH LH_BOOTSTRAP_DEBOOTSTRAP 1 "2007\-04\-16" "1.0~a6" "live\-helper"
|
.TH LH_BOOTSTRAP_DEBOOTSTRAP 1 "2007\-04\-23" "1.0~a7" "live\-helper"
|
||||||
|
|
||||||
.SH NAME
|
.SH NAME
|
||||||
lh_bootstrap_debootstrap \- bootstrap a Debian system with \fIdebootstrap\fR(8)
|
lh_bootstrap_debootstrap \- bootstrap a Debian system with \fIdebootstrap\fR(8)
|
||||||
|
@ -35,7 +35,7 @@ set the mirror to use (Default: http://ftp.debian.org/debian/)
|
||||||
.PP
|
.PP
|
||||||
\fIlive\-helper\fR(7)
|
\fIlive\-helper\fR(7)
|
||||||
.PP
|
.PP
|
||||||
This program is a part of live-helper.
|
This program is a part of live\-helper.
|
||||||
|
|
||||||
.SH BUGS
|
.SH BUGS
|
||||||
Report bugs against live\-helper <\fIhttp://packages.qa.debian.org/live\-helper/\fR>.
|
Report bugs against live\-helper <\fIhttp://packages.qa.debian.org/live\-helper/\fR>.
|
|
@ -0,0 +1,35 @@
|
||||||
|
.TH LH_BUILD 1 "23.04.2007" "1.0~a7" "live\-helper"
|
||||||
|
|
||||||
|
.SH NAME
|
||||||
|
lh_build \- erstellen eines Live-Systemes
|
||||||
|
|
||||||
|
.SH SYNOPSIS
|
||||||
|
.B lh_build [\fIlive\-helper\ Optionen\fR\|]
|
||||||
|
|
||||||
|
.SH BESCHREIBUNG
|
||||||
|
lh_build ist ein Helper-Script. Es ruft alle n\[:o]tigen Meta\-Helper auf um ein Live-System erfolgreich zu erstellen.
|
||||||
|
|
||||||
|
.SH META\-HELPER
|
||||||
|
Hier ist eine vollst\[:a]ndige Liste aller verf\[:u]gbaren Meta\-Helper Kommandos. Siehe deren Hilfeseiten f\[:u]r zus\[:a]tzliche Dokumentation.
|
||||||
|
.IP "\fIlh_binary\fR(1)" 4
|
||||||
|
erstellt ein Binary-Image.
|
||||||
|
.IP "\fIlh_bootstrap\fR(1)" 4
|
||||||
|
erstellt das Grundsystem.
|
||||||
|
.IP "\fIlh_chroot\fR(1)" 4
|
||||||
|
individualisiert chroot.
|
||||||
|
.IP "\fIlh_source\fR(1)" 4
|
||||||
|
erstellt ein Source-Image.
|
||||||
|
|
||||||
|
.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.
|
|
@ -0,0 +1,35 @@
|
||||||
|
.TH LH_BUILD 1 "2007\-04\-23" "1.0~a7" "live\-helper"
|
||||||
|
|
||||||
|
.SH NAME
|
||||||
|
lh_build \- building a live system
|
||||||
|
|
||||||
|
.SH SYNOPSIS
|
||||||
|
.B lh_build [\fIlive\-helper\ options\fR\|]
|
||||||
|
|
||||||
|
.SH DESCRIPTION
|
||||||
|
lh_build is a helper script. It calls all required meta\-helper scripts to successfully build a live system.
|
||||||
|
|
||||||
|
.SH META\-HELPERS
|
||||||
|
Here is the complete list of available meta\-helper commands. See their man pages for additional documentation.
|
||||||
|
.IP "\fIlh_binary\fR(1)" 4
|
||||||
|
builds a binary image.
|
||||||
|
.IP "\fIlh_bootstrap\fR(1)" 4
|
||||||
|
bootstraps a system.
|
||||||
|
.IP "\fIlh_chroot\fR(1)" 4
|
||||||
|
customizes a chroot.
|
||||||
|
.IP "\fIlh_source\fR(1)" 4
|
||||||
|
builds a source image.
|
||||||
|
|
||||||
|
.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.
|
|
@ -0,0 +1,71 @@
|
||||||
|
.TH LH_CHROOT 1 "23.04.2007" "1.0~a7" "live\-helper"
|
||||||
|
|
||||||
|
.SH NAME
|
||||||
|
lh_chroot \- Meta\-Helper f\[:u]r lh_chroot_*
|
||||||
|
|
||||||
|
.SH SYNOPSIS
|
||||||
|
.B lh_chroot [\fIlive\-helper\ Optionen\fR\|]
|
||||||
|
|
||||||
|
.SH BESCHREIBUNG
|
||||||
|
lh_chroot ist ein Meta\-Helper. Es ruft alle n\[:o]tigen Helper auf um die chroot\-Stufe zu vervollst\[:a]ndigen.
|
||||||
|
|
||||||
|
.SH CHROOT HELPER
|
||||||
|
Hier ist eine vollst\[:a]ndige Liste aller verf\[:u]gbaren chroot\-Helper Kommandos. Siehe deren Hilfeseiten f\[:u]r zus\[:a]tzliche Dokumentation.
|
||||||
|
.IP "\fIlh_chroot_apt\fR(1)" 4
|
||||||
|
verwaltet /etc/apt/apt.conf.
|
||||||
|
.IP "\fIlh_chroot_debianchroot\fR(1)" 4
|
||||||
|
verwaltet /etc/debian_chroot.
|
||||||
|
.IP "\fIlh_chroot_hacks\fR(1)" 4
|
||||||
|
f\[:u]hrt Hacks im chroot aus.
|
||||||
|
.IP "\fIlh_chroot_hooks\fR(1)" 4
|
||||||
|
f\[:u]hrt Hooks im chroot aus.
|
||||||
|
.IP "\fIlh_chroot_hosts\fR(1)" 4
|
||||||
|
verwaltet /etc/hosts.
|
||||||
|
.IP "\fIlh_chroot_interactive\fR(1)" 4
|
||||||
|
macht Bauprozess interaktiv.
|
||||||
|
.IP "\fIlh_chroot_linuximage\fR(1)" 4
|
||||||
|
verwaltet /etc/kernel\-img.conf.
|
||||||
|
.IP "\fIlh_chroot_localhooks\fR(1)" 4
|
||||||
|
f\[:u]hrt lokale Hooks im chroot aus.
|
||||||
|
.IP "\fIlh_chroot_localincludes\fR(1)" 4
|
||||||
|
kopiert lokale Dateien in den chroot.
|
||||||
|
.IP "\fIlh_chroot_localization\fR(1)" 4
|
||||||
|
installiert Lokalisierungspakete im chroot.
|
||||||
|
.IP "\fIlh_chroot_localpackages\fR(1)" 4
|
||||||
|
installiert lokale Pakete im chroot.
|
||||||
|
.IP "\fIlh_chroot_localpackageslists\fR(1)" 4
|
||||||
|
installiert lokale Paketlisten im chroot.
|
||||||
|
.IP "\fIlh_chroot_packages\fR(1)" 4
|
||||||
|
installiert Pakete im chroot.
|
||||||
|
.IP "\fIlh_chroot_packageslists\fR(1)" 4
|
||||||
|
installiert Paketlisten im chroot.
|
||||||
|
.IP "\fIlh_chroot_proc\fR(1)" 4
|
||||||
|
bindet /proc ein.
|
||||||
|
.IP "\fIlh_chroot_resolv\fR(1)" 4
|
||||||
|
verwaltet /etc/resolv.conf.
|
||||||
|
.IP "\fIlh_chroot_sources\fR(1)" 4
|
||||||
|
verwaltet /etc/apt/apt.conf.
|
||||||
|
.IP "\fIlh_chroot_symlinks\fR(1)" 4
|
||||||
|
konvertiert symbolische Links.
|
||||||
|
.IP "\fIlh_chroot_sysfs\fR(1)" 4
|
||||||
|
bindet /sys ein.
|
||||||
|
.IP "\fIlh_chroot_sysvinit\fR(1)" 4
|
||||||
|
konfiguriert sysvinit.
|
||||||
|
.IP "\fIlh_chroot_sysvrc\fR(1)" 4
|
||||||
|
verwaltet /usr/sbin/policy\-rc.d.
|
||||||
|
.IP "\fIlh_chroot_tasks\fR(1)" 4
|
||||||
|
installiert Paket-Tasks im chroot.
|
||||||
|
|
||||||
|
.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.
|
|
@ -1,13 +1,13 @@
|
||||||
.TH LH_CHROOT 1 "2007\-04\-16" "1.0~a6" "live\-helper"
|
.TH LH_CHROOT 1 "2007\-04\-23" "1.0~a7" "live\-helper"
|
||||||
|
|
||||||
.SH NAME
|
.SH NAME
|
||||||
lh_chroot \- meta-helper for lh_chroot_*
|
lh_chroot \- meta\-helper for lh_chroot_*
|
||||||
|
|
||||||
.SH SYNOPSIS
|
.SH SYNOPSIS
|
||||||
.B lh_chroot [\fIlive\-helper\ options\fR\|]
|
.B lh_chroot [\fIlive\-helper\ options\fR\|]
|
||||||
|
|
||||||
.SH DESCRIPTION
|
.SH DESCRIPTION
|
||||||
lh_chroot is a meta-helper. It calls all necessary helpers to complete the chroot stage.
|
lh_chroot is a meta\-helper. It calls all necessary helpers to complete the chroot stage.
|
||||||
|
|
||||||
.SH CHROOT HELPERS
|
.SH CHROOT HELPERS
|
||||||
Here is the complete list of available chroot helper commands. See their man pages for additional documentation.
|
Here is the complete list of available chroot helper commands. See their man pages for additional documentation.
|
||||||
|
@ -24,7 +24,7 @@ manages /etc/hosts.
|
||||||
.IP "\fIlh_chroot_interactive\fR(1)" 4
|
.IP "\fIlh_chroot_interactive\fR(1)" 4
|
||||||
makes build interactive.
|
makes build interactive.
|
||||||
.IP "\fIlh_chroot_linuximage\fR(1)" 4
|
.IP "\fIlh_chroot_linuximage\fR(1)" 4
|
||||||
manage /etc/kernel-img.conf.
|
manages /etc/kernel\-img.conf.
|
||||||
.IP "\fIlh_chroot_localhooks\fR(1)" 4
|
.IP "\fIlh_chroot_localhooks\fR(1)" 4
|
||||||
executes local hooks in chroot.
|
executes local hooks in chroot.
|
||||||
.IP "\fIlh_chroot_localincludes\fR(1)" 4
|
.IP "\fIlh_chroot_localincludes\fR(1)" 4
|
||||||
|
@ -52,14 +52,14 @@ mounts /sys.
|
||||||
.IP "\fIlh_chroot_sysvinit\fR(1)" 4
|
.IP "\fIlh_chroot_sysvinit\fR(1)" 4
|
||||||
configures sysvinit.
|
configures sysvinit.
|
||||||
.IP "\fIlh_chroot_sysvrc\fR(1)" 4
|
.IP "\fIlh_chroot_sysvrc\fR(1)" 4
|
||||||
manages /usr/sbin/policy-rc.d.
|
manages /usr/sbin/policy\-rc.d.
|
||||||
.IP "\fIlh_chroot_tasks\fR(1)" 4
|
.IP "\fIlh_chroot_tasks\fR(1)" 4
|
||||||
installs tasks into chroot.
|
installs tasks into chroot.
|
||||||
|
|
||||||
.SH SEE ALSO
|
.SH SEE ALSO
|
||||||
\fIlive\-helper\fR(7)
|
\fIlive\-helper\fR(7)
|
||||||
.PP
|
.PP
|
||||||
This program is a part of live-helper.
|
This program is a part of live\-helper.
|
||||||
|
|
||||||
.SH BUGS
|
.SH BUGS
|
||||||
Report bugs against live\-helper <\fIhttp://packages.qa.debian.org/live\-helper/\fR>.
|
Report bugs against live\-helper <\fIhttp://packages.qa.debian.org/live\-helper/\fR>.
|
|
@ -0,0 +1,44 @@
|
||||||
|
.TH LH_CLEAN 1 "23.04.2007" "1.0~a7" "live\-helper"
|
||||||
|
|
||||||
|
.SH NAME
|
||||||
|
lh_clean \- r\[:a]umt das Build-Verzeichnis auf
|
||||||
|
|
||||||
|
.SH SYNOPSIS
|
||||||
|
.B lh_clean [\fIlive\-helper\ Optionen\fR\|]
|
||||||
|
.B lh_clean [\fRall\fB|\fRcache\fB|\fRchroot\fB|\fRbinary\fB|\fRlock\fB|\fRpurge\fB|\fRstage\fB|\fRsource\fB]
|
||||||
|
|
||||||
|
.SH BESCHREIBUNG
|
||||||
|
lh_clean ist ein live\-helper\-Program das daf\[:u]r verwantwortlich ist, nach dem Bauen eines Live-Systemes das Build-Verzeichnis aufzur\[:a]umen. Es entfernt das Build-Verzeichnis und auch alle anderen Dateien, inklusive den Stage-Dateien die von einem live\-helper-Programm hinterlassen worden ist.
|
||||||
|
|
||||||
|
.SH OPTIONEN
|
||||||
|
Die folgenden Optionen werden von lh_clean unterst\[:u]tzt.
|
||||||
|
.IP "\fBall\fR" 4
|
||||||
|
entfernt chroot, binary, lock, stage und source. Das ist die Standardoperation.
|
||||||
|
.IP "\fBcache\fR" 4
|
||||||
|
entfernt alle cache-Verzeichnisse.
|
||||||
|
.IP "\fBchroot\fR" 4
|
||||||
|
entbindet und entfernt das chroot-Verzeichnis. Wenn ein Cache von bootstrap verf\[:u]gbar ist, wird chroot auf diese Stufe zur\[:u]ck gesetzt.
|
||||||
|
.IP "\fBbinary\fR" 4
|
||||||
|
entfernt alle Caches, Verzeichnisse und Stage-Dateien der Binary-Stufe.
|
||||||
|
.IP "\fBlock\fR" 4
|
||||||
|
entfernt alle lock-Dateien.
|
||||||
|
.IP "\fBpurge\fR" 4
|
||||||
|
entfernt alles (inlusive cache) ausser config.
|
||||||
|
.IP "\fBstage\fR" 4
|
||||||
|
entfernt alle Stage-Dateien.
|
||||||
|
.IP "\fBsource\fR" 4
|
||||||
|
entfernt alle Caches, Verzeichnisse und Stage-Dateien der Source-Stufe.
|
||||||
|
|
||||||
|
.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.
|
|
@ -1,4 +1,4 @@
|
||||||
.TH LH_CLEAN 1 "2007\-04\-16" "1.0~a6" "live\-helper"
|
.TH LH_CLEAN 1 "2007\-04\-23" "1.0~a7" "live\-helper"
|
||||||
|
|
||||||
.SH NAME
|
.SH NAME
|
||||||
lh_clean \- clean up system build directories
|
lh_clean \- clean up system build directories
|
||||||
|
@ -32,7 +32,7 @@ removes all source related caches, directories, and stage files.
|
||||||
.SH SEE ALSO
|
.SH SEE ALSO
|
||||||
\fIlive\-helper\fR(7)
|
\fIlive\-helper\fR(7)
|
||||||
.PP
|
.PP
|
||||||
This program is a part of live-helper.
|
This program is a part of live\-helper.
|
||||||
|
|
||||||
.SH BUGS
|
.SH BUGS
|
||||||
Report bugs against live\-helper <\fIhttp://packages.qa.debian.org/live\-helper/\fR>.
|
Report bugs against live\-helper <\fIhttp://packages.qa.debian.org/live\-helper/\fR>.
|
|
@ -0,0 +1,43 @@
|
||||||
|
.TH LH_SOURCE 1 "23.04.2007" "1.0~a7" "live\-helper"
|
||||||
|
|
||||||
|
.SH NAME
|
||||||
|
lh_source \- Meta\-Helper f\[:u]r lh_source_*
|
||||||
|
|
||||||
|
.SH SYNTAX
|
||||||
|
.B lh_source [\fIlive\-helper\ Optionen\fR\|]
|
||||||
|
|
||||||
|
.SH BESCHREIBUNG
|
||||||
|
lh_source ist ein Meta\-Helper. Es ruft alle n\[:o]tigen Helper auf um die source\-Stufe zu vervollst\[:a]ndigen.
|
||||||
|
|
||||||
|
.SH SOURCE HELPER
|
||||||
|
Hier ist eine vollst\[:a]ndige Liste aller verf\[:u]gbaren source\-Helper Kommandos. Siehe deren Hilfeseiten f\[:u]r zus\[:a]tzliche Dokumentation.
|
||||||
|
.IP "\fIlh_source_config\fR(1)" 4
|
||||||
|
kopiert debian\-live Konfiguration in source.
|
||||||
|
.IP "\fIlh_source_download\fR(1)" 4
|
||||||
|
l\[:a]dt Paketquellen herunter.
|
||||||
|
.IP "\fIlh_source_generic\fR(1)" 4
|
||||||
|
erstellt den generischen Source-Tarball.
|
||||||
|
.IP "\fIlh_source_hdd\fR(1)" 4
|
||||||
|
erstellt den Harddisk Source-Tarball.
|
||||||
|
.IP "\fIlh_source_iso\fR(1)" 4
|
||||||
|
erstellt CD/DVD Source-Image.
|
||||||
|
.IP "\fIlh_source_md5sum\fR(1)" 4
|
||||||
|
erstellt md5sum.txt im Source-Image.
|
||||||
|
.IP "\fIlh_source_net\fR(1)" 4
|
||||||
|
erstellt Netboot Source-Tarball.
|
||||||
|
.IP "\fIlh_source_usb\fR(1)" 4
|
||||||
|
erstellt USB Source-Tarball.
|
||||||
|
|
||||||
|
.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.
|
|
@ -0,0 +1,43 @@
|
||||||
|
.TH LH_SOURCE 1 "2007\-04\-23" "1.0~a7" "live\-helper"
|
||||||
|
|
||||||
|
.SH NAME
|
||||||
|
lh_source \- meta\-helper for lh_source_*
|
||||||
|
|
||||||
|
.SH SYNOPSIS
|
||||||
|
.B lh_source [\fIlive\-helper\ options\fR\|]
|
||||||
|
|
||||||
|
.SH DESCRIPTION
|
||||||
|
lh_source is a meta\-helper. It calls all necessary helpers to complete the source stage.
|
||||||
|
|
||||||
|
.SH SOURCE HELPERS
|
||||||
|
Here is the complete list of available source helper commands. See their man pages for additional documentation.
|
||||||
|
.IP "\fIlh_source_config\fR(1)" 4
|
||||||
|
copies debian\-live config into source.
|
||||||
|
.IP "\fIlh_source_download\fR(1)" 4
|
||||||
|
downloads sources.
|
||||||
|
.IP "\fIlh_source_generic\fR(1)" 4
|
||||||
|
creates the generic source tarball.
|
||||||
|
.IP "\fIlh_source_hdd\fR(1)" 4
|
||||||
|
creates the harddisk source tarball.
|
||||||
|
.IP "\fIlh_source_iso\fR(1)" 4
|
||||||
|
creates the CD/DVD source image.
|
||||||
|
.IP "\fIlh_source_md5sum\fR(1)" 4
|
||||||
|
creates md5sum.txt in the source image.
|
||||||
|
.IP "\fIlh_source_net\fR(1)" 4
|
||||||
|
creates the netboot source tarball.
|
||||||
|
.IP "\fIlh_source_usb\fR(1)" 4
|
||||||
|
creates the USB source image.
|
||||||
|
|
||||||
|
.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.
|
|
@ -0,0 +1,24 @@
|
||||||
|
.TH LH_TESTROOT 1 "23.04.2007" "1.0~a7" "live\-helper"
|
||||||
|
|
||||||
|
.SH NAME
|
||||||
|
lh_testroot \- stellt sicher dass das System als root gebaut wird
|
||||||
|
|
||||||
|
.SH SYNTAX
|
||||||
|
.B lh_testroot [\fIlive\-helper\ Optionen\fR\|]
|
||||||
|
|
||||||
|
.SH BESCHREIBUNG
|
||||||
|
lh_testroot kontrolliert ob root-Rechte vorhanden sind. Wenn nicht, endet es mit einem Fehler. Debian Live-Images m\[:u]ssen momentan als root gebaut werden, \fIfakeroot\fR(1) oder \fIsudo\fR(8) funktioniert nicht.
|
||||||
|
|
||||||
|
.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.
|
|
@ -1,4 +1,4 @@
|
||||||
.TH LH_TESTROOT 1 "2007\-04\-16" "1.0~a6" "live\-helper"
|
.TH LH_TESTROOT 1 "2007\-04\-23" "1.0~a7" "live\-helper"
|
||||||
|
|
||||||
.SH NAME
|
.SH NAME
|
||||||
lh_testroot \- ensure that a system is built as root
|
lh_testroot \- ensure that a system is built as root
|
||||||
|
@ -12,7 +12,7 @@ lh_testroot simply checks to see if you are root. If not, it exits with an error
|
||||||
.SH SEE ALSO
|
.SH SEE ALSO
|
||||||
\fIlive\-helper\fR(7)
|
\fIlive\-helper\fR(7)
|
||||||
.PP
|
.PP
|
||||||
This program is a part of live-helper.
|
This program is a part of live\-helper.
|
||||||
|
|
||||||
.SH BUGS
|
.SH BUGS
|
||||||
Report bugs against live\-helper <\fIhttp://packages.qa.debian.org/live\-helper/\fR>.
|
Report bugs against live\-helper <\fIhttp://packages.qa.debian.org/live\-helper/\fR>.
|
|
@ -0,0 +1,173 @@
|
||||||
|
.TH LIVE\-HELPER 7 "23.04.2007" "1.0~a7" "live\-helper"
|
||||||
|
|
||||||
|
.SH NAME
|
||||||
|
live\-helper \- Debian Live Helper-Programme
|
||||||
|
|
||||||
|
.SH SYNTAX
|
||||||
|
.B lh_* [\fIlive\-helper\ Optionen\fR\|]
|
||||||
|
|
||||||
|
.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).
|
||||||
|
|
||||||
|
.\" .SH CONFIGURATION FILE
|
||||||
|
.\" live\-helper reads debian\-live/config/live\-helper if available. See ENVIRONMENT for the correct environment variables to use.
|
||||||
|
|
||||||
|
.\" .SH ENVIRONMENT
|
||||||
|
.\" Every live\-helper command respects the following environment variables if available.
|
||||||
|
.\" .IP "\fI$LH_DEBUG\fR" 4
|
||||||
|
.\" enables debug (Default: false)
|
||||||
|
.\" .IP "\fI$LH_QUIET\fR" 4
|
||||||
|
.\" be quiet (Default: false)
|
||||||
|
.\" .IP "\fI$LH_VERBOSE\fR" 4
|
||||||
|
.\" be verbose (Default: false)
|
||||||
|
|
||||||
|
.SH LIVE\-HELPER KOMMANDOS
|
||||||
|
Hier ist eine vollst\[:a]ndige Liste aller verf\[:u]gbaren live\-helper Kommandos. Siehe deren Hilfeseiten f\[:u]r zus\[:a]tzliche Dokumentation.
|
||||||
|
.IP "\fIlh_binary\fR(1)" 4
|
||||||
|
Meta\-Helper f\[:u]r lh_binary_*
|
||||||
|
.IP "\fIlh_binary_chroot\fR(1)" 4
|
||||||
|
kopiert chroot in chroot.
|
||||||
|
.IP "\fIlh_binary_encryption\fR(1)" 4
|
||||||
|
verschl\[:u]sselt das Root\-Dateisystem.
|
||||||
|
.IP "\fIlh_binary_grub\fR(1)" 4
|
||||||
|
kopiert grub in das Binary\-Image.
|
||||||
|
.IP "\fIlh_binary_hdd\fR(1)" 4
|
||||||
|
erstellt den Festplatten Binary\-Tarball.
|
||||||
|
.IP "\fIlh_binary_includes\fR(1)" 4
|
||||||
|
kopiert Dateien in das Binary\-Image.
|
||||||
|
.IP "\fIlh_binary_iso\fR(1)" 4
|
||||||
|
erstell das CD/DVD Binary\-Image.
|
||||||
|
.IP "\fIlh_binary_linuximage\fR(1)" 4
|
||||||
|
kopiert linux\-image in das Binary\-Image.
|
||||||
|
.IP "\fIlh_binary_localincludes\fR(1)" 4
|
||||||
|
kopiert lokale Dateien in das Binary\-Image.
|
||||||
|
.IP "\fIlh_binary_manifest\fR(1)" 4
|
||||||
|
erstellt die Paketliste des Root\-Dateisystemes.
|
||||||
|
.IP "\fIlh_binary_md5sum\fR(1)" 4
|
||||||
|
erstellt md5sum.txt im Binary\-Image.
|
||||||
|
.IP "\fIlh_binary_memtest\fR(1)" 4
|
||||||
|
kopiert ein memtest in das Binary\-Image.
|
||||||
|
.IP "\fIlh_binary_net\fR(1)" 4
|
||||||
|
erstellt den Netboot Binary\-Tarball.
|
||||||
|
.IP "\fIlh_binary_rootfs\fR(1)" 4
|
||||||
|
erstell das Root\-Dateisystem.
|
||||||
|
.IP "\fIlh_binary_syslinux\fR(1)" 4
|
||||||
|
kopiert syslinux in das Binary\-Image.
|
||||||
|
.IP "\fIlh_binary_usb\fR(1)" 4
|
||||||
|
erstellt das USB Binary\-Image.
|
||||||
|
.IP "\fIlh_binary_yaboot\fR(1)" 4
|
||||||
|
kopiert yaboot in das Binary\-Image.
|
||||||
|
.IP "\fIlh_bootstrap\fR(1)" 4
|
||||||
|
Meta\-Helper f\[:u]r lh_bootstrap_*
|
||||||
|
.IP "\fIlh_bootstrap_cdebootstrap\fR(1)" 4
|
||||||
|
erstellt ein Debian-System mit cdebootstrap.
|
||||||
|
.IP "\fIlh_bootstrap_debootstrap\fR(1)" 4
|
||||||
|
erstellt ein Debian-System mit debootstrap.
|
||||||
|
.IP "\fIlh_build\fR(1)" 4
|
||||||
|
erstellen eines Live-Systemes
|
||||||
|
.IP "\fIlh_chroot\fR(1)" 4
|
||||||
|
Meta\-Helper f\[:u]r lh_chroot_*
|
||||||
|
.IP "\fIlh_chroot_apt\fR(1)" 4
|
||||||
|
verwaltet /etc/apt/apt.conf.
|
||||||
|
.IP "\fIlh_chroot_debianchroot\fR(1)" 4
|
||||||
|
verwaltet /etc/debian_chroot.
|
||||||
|
.IP "\fIlh_chroot_hacks\fR(1)" 4
|
||||||
|
f\[:u]hrt Hacks im chroot aus.
|
||||||
|
.IP "\fIlh_chroot_hooks\fR(1)" 4
|
||||||
|
f\[:u]hrt Hooks im chroot aus.
|
||||||
|
.IP "\fIlh_chroot_hosts\fR(1)" 4
|
||||||
|
verwaltet /etc/hosts.
|
||||||
|
.IP "\fIlh_chroot_interactive\fR(1)" 4
|
||||||
|
macht Bauprozess interaktiv.
|
||||||
|
.IP "\fIlh_chroot_linuximage\fR(1)" 4
|
||||||
|
verwaltet /etc/kernel\-img.conf.
|
||||||
|
.IP "\fIlh_chroot_localhooks\fR(1)" 4
|
||||||
|
f\[:u]hrt lokale Hooks im chroot aus.
|
||||||
|
.IP "\fIlh_chroot_localincludes\fR(1)" 4
|
||||||
|
kopiert lokale Dateien in den chroot.
|
||||||
|
.IP "\fIlh_chroot_localization\fR(1)" 4
|
||||||
|
installiert Lokalisierungspakete im chroot.
|
||||||
|
.IP "\fIlh_chroot_localpackages\fR(1)" 4
|
||||||
|
installiert lokale Pakete im chroot.
|
||||||
|
.IP "\fIlh_chroot_localpackageslists\fR(1)" 4
|
||||||
|
installiert lokale Paketlisten im chroot.
|
||||||
|
.IP "\fIlh_chroot_packages\fR(1)" 4
|
||||||
|
installiert Pakete im chroot.
|
||||||
|
.IP "\fIlh_chroot_packageslists\fR(1)" 4
|
||||||
|
installiert Paketlisten im chroot.
|
||||||
|
.IP "\fIlh_chroot_proc\fR(1)" 4
|
||||||
|
bindet /proc ein.
|
||||||
|
.IP "\fIlh_chroot_resolv\fR(1)" 4
|
||||||
|
verwaltet /etc/resolv.conf.
|
||||||
|
.IP "\fIlh_chroot_sources\fR(1)" 4
|
||||||
|
verwaltet /etc/apt/apt.conf.
|
||||||
|
.IP "\fIlh_chroot_symlinks\fR(1)" 4
|
||||||
|
konvertiert symbolische Links.
|
||||||
|
.IP "\fIlh_chroot_sysfs\fR(1)" 4
|
||||||
|
bindet /sys ein.
|
||||||
|
.IP "\fIlh_chroot_sysvinit\fR(1)" 4
|
||||||
|
konfiguriert sysvinit.
|
||||||
|
.IP "\fIlh_chroot_sysvrc\fR(1)" 4
|
||||||
|
verwaltet /usr/sbin/policy\-rc.d.
|
||||||
|
.IP "\fIlh_chroot_tasks\fR(1)" 4
|
||||||
|
installiert Paket-Tasks im chroot.
|
||||||
|
.IP "\fIlh_clean\fR(1)" 4
|
||||||
|
r\[:a]umt das Build-Verzeichnis auf
|
||||||
|
.IP "\fIlh_config\fR(1)" 4
|
||||||
|
erstellt eine Beispielkonfiguration
|
||||||
|
.IP "\fIlh_losetup\fR(1)" 4
|
||||||
|
verwaltet Loop-Ger\[:a]te
|
||||||
|
.IP "\fIlh_source\fR(1)" 4
|
||||||
|
Meta\-Helper f\[:u]r lh_source_*
|
||||||
|
.IP "\fIlh_source_config\fR(1)" 4
|
||||||
|
kopiert debian\-live Konfiguration in source.
|
||||||
|
.IP "\fIlh_source_download\fR(1)" 4
|
||||||
|
l\[:a]dt Paketquellen herunter.
|
||||||
|
.IP "\fIlh_source_generic\fR(1)" 4
|
||||||
|
erstellt den generischen Source-Tarball.
|
||||||
|
.IP "\fIlh_source_hdd\fR(1)" 4
|
||||||
|
erstellt den Harddisk Source-Tarball.
|
||||||
|
.IP "\fIlh_source_iso\fR(1)" 4
|
||||||
|
erstellt CD/DVD Source-Image.
|
||||||
|
.IP "\fIlh_source_md5sum\fR(1)" 4
|
||||||
|
erstellt md5sum.txt im Source-Image.
|
||||||
|
.IP "\fIlh_source_net\fR(1)" 4
|
||||||
|
erstellt Netboot Source-Tarball.
|
||||||
|
.IP "\fIlh_source_usb\fR(1)" 4
|
||||||
|
erstellt USB Source-Tarball.
|
||||||
|
.IP "\fIlh_testroot\fR(1)" 4
|
||||||
|
stellt sicher dass das System als root gebaut wird.
|
||||||
|
|
||||||
|
.SH LIVE\-HELPER OPTIONEN
|
||||||
|
Die folgenden Kommandozeilenoptionen werden von allen live\-helper-Programmen unterst\[:u]tzt.
|
||||||
|
.IP "\fB\-\-breakpoints\fR" 4
|
||||||
|
Ausf\[:u]hrung mit Breakpoints.
|
||||||
|
.IP "\fB\-\-conffile\fR" 4
|
||||||
|
benutzen von eigenen Konfigurationsdateien.
|
||||||
|
.IP "\fB\-\-debug\fR" 4
|
||||||
|
zeigt Debug Informationen.
|
||||||
|
.IP "\fB\-\-force\fR" 4
|
||||||
|
erzwingt Helper Ausf\[:u]hrung, auch wenn Stage-Datei existiert.
|
||||||
|
.IP "\fB\-h, \-\-help\fR" 4
|
||||||
|
zeigt Hilfe Informationen und stoppt.
|
||||||
|
.IP "\fB\-\-logfile\fR" 4
|
||||||
|
benutzen von eigener Log-Datei.
|
||||||
|
.IP "\fB\-\-quiet\fR" 4
|
||||||
|
still
|
||||||
|
.IP "\fB\-u, \-\-usage\fR" 4
|
||||||
|
zeigt Anwedungshinweise und stoppt.
|
||||||
|
.IP "\fB\-\-verbose\fR" 4
|
||||||
|
gespr\[:a]chig
|
||||||
|
.IP "\fB\-v, \-\-version\fR" 4
|
||||||
|
gibt Versionsinformationen aus und stoppt.
|
||||||
|
|
||||||
|
.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.
|
|
@ -1,4 +1,4 @@
|
||||||
.TH LIVE\-HELPER 7 "2007\-04\-16" "1.0~a6" "live\-helper"
|
.TH LIVE\-HELPER 7 "2007\-04\-23" "1.0~a7" "live\-helper"
|
||||||
|
|
||||||
.SH NAME
|
.SH NAME
|
||||||
live\-helper \- Debian Live helper programs
|
live\-helper \- Debian Live helper programs
|
||||||
|
@ -12,10 +12,10 @@ Live\-helper is a collection of programs that can be used to build Debian Live s
|
||||||
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. Examples of such a program that uses live\-helper is \fImake\-live\fR(1).
|
||||||
|
|
||||||
.\" .SH CONFIGURATION FILE
|
.\" .SH CONFIGURATION FILE
|
||||||
.\" live-helper reads debian-live/config/live-helper if available. See ENVIRONMENT for the correct environment variables to use.
|
.\" live\-helper reads debian\-live/config/live\-helper if available. See ENVIRONMENT for the correct environment variables to use.
|
||||||
|
|
||||||
.\" .SH ENVIRONMENT
|
.\" .SH ENVIRONMENT
|
||||||
.\" Every live-helper command respects the following environment variables if available.
|
.\" Every live\-helper command respects the following environment variables if available.
|
||||||
.\" .IP "\fI$LH_DEBUG\fR" 4
|
.\" .IP "\fI$LH_DEBUG\fR" 4
|
||||||
.\" enables debug (Default: false)
|
.\" enables debug (Default: false)
|
||||||
.\" .IP "\fI$LH_QUIET\fR" 4
|
.\" .IP "\fI$LH_QUIET\fR" 4
|
||||||
|
@ -26,7 +26,7 @@ A typical program that uses live\-helper will call several live\-helper commands
|
||||||
.SH LIVE\-HELPER COMMANDS
|
.SH LIVE\-HELPER COMMANDS
|
||||||
Here is the complete list of available live\-helper commands. See their man pages for additional documentation.
|
Here is the complete list of available live\-helper commands. See their man pages for additional documentation.
|
||||||
.IP "\fIlh_binary\fR(1)" 4
|
.IP "\fIlh_binary\fR(1)" 4
|
||||||
meta-helper for lh_binary_*.
|
meta\-helper for lh_binary_*.
|
||||||
.IP "\fIlh_binary_chroot\fR(1)" 4
|
.IP "\fIlh_binary_chroot\fR(1)" 4
|
||||||
copies chroot into chroot.
|
copies chroot into chroot.
|
||||||
.IP "\fIlh_binary_encryption\fR(1)" 4
|
.IP "\fIlh_binary_encryption\fR(1)" 4
|
||||||
|
@ -40,7 +40,7 @@ copies files into the binary image.
|
||||||
.IP "\fIlh_binary_iso\fR(1)" 4
|
.IP "\fIlh_binary_iso\fR(1)" 4
|
||||||
creates the CD/DVD binary image.
|
creates the CD/DVD binary image.
|
||||||
.IP "\fIlh_binary_linuximage\fR(1)" 4
|
.IP "\fIlh_binary_linuximage\fR(1)" 4
|
||||||
copies linux-image into the binary image.
|
copies linux\-image into the binary image.
|
||||||
.IP "\fIlh_binary_localincludes\fR(1)" 4
|
.IP "\fIlh_binary_localincludes\fR(1)" 4
|
||||||
copies local files into the binary image.
|
copies local files into the binary image.
|
||||||
.IP "\fIlh_binary_manifest\fR(1)" 4
|
.IP "\fIlh_binary_manifest\fR(1)" 4
|
||||||
|
@ -60,15 +60,15 @@ creates the USB binary image.
|
||||||
.IP "\fIlh_binary_yaboot\fR(1)" 4
|
.IP "\fIlh_binary_yaboot\fR(1)" 4
|
||||||
copies yaboot into the binary image.
|
copies yaboot into the binary image.
|
||||||
.IP "\fIlh_bootstrap\fR(1)" 4
|
.IP "\fIlh_bootstrap\fR(1)" 4
|
||||||
meta-helper for lh_bootstrap_*.
|
meta\-helper for lh_bootstrap_*.
|
||||||
.IP "\fIlh_bootstrap_cdebootstrap\fR(1)" 4
|
.IP "\fIlh_bootstrap_cdebootstrap\fR(1)" 4
|
||||||
bootstraps system with cdebootstrap.
|
bootstraps system with cdebootstrap.
|
||||||
.IP "\fIlh_bootstrap_debootstrap\fR(1)" 4
|
.IP "\fIlh_bootstrap_debootstrap\fR(1)" 4
|
||||||
bootstraps system with debootstrap.
|
bootstraps system with debootstrap.
|
||||||
.IP "\fIlh_build\fR(1)" 4
|
.IP "\fIlh_build\fR(1)" 4
|
||||||
meta-helper for lh_bootstrap, lh_chroot, lh_binary and lh_source.
|
meta\-helper for lh_bootstrap, lh_chroot, lh_binary and lh_source.
|
||||||
.IP "\fIlh_chroot\fR(1)" 4
|
.IP "\fIlh_chroot\fR(1)" 4
|
||||||
meta-helper for lh_chroot_*.
|
meta\-helper for lh_chroot_*.
|
||||||
.IP "\fIlh_chroot_apt\fR(1)" 4
|
.IP "\fIlh_chroot_apt\fR(1)" 4
|
||||||
configures /etc/apt/apt.conf in chroot.
|
configures /etc/apt/apt.conf in chroot.
|
||||||
.IP "\fIlh_chroot_debianchroot\fR(1)" 4
|
.IP "\fIlh_chroot_debianchroot\fR(1)" 4
|
||||||
|
@ -82,7 +82,7 @@ configures /etc/hosts in the chroot.
|
||||||
.IP "\fIlh_chroot_interactive\fR(1)" 4
|
.IP "\fIlh_chroot_interactive\fR(1)" 4
|
||||||
makes build interactive.
|
makes build interactive.
|
||||||
.IP "\fIlh_chroot_linuximage\fR(1)" 4
|
.IP "\fIlh_chroot_linuximage\fR(1)" 4
|
||||||
configures /etc/kernel-img.conf in the chroot.
|
configures /etc/kernel\-img.conf in the chroot.
|
||||||
.IP "\fIlh_chroot_localhooks\fR(1)" 4
|
.IP "\fIlh_chroot_localhooks\fR(1)" 4
|
||||||
executes additional local commands in the chroot.
|
executes additional local commands in the chroot.
|
||||||
.IP "\fIlh_chroot_localincludes\fR(1)" 4
|
.IP "\fIlh_chroot_localincludes\fR(1)" 4
|
||||||
|
@ -110,7 +110,7 @@ mounts /sys in the chroot.
|
||||||
.IP "\fIlh_chroot_sysvinit\fR(1)" 4
|
.IP "\fIlh_chroot_sysvinit\fR(1)" 4
|
||||||
minimizes daemon startup in the chroot.
|
minimizes daemon startup in the chroot.
|
||||||
.IP "\fIlh_chroot_sysvrc\fR(1)" 4
|
.IP "\fIlh_chroot_sysvrc\fR(1)" 4
|
||||||
installs policy-id hack in the chroot.
|
installs policy\-id hack in the chroot.
|
||||||
.IP "\fIlh_chroot_tasks\fR(1)" 4
|
.IP "\fIlh_chroot_tasks\fR(1)" 4
|
||||||
installs packages tasks in the chroot.
|
installs packages tasks in the chroot.
|
||||||
.IP "\fIlh_clean\fR(1)" 4
|
.IP "\fIlh_clean\fR(1)" 4
|
||||||
|
@ -120,7 +120,7 @@ creates sample configuration.
|
||||||
.IP "\fIlh_losetup\fR(1)" 4
|
.IP "\fIlh_losetup\fR(1)" 4
|
||||||
manages loop device handling
|
manages loop device handling
|
||||||
.IP "\fIlh_source\fR(1)" 4
|
.IP "\fIlh_source\fR(1)" 4
|
||||||
meta-helper for lh_source_*.
|
meta\-helper for lh_source_*.
|
||||||
.IP "\fIlh_source_config\fR(1)" 4
|
.IP "\fIlh_source_config\fR(1)" 4
|
||||||
copies config into source directory.
|
copies config into source directory.
|
||||||
.IP "\fIlh_source_download\fR(1)" 4
|
.IP "\fIlh_source_download\fR(1)" 4
|
|
@ -0,0 +1,88 @@
|
||||||
|
.TH MAKE\-LIVE 1 "23.04.2007" "1.0~a7" "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 \fIhdd\fR|\fIiso\fR|\fIusb\fR|\fInet\fR]
|
||||||
|
[\-s|\-\-source\-image \fIgeneric\fR|\fIhdd\fR|\fIiso\fR|\fIusb\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.
|
|
@ -0,0 +1,88 @@
|
||||||
|
.TH MAKE\-LIVE 1 "2007\-04\-23" "1.0~a7" "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 \fIhdd\fR|\fIiso\fR|\fIusb\fR|\fInet\fR]
|
||||||
|
[\-s|\-\-source\-image \fIgeneric\fR|\fIhdd\fR|\fIiso\fR|\fIusb\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.
|
|
@ -1,7 +1,11 @@
|
||||||
default live
|
default live
|
||||||
|
|
||||||
LIVE_KERNEL_LIVE
|
LIVE_KERNEL_LIVE
|
||||||
|
|
||||||
LIVE_KERNEL_INSTALL
|
LIVE_KERNEL_INSTALL
|
||||||
|
|
||||||
LIVE_MEMTEST
|
LIVE_MEMTEST
|
||||||
|
|
||||||
display isolinux.txt
|
display isolinux.txt
|
||||||
timeout 0
|
timeout 0
|
||||||
prompt 1
|
prompt 1
|
||||||
|
|
Loading…
Reference in New Issue