Adding live-package 0.99.21-1.
This commit is contained in:
parent
af04c39b8b
commit
9a9491318d
12
ChangeLog
12
ChangeLog
|
@ -1,6 +1,18 @@
|
||||||
|
2007-02-12 Daniel Baumann <daniel@debian.org>
|
||||||
|
|
||||||
|
* Added some code as suggested by Alex Owen <r.a.owen@qmul.ac.uk> to
|
||||||
|
check if the depends (syslinux, memtest etc.) are intentionally
|
||||||
|
installed in the chroot, and hence, don't remove them.
|
||||||
|
* Moved some depends into the chroot.
|
||||||
|
|
||||||
|
2007-02-11 Daniel Baumann <daniel@debian.org>
|
||||||
|
|
||||||
|
* Added mini flavour.
|
||||||
|
|
||||||
2007-02-10 Daniel Baumann <daniel@debian.org>
|
2007-02-10 Daniel Baumann <daniel@debian.org>
|
||||||
|
|
||||||
* Added legacy code for genisoimage.
|
* Added legacy code for genisoimage.
|
||||||
|
* Uploaded 0.99.20.
|
||||||
|
|
||||||
2007-02-09 Daniel Baumann <daniel@debian.org>
|
2007-02-09 Daniel Baumann <daniel@debian.org>
|
||||||
|
|
||||||
|
|
|
@ -0,0 +1,16 @@
|
||||||
|
Milestones of Debian Live
|
||||||
|
-------------------------
|
||||||
|
|
||||||
|
2006-02-14: Initial idea
|
||||||
|
http://blog.daniel-baumann.ch/2006/02/14#20060214_debian-live-initiative
|
||||||
|
|
||||||
|
2006-03-16: First CD images available
|
||||||
|
http://lists.alioth.debian.org/pipermail/debian-live-devel/2006-March/000048.html
|
||||||
|
|
||||||
|
2006-06-02: First netboot images available
|
||||||
|
|
||||||
|
2007-02-05: Image autobuilder in place
|
||||||
|
http://lists.alioth.debian.org/pipermail/debian-live-devel/2007-February/000764.html
|
||||||
|
|
||||||
|
2007-02-10: First USB images available
|
||||||
|
http://lists.alioth.debian.org/pipermail/debian-live-devel/2007-February/000790.html
|
|
@ -1,3 +1,9 @@
|
||||||
|
live-package (0.99.21-1) unstable; urgency=low
|
||||||
|
|
||||||
|
* New upstream release.
|
||||||
|
|
||||||
|
-- Daniel Baumann <daniel@debian.org> Mon, 12 Feb 2007 15:06:00 +0100
|
||||||
|
|
||||||
live-package (0.99.20-1) unstable; urgency=low
|
live-package (0.99.20-1) unstable; urgency=low
|
||||||
|
|
||||||
* New upstream release:
|
* New upstream release:
|
||||||
|
|
|
@ -8,7 +8,7 @@ Standards-Version: 3.7.2
|
||||||
|
|
||||||
Package: live-package
|
Package: live-package
|
||||||
Architecture: all
|
Architecture: all
|
||||||
Depends: cdebootstrap, dosfstools, genext2fs, genisoimage | mkisofs, squashfs-tools, syslinux, mtools, parted
|
Depends: cdebootstrap, genext2fs, genisoimage | mkisofs, squashfs-tools
|
||||||
Provides: make-live
|
Provides: make-live
|
||||||
Description: utility to build Debian Live systems
|
Description: utility to build Debian Live systems
|
||||||
make-live is a utility to build Debian Live systems. It takes a Debian mirror
|
make-live is a utility to build Debian Live systems. It takes a Debian mirror
|
||||||
|
|
|
@ -38,7 +38,7 @@ for AUTOBUILD_DISTRIBUTION in ${AUTOBUILD_DISTRIBUTIONS}
|
||||||
do
|
do
|
||||||
for AUTOBUILD_FLAVOUR in ${AUTOBUILD_FLAVOURS}
|
for AUTOBUILD_FLAVOUR in ${AUTOBUILD_FLAVOURS}
|
||||||
do
|
do
|
||||||
if [ ! -f "${AUTOBUILD_SERVER}"/daily-release/${AUTOBUILD_DATE}/log/debian-live-${AUTOBUILD_DISTRIBUTION}-${AUTOBUILD_ARCHITECTURE}-${AUTOBUILD_FLAVOUR}_${AUTOBUILD_DATE}-iso-log.txt ]
|
if [ ! -f "${AUTOBUILD_SERVER}"/daily-builds/${AUTOBUILD_DATE}/log/debian-live-${AUTOBUILD_DISTRIBUTION}-${AUTOBUILD_ARCHITECTURE}-${AUTOBUILD_FLAVOUR}_${AUTOBUILD_DATE}-iso-log.txt ]
|
||||||
then
|
then
|
||||||
# Generating images
|
# Generating images
|
||||||
mkdir debian-live
|
mkdir debian-live
|
||||||
|
@ -48,22 +48,22 @@ do
|
||||||
if [ -f debian-live/binary.iso ] && [ -f debian-live/source.iso ]
|
if [ -f debian-live/binary.iso ] && [ -f debian-live/source.iso ]
|
||||||
then
|
then
|
||||||
# Moving logs
|
# Moving logs
|
||||||
mkdir -p "${AUTOBUILD_SERVER}"/daily-release/${AUTOBUILD_DATE}/log
|
mkdir -p "${AUTOBUILD_SERVER}"/daily-builds/${AUTOBUILD_DATE}/log
|
||||||
mv debian-live/log.txt "${AUTOBUILD_SERVER}"/daily-release/${AUTOBUILD_DATE}/log/debian-live-${AUTOBUILD_DISTRIBUTION}-${AUTOBUILD_ARCHITECTURE}-${AUTOBUILD_FLAVOUR}_${AUTOBUILD_DATE}-iso-log.txt
|
mv debian-live/log.txt "${AUTOBUILD_SERVER}"/daily-builds/${AUTOBUILD_DATE}/log/debian-live-${AUTOBUILD_DISTRIBUTION}-${AUTOBUILD_ARCHITECTURE}-${AUTOBUILD_FLAVOUR}_${AUTOBUILD_DATE}-iso-log.txt
|
||||||
mv debian-live/packages.txt "${AUTOBUILD_SERVER}"/daily-release/${AUTOBUILD_DATE}/log/debian-live-${AUTOBUILD_DISTRIBUTION}-${AUTOBUILD_ARCHITECTURE}-${AUTOBUILD_FLAVOUR}_${AUTOBUILD_DATE}-iso-packages.txt
|
mv debian-live/packages.txt "${AUTOBUILD_SERVER}"/daily-builds/${AUTOBUILD_DATE}/log/debian-live-${AUTOBUILD_DISTRIBUTION}-${AUTOBUILD_ARCHITECTURE}-${AUTOBUILD_FLAVOUR}_${AUTOBUILD_DATE}-iso-packages.txt
|
||||||
|
|
||||||
# Moving images
|
# Moving images
|
||||||
mkdir -p "${AUTOBUILD_SERVER}"/daily-release/${AUTOBUILD_DATE}/${AUTOBUILD_ARCHITECTURE}
|
mkdir -p "${AUTOBUILD_SERVER}"/daily-builds/${AUTOBUILD_DATE}/${AUTOBUILD_ARCHITECTURE}
|
||||||
mv debian-live/binary.iso "${AUTOBUILD_SERVER}"/daily-release/${AUTOBUILD_DATE}/${AUTOBUILD_ARCHITECTURE}/debian-live-${AUTOBUILD_DISTRIBUTION}-${AUTOBUILD_ARCHITECTURE}-${AUTOBUILD_FLAVOUR}.iso
|
mv debian-live/binary.iso "${AUTOBUILD_SERVER}"/daily-builds/${AUTOBUILD_DATE}/${AUTOBUILD_ARCHITECTURE}/debian-live-${AUTOBUILD_DISTRIBUTION}-${AUTOBUILD_ARCHITECTURE}-${AUTOBUILD_FLAVOUR}.iso
|
||||||
|
|
||||||
mkdir -p "${AUTOBUILD_SERVER}"/daily-release/${AUTOBUILD_DATE}/source
|
mkdir -p "${AUTOBUILD_SERVER}"/daily-builds/${AUTOBUILD_DATE}/source
|
||||||
mv debian-live/source.iso "${AUTOBUILD_SERVER}"/daily-release/${AUTOBUILD_DATE}/source/debian-live-${AUTOBUILD_DISTRIBUTION}-source-${AUTOBUILD_FLAVOUR}.iso
|
mv debian-live/source.iso "${AUTOBUILD_SERVER}"/daily-builds/${AUTOBUILD_DATE}/source/debian-live-${AUTOBUILD_DISTRIBUTION}-source-${AUTOBUILD_FLAVOUR}.iso
|
||||||
fi
|
fi
|
||||||
|
|
||||||
# Cleanup
|
# Cleanup
|
||||||
rm -rf debian-live
|
rm -rf debian-live
|
||||||
|
|
||||||
if [ ! -f "${AUTOBUILD_SERVER}"/daily-release/${AUTOBUILD_DATE}/log/debian-live-${AUTOBUILD_DISTRIBUTION}-${AUTOBUILD_ARCHITECTURE}-${AUTOBUILD_FLAVOUR}_${AUTOBUILD_DATE}-usb-log.txt ]
|
if [ ! -f "${AUTOBUILD_SERVER}"/daily-builds/${AUTOBUILD_DATE}/log/debian-live-${AUTOBUILD_DISTRIBUTION}-${AUTOBUILD_ARCHITECTURE}-${AUTOBUILD_FLAVOUR}_${AUTOBUILD_DATE}-usb-log.txt ]
|
||||||
then
|
then
|
||||||
# Generating images
|
# Generating images
|
||||||
mkdir debian-live
|
mkdir debian-live
|
||||||
|
@ -73,13 +73,13 @@ do
|
||||||
if [ -f debian-live/binary.img ]
|
if [ -f debian-live/binary.img ]
|
||||||
then
|
then
|
||||||
# Moving logs
|
# Moving logs
|
||||||
mkdir -p "${AUTOBUILD_SERVER}"/daily-release/${AUTOBUILD_DATE}/log
|
mkdir -p "${AUTOBUILD_SERVER}"/daily-builds/${AUTOBUILD_DATE}/log
|
||||||
mv debian-live/log.txt "${AUTOBUILD_SERVER}"/daily-release/${AUTOBUILD_DATE}/log/debian-live-${AUTOBUILD_DISTRIBUTION}-${AUTOBUILD_ARCHITECTURE}-${AUTOBUILD_FLAVOUR}_${AUTOBUILD_DATE}-usb-log.txt
|
mv debian-live/log.txt "${AUTOBUILD_SERVER}"/daily-builds/${AUTOBUILD_DATE}/log/debian-live-${AUTOBUILD_DISTRIBUTION}-${AUTOBUILD_ARCHITECTURE}-${AUTOBUILD_FLAVOUR}_${AUTOBUILD_DATE}-usb-log.txt
|
||||||
mv debian-live/packages.txt "${AUTOBUILD_SERVER}"/daily-release/${AUTOBUILD_DATE}/log/debian-live-${AUTOBUILD_DISTRIBUTION}-${AUTOBUILD_ARCHITECTURE}-${AUTOBUILD_FLAVOUR}_${AUTOBUILD_DATE}-usb-packages.txt
|
mv debian-live/packages.txt "${AUTOBUILD_SERVER}"/daily-builds/${AUTOBUILD_DATE}/log/debian-live-${AUTOBUILD_DISTRIBUTION}-${AUTOBUILD_ARCHITECTURE}-${AUTOBUILD_FLAVOUR}_${AUTOBUILD_DATE}-usb-packages.txt
|
||||||
|
|
||||||
# Moving images
|
# Moving images
|
||||||
mkdir -p "${AUTOBUILD_SERVER}"/daily-release/${AUTOBUILD_DATE}/${AUTOBUILD_ARCHITECTURE}
|
mkdir -p "${AUTOBUILD_SERVER}"/daily-builds/${AUTOBUILD_DATE}/${AUTOBUILD_ARCHITECTURE}
|
||||||
mv debian-live/binary.img "${AUTOBUILD_SERVER}"/daily-release/${AUTOBUILD_DATE}/${AUTOBUILD_ARCHITECTURE}/debian-live-${AUTOBUILD_DISTRIBUTION}-${AUTOBUILD_ARCHITECTURE}-${AUTOBUILD_FLAVOUR}.img
|
mv debian-live/binary.img "${AUTOBUILD_SERVER}"/daily-builds/${AUTOBUILD_DATE}/${AUTOBUILD_ARCHITECTURE}/debian-live-${AUTOBUILD_DISTRIBUTION}-${AUTOBUILD_ARCHITECTURE}-${AUTOBUILD_FLAVOUR}.img
|
||||||
fi
|
fi
|
||||||
|
|
||||||
# Cleanup
|
# Cleanup
|
||||||
|
@ -92,7 +92,7 @@ umount -f "${AUTOBUILD_DIRECTORY}"/debian-live/chroot/proc > /dev/null 2>&1
|
||||||
rm -rf "${AUTOBUILD_DIRECTORY}"
|
rm -rf "${AUTOBUILD_DIRECTORY}"
|
||||||
|
|
||||||
# MD5SUMS
|
# MD5SUMS
|
||||||
for DIRECTORY in "${AUTOBUILD_SERVER}"/daily-release/${AUTOBUILD_DATE}/*
|
for DIRECTORY in "${AUTOBUILD_SERVER}"/daily-builds/${AUTOBUILD_DATE}/*
|
||||||
do
|
do
|
||||||
cd "${DIRECTORY}"
|
cd "${DIRECTORY}"
|
||||||
md5sum * > MD5SUMS
|
md5sum * > MD5SUMS
|
||||||
|
|
|
@ -3,7 +3,7 @@
|
||||||
AUTOBUILD="false"
|
AUTOBUILD="false"
|
||||||
|
|
||||||
AUTOBUILD_DISTRIBUTIONS="etch sid"
|
AUTOBUILD_DISTRIBUTIONS="etch sid"
|
||||||
AUTOBUILD_FLAVOURS="minimal standard kde-desktop gnome-desktop xfce-desktop"
|
AUTOBUILD_FLAVOURS="standard kde-desktop gnome-desktop xfce-desktop"
|
||||||
AUTOBUILD_OPTIONS="--with-source"
|
AUTOBUILD_OPTIONS="--with-source"
|
||||||
|
|
||||||
AUTOBUILD_DIRECTORY="/srv/tmp/make-live"
|
AUTOBUILD_DIRECTORY="/srv/tmp/make-live"
|
||||||
|
|
|
@ -1,2 +1,3 @@
|
||||||
AUTHORS
|
AUTHORS
|
||||||
|
HISTORY
|
||||||
TODO
|
TODO
|
||||||
|
|
|
@ -0,0 +1,9 @@
|
||||||
|
# /usr/share/make-live/hooks/minimal - hook list for make-live(8)
|
||||||
|
|
||||||
|
# Remove unused packages
|
||||||
|
apt-get remove --purge --yes apt-utils libdb4.4
|
||||||
|
|
||||||
|
# Remove unused files
|
||||||
|
rm -rf /usr/share/doc
|
||||||
|
rm -rf /usr/share/locale
|
||||||
|
rm -rf /usr/share/man
|
|
@ -0,0 +1,4 @@
|
||||||
|
# /usr/share/make-live/lists/mini - package list for make-live(1)
|
||||||
|
|
||||||
|
# Minimal
|
||||||
|
eject file sudo vim-tiny
|
|
@ -28,7 +28,7 @@ set -e
|
||||||
BASE=${LIVE_BASE:-"/usr/share/make-live"}
|
BASE=${LIVE_BASE:-"/usr/share/make-live"}
|
||||||
CONFIG="/etc/make-live.conf"
|
CONFIG="/etc/make-live.conf"
|
||||||
PROGRAM="`basename ${0}`"
|
PROGRAM="`basename ${0}`"
|
||||||
VERSION="0.99.20"
|
VERSION="0.99.21"
|
||||||
|
|
||||||
CODENAME_OLDSTABLE="woody"
|
CODENAME_OLDSTABLE="woody"
|
||||||
CODENAME_STABLE="sarge"
|
CODENAME_STABLE="sarge"
|
||||||
|
|
|
@ -188,6 +188,9 @@ Defaults ()
|
||||||
if [ "${LIVE_FLAVOUR}" = "minimal" ]
|
if [ "${LIVE_FLAVOUR}" = "minimal" ]
|
||||||
then
|
then
|
||||||
LIVE_PACKAGE_LIST="${BASE}/lists/minimal"
|
LIVE_PACKAGE_LIST="${BASE}/lists/minimal"
|
||||||
|
elif [ "${LIVE_FLAVOUR}" = "mini" ]
|
||||||
|
then
|
||||||
|
LIVE_PACKAGE_LISTS="${BASE}/lists/mini"
|
||||||
else
|
else
|
||||||
LIVE_PACKAGE_LIST="${BASE}/lists/standard"
|
LIVE_PACKAGE_LIST="${BASE}/lists/standard"
|
||||||
fi
|
fi
|
||||||
|
@ -257,7 +260,7 @@ Defaults ()
|
||||||
fi
|
fi
|
||||||
|
|
||||||
# Set package indices
|
# Set package indices
|
||||||
if [ -z "${LIVE_GENERIC_INDICES}" ] && [ "${LIVE_FLAVOUR}" != "minimal" ]
|
if [ -z "${LIVE_GENERIC_INDICES}" ] && [ "${LIVE_FLAVOUR}" != "minimal" ] && [ "${LIVE_FLAVOUR}" != "mini" ]
|
||||||
then
|
then
|
||||||
LIVE_GENERIC_INDICES="yes"
|
LIVE_GENERIC_INDICES="yes"
|
||||||
fi
|
fi
|
||||||
|
|
|
@ -24,7 +24,12 @@ Bootstrap ()
|
||||||
fi
|
fi
|
||||||
|
|
||||||
# Bootstrap system
|
# Bootstrap system
|
||||||
cdebootstrap --arch="${LIVE_ARCHITECTURE}" --flavour="${LIVE_FLAVOUR}" ${SUITE_CONFIG} "${LIVE_DISTRIBUTION}" "${LIVE_CHROOT}" "${LIVE_MIRROR}"
|
if [ "${LIVE_FLAVOUR}" = "mini" ]
|
||||||
|
then
|
||||||
|
cdebootstrap --arch="${LIVE_ARCHITECTURE}" --flavour=minimal ${SUITE_CONFIG} "${LIVE_DISTRIBUTION}" "${LIVE_CHROOT}" "${LIVE_MIRROR}"
|
||||||
|
else
|
||||||
|
cdebootstrap --arch="${LIVE_ARCHITECTURE}" --flavour="${LIVE_FLAVOUR}" ${SUITE_CONFIG} "${LIVE_DISTRIBUTION}" "${LIVE_CHROOT}" "${LIVE_MIRROR}"
|
||||||
|
fi
|
||||||
|
|
||||||
# Remove unused packages
|
# Remove unused packages
|
||||||
Chroot_exec "dpkg -P cdebootstrap-helper-diverts"
|
Chroot_exec "dpkg -P cdebootstrap-helper-diverts"
|
||||||
|
|
|
@ -50,7 +50,7 @@ EOF
|
||||||
if [ "${LIVE_DISTRIBUTION}" = "unstable" ] || [ "${LIVE_DISTRIBUTION}" = "${CODENAME_UNSTABLE}" ] || \
|
if [ "${LIVE_DISTRIBUTION}" = "unstable" ] || [ "${LIVE_DISTRIBUTION}" = "${CODENAME_UNSTABLE}" ] || \
|
||||||
[ "${LIVE_DISTRIBUTION}" = "testing" ] || [ "${LIVE_DISTRIBUTION}" = "${CODENAME_TESTING}" ]
|
[ "${LIVE_DISTRIBUTION}" = "testing" ] || [ "${LIVE_DISTRIBUTION}" = "${CODENAME_TESTING}" ]
|
||||||
then
|
then
|
||||||
if [ "${LIVE_FLAVOUR}" != "minimal" ]
|
if [ "${LIVE_FLAVOUR}" != "minimal" ] || [ "${LIVE_FLAVOUR}" != "mini" ]
|
||||||
then
|
then
|
||||||
Chroot_exec "apt-get install --yes --force-yes ${LIVE_REPOSITORY_KEYRING}"
|
Chroot_exec "apt-get install --yes --force-yes ${LIVE_REPOSITORY_KEYRING}"
|
||||||
|
|
||||||
|
@ -229,7 +229,7 @@ EOF
|
||||||
rm -rf "${LIVE_CHROOT}"/var/cache/apt
|
rm -rf "${LIVE_CHROOT}"/var/cache/apt
|
||||||
mkdir -p "${LIVE_CHROOT}"/var/cache/apt/archives/partial
|
mkdir -p "${LIVE_CHROOT}"/var/cache/apt/archives/partial
|
||||||
|
|
||||||
if [ "${LIVE_FLAVOUR}" = "minimal" ]
|
if [ "${LIVE_FLAVOUR}" = "minimal" ] || [ "${LIVE_FLAVOUR}" = "mini" ]
|
||||||
then
|
then
|
||||||
rm -rf "${LIVE_CHROOT}"/var/lib/apt/lists/*
|
rm -rf "${LIVE_CHROOT}"/var/lib/apt/lists/*
|
||||||
rm -f "${LIVE_CHROOT}"/var/lib/dpkg/available-old
|
rm -f "${LIVE_CHROOT}"/var/lib/dpkg/available-old
|
||||||
|
@ -257,4 +257,30 @@ EOF
|
||||||
# Touching stage file
|
# Touching stage file
|
||||||
touch "${LIVE_ROOT}"/.stage/chroot
|
touch "${LIVE_ROOT}"/.stage/chroot
|
||||||
fi
|
fi
|
||||||
|
|
||||||
|
# Check depends
|
||||||
|
if [ "`grep dosfstools ${LIVE_ROOT}/packages.txt`" ]
|
||||||
|
then
|
||||||
|
KEEP_DOSFSTOOLS="true"
|
||||||
|
fi
|
||||||
|
|
||||||
|
if [ "`grep memtest86+ ${LIVE_ROOT}/packages.txt`" ]
|
||||||
|
then
|
||||||
|
KEEP_MEMTEST86="true"
|
||||||
|
fi
|
||||||
|
|
||||||
|
if [ "`grep mtools ${LIVE_ROOT}/packages.txt`" ]
|
||||||
|
then
|
||||||
|
KEEP_MTOOLS="true"
|
||||||
|
fi
|
||||||
|
|
||||||
|
if [ "`grep parted ${LIVE_ROOT}/packages.txt`" ]
|
||||||
|
then
|
||||||
|
KEEP_PARTED="true"
|
||||||
|
fi
|
||||||
|
|
||||||
|
if [ "`grep syslinux ${LIVE_ROOT}/packages.txt`" ]
|
||||||
|
then
|
||||||
|
KEEP_SYSLINUX="true"
|
||||||
|
fi
|
||||||
}
|
}
|
||||||
|
|
|
@ -166,10 +166,6 @@ Syslinux ()
|
||||||
{
|
{
|
||||||
if [ "${LIVE_ARCHITECTURE}" = "amd64" ] || [ "${LIVE_ARCHITECTURE}" = "i386" ]
|
if [ "${LIVE_ARCHITECTURE}" = "amd64" ] || [ "${LIVE_ARCHITECTURE}" = "i386" ]
|
||||||
then
|
then
|
||||||
# Install syslinux
|
|
||||||
Patch_network apply
|
|
||||||
Chroot_exec "aptitude install --assume-yes syslinux"
|
|
||||||
|
|
||||||
case "${1}" in
|
case "${1}" in
|
||||||
iso)
|
iso)
|
||||||
# Copy syslinux
|
# Copy syslinux
|
||||||
|
@ -223,10 +219,6 @@ Syslinux ()
|
||||||
sed -i -e "s/LIVE_VERSION/${VERSION}/" "${LIVE_ROOT}"/tftpboot/pxelinux.cfg/f10.txt
|
sed -i -e "s/LIVE_VERSION/${VERSION}/" "${LIVE_ROOT}"/tftpboot/pxelinux.cfg/f10.txt
|
||||||
;;
|
;;
|
||||||
esac
|
esac
|
||||||
|
|
||||||
# Remove syslinux
|
|
||||||
Chroot_exec "aptitude purge --assume-yes syslinux"
|
|
||||||
Patch_network deapply
|
|
||||||
fi
|
fi
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -238,7 +230,7 @@ Linuximage ()
|
||||||
case "${1}" in
|
case "${1}" in
|
||||||
iso)
|
iso)
|
||||||
# Copy linux-image
|
# Copy linux-image
|
||||||
if [ "${LIVE_FLAVOUR}" = "minimal" ]
|
if [ "${LIVE_FLAVOUR}" = "minimal" ] || [ "${LIVE_FLAVOUR}" = "mini" ]
|
||||||
then
|
then
|
||||||
mv "${LIVE_CHROOT}"/boot/vmlinuz* "${LIVE_ROOT}"/binary/isolinux/vmlinuz
|
mv "${LIVE_CHROOT}"/boot/vmlinuz* "${LIVE_ROOT}"/binary/isolinux/vmlinuz
|
||||||
mv "${LIVE_CHROOT}"/boot/initrd.img* "${LIVE_ROOT}"/binary/isolinux/initrd.gz
|
mv "${LIVE_CHROOT}"/boot/initrd.img* "${LIVE_ROOT}"/binary/isolinux/initrd.gz
|
||||||
|
@ -251,7 +243,7 @@ Linuximage ()
|
||||||
|
|
||||||
net)
|
net)
|
||||||
# Copy linux-image
|
# Copy linux-image
|
||||||
if [ "${LIVE_FLAVOUR}" = "minimal" ]
|
if [ "${LIVE_FLAVOUR}" = "minimal" ] || [ "${LIVE_FLAVOUR}" = "mini" ]
|
||||||
then
|
then
|
||||||
mv "${LIVE_ROOT}"/chroot/boot/vmlinuz* "${LIVE_ROOT}"/tftpboot/vmlinuz
|
mv "${LIVE_ROOT}"/chroot/boot/vmlinuz* "${LIVE_ROOT}"/tftpboot/vmlinuz
|
||||||
mv "${LIVE_ROOT}"/chroot/boot/initrd.img* "${LIVE_ROOT}"/tftpboot/initrd.gz
|
mv "${LIVE_ROOT}"/chroot/boot/initrd.img* "${LIVE_ROOT}"/tftpboot/initrd.gz
|
||||||
|
@ -267,10 +259,6 @@ Memtest ()
|
||||||
{
|
{
|
||||||
if [ "${LIVE_ARCHITECTURE}" = "amd64" ] || [ "${LIVE_ARCHITECTURE}" = "i386" ]
|
if [ "${LIVE_ARCHITECTURE}" = "amd64" ] || [ "${LIVE_ARCHITECTURE}" = "i386" ]
|
||||||
then
|
then
|
||||||
# Install memtest
|
|
||||||
Patch_network apply
|
|
||||||
Chroot_exec "aptitude install --assume-yes memtest86+"
|
|
||||||
|
|
||||||
case "$1" in
|
case "$1" in
|
||||||
iso)
|
iso)
|
||||||
# Copy memtest
|
# Copy memtest
|
||||||
|
@ -282,10 +270,6 @@ Memtest ()
|
||||||
cp "${LIVE_ROOT}"/chroot/boot/memtest86+.bin "${LIVE_ROOT}"/tftpboot/memtest
|
cp "${LIVE_ROOT}"/chroot/boot/memtest86+.bin "${LIVE_ROOT}"/tftpboot/memtest
|
||||||
;;
|
;;
|
||||||
esac
|
esac
|
||||||
|
|
||||||
# Remove memtest
|
|
||||||
Chroot_exec "aptitude purge --assume-yes memtest86+"
|
|
||||||
Patch_network deapply
|
|
||||||
fi
|
fi
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -306,7 +290,7 @@ Md5sum ()
|
||||||
mv "${LIVE_ROOT}"/md5sum.txt "${LIVE_ROOT}"/binary
|
mv "${LIVE_ROOT}"/md5sum.txt "${LIVE_ROOT}"/binary
|
||||||
}
|
}
|
||||||
|
|
||||||
Mkisofs ()
|
Genisoimage ()
|
||||||
{
|
{
|
||||||
case "${1}" in
|
case "${1}" in
|
||||||
binary)
|
binary)
|
||||||
|
|
|
@ -66,6 +66,20 @@ Iso ()
|
||||||
# Switching package indices to custom
|
# Switching package indices to custom
|
||||||
Indices custom
|
Indices custom
|
||||||
|
|
||||||
|
# Install depends
|
||||||
|
if [ -z "${KEEP_MEMTEST86}" ]
|
||||||
|
then
|
||||||
|
if [ "${LIVE_ARCHITECTURE}" = "amd64" ] || [ "${LIVE_ARCHITECTURE}" = "i386" ]
|
||||||
|
then
|
||||||
|
Chroot_exec "aptitude install --assume-yes memtest86+"
|
||||||
|
fi
|
||||||
|
fi
|
||||||
|
|
||||||
|
if [ -z "${KEEP_SYSLINUX}" ]
|
||||||
|
then
|
||||||
|
Chroot_exec "aptitude install --assume-yes syslinux"
|
||||||
|
fi
|
||||||
|
|
||||||
# Installing syslinux
|
# Installing syslinux
|
||||||
Syslinux iso
|
Syslinux iso
|
||||||
|
|
||||||
|
@ -75,6 +89,20 @@ Iso ()
|
||||||
# Installing memtest
|
# Installing memtest
|
||||||
Memtest iso
|
Memtest iso
|
||||||
|
|
||||||
|
# Remove depends
|
||||||
|
if [ -z "${KEEP_MEMTEST86}" ]
|
||||||
|
then
|
||||||
|
if [ "${LIVE_ARCHITECTURE}" = "amd64" ] || [ "${LIVE_ARCHITECTURE}" = "i386" ]
|
||||||
|
then
|
||||||
|
Chroot_exec "aptitude purge --assume-yes memtest86+"
|
||||||
|
fi
|
||||||
|
fi
|
||||||
|
|
||||||
|
if [ -z "${KEEP_SYSLINUX}" ]
|
||||||
|
then
|
||||||
|
Chroot_exec "aptitude purge --assume-yes syslinux"
|
||||||
|
fi
|
||||||
|
|
||||||
# Deconfigure network
|
# Deconfigure network
|
||||||
Patch_network deapply
|
Patch_network deapply
|
||||||
|
|
||||||
|
@ -83,7 +111,7 @@ Iso ()
|
||||||
Patch_chroot deapply
|
Patch_chroot deapply
|
||||||
|
|
||||||
# Installing templates
|
# Installing templates
|
||||||
if [ "${LIVE_FLAVOUR}" != "minimal" ]
|
if [ "${LIVE_FLAVOUR}" != "minimal" ] || [ "${LIVE_FLAVOUR}" != "mini" ]
|
||||||
then
|
then
|
||||||
cp -r "${LIVE_TEMPLATES}"/iso/* "${LIVE_ROOT}"/binary
|
cp -r "${LIVE_TEMPLATES}"/iso/* "${LIVE_ROOT}"/binary
|
||||||
cp -r "${LIVE_TEMPLATES}"/common/* "${LIVE_ROOT}"/binary
|
cp -r "${LIVE_TEMPLATES}"/common/* "${LIVE_ROOT}"/binary
|
||||||
|
@ -93,7 +121,7 @@ Iso ()
|
||||||
Md5sum
|
Md5sum
|
||||||
|
|
||||||
# Creating image
|
# Creating image
|
||||||
Mkisofs binary
|
Genisoimage binary
|
||||||
|
|
||||||
# Touching stage file
|
# Touching stage file
|
||||||
touch "${LIVE_ROOT}"/.stage/image_binary
|
touch "${LIVE_ROOT}"/.stage/image_binary
|
||||||
|
@ -119,7 +147,7 @@ Iso ()
|
||||||
Patch_chroot deapply
|
Patch_chroot deapply
|
||||||
|
|
||||||
# Creating image
|
# Creating image
|
||||||
Mkisofs source
|
Genisoimage source
|
||||||
|
|
||||||
# Touching stage file
|
# Touching stage file
|
||||||
touch "${LIVE_ROOT}"/.stage/image_source
|
touch "${LIVE_ROOT}"/.stage/image_source
|
||||||
|
|
|
@ -93,6 +93,22 @@ EOF
|
||||||
# Switching package indices to custom
|
# Switching package indices to custom
|
||||||
Indices custom
|
Indices custom
|
||||||
|
|
||||||
|
# Install depends
|
||||||
|
if [ -z "${KEEP_MEMTEST86}" ]
|
||||||
|
then
|
||||||
|
if [ "${LIVE_ARCHITECTURE}" = "amd64" ] || [ "${LIVE_ARCHITECTURE}" = "i386" ]
|
||||||
|
then
|
||||||
|
Patch_network apply
|
||||||
|
Chroot_exec "aptitude install --assume-yes memtest86+"
|
||||||
|
fi
|
||||||
|
fi
|
||||||
|
|
||||||
|
if [ -z "${KEEP_SYSLINUX}" ]
|
||||||
|
then
|
||||||
|
Patch_network apply
|
||||||
|
Chroot_exec "aptitude install --assume-yes syslinux"
|
||||||
|
fi
|
||||||
|
|
||||||
# Installing syslinux
|
# Installing syslinux
|
||||||
Syslinux net
|
Syslinux net
|
||||||
|
|
||||||
|
@ -102,6 +118,20 @@ EOF
|
||||||
# Installing memtest
|
# Installing memtest
|
||||||
Memtest net
|
Memtest net
|
||||||
|
|
||||||
|
# Remove depends
|
||||||
|
if [ -z "${KEEP_SYSLINUX}" ]
|
||||||
|
then
|
||||||
|
if [ "${LIVE_ARCHITECTURE}" = "amd64" ] || [ "${LIVE_ARCHITECTURE}" = "i386" ]
|
||||||
|
then
|
||||||
|
Chroot_exec "aptitude purge --assume-yes syslinux"
|
||||||
|
fi
|
||||||
|
fi
|
||||||
|
|
||||||
|
if [ -z "${KEEP_SYSLINUX}" ]
|
||||||
|
then
|
||||||
|
Chroot_exec "aptitude purge --assume-yes syslinux"
|
||||||
|
fi
|
||||||
|
|
||||||
# Deconfigure network
|
# Deconfigure network
|
||||||
Patch_network deapply
|
Patch_network deapply
|
||||||
|
|
||||||
|
|
|
@ -20,6 +20,7 @@ Usb ()
|
||||||
# Configure network
|
# Configure network
|
||||||
Patch_network apply
|
Patch_network apply
|
||||||
|
|
||||||
|
# Manifest
|
||||||
mkdir -p "${LIVE_ROOT}"/binary/casper
|
mkdir -p "${LIVE_ROOT}"/binary/casper
|
||||||
for MANIFEST in "${LIVE_ROOT}"/filesystem.manifest*
|
for MANIFEST in "${LIVE_ROOT}"/filesystem.manifest*
|
||||||
do
|
do
|
||||||
|
@ -50,6 +51,9 @@ Usb ()
|
||||||
# Generating rootfs image
|
# Generating rootfs image
|
||||||
Genrootfs
|
Genrootfs
|
||||||
|
|
||||||
|
# Mount proc
|
||||||
|
mount proc-live -t proc "${LIVE_CHROOT}"/proc
|
||||||
|
|
||||||
# Configure chroot
|
# Configure chroot
|
||||||
Patch_chroot apply
|
Patch_chroot apply
|
||||||
Patch_runlevel apply
|
Patch_runlevel apply
|
||||||
|
@ -66,6 +70,35 @@ Usb ()
|
||||||
# Switching package indices to custom
|
# Switching package indices to custom
|
||||||
Indices custom
|
Indices custom
|
||||||
|
|
||||||
|
# Install depends
|
||||||
|
if [ -z "${KEEP_DOSFSTOOLS}" ]
|
||||||
|
then
|
||||||
|
Chroot_exec "aptitude install --assume-yes dosfstools"
|
||||||
|
fi
|
||||||
|
|
||||||
|
if [ -z "${KEEP_MEMTEST86}" ]
|
||||||
|
then
|
||||||
|
if [ "${LIVE_ARCHITECTURE}" = "amd64" ] || [ "${LIVE_ARCHITECTURE}" = "i386" ]
|
||||||
|
then
|
||||||
|
Chroot_exec "aptitude install --assume-yes memtest86+"
|
||||||
|
fi
|
||||||
|
fi
|
||||||
|
|
||||||
|
if [ -z "${KEEP_MTOOLS}" ]
|
||||||
|
then
|
||||||
|
Chroot_exec "aptitude install --assume-yes mtools"
|
||||||
|
fi
|
||||||
|
|
||||||
|
if [ -z "${KEEP_PARTED}" ]
|
||||||
|
then
|
||||||
|
Chroot_exec "aptitude install --assume-yes parted"
|
||||||
|
fi
|
||||||
|
|
||||||
|
if [ -z "${KEEP_SYSLINUX}" ]
|
||||||
|
then
|
||||||
|
Chroot_exec "aptitude install --assume-yes syslinux"
|
||||||
|
fi
|
||||||
|
|
||||||
# Installing syslinux
|
# Installing syslinux
|
||||||
Syslinux iso
|
Syslinux iso
|
||||||
|
|
||||||
|
@ -75,6 +108,74 @@ Usb ()
|
||||||
# Installing memtest
|
# Installing memtest
|
||||||
Memtest iso
|
Memtest iso
|
||||||
|
|
||||||
|
# Calculating md5sums
|
||||||
|
Md5sum
|
||||||
|
|
||||||
|
# Creating image
|
||||||
|
|
||||||
|
# USB hacks
|
||||||
|
mv "${LIVE_ROOT}"/binary/isolinux/isolinux.cfg "${LIVE_ROOT}"/binary/syslinux.cfg
|
||||||
|
mv "${LIVE_ROOT}"/binary/isolinux/isolinux.bin "${LIVE_ROOT}"/binary/syslinux.bin
|
||||||
|
mv "${LIVE_ROOT}"/binary/isolinux/* "${LIVE_ROOT}"/binary
|
||||||
|
rmdir "${LIVE_ROOT}"/binary/isolinux/
|
||||||
|
|
||||||
|
# Everything which comes here needs to be cleaned up,
|
||||||
|
DU_DIM="`du -ms ${LIVE_ROOT}/binary | cut -f1`"
|
||||||
|
REAL_DIM="`expr ${DU_DIM} + ${DU_DIM} / 20`" # Just 5% more to be sure, need something more sophistcated here...
|
||||||
|
dd if=/dev/zero of="${LIVE_ROOT}"/binary.img bs=1024k count=${REAL_DIM}
|
||||||
|
|
||||||
|
echo "!!! The following error/warning messages can be ignored !!!"
|
||||||
|
losetup_p "${LIVE_ROOT}"/binary.img 0
|
||||||
|
set +e
|
||||||
|
Chroot_exec "parted -s ${FREELO} mklabel msdos"
|
||||||
|
Chroot_exec "parted -s ${FREELO} mkpartfs primary fat16 0.0 100%"
|
||||||
|
Chroot_exec "parted -s ${FREELO} set 1 boot on"
|
||||||
|
Chroot_exec "parted -s ${FREELO} set 1 lba off"
|
||||||
|
set -e
|
||||||
|
cat "${LIVE_CHROOT}"/usr/lib/syslinux/mbr.bin > ${FREELO}
|
||||||
|
losetup -d ${FREELO}
|
||||||
|
|
||||||
|
losetup_p "${LIVE_ROOT}"/binary.img 1
|
||||||
|
Chroot_exec "mkfs.msdos -n DEBIAN_LIVE ${FREELO}"
|
||||||
|
mkdir "${LIVE_ROOT}"/binary.tmp
|
||||||
|
mount ${FREELO} "${LIVE_ROOT}"/binary.tmp
|
||||||
|
cp -r "${LIVE_ROOT}"/binary/* "${LIVE_ROOT}"/binary.tmp
|
||||||
|
umount "${LIVE_ROOT}"/binary.tmp
|
||||||
|
rmdir "${LIVE_ROOT}"/binary.tmp
|
||||||
|
Chroot_exec "syslinux ${FREELO}"
|
||||||
|
losetup -d ${FREELO}
|
||||||
|
|
||||||
|
echo "!!! The above error/warning messages can be ignored !!!"
|
||||||
|
|
||||||
|
# Remove depends
|
||||||
|
if [ -z "${KEEP_DOSFSTOOLS}" ]
|
||||||
|
then
|
||||||
|
Chroot_exec "aptitude purge --assume-yes dosfstools"
|
||||||
|
fi
|
||||||
|
|
||||||
|
if [ -z "${KEEP_MEMTEST86}" ]
|
||||||
|
then
|
||||||
|
if [ "${LIVE_ARCHITECTURE}" = "amd64" ] || [ "${LIVE_ARCHITECTURE}" = "i386" ]
|
||||||
|
then
|
||||||
|
Chroot_exec "aptitude purge --assume-yes memtest86+"
|
||||||
|
fi
|
||||||
|
fi
|
||||||
|
|
||||||
|
if [ -z "${KEEP_MTOOLS}" ]
|
||||||
|
then
|
||||||
|
Chroot_exec "aptitude purge --assume-yes mtools"
|
||||||
|
fi
|
||||||
|
|
||||||
|
if [ -z "${KEEP_PARTED}" ]
|
||||||
|
then
|
||||||
|
Chroot_exec "aptitude purge --assume-yes parted"
|
||||||
|
fi
|
||||||
|
|
||||||
|
if [ -z "${KEEP_SYSLINUX}" ]
|
||||||
|
then
|
||||||
|
Chroot_exec "aptitude purge --assume-yes syslinux"
|
||||||
|
fi
|
||||||
|
|
||||||
# Deconfigure network
|
# Deconfigure network
|
||||||
Patch_network deapply
|
Patch_network deapply
|
||||||
|
|
||||||
|
@ -82,43 +183,8 @@ Usb ()
|
||||||
Patch_runlevel deapply
|
Patch_runlevel deapply
|
||||||
Patch_chroot deapply
|
Patch_chroot deapply
|
||||||
|
|
||||||
# Calculating md5sums
|
# Unmount proc
|
||||||
Md5sum
|
umount "${LIVE_CHROOT}"/proc
|
||||||
|
|
||||||
# Creating image
|
|
||||||
mv "${LIVE_ROOT}"/binary/isolinux/isolinux.cfg "${LIVE_ROOT}"/binary/syslinux.cfg
|
|
||||||
mv "${LIVE_ROOT}"/binary/isolinux/isolinux.bin "${LIVE_ROOT}"/binary/syslinux.bin
|
|
||||||
mv "${LIVE_ROOT}"/binary/isolinux/* "${LIVE_ROOT}"/binary
|
|
||||||
|
|
||||||
# Everything which comes here needs to be cleaned up,
|
|
||||||
# especially all the parted/syslinux stuff should be done
|
|
||||||
# from within the chroot, not on the host system, will do that later.
|
|
||||||
|
|
||||||
DU_DIM="`du -ms ${LIVE_ROOT}/binary | cut -f1`"
|
|
||||||
REAL_DIM="`expr ${DU_DIM} + ${DU_DIM} / 20`" # Just 5% more to be sure, need something more sophistcated here...
|
|
||||||
dd if=/dev/zero of="${LIVE_ROOT}"/binary.img bs=1024k count=${REAL_DIM}
|
|
||||||
|
|
||||||
echo "!!! The following error/warning messages can be ignored !!!"
|
|
||||||
losetup_p "${LIVE_ROOT}"/binary.img 0
|
|
||||||
parted -s ${FREELO} mklabel msdos
|
|
||||||
set +e
|
|
||||||
parted -s ${FREELO} mkpartfs primary fat16 0.0 100%
|
|
||||||
parted -s ${FREELO} set 1 boot on
|
|
||||||
parted -s ${FREELO} set 1 lba off
|
|
||||||
set -e
|
|
||||||
cat /usr/lib/syslinux/mbr.bin > ${FREELO}
|
|
||||||
losetup -d ${FREELO}
|
|
||||||
echo "!!! The above error/warning messages can be ignored !!!"
|
|
||||||
|
|
||||||
losetup_p "${LIVE_ROOT}"/binary.img 1
|
|
||||||
mkfs.msdos -n DEBIAN_LIVE ${FREELO}
|
|
||||||
mkdir "${LIVE_ROOT}"/binary.tmp
|
|
||||||
mount ${FREELO} "${LIVE_ROOT}"/binary.tmp
|
|
||||||
cp -r "${LIVE_ROOT}"/binary/* "${LIVE_ROOT}"/binary.tmp
|
|
||||||
umount "${LIVE_ROOT}"/binary.tmp
|
|
||||||
rmdir "${LIVE_ROOT}"/binary.tmp
|
|
||||||
syslinux ${FREELO}
|
|
||||||
losetup -d ${FREELO}
|
|
||||||
|
|
||||||
# Touching stage file
|
# Touching stage file
|
||||||
touch "${LIVE_ROOT}"/.stage/image_binary
|
touch "${LIVE_ROOT}"/.stage/image_binary
|
||||||
|
|
|
@ -1,12 +1,11 @@
|
||||||
0fSPECIAL BOOT PARAMETERS - VARIOUS HARDWARE07 09F407
|
0fSPECIAL BOOT PARAMETERS - VARIOUS HARDWARE07 09F407
|
||||||
|
|
||||||
You can use the following boot parameters at the 0fboot:07 prompt,
|
You can use the following boot parameters at the 0fboot:07 prompt,
|
||||||
in combination with the boot method (see <09F307>).
|
in combination with the boot method (see <09F307>).
|
||||||
0f
|
0f
|
||||||
OPTION PARAMETER TO SPECIFY07
|
OPTION PARAMETER TO SPECIFY07
|
||||||
Check media for defects 0fintegrity-check07
|
Check media for defects 0fintegrity-check07
|
||||||
Set a static ip (no dhcp) 0fip=if,add,netm,gatew07
|
Set a static ip (no dhcp) 0fip=if,add,netm,gatew07
|
||||||
Set a static ip (no dhcp) 0fip=if,add,netm,gatew07
|
|
||||||
Set a default locale 0flocale=<locale>07
|
Set a default locale 0flocale=<locale>07
|
||||||
Suppress some debug informations 0fquiet07
|
Suppress some debug informations 0fquiet07
|
||||||
Show internal filesystems 0fshowmounts07
|
Show internal filesystems 0fshowmounts07
|
||||||
|
@ -20,4 +19,5 @@ For example:
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
Press F1control and F then 1 for the help index, or ENTER to
|
Press F1control and F then 1 for the help index, or ENTER to
|
||||||
|
|
|
@ -9,7 +9,7 @@ and the next user who comes up with the same problem will profit from your
|
||||||
experience!
|
experience!
|
||||||
|
|
||||||
See the mailinglist and wiki for more information; both
|
See the mailinglist and wiki for more information; both
|
||||||
are available at the Debian Live web site, 0fhttp://live.debian.net/07
|
are available at the Debian Live web site, 0fhttp://debian-live.alioth.debian.org/07
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
|
@ -1,7 +1,7 @@
|
||||||
0fABOUT THE DEBIAN LIVE PROJECT07 09F907
|
0fABOUT THE DEBIAN LIVE PROJECT07 09F907
|
||||||
|
|
||||||
For information about the Debian Live project, see our web site:
|
For information about the Debian Live project, see our web site:
|
||||||
0fhttp://live.debian.net/07
|
0fhttp://debian-live.alioth.debian.org/07
|
||||||
|
|
||||||
For copyright information, press <09F1007>.
|
For copyright information, press <09F1007>.
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue