Adding live-helper 1.0~a6-1.
This commit is contained in:
parent
1863ed8874
commit
4739146fc6
2
Makefile
2
Makefile
|
@ -9,7 +9,7 @@ install:
|
|||
|
||||
# Installing shared data
|
||||
mkdir -p $(DESTDIR)/usr/share/live-helper
|
||||
cp -r functions hooks includes lists templates $(DESTDIR)/usr/share/live-helper
|
||||
cp -r examples functions hooks includes lists templates $(DESTDIR)/usr/share/live-helper
|
||||
|
||||
# Installing documentation
|
||||
mkdir -p $(DESTDIR)/usr/share/doc/live-helper
|
||||
|
|
|
@ -0,0 +1,26 @@
|
|||
The grub splash for Debian Live was done by Daniel Baumann <daniel@debian.org>
|
||||
based on the original work of Mark Riedesel.
|
||||
|
||||
The contribution of Daniel is hereby placed in the public domain (no rights
|
||||
reserved).
|
||||
|
||||
---------------
|
||||
http://dugnet.com/klown/pics/klowner_debboot.png
|
||||
by Mark Riedesel, license same as open use logo
|
||||
|
||||
To create klowner.rle:
|
||||
|
||||
1. convert klowner.png klowner.bmp
|
||||
2. bmptoppm < klowner.bmp | ppmtolss16 #FBFDFA=7 > klowner.rle
|
||||
|
||||
(FBFDFA is the color used for the inside of the "n" in Debian.)
|
||||
---------------
|
||||
|
||||
Debian Open Use Logo License
|
||||
|
||||
Copyright (c) 1999 Software in the Public Interest
|
||||
This logo or a modified version may be used by anyone to refer to the Debian
|
||||
project, but does not indicate endorsement by the project.
|
||||
|
||||
Note: we would appreciate that you make the image a link to
|
||||
http://www.debian.org/ if you use it on a web page.
|
Binary file not shown.
Binary file not shown.
After Width: | Height: | Size: 6.2 KiB |
Binary file not shown.
Binary file not shown.
After Width: | Height: | Size: 15 KiB |
|
@ -1,6 +1,8 @@
|
|||
The splash for Debian Live was done by Daniel Baumann <daniel@debian.org> based
|
||||
on the original work of Mark Riedesel. The contribution of Daniel is hereby
|
||||
placed in the public domain (no rights reserved).
|
||||
The syslinux splash for Debian Live was done by Daniel Baumann
|
||||
<daniel@debian.org> based on the original work of Mark Riedesel.
|
||||
|
||||
The contribution of Daniel is hereby placed in the public domain (no rights
|
||||
reserved).
|
||||
|
||||
---------------
|
||||
http://dugnet.com/klown/pics/klowner_debboot.png
|
||||
|
|
|
@ -1,3 +1,9 @@
|
|||
live-helper (1.0~a6-1) unstable; urgency=low
|
||||
|
||||
* New upstream release.
|
||||
|
||||
-- Daniel Baumann <daniel@debian.org> Mon, 16 Apr 2007 00:00:00 +0200
|
||||
|
||||
live-helper (1.0~a5-1) unstable; urgency=low
|
||||
|
||||
* New upstream release.
|
||||
|
|
|
@ -26,12 +26,14 @@ License:
|
|||
On Debian systems, the complete text of the GNU General Public License
|
||||
can be found in /usr/share/common-licenses/GPL file.
|
||||
|
||||
License (contrib/syslinux-splash/*, templates/syslinux/splash.rle):
|
||||
License (contrib/grub-splash/*, contrib/syslinux-splash/*,
|
||||
templates/syslinux/splash.rle, templates/grub/splash.xpm.gz):
|
||||
|
||||
The splash for Debian Live was done by Daniel Baumann
|
||||
<daniel@debian.org> based on the original work of Mark Riedesel. The
|
||||
contribution of Daniel is hereby placed in the public domain (no rights
|
||||
reserved).
|
||||
<daniel@debian.org> based on the original work of Mark Riedesel.
|
||||
|
||||
The contribution of Daniel is hereby placed in the public domain (no
|
||||
rights reserved).
|
||||
|
||||
---------------
|
||||
http://dugnet.com/klown/pics/klowner_debboot.png
|
||||
|
|
|
@ -29,3 +29,6 @@ Special thanks (alphabetical order):
|
|||
* Sebastian Raveau <sebastien.raveau@epita.fr> for his work on encryption
|
||||
support.
|
||||
* Scott Edwards <debian@foss.daxal.com> for his work on d-i/g-i integration.
|
||||
|
||||
...and countless other people showed up on the #debian-live IRC channel since
|
||||
February 2006: thanks for all your help, ideas, and wishes.
|
||||
|
|
|
@ -1,3 +1,74 @@
|
|||
2007-04-16 Daniel Baumann <daniel@debian.org>
|
||||
|
||||
* functions/defaults.sh:
|
||||
- Using lsb_release, if existing, to set default mode to ubuntu on
|
||||
ubuntu systems.
|
||||
- Moved desktop task to the end, so that gdm doesn't take
|
||||
gnome-session as default.
|
||||
* helpers/lh_chroot_hooks:
|
||||
- Added simple --hooks for easy testing.
|
||||
* Uploaded 1.0~a6-1.
|
||||
|
||||
2007-04-15 Daniel Baumann <daniel@debian.org>
|
||||
|
||||
* functions/defaults.sh:
|
||||
- Set LH_APT to apt-get when using mini or minimal.
|
||||
* helpers/lh_chroot_sources:
|
||||
- Excluding comments from local sources lists.
|
||||
* helpers/lh_bootstrap_cdebootstrap:
|
||||
- Removing imported configuration files by cdebootstrap.
|
||||
|
||||
2007-04-13 Daniel Baumann <daniel@debian.org>
|
||||
|
||||
* Moved examples from /usr/share/doc to /usr/share/live-helper.
|
||||
* examples/bpo.sources.list:
|
||||
- Added.
|
||||
* functions/defaults.sh:
|
||||
- Setting LH_GENISOIMAGE on ubuntu to legacy mkisofs.
|
||||
* helpers/lh_clean:
|
||||
- Added missing removal of generic source.
|
||||
|
||||
2007-04-12 Daniel Baumann <daniel@debian.org>
|
||||
|
||||
* helpers/lh_config, make-live:
|
||||
- Adding --config.
|
||||
* helpers/lh_binary_memtester86:
|
||||
- Renamed to lh_binary_memtest, made more generic.
|
||||
* functions/defaults.sh:
|
||||
- Setting default distribution to etch until 2.6.20 has setteled in
|
||||
unstable.
|
||||
|
||||
2007-04-11 Daniel Baumann <daniel@debian.org>
|
||||
|
||||
* Merging from sidux fllbuilder 1.0.4:
|
||||
- functions/chroot: Added LH_DEBCONF_NOWARNINGS.
|
||||
- helpers/lh_chroot_linuximage: Added additional options to
|
||||
kernel-img.conf.
|
||||
- helpers/lh_chroot_proc: Made binfmt umount conditional.
|
||||
* contrib/grub-splash/*, templates/grub/splash.xpm.gz:
|
||||
- Added.
|
||||
* helpers/lh_binary_grub, lh_binary_syslinux:
|
||||
- Added failsafe kernel entries.
|
||||
* helpers/lh_chroot_apt:
|
||||
- Using apt.conf.d also for apt, not just for aptitude.
|
||||
- Minor code cleanup.
|
||||
* helpers/lh_source_*:
|
||||
- Minor code cleanup.
|
||||
* helpers/lh_source_download:
|
||||
- Added LIVE_BOOTLOADER to the list of source packages.
|
||||
* contrib/grub-splash/*, templates/grub/splash.xpm.gz:
|
||||
- Added.
|
||||
|
||||
2007-04-10 Daniel Baumann <daniel@debian.org>
|
||||
|
||||
* helpers/lh_binary_includes, includes/*:
|
||||
- Redone.
|
||||
|
||||
2007-04-09 Daniel Baumann <daniel@debian.org>
|
||||
|
||||
* helpers/lh_binary_yaboot, templates/yaboot:
|
||||
- Added.
|
||||
|
||||
2007-04-09 Daniel Baumann <daniel@debian.org>
|
||||
|
||||
* helpers/lh_config, make-live, functions/defaults.sh:
|
||||
|
@ -5,6 +76,7 @@
|
|||
* helpers/lh_chroot_sources:
|
||||
- Added check for LIVE_MIRROR_BUILD* to be equal to
|
||||
LIVE_MIRROR_IMAGE*.
|
||||
* Uploaded 1.0~a5-1.
|
||||
|
||||
2007-04-08 Daniel Baumann <daniel@debian.org>
|
||||
|
||||
|
|
16
doc/FAQ
16
doc/FAQ
|
@ -4,14 +4,18 @@ Debian Live: Frequently Asked Questions (FAQ)
|
|||
Build Time
|
||||
----------
|
||||
|
||||
Q: Is live-helper/make-live Debian specific?
|
||||
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
|
||||
include it.
|
||||
|
||||
Q: How do I drop in to a shell during make-live chroot process?
|
||||
A: Use "--interactive shell", then exit when you have made the setting changes
|
||||
you want and the build process will continue.
|
||||
A: Use "--interactive shell", then exit with 'logout' when you have made the
|
||||
setting changes you want and the build process will continue.
|
||||
|
||||
Q: Where to set the username or the hostname?
|
||||
A: casper uses default username 'casper' and hostname 'live'. You can specify
|
||||
them by passing 'username=' and 'hostname=' as kernel parameters (In previous
|
||||
casper releases it was 'host=').
|
||||
them by passing 'username=' and 'hostname=' as kernel parameters.
|
||||
|
||||
live-helper automatically sets the username to 'user' and the hostname to
|
||||
'debian'. If you want to change this at build time, pass --username and
|
||||
|
@ -22,8 +26,8 @@ Run Time
|
|||
--------
|
||||
|
||||
Q: What is the root password?
|
||||
A: There is none. You can switch to root with 'sudo -i' or set a password with
|
||||
'sudo passwd'.
|
||||
A: There is none set. You can switch to root with 'sudo -i' or set a password
|
||||
with 'sudo passwd'.
|
||||
|
||||
Q: What is the user password?
|
||||
A: The password for the default user is 'live'.
|
||||
|
|
|
@ -1,9 +0,0 @@
|
|||
# This is a sources.list for live-helper(7) to use packages from the
|
||||
# Debian Live Etch backports repository.
|
||||
#
|
||||
# To enable it, copy this file to your config/chroot_sources directory, once
|
||||
# as e.g. live.build and once as live.image.
|
||||
|
||||
# Debian Live backports for Etch
|
||||
deb http://live.debian.net/debian/ etch main
|
||||
deb-src http://live.debian.net/debian/ etch main
|
|
@ -4,7 +4,7 @@
|
|||
# It was originally written by Inigo Tejedor Arrondo <inigo@navarrux.org>.
|
||||
#
|
||||
# To enable it, copy this hook into your config/chroot_localhooks directory.
|
||||
# At boot prompt, type 'linux 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
|
|
@ -0,0 +1,9 @@
|
|||
## This is a sources.list for live-helper(7) to use packages from the
|
||||
## Debian Etch backports repository.
|
||||
##
|
||||
## To enable it, copy this file to your config/chroot_sources directory, once
|
||||
## as e.g. bpo.build and once as bpo.image.
|
||||
|
||||
# Debian backports for Etch
|
||||
deb http://www.backports.org/debian/ etch-backports main
|
||||
deb-src http://www.backports.org/debian/ etch-backports main
|
|
@ -0,0 +1,11 @@
|
|||
## This is a sources.list for live-helper(7) to use packages from the
|
||||
## Debian Live Etch backports repository.
|
||||
##
|
||||
## To enable it, copy this file to your config/chroot_sources directory, once
|
||||
## as e.g. live.build and once as live.image.
|
||||
##
|
||||
## Remeber to add debian-unofficial-archive-keyring to your package selection.
|
||||
|
||||
# Debian Live backports for Etch
|
||||
deb http://live.debian.net/debian/ etch main
|
||||
deb-src http://live.debian.net/debian/ etch main
|
|
@ -15,5 +15,5 @@ Chroot ()
|
|||
|
||||
# Executing commands in chroot
|
||||
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_HTTPPPROXY}" DEBIAN_FRONTEND="${LH_DEBCONF_FRONTEND}" DEBIAN_PRIORITY="${LH_DEBCONF_PRIORITY}" ${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}
|
||||
}
|
||||
|
|
|
@ -10,4 +10,4 @@
|
|||
set -e
|
||||
|
||||
PROGRAM="`basename ${0}`"
|
||||
VERSION="1.0~a5"
|
||||
VERSION="1.0~a6"
|
||||
|
|
|
@ -16,7 +16,20 @@ Set_defaults ()
|
|||
# Setting mode
|
||||
if [ -z "${LH_MODE}" ]
|
||||
then
|
||||
LH_MODE="debian"
|
||||
if [ -f /usr/bin/lsb_release ]
|
||||
then
|
||||
case "`lsb_release --short --id`" in
|
||||
Debian)
|
||||
LH_MODE="debian"
|
||||
;;
|
||||
|
||||
Ubuntu)
|
||||
LH_MODE="ubuntu"
|
||||
;;
|
||||
esac
|
||||
else
|
||||
LH_MODE="debian"
|
||||
fi
|
||||
fi
|
||||
|
||||
# Setting package manager
|
||||
|
@ -123,10 +136,23 @@ Set_defaults ()
|
|||
LH_DEBCONF_PRIORITY="critical"
|
||||
fi
|
||||
|
||||
if [ -z "${LH_DEBCONF_NOWARNINGS}" ]
|
||||
then
|
||||
LH_DEBCONF_NOWARNINGS="yes"
|
||||
fi
|
||||
|
||||
# Setting genisoimage
|
||||
if [ -z "${LH_GENISOIMAGE}" ]
|
||||
then
|
||||
LH_GENISOIMAGE="genisoimage"
|
||||
case "${LH_MODE}" in
|
||||
debian)
|
||||
LH_GENISOIMAGE="genisoimage"
|
||||
;;
|
||||
|
||||
ubuntu)
|
||||
LH_GENISOIMAGE="mkisofs"
|
||||
;;
|
||||
esac
|
||||
fi
|
||||
|
||||
# Setting losetup
|
||||
|
@ -202,7 +228,7 @@ Set_defaults ()
|
|||
then
|
||||
case "${LH_MODE}" in
|
||||
debian)
|
||||
LIVE_DISTRIBUTION="sid"
|
||||
LIVE_DISTRIBUTION="etch"
|
||||
;;
|
||||
|
||||
ubuntu)
|
||||
|
@ -407,19 +433,23 @@ Set_defaults ()
|
|||
for LIST in ${LIVE_PACKAGES_LISTS}
|
||||
do
|
||||
case "${LIST}" in
|
||||
mini|minimal)
|
||||
LH_APT="apt-get"
|
||||
;;
|
||||
|
||||
gnome-desktop)
|
||||
LIVE_PACKAGES_LISTS="`echo ${LIVE_PACKAGES_LISTS} | sed -e 's/gnome-desktop//'` standard-x11"
|
||||
LIVE_TASKS="`echo ${LIVE_TASKS} | sed -e 's/standard//' -e 's/laptop//' -e 's/gnome-desktop//' -e 's/desktop//'` standard laptop desktop gnome-desktop"
|
||||
LIVE_TASKS="`echo ${LIVE_TASKS} | sed -e 's/standard//' -e 's/laptop//' -e 's/gnome-desktop//' -e 's/desktop//'` standard laptop gnome-desktop desktop"
|
||||
;;
|
||||
|
||||
kde-desktop)
|
||||
LIVE_PACKAGES_LISTS="`echo ${LIVE_PACKAGES_LISTS} | sed -e 's/kde-desktop//'` standard-x11"
|
||||
LIVE_TASKS="`echo ${LIVE_TASKS} | sed -e 's/standard//' -e 's/laptop//' -e 's/kde-desktop//' -e 's/desktop//'` standard laptop desktop kde-desktop"
|
||||
LIVE_TASKS="`echo ${LIVE_TASKS} | sed -e 's/standard//' -e 's/laptop//' -e 's/kde-desktop//' -e 's/desktop//'` standard laptop kde-desktop desktop"
|
||||
;;
|
||||
|
||||
xfce-desktop)
|
||||
LIVE_PACKAGES_LISTS="`echo ${LIVE_PACKAGES_LISTS} | sed -e 's/xfce-desktop//'` standard-x11"
|
||||
LIVE_TASKS="`echo ${LIVE_TASKS} | sed -e 's/standard//' -e 's/laptop//' -e 's/xfce-desktop//' -e 's/desktop//'` standard laptop desktop xfce-desktop"
|
||||
LIVE_TASKS="`echo ${LIVE_TASKS} | sed -e 's/standard//' -e 's/laptop//' -e 's/xfce-desktop//' -e 's/desktop//'` standard laptop xfce-desktop desktop"
|
||||
;;
|
||||
esac
|
||||
done
|
||||
|
@ -427,6 +457,8 @@ Set_defaults ()
|
|||
LIVE_PACKAGES_LISTS="`echo ${LIVE_PACKAGES_LISTS} | sed -e 's/ //g'`"
|
||||
LIVE_TASKS="`echo ${LIVE_TASKS} | sed -e 's/ //g'`"
|
||||
|
||||
# LIVE_HOOKS
|
||||
|
||||
# Setting security updates option
|
||||
if [ -z "${LIVE_SECURITY}" ]
|
||||
then
|
||||
|
@ -491,10 +523,10 @@ Set_defaults ()
|
|||
LIVE_FILESYSTEM="squashfs"
|
||||
fi
|
||||
|
||||
# Setting memtest86 option
|
||||
if [ -z "${LIVE_MEMTEST86}" ]
|
||||
# Setting memtest option
|
||||
if [ -z "${LIVE_MEMTEST}" ]
|
||||
then
|
||||
LIVE_MEMTEST86="enabled"
|
||||
LIVE_MEMTEST="memtest86+"
|
||||
fi
|
||||
|
||||
# Setting iso volume
|
||||
|
@ -540,7 +572,15 @@ Set_defaults ()
|
|||
# Setting grub
|
||||
if [ -z "${LIVE_BOOTLOADER}" ]
|
||||
then
|
||||
LIVE_BOOTLOADER="syslinux"
|
||||
case "${LIVE_ARCHITECTURE}" in
|
||||
i386)
|
||||
LIVE_BOOTLOADER="syslinux"
|
||||
;;
|
||||
|
||||
powerpc)
|
||||
LIVE_BOOTLOADER="yaboot"
|
||||
;;
|
||||
esac
|
||||
fi
|
||||
|
||||
# Setting grub splash
|
||||
|
|
|
@ -0,0 +1,20 @@
|
|||
#!/bin/sh
|
||||
|
||||
# exit.sh - cleanup
|
||||
# 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
|
||||
|
||||
Exit ()
|
||||
{
|
||||
if [ "${LH_DEBUG}" = "enabled" ]
|
||||
then
|
||||
set | grep -e ^LH -e ^LIVE
|
||||
fi
|
||||
|
||||
# FIXME: Add /proc et al cleanup on failure
|
||||
}
|
|
@ -42,9 +42,10 @@ lh_binary_encryption "${@}"
|
|||
|
||||
# Prepare images
|
||||
lh_binary_linuximage "${@}"
|
||||
lh_binary_memtest86 "${@}"
|
||||
lh_binary_memtest "${@}"
|
||||
lh_binary_grub "${@}"
|
||||
lh_binary_syslinux "${@}"
|
||||
lh_binary_yaboot "${@}"
|
||||
lh_binary_includes "${@}"
|
||||
lh_binary_localincludes "${@}"
|
||||
lh_binary_md5sum "${@}"
|
||||
|
|
|
@ -36,20 +36,32 @@ Breakpoint "binary_chroot: Init"
|
|||
# Requiring stage file
|
||||
Require_stagefile .stage/bootstrap
|
||||
|
||||
# Checking stage file
|
||||
Check_stagefile .stage/binary_chroot
|
||||
|
||||
# Checking lock file
|
||||
Check_lockfile .lock
|
||||
|
||||
# Creating lock file
|
||||
Create_lockfile .lock
|
||||
|
||||
# Checking stage file
|
||||
Check_stagefile .stage/binary_chroot
|
||||
# Normally, proc is not mounted here, but people tend to be lazy
|
||||
if [ -f chroot/proc/version ]
|
||||
then
|
||||
umount chroot/proc
|
||||
fi
|
||||
|
||||
if [ -d chroot/sys/kernel ]
|
||||
then
|
||||
umount chroot/sys
|
||||
fi
|
||||
|
||||
# Removing old chroot
|
||||
rm -rf chroot/chroot
|
||||
rm -rf chroot.tmp
|
||||
|
||||
# Copying new chroot
|
||||
Echo_message "Copying chroot, this can take a while."
|
||||
cp -a chroot chroot.tmp
|
||||
mv chroot.tmp chroot/chroot
|
||||
|
||||
|
|
|
@ -42,22 +42,22 @@ Breakpoint "binary_encryption: Init"
|
|||
Require_stagefile .stage/bootstrap
|
||||
Require_stagefile .stage/binary_rootfs
|
||||
|
||||
# Checking stage file
|
||||
Check_stagefile .stage/binary_encryption
|
||||
|
||||
# Checking lock file
|
||||
Check_lockfile .lock
|
||||
|
||||
# Creating lock file
|
||||
Create_lockfile .lock
|
||||
|
||||
# Checking stage file
|
||||
Check_stagefile .stage/binary_encryption
|
||||
|
||||
case "${LIVE_FILESYSTEM}" in
|
||||
ext2)
|
||||
ROOTFS="ext2"
|
||||
;;
|
||||
|
||||
plain)
|
||||
echo "W: encryption not supported on plain filesystem."
|
||||
Echo_warning "encryption not supported on plain filesystem."
|
||||
exit 0
|
||||
;;
|
||||
|
||||
|
|
|
@ -41,15 +41,15 @@ Breakpoint "binary_grub: Init"
|
|||
# Requiring stage file
|
||||
Require_stagefile .stage/bootstrap
|
||||
|
||||
# Checking stage file
|
||||
Check_stagefile .stage/binary_grub
|
||||
|
||||
# Checking lock file
|
||||
Check_lockfile .lock
|
||||
|
||||
# Creating lock file
|
||||
Create_lockfile .lock
|
||||
|
||||
# Checking stage file
|
||||
Check_stagefile .stage/binary_grub
|
||||
|
||||
if [ "${LIVE_ARCHITECTURE}" != "amd64" ] && [ "${LIVE_ARCHITECTURE}" != "i386" ]
|
||||
then
|
||||
Echo_warning "skipping binary_grub, foreign architecture."
|
||||
|
@ -94,18 +94,23 @@ case "${LIVE_BINARY_IMAGE}" in
|
|||
;;
|
||||
|
||||
net)
|
||||
Echo_error "not supported, FIXME"
|
||||
Echo_error "not supported, aborting (FIXME)."
|
||||
exit 1
|
||||
;;
|
||||
esac
|
||||
|
||||
# Temporary check for broken syslinux
|
||||
if [ "${LIVE_BINARY_IMAGE}" = "iso" ]
|
||||
then
|
||||
case "${LIVE_ARCHITECTURE}" in
|
||||
i386)
|
||||
DESTDIR="${DESTDIR}.386"
|
||||
;;
|
||||
esac
|
||||
# Assemble multi-arch
|
||||
if [ -n "${MULTIARCH}" ]
|
||||
then
|
||||
case "${LIVE_ARCHITECTURE}" in
|
||||
i386)
|
||||
DESTDIR="${DESTDIR}.386"
|
||||
;;
|
||||
esac
|
||||
fi
|
||||
fi
|
||||
|
||||
# Creating directory
|
||||
|
@ -132,15 +137,13 @@ fi
|
|||
|
||||
LIVE_BOOTAPPEND="`echo ${LIVE_BOOTAPPEND} | sed -e 's/ //'`"
|
||||
|
||||
# Parameters are listed at: linux/Documentation/kernel-parameters.txt
|
||||
FAILSAFE="noapic noapm nodma nomce nolapic nosmp vga=normal"
|
||||
|
||||
# Assembling kernel configuration
|
||||
if [ "${LIVE_BINARY_IMAGE}" = "iso" ]
|
||||
then
|
||||
DEFAULT_FLAVOUR="`echo ${LIVE_KERNEL_FLAVOUR} | awk '{ print $1 }'`"
|
||||
LINUX="title\t\tDebian GNU/Linux - Live\nkernel\t\t/`basename ${DESTDIR}`/`basename chroot/boot/vmlinuz-*${DEFAULT_FLAVOUR}`\ninitrd\t\t/`basename ${DESTDIR}`/initrd.img-`basename chroot/boot/vmlinuz-*${DEFAULT_FLAVOUR} | sed -e 's/vmlinuz-//'` boot=casper LIVE_BOOTAPPEND"
|
||||
else
|
||||
DEFAULT_FLAVOUR="`echo ${LIVE_KERNEL_FLAVOUR} | awk '{ print $1 }'`"
|
||||
LINUX="title\t\tDebian GNU/Linux - Live\nkernel\t\t`basename chroot/boot/vmlinuz-*${DEFAULT_FLAVOUR}`\ninitrd\t\tinitrd.img-`basename chroot/boot/vmlinuz-*${DEFAULT_FLAVOUR} | sed -e 's/vmlinuz-//'` boot=casper LIVE_BOOTAPPEND"
|
||||
fi
|
||||
DEFAULT_FLAVOUR="`echo ${LIVE_KERNEL_FLAVOUR} | awk '{ print $1 }'`"
|
||||
LINUX="title\t\tDebian GNU/Linux - Live\nkernel\t\t/`basename ${DESTDIR}`/`basename chroot/boot/vmlinuz-*${DEFAULT_FLAVOUR}` boot=casper LIVE_BOOTAPPEND\ninitrd\t\t/`basename ${DESTDIR}`/initrd.img-`basename chroot/boot/vmlinuz-*${DEFAULT_FLAVOUR} | sed -e 's/vmlinuz-//'`"
|
||||
LINUX="${LINUX}\n\ntitle\t\tDebian GNU/Linux - Live (failsafe mode)\nkernel\t\t/`basename ${DESTDIR}`/`basename chroot/boot/vmlinuz-*${DEFAULT_FLAVOUR}` boot=casper LIVE_BOOTAPPEND ${FAILSAFE}\ninitrd\t\t/`basename ${DESTDIR}`/initrd.img-`basename chroot/boot/vmlinuz-*${DEFAULT_FLAVOUR} | sed -e 's/vmlinuz-//'`"
|
||||
|
||||
if [ "`echo ${LIVE_KERNEL_FLAVOUR} | wc -w`" -gt "1" ]
|
||||
then
|
||||
|
@ -148,20 +151,12 @@ then
|
|||
do
|
||||
if [ -z "${LINUX}" ]
|
||||
then
|
||||
if [ "${LIVE_BINARY_IMAGE}" = "iso" ]
|
||||
then
|
||||
LINUX="title\t\tDebian GNU/Linux - Live, kernel `basename ${KERNEL} | sed -e 's/vmlinuz-//'`\nkernel\t\t/`basename ${DESTDIR}`/`basename ${KERNEL}`\ninitrd\t\t/`basename ${DESTDIR}`/initrd.img-`basename ${KERNEL} | sed -e 's/vmlinuz-//'` boot=casper LIVE_BOOTAPPEND"
|
||||
else
|
||||
LINUX="title\t\tDebian GNU/Linux - Live, kernel `basename ${KERNEL} | sed -e 's/vmlinuz-//'`\nkernel\t\t`basename ${KERNEL}`\ninitrd\t\tinitrd.img-`basename ${KERNEL} | sed -e 's/vmlinuz-//'` boot=casper LIVE_BOOTAPPEND"
|
||||
fi
|
||||
LINUX="title\t\tDebian GNU/Linux - Live, kernel `basename ${KERNEL} | sed -e 's/vmlinuz-//'`\nkernel\t\t/`basename ${DESTDIR}`/`basename ${KERNEL}` boot=casper LIVE_BOOTAPPEND\ninitrd\t\t/`basename ${DESTDIR}`/initrd.img-`basename ${KERNEL} | sed -e 's/vmlinuz-//'`"
|
||||
LINUX="${LINUX}\n\ntitle\t\tDebian GNU/Linux - Live, kernel `basename ${KERNEL} | sed -e 's/vmlinuz-//'` (failsafe mode)\nkernel\t\t/`basename ${DESTDIR}`/`basename ${KERNEL}` boot=casper LIVE_BOOTAPPEND ${FAILSAFE}\ninitrd\t\t/`basename ${DESTDIR}`/initrd.img-`basename ${KERNEL} | sed -e 's/vmlinuz-//'`"
|
||||
else
|
||||
if [ "${LIVE_BINARY_IMAGE}" = "iso" ]
|
||||
then
|
||||
LINUX="${LINUX}\n\ntitle\t\tDebian GNU/Linux - Live, kernel `basename ${KERNEL} | sed -e 's/vmlinuz-//'`\nkernel /`basename ${DESTDIR}`/`basename ${KERNEL}`\ninitrd\t\t/`basename ${DESTDIR}`/initrd.img-`basename ${KERNEL} | sed -e 's/vmlinuz-//'` boot=casper LIVE_BOOTAPPEND"
|
||||
else
|
||||
LINUX="${LINUX}\n\ntitle\t\tDebian GNU/Linux - Live, kernel `basename ${KERNEL} | sed -e 's/vmlinuz-//'`\nkernel `basename ${KERNEL}`\ninitrd\t\tinitrd.img-`basename ${KERNEL} | sed -e 's/vmlinuz-//'` boot=casper LIVE_BOOTAPPEND"
|
||||
fi
|
||||
fi
|
||||
LINUX="${LINUX}\n\ntitle\t\tDebian GNU/Linux - Live, kernel `basename ${KERNEL} | sed -e 's/vmlinuz-//'`\nkernel /`basename ${DESTDIR}`/`basename ${KERNEL}` boot=casper LIVE_BOOTAPPEND\ninitrd\t\t/`basename ${DESTDIR}`/initrd.img-`basename ${KERNEL} | sed -e 's/vmlinuz-//'`"
|
||||
LINUX="${LINUX}\n\ntitle\t\tDebian GNU/Linux - Live, kernel `basename ${KERNEL} | sed -e 's/vmlinuz-//'` (failsafe mode)\nkernel /`basename ${DESTDIR}`/`basename ${KERNEL}` boot=casper LIVE_BOOTAPPEND ${FAILSAFE}\ninitrd\t\t/`basename ${DESTDIR}`/initrd.img-`basename ${KERNEL} | sed -e 's/vmlinuz-//'`"
|
||||
fi
|
||||
done
|
||||
fi
|
||||
|
||||
|
@ -170,18 +165,15 @@ LINUX="`echo ${LINUX} | sed -e 's#//#/#g'`"
|
|||
# Assembling memtest configuration
|
||||
if [ -f "${DESTDIR}"/memtest ]
|
||||
then
|
||||
if [ "${LIVE_BINARY_IMAGE}" = "iso" ]
|
||||
then
|
||||
MEMTEST="title\t\tMemtest86+\nkernel\t\t/`basename ${DESTDIR}`/memtest"
|
||||
MEMTEST="`echo ${MEMTEST} | sed -e 's#//#/#g'`"
|
||||
else
|
||||
MEMTEST="title\t\tMemtest86+\nkernel\t\tmemtest"
|
||||
fi
|
||||
MEMTEST="title\t\t${LIVE_MEMTEST}\nkernel\t\t/`basename ${DESTDIR}`/memtest"
|
||||
MEMTEST="`echo ${MEMTEST} | sed -e 's#//#/#g'`"
|
||||
fi
|
||||
|
||||
# Copying templates
|
||||
mkdir -p binary/boot/grub
|
||||
cp -r "${LIVE_TEMPLATES}"/grub/* binary/boot/grub
|
||||
|
||||
# Copyring grub
|
||||
case ${LIVE_BINARY_IMAGE} in
|
||||
iso)
|
||||
cp chroot/usr/lib/grub/i386-pc/stage2_eltorito binary/boot/grub
|
||||
|
@ -195,10 +187,17 @@ esac
|
|||
# Copying splash screen
|
||||
if [ -n "${LIVE_GRUB_SPLASH}" ]
|
||||
then
|
||||
# FIXME
|
||||
cp "${LIVE_GRUB_SPLASH}" binary/boot/grub
|
||||
if [ "${LIVE_GRUB_SPLASH}" = "none" ]
|
||||
then
|
||||
# Removing splash file
|
||||
rm -f binary/boot/grub/splash.xpm.gz
|
||||
|
||||
LIVE_SPLASH="splashimage /boot/grub/`basename ${LIVE_GRUB_SPLASH}`"
|
||||
# Removing splash entry
|
||||
sed -e "s/splashimage.*//" binary/boot/grub/menu.lst
|
||||
else
|
||||
# Overwriting splash file
|
||||
cp -f "${LIVE_GRUB_SPLASH}" binary/boot/grub/splash.xpm.gz
|
||||
fi
|
||||
fi
|
||||
|
||||
# Configure grub templates
|
||||
|
@ -208,11 +207,10 @@ cat >> binary/boot/grub/menu.lst << EOF
|
|||
title Other:
|
||||
root
|
||||
|
||||
|
||||
LIVE_MEMTEST
|
||||
EOF
|
||||
|
||||
sed -i -e "s#LIVE_SPLASH#${LIVE_SPLASH}#" -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
|
||||
|
||||
if [ -n "${PACKAGES}" ]
|
||||
|
|
|
@ -41,15 +41,15 @@ do
|
|||
# Requiring stage file
|
||||
Require_stagefile .stage/bootstrap
|
||||
|
||||
# Checking stage file
|
||||
Check_stagefile .stage/binary_hdd
|
||||
|
||||
# Checking lock file
|
||||
Check_lockfile .lock
|
||||
|
||||
# Creating lock file
|
||||
Create_lockfile .lock
|
||||
|
||||
# Checking stage file
|
||||
Check_stagefile .stage/binary_hdd
|
||||
|
||||
# Remove old binary
|
||||
if [ -f binary-hdd.tar.gz ]
|
||||
then
|
||||
|
|
|
@ -41,15 +41,15 @@ Breakpoint "binary_includes: Init"
|
|||
# Requiring stage file
|
||||
Require_stagefile .stage/bootstrap
|
||||
|
||||
# Checking stage file
|
||||
Check_stagefile .stage/binary_includes
|
||||
|
||||
# Checking lock file
|
||||
Check_lockfile .lock
|
||||
|
||||
# Creating lock file
|
||||
Create_lockfile .lock
|
||||
|
||||
# Checking stage file
|
||||
Check_stagefile .stage/binary_includes
|
||||
|
||||
# Check includes
|
||||
if [ ! -d "${LIVE_INCLUDES}" ]
|
||||
then
|
||||
|
@ -62,18 +62,51 @@ then
|
|||
fi
|
||||
fi
|
||||
|
||||
if ls "${LIVE_INCLUDES}"/common/* &> /dev/null
|
||||
then
|
||||
cd "${LIVE_INCLUDES}"/common
|
||||
find . | cpio -dmpu "${OLDPWD}"/binary
|
||||
cd "${OLDPWD}"
|
||||
fi
|
||||
# Assemble architecture
|
||||
case "${LIVE_ARCHITECTURE}" in
|
||||
amd64)
|
||||
ARCH="amd"
|
||||
;;
|
||||
|
||||
if ls "${LIVE_INCLUDES}"/"${LIVE_BINARY_IMAGE}"/* &> /dev/null
|
||||
i386)
|
||||
ARCH="386"
|
||||
;;
|
||||
|
||||
powerpc)
|
||||
ARCH="ppc"
|
||||
;;
|
||||
esac
|
||||
|
||||
if [ "${LIVE_DEBIAN_INSTALLER}" = "enabled" ]
|
||||
then
|
||||
cd "${LIVE_INCLUDES}"/"${LIVE_BINARY_IMAGE}"
|
||||
find . | cpio -dmpu "${OLDPWD}"/binary
|
||||
cd "${OLDPWD}"
|
||||
# Copying d-i templates
|
||||
if [ -d "${LIVE_INCLUDES}"/"${LIVE_DISTRIBUTION}"/install ] && \
|
||||
ls "${LIVE_INCLUDES}"/"${LIVE_DISTRIBUTION}"/install/* &> /dev/null
|
||||
then
|
||||
cp -r "${LIVE_INCLUDES}"/"${LIVE_DISTRIBUTION}"/install/* binary
|
||||
fi
|
||||
|
||||
if [ -d "${LIVE_INCLUDES}"/"${LIVE_DISTRIBUTION}"/install."${ARCH}" ] && \
|
||||
ls "${LIVE_INCLUDES}"/"${LIVE_DISTRIBUTION}"/install."${ARCH}"/* &> /dev/null
|
||||
then
|
||||
cp -r "${LIVE_INCLUDES}"/"${LIVE_DISTRIBUTION}"/install."${ARCH}"/* binary
|
||||
fi
|
||||
|
||||
# Adjusting d-i templates
|
||||
DEBIAN_NAME="/Debian GNU/Linux 4.0 r0 \"Etch\" - Unofficial amd64 NETINST/LIVE Binary-1"
|
||||
DEBIAN_DATE="`date +%Y%m%d-%H:%M`"
|
||||
|
||||
if [ "${LIVE_ARCHITECTURE}" = "i386" ]
|
||||
then
|
||||
DEBIAN_TOOLS_HTML=" <P>\n <tt> \n <A href="tools/">/tools/</a>\n </tt>\n\n and\n <tt> \n <A href="install/floppy/">/install/floppy/</a>\n </tt>"
|
||||
DEBIAN_TOOLS_TXT="/tools/ and /install/floppy/"
|
||||
else
|
||||
DEBIAN_TOOLS_HTML=" <P>\n <tt> \n <A href="tools/">/tools/</a>\n </tt>\n\n\n\n\n\n"
|
||||
DEBIAN_TOOLS_TXT="/tools/"
|
||||
fi
|
||||
|
||||
sed -i -e "s/DEBIAN_NAME/${DEBIAN_NAME}/g" -e "s/DEBIAN_DATE/${DEBIAN_DATE}/g" -e "s/DEBIAN_TOOLS/${DEBIAN_TOOLS_HTML}/g" binary/README.html
|
||||
sed -i -e "s/DEBIAN_NAME/${DEBIAN_NAME}/g" -e "s/DEBIAN_DATE/${DEBIAN_DATE}/g" -e "s/DEBIAN_TOOLS/${DEBIAN_TOOLS_TXT}/g" binary/README.txt
|
||||
fi
|
||||
|
||||
# Creating stage file
|
||||
|
|
|
@ -40,15 +40,15 @@ do
|
|||
# Requiring stage file
|
||||
Require_stagefile .stage/bootstrap
|
||||
|
||||
# Checking stage file
|
||||
Check_stagefile .stage/binary_iso
|
||||
|
||||
# Checking lock file
|
||||
Check_lockfile .lock
|
||||
|
||||
# Creating lock file
|
||||
Create_lockfile .lock
|
||||
|
||||
# Checking stage file
|
||||
Check_stagefile .stage/binary_iso
|
||||
|
||||
if [ ! -f chroot/usr/bin/"${LH_GENISOIMAGE}" ]
|
||||
then
|
||||
PACKAGES="${PACKAGES} ${LH_GENISOIMAGE}"
|
||||
|
@ -91,7 +91,7 @@ do
|
|||
;;
|
||||
esac
|
||||
else
|
||||
echo "W: 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
|
||||
#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"
|
||||
|
|
|
@ -36,15 +36,15 @@ Breakpoint "binary_linuximage: Init"
|
|||
# Requiring stage file
|
||||
Require_stagefile .stage/bootstrap
|
||||
|
||||
# Checking stage file
|
||||
Check_stagefile .stage/binary_linuximage
|
||||
|
||||
# Checking lock file
|
||||
Check_lockfile .lock
|
||||
|
||||
# Creating lock file
|
||||
Create_lockfile .lock
|
||||
|
||||
# Checking stage file
|
||||
Check_stagefile .stage/binary_linuximage
|
||||
|
||||
# Removing initrd backup files
|
||||
rm -f chroot/boot/initrd*bak*
|
||||
|
||||
|
@ -66,11 +66,15 @@ esac
|
|||
# Temporary check for broken syslinux
|
||||
if [ "${LIVE_BINARY_IMAGE}" = "iso" ]
|
||||
then
|
||||
case "${LIVE_ARCHITECTURE}" in
|
||||
i386)
|
||||
DESTDIR="${DESTDIR}.386"
|
||||
;;
|
||||
esac
|
||||
# Assemble multi-arch
|
||||
if [ -n "${MULTIARCH}" ]
|
||||
then
|
||||
case "${LIVE_ARCHITECTURE}" in
|
||||
i386)
|
||||
DESTDIR="${DESTDIR}.386"
|
||||
;;
|
||||
esac
|
||||
fi
|
||||
fi
|
||||
|
||||
# Creating directory
|
||||
|
|
|
@ -36,15 +36,15 @@ Breakpoint "binary_localincludes: Init"
|
|||
# Requiring stage file
|
||||
Require_stagefile .stage/bootstrap
|
||||
|
||||
# Checking stage file
|
||||
Check_stagefile .stage/binary_localincludes
|
||||
|
||||
# Checking lock file
|
||||
Check_lockfile .lock
|
||||
|
||||
# Creating lock file
|
||||
Create_lockfile .lock
|
||||
|
||||
# Checking stage file
|
||||
Check_stagefile .stage/binary_localincludes
|
||||
|
||||
if ls config/binary_localincludes/* &> /dev/null
|
||||
then
|
||||
# Copying includes
|
||||
|
|
|
@ -36,15 +36,15 @@ Breakpoint "binary_manifest: Init"
|
|||
# Requiring stage file
|
||||
Require_stagefile .stage/bootstrap
|
||||
|
||||
# Checking stage file
|
||||
Check_stagefile .stage/binary_manifest
|
||||
|
||||
# Checking lock file
|
||||
Check_lockfile .lock
|
||||
|
||||
# Creating lock file
|
||||
Create_lockfile .lock
|
||||
|
||||
# Checking stage file
|
||||
Check_stagefile .stage/binary_manifest
|
||||
|
||||
# Add filesystem.manifest
|
||||
Chroot "dpkg --get-selections" | awk '{ print $1 }' | sort -u > binary/casper/filesystem.manifest
|
||||
|
||||
|
|
|
@ -36,15 +36,15 @@ Breakpoint "binary_md5sum: Init"
|
|||
# Requiring stage file
|
||||
Require_stagefile .stage/bootstrap
|
||||
|
||||
# Checking stage file
|
||||
Check_stagefile .stage/binary_md5sum
|
||||
|
||||
# Checking lock file
|
||||
Check_lockfile .lock
|
||||
|
||||
# Creating lock file
|
||||
Create_lockfile .lock
|
||||
|
||||
# Checking stage file
|
||||
Check_stagefile .stage/binary_md5sum
|
||||
|
||||
# Remove old md5sums
|
||||
if [ -f binary/md5sum.txt ]
|
||||
then
|
||||
|
|
|
@ -0,0 +1,150 @@
|
|||
#!/bin/sh
|
||||
|
||||
# lh_binary_memtest(1) - installs a memtest into binary
|
||||
# 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
|
||||
|
||||
# Source common functions
|
||||
for FUNCTION in /usr/share/live-helper/functions/*.sh
|
||||
do
|
||||
. ${FUNCTION}
|
||||
done
|
||||
|
||||
# Set static variables
|
||||
DESCRIPTION="installs a memtest into binary"
|
||||
HELP=""
|
||||
USAGE="${PROGRAM} [--force]"
|
||||
|
||||
Arguments "${@}"
|
||||
|
||||
Echo_debug "Init ${PROGRAM}"
|
||||
|
||||
# Reading configuration files
|
||||
Read_conffile config/bootstrap
|
||||
Read_conffile config/chroot
|
||||
Read_conffile config/common
|
||||
Read_conffile config/image
|
||||
Set_defaults
|
||||
|
||||
if [ "${LIVE_MEMTEST}" = "disabled" ]
|
||||
then
|
||||
exit 0
|
||||
fi
|
||||
|
||||
Breakpoint "binary_memtest: Init"
|
||||
|
||||
# Requiring stage file
|
||||
Require_stagefile .stage/bootstrap
|
||||
|
||||
# Checking stage file
|
||||
Check_stagefile .stage/binary_memtest
|
||||
|
||||
# Checking lock file
|
||||
Check_lockfile .lock
|
||||
|
||||
# Creating lock file
|
||||
Create_lockfile .lock
|
||||
|
||||
if [ "${LIVE_ARCHITECTURE}" != "amd64" ] && [ "${LIVE_ARCHITECTURE}" != "i386" ]
|
||||
then
|
||||
Echo_warning "skipping binary_memtest, foreign architecture."
|
||||
exit 0
|
||||
fi
|
||||
|
||||
case "${LIVE_MEMTEST}" in
|
||||
memtest86)
|
||||
if [ ! -f chroot/boot/memtest86.bin ]
|
||||
then
|
||||
PACKAGES="${PACKAGES} memtest86"
|
||||
fi
|
||||
;;
|
||||
|
||||
memtest86+)
|
||||
if [ ! -f chroot/boot/memtest86+.bin ]
|
||||
then
|
||||
PACKAGES="${PACKAGES} memtest86+"
|
||||
fi
|
||||
;;
|
||||
esac
|
||||
|
||||
if [ -n "${PACKAGES}" ]
|
||||
then
|
||||
# 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
|
||||
case "${LIVE_BINARY_IMAGE}" in
|
||||
iso)
|
||||
DESTDIR="binary/live"
|
||||
;;
|
||||
|
||||
net)
|
||||
DESTDIR="tftpboot"
|
||||
;;
|
||||
|
||||
usb|hdd)
|
||||
DESTDIR="binary"
|
||||
;;
|
||||
esac
|
||||
|
||||
# Temporary check for broken syslinux
|
||||
if [ "${LIVE_BINARY_IMAGE}" = "iso" ]
|
||||
then
|
||||
# Assemble multi-arch
|
||||
if [ -n "${MULTIARCH}" ]
|
||||
then
|
||||
case "${LIVE_ARCHITECTURE}" in
|
||||
i386)
|
||||
DESTDIR="${DESTDIR}.386"
|
||||
;;
|
||||
esac
|
||||
fi
|
||||
fi
|
||||
|
||||
# Creating directory
|
||||
if [ ! -d "${DESTDIR}" ]
|
||||
then
|
||||
mkdir -p "${DESTDIR}"
|
||||
fi
|
||||
|
||||
# Installing memtest
|
||||
case "${LIVE_MEMTEST}" in
|
||||
memtest86)
|
||||
cp -f chroot/boot/memtest86.bin "${DESTDIR}"/memtest
|
||||
;;
|
||||
|
||||
memtest86+)
|
||||
cp -f chroot/boot/memtest86+.bin "${DESTDIR}"/memtest
|
||||
;;
|
||||
esac
|
||||
|
||||
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
|
||||
fi
|
||||
|
||||
# Creating stage file
|
||||
Create_stagefile .stage/binary_memtest
|
|
@ -1,125 +0,0 @@
|
|||
#!/bin/sh
|
||||
|
||||
# lh_binary_memtest86(1) - installs memtest86+ into binary
|
||||
# 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
|
||||
|
||||
# Source common functions
|
||||
for FUNCTION in /usr/share/live-helper/functions/*.sh
|
||||
do
|
||||
. ${FUNCTION}
|
||||
done
|
||||
|
||||
# Set static variables
|
||||
DESCRIPTION="installs memtest86+ into binary"
|
||||
HELP=""
|
||||
USAGE="${PROGRAM} [--force]"
|
||||
|
||||
Arguments "${@}"
|
||||
|
||||
Echo_debug "Init ${PROGRAM}"
|
||||
|
||||
# Reading configuration files
|
||||
Read_conffile config/bootstrap
|
||||
Read_conffile config/chroot
|
||||
Read_conffile config/common
|
||||
Read_conffile config/image
|
||||
Set_defaults
|
||||
|
||||
Breakpoint "binary_memtest86: Init"
|
||||
|
||||
# Requiring stage file
|
||||
Require_stagefile .stage/bootstrap
|
||||
|
||||
# Checking lock file
|
||||
Check_lockfile .lock
|
||||
|
||||
# Creating lock file
|
||||
Create_lockfile .lock
|
||||
|
||||
# Checking stage file
|
||||
Check_stagefile .stage/binary_memtest86
|
||||
|
||||
if [ "${LIVE_ARCHITECTURE}" != "amd64" ] && [ "${LIVE_ARCHITECTURE}" != "i386" ]
|
||||
then
|
||||
echo "W: skipping binary_memtest86, foreign architecture."
|
||||
exit 0
|
||||
fi
|
||||
|
||||
if [ "${LIVE_MEMTEST86}" = "enabled" ]
|
||||
then
|
||||
if [ ! -f chroot/boot/memtest86+.bin ]
|
||||
then
|
||||
PACKAGES="${PACKAGES} memtest86+"
|
||||
fi
|
||||
|
||||
if [ -n "${PACKAGES}" ]
|
||||
then
|
||||
# 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
|
||||
case "${LIVE_BINARY_IMAGE}" in
|
||||
iso)
|
||||
DESTDIR="binary/live"
|
||||
;;
|
||||
|
||||
net)
|
||||
DESTDIR="tftpboot"
|
||||
;;
|
||||
|
||||
usb|hdd)
|
||||
DESTDIR="binary"
|
||||
;;
|
||||
esac
|
||||
|
||||
# Temporary check for broken syslinux
|
||||
if [ "${LIVE_BINARY_IMAGE}" = "iso" ]
|
||||
then
|
||||
case "${LIVE_ARCHITECTURE}" in
|
||||
i386)
|
||||
DESTDIR="${DESTDIR}.386"
|
||||
;;
|
||||
esac
|
||||
fi
|
||||
|
||||
# Creating directory
|
||||
if [ ! -d "${DESTDIR}" ]
|
||||
then
|
||||
mkdir -p "${DESTDIR}"
|
||||
fi
|
||||
|
||||
# Installing memtest86+
|
||||
cp chroot/boot/memtest86+.bin "${DESTDIR}"/memtest
|
||||
|
||||
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
|
||||
fi
|
||||
|
||||
# Creating stage file
|
||||
Create_stagefile .stage/binary_memtest86
|
||||
fi
|
|
@ -40,15 +40,15 @@ do
|
|||
# Requiring stage file
|
||||
Require_stagefile .stage/bootstrap
|
||||
|
||||
# Checking stage file
|
||||
Check_stagefile .stage/binary_net
|
||||
|
||||
# Checking lock file
|
||||
Check_lockfile .lock
|
||||
|
||||
# Creating lock file
|
||||
Create_lockfile .lock
|
||||
|
||||
# Checking stage file
|
||||
Check_stagefile .stage/binary_net
|
||||
|
||||
# Remove old binary
|
||||
if [ -f binary-net.tar.gz ]
|
||||
then
|
||||
|
|
|
@ -37,15 +37,15 @@ Breakpoint "binary_rootfs: Init"
|
|||
Require_stagefile .stage/bootstrap
|
||||
Require_stagefile .stage/binary_chroot
|
||||
|
||||
# Checking stage file
|
||||
Check_stagefile .stage/binary_rootfs
|
||||
|
||||
# Checking lock file
|
||||
Check_lockfile .lock
|
||||
|
||||
# Creating lock file
|
||||
Create_lockfile .lock
|
||||
|
||||
# Checking stage file
|
||||
Check_stagefile .stage/binary_rootfs
|
||||
|
||||
# Creating directory
|
||||
if [ ! -d binary/casper ]
|
||||
then
|
||||
|
|
|
@ -31,76 +31,82 @@ Read_conffile config/common
|
|||
Read_conffile config/image
|
||||
Set_defaults
|
||||
|
||||
if [ "${LIVE_BOOTLOADER}" != "syslinux" ]
|
||||
then
|
||||
exit 0
|
||||
fi
|
||||
|
||||
Breakpoint "binary_syslinux: Init"
|
||||
|
||||
# Requiring stage file
|
||||
Require_stagefile .stage/bootstrap
|
||||
|
||||
# Checking stage file
|
||||
Check_stagefile .stage/binary_syslinux
|
||||
|
||||
# Checking lock file
|
||||
Check_lockfile .lock
|
||||
|
||||
# Creating lock file
|
||||
Create_lockfile .lock
|
||||
|
||||
# Checking stage file
|
||||
Check_stagefile .stage/binary_syslinux
|
||||
|
||||
if [ "${LIVE_ARCHITECTURE}" != "amd64" ] && [ "${LIVE_ARCHITECTURE}" != "i386" ]
|
||||
then
|
||||
echo "W: skipping binary_syslinux, foreign architecture."
|
||||
Echo_warning "skipping binary_syslinux, foreign architecture."
|
||||
exit 0
|
||||
fi
|
||||
|
||||
if [ "${LIVE_BOOTLOADER}" = "syslinux" ]
|
||||
# Check templates
|
||||
if [ ! -d "${LIVE_TEMPLATES}" ]
|
||||
then
|
||||
# Check templates
|
||||
if [ ! -d "${LIVE_TEMPLATES}" ]
|
||||
if [ -d ../"${LIVE_TEMPLATES}" ]
|
||||
then
|
||||
if [ -d ../"${LIVE_TEMPLATES}" ]
|
||||
then
|
||||
LIVE_TEMPLATES="../${LIVE_TEMPLATES}"
|
||||
else
|
||||
Echo_error "user specified templates not accessible in ${LIVE_TEMPLATES}"
|
||||
exit 1
|
||||
fi
|
||||
LIVE_TEMPLATES="../${LIVE_TEMPLATES}"
|
||||
else
|
||||
Echo_error "user specified templates not accessible in ${LIVE_TEMPLATES}"
|
||||
exit 1
|
||||
fi
|
||||
fi
|
||||
|
||||
if [ ! -f chroot/usr/bin/syslinux ]
|
||||
then
|
||||
PACKAGES="${PACKAGES} syslinux"
|
||||
fi
|
||||
if [ ! -f chroot/usr/bin/syslinux ]
|
||||
then
|
||||
PACKAGES="${PACKAGES} syslinux"
|
||||
fi
|
||||
|
||||
if [ -n "${PACKAGES}" ]
|
||||
then
|
||||
# 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
|
||||
case "${LIVE_BINARY_IMAGE}" in
|
||||
iso)
|
||||
DESTDIR="binary/live"
|
||||
if [ -n "${PACKAGES}" ]
|
||||
then
|
||||
# Installing symlinks
|
||||
case "${LH_APT}" in
|
||||
apt|apt-get)
|
||||
Chroot "apt-get install --yes ${PACKAGES}"
|
||||
;;
|
||||
|
||||
net)
|
||||
DESTDIR="tftpboot"
|
||||
;;
|
||||
|
||||
usb|hdd)
|
||||
DESTDIR="binary"
|
||||
aptitude)
|
||||
Chroot "aptitude install --assume-yes ${PACKAGES}"
|
||||
;;
|
||||
esac
|
||||
fi
|
||||
|
||||
# Temporary check for broken syslinux
|
||||
if [ "${LIVE_BINARY_IMAGE}" = "iso" ]
|
||||
# Setting destination directory
|
||||
case "${LIVE_BINARY_IMAGE}" in
|
||||
iso)
|
||||
DESTDIR="binary/live"
|
||||
;;
|
||||
|
||||
net)
|
||||
DESTDIR="tftpboot"
|
||||
;;
|
||||
|
||||
usb|hdd)
|
||||
DESTDIR="binary"
|
||||
;;
|
||||
esac
|
||||
|
||||
# Temporary check for broken syslinux
|
||||
if [ "${LIVE_BINARY_IMAGE}" = "iso" ]
|
||||
then
|
||||
# Assembling multi-arch
|
||||
if [ -n "${MULTIARCH}" ]
|
||||
then
|
||||
case "${LIVE_ARCHITECTURE}" in
|
||||
i386)
|
||||
|
@ -108,218 +114,245 @@ then
|
|||
;;
|
||||
esac
|
||||
fi
|
||||
fi
|
||||
|
||||
# Creating directory
|
||||
if [ ! -d "${DESTDIR}" ]
|
||||
then
|
||||
mkdir -p "${DESTDIR}"
|
||||
fi
|
||||
# Creating directory
|
||||
if [ ! -d "${DESTDIR}" ]
|
||||
then
|
||||
mkdir -p "${DESTDIR}"
|
||||
fi
|
||||
|
||||
# Setting boot parameters
|
||||
if [ -n "${LIVE_ENCRYPTION}" ]
|
||||
then
|
||||
LIVE_BOOTAPPEND="${LIVE_BOOTAPPEND} encryption=${LIVE_ENCRYPTION}"
|
||||
fi
|
||||
# Setting boot parameters
|
||||
if [ -n "${LIVE_ENCRYPTION}" ]
|
||||
then
|
||||
LIVE_BOOTAPPEND="${LIVE_BOOTAPPEND} encryption=${LIVE_ENCRYPTION}"
|
||||
fi
|
||||
|
||||
if [ -n "${LIVE_USERNAME}" ]
|
||||
then
|
||||
LIVE_BOOTAPPEND="${LIVE_BOOTAPPEND} username=${LIVE_USERNAME}"
|
||||
fi
|
||||
if [ -n "${LIVE_USERNAME}" ]
|
||||
then
|
||||
LIVE_BOOTAPPEND="${LIVE_BOOTAPPEND} username=${LIVE_USERNAME}"
|
||||
fi
|
||||
|
||||
if [ -n "${LIVE_HOSTNAME}" ]
|
||||
then
|
||||
LIVE_BOOTAPPEND="${LIVE_BOOTAPPEND} hostname=${LIVE_HOSTNAME}"
|
||||
fi
|
||||
if [ -n "${LIVE_HOSTNAME}" ]
|
||||
then
|
||||
LIVE_BOOTAPPEND="${LIVE_BOOTAPPEND} hostname=${LIVE_HOSTNAME}"
|
||||
fi
|
||||
|
||||
LIVE_BOOTAPPEND="`echo ${LIVE_BOOTAPPEND} | sed -e 's/ //'`"
|
||||
LIVE_BOOTAPPEND="`echo ${LIVE_BOOTAPPEND} | sed -e 's/ //'`"
|
||||
|
||||
# Assembling kernel configuration
|
||||
# Parameters are listed at: linux/Documentation/kernel-parameters.txt
|
||||
FAILSAFE="noapic noapm nodma nomce nolapic nosmp vga=normal"
|
||||
|
||||
# Assembling kernel configuration
|
||||
if [ "${LIVE_BINARY_IMAGE}" = "iso" ]
|
||||
then
|
||||
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="${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}"
|
||||
else
|
||||
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="${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}"
|
||||
fi
|
||||
|
||||
if [ "`echo ${LIVE_KERNEL_FLAVOUR} | wc -w`" -gt "1" ]
|
||||
then
|
||||
for KERNEL in chroot/boot/vmlinuz*
|
||||
do
|
||||
if [ -z "${LINUX}" ]
|
||||
then
|
||||
if [ "${LIVE_BINARY_IMAGE}" = "iso" ]
|
||||
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="${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}"
|
||||
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="${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}"
|
||||
fi
|
||||
else
|
||||
if [ "${LIVE_BINARY_IMAGE}" = "iso" ]
|
||||
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}\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
|
||||
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}\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
|
||||
done
|
||||
fi
|
||||
|
||||
LINUX="`echo ${LINUX} | sed -e 's#//#/#g'`"
|
||||
|
||||
# Assembling memtest configuration
|
||||
if [ -f "${DESTDIR}"/memtest ]
|
||||
then
|
||||
if [ "${LIVE_BINARY_IMAGE}" = "iso" ]
|
||||
then
|
||||
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"
|
||||
MEMTEST="label memtest\n kernel /`basename ${DESTDIR}`/memtest"
|
||||
MEMTEST="`echo ${MEMTEST} | sed -e 's#//#/#g'`"
|
||||
else
|
||||
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"
|
||||
MEMTEST="label memtest\n kernel memtest"
|
||||
fi
|
||||
fi
|
||||
|
||||
if [ "`echo ${LIVE_KERNEL_FLAVOUR} | wc -w`" -gt "1" ]
|
||||
then
|
||||
for KERNEL in chroot/boot/vmlinuz*
|
||||
do
|
||||
if [ -z "${LINUX}" ]
|
||||
then
|
||||
if [ "${LIVE_BINARY_IMAGE}" = "iso" ]
|
||||
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"
|
||||
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"
|
||||
fi
|
||||
else
|
||||
if [ "${LIVE_BINARY_IMAGE}" = "iso" ]
|
||||
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"
|
||||
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"
|
||||
fi
|
||||
fi
|
||||
done
|
||||
fi
|
||||
case "${LIVE_BINARY_IMAGE}" in
|
||||
iso)
|
||||
# Copying syslinux
|
||||
mkdir -p binary/isolinux
|
||||
cp chroot/usr/lib/syslinux/isolinux.bin binary/isolinux
|
||||
cp -r "${LIVE_TEMPLATES}"/syslinux/* binary/isolinux
|
||||
|
||||
LINUX="`echo ${LINUX} | sed -e 's#//#/#g'`"
|
||||
|
||||
# Assembling memtest configuration
|
||||
if [ -f "${DESTDIR}"/memtest ]
|
||||
then
|
||||
if [ "${LIVE_BINARY_IMAGE}" = "iso" ]
|
||||
# Copying splash screen
|
||||
if [ -n "${LIVE_SYSLINUX_SPLASH}" ]
|
||||
then
|
||||
MEMTEST="label memtest\n kernel /`basename ${DESTDIR}`/memtest"
|
||||
MEMTEST="`echo ${MEMTEST} | sed -e 's#//#/#g'`"
|
||||
else
|
||||
MEMTEST="label memtest\n kernel memtest"
|
||||
if [ "${LIVE_SYSLINUX_SPLASH}" = "none" ]
|
||||
then
|
||||
rm -f binary/isolinux/splash.rle
|
||||
sed -e "s/.*splash.*//" binary/isolinux/isolinux.txt
|
||||
else
|
||||
cp -f "${LIVE_SYSLINUX_SPLASH}" binary/isolinux/splash.rle
|
||||
fi
|
||||
fi
|
||||
fi
|
||||
|
||||
case "${LIVE_BINARY_IMAGE}" in
|
||||
iso)
|
||||
# Copying syslinux
|
||||
mkdir -p binary/isolinux
|
||||
cp chroot/usr/lib/syslinux/isolinux.bin binary/isolinux
|
||||
cp -r "${LIVE_TEMPLATES}"/syslinux/* binary/isolinux
|
||||
# Configure syslinux templates
|
||||
sed -i -e "s#LIVE_KERNEL_LIVE#${LINUX}#" -e "s#LIVE_KERNEL_INSTALL#${LIVE_KERNEL_INSTALL}#" -e "s#LIVE_MEMTEST#${MEMTEST}#" binary/isolinux/isolinux.cfg
|
||||
sed -i -e "s#LIVE_BOOTAPPEND#${LIVE_BOOTAPPEND}#" binary/isolinux/isolinux.cfg
|
||||
sed -i -e "s/LIVE_DATE/`date +%Y%m%d`/" binary/isolinux/f1.txt
|
||||
sed -i -e "s/LIVE_VERSION/${VERSION}/" binary/isolinux/f10.txt
|
||||
|
||||
# Copying splash screen
|
||||
if [ -n "${LIVE_SYSLINUX_SPLASH}" ]
|
||||
# Remove unused files
|
||||
rm -f binary/isolinux/pxelinux.cfg
|
||||
|
||||
# Working arround syslinux 8.3 limitation
|
||||
if [ "`echo ${LIVE_KERNEL_FLAVOUR} | wc -w`" -gt "1" ]
|
||||
then
|
||||
for FLAVOUR in ${LIVE_KERNEL_FLAVOUR}
|
||||
do
|
||||
NUMBER=$(($NUMBER + 1))
|
||||
|
||||
mv "${DESTDIR}"/vmlinuz-*-${FLAVOUR} "${DESTDIR}"/vmlinuz${NUMBER}
|
||||
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
|
||||
done
|
||||
else
|
||||
mv "${DESTDIR}"/vmlinuz-*-${LIVE_KERNEL_FLAVOUR} "${DESTDIR}"/vmlinuz
|
||||
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
|
||||
fi
|
||||
;;
|
||||
|
||||
net)
|
||||
# Copying syslinux
|
||||
cp chroot/usr/lib/syslinux/pxelinux.0 tftpboot
|
||||
|
||||
# Install syslinux templates
|
||||
mkdir -p tftpboot/pxelinux.cfg
|
||||
cp -r "${LIVE_TEMPLATES}"/syslinux/* tftpboot/pxelinux.cfg
|
||||
mv tftpboot/pxelinux.cfg/pxelinux.cfg tftpboot/pxelinux.cfg/default
|
||||
sed -i -e 's#splash.rle#pxelinux.cfg/splash.rle#' tftpboot/pxelinux.cfg/isolinux.txt
|
||||
|
||||
# Copying splash screen
|
||||
if [ -n "${LIVE_SYSLINUX_SPLASH}" ]
|
||||
then
|
||||
if [ "${LIVE_SYSLINUX_SPLASH}" = "none" ]
|
||||
then
|
||||
cp "${LIVE_SYSLINUX_SPLASH}" binary/isolinux/splash.rle
|
||||
fi
|
||||
|
||||
# Configure syslinux templates
|
||||
sed -i -e "s#LIVE_KERNEL_LIVE#${LINUX}#" -e "s#LIVE_KERNEL_INSTALL#${LIVE_KERNEL_INSTALL}#" -e "s#LIVE_MEMTEST#${MEMTEST}#" binary/isolinux/isolinux.cfg
|
||||
sed -i -e "s#LIVE_BOOTAPPEND#${LIVE_BOOTAPPEND}#" binary/isolinux/isolinux.cfg
|
||||
sed -i -e "s/LIVE_DATE/`date +%Y%m%d`/" binary/isolinux/f1.txt
|
||||
sed -i -e "s/LIVE_VERSION/${VERSION}/" binary/isolinux/f10.txt
|
||||
|
||||
# Remove unused files
|
||||
rm -f binary/isolinux/pxelinux.cfg
|
||||
|
||||
# Working arround syslinux 8.3 limitation
|
||||
if [ "`echo ${LIVE_KERNEL_FLAVOUR} | wc -w`" -gt "1" ]
|
||||
then
|
||||
for FLAVOUR in ${LIVE_KERNEL_FLAVOUR}
|
||||
do
|
||||
NUMBER=$(($NUMBER + 1))
|
||||
|
||||
mv "${DESTDIR}"/vmlinuz-*-${FLAVOUR} "${DESTDIR}"/vmlinuz${NUMBER}
|
||||
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
|
||||
done
|
||||
rm -f tftpboot/pxelinux.cfg/splash.rle
|
||||
sed -e "s/.*splash.*//" tftpboot/pxelinux.cfg/isolinux.txt
|
||||
else
|
||||
mv "${DESTDIR}"/vmlinuz-*-${LIVE_KERNEL_FLAVOUR} "${DESTDIR}"/vmlinuz
|
||||
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
|
||||
cp -f "${LIVE_SYSLINUX_SPLASH}" tftpboot/pxelinux.cfg/splash.rle
|
||||
fi
|
||||
fi
|
||||
|
||||
# Configure syslinux templates
|
||||
sed -i -e "s#LIVE_KERNEL_LIVE#${LINUX}#" -e "s#LIVE_KERNEL_INSTALL#${LIVE_KERNEL_INSTALL}#" -e "s#LIVE_MEMTEST#${MEMTEST}#" tftpboot/pxelinux.cfg/default
|
||||
sed -i -e "s/LIVE_SERVER_ADDRESS/${LIVE_SERVER_ADDRESS}/" -e "s#LIVE_SERVER_PATH#${LIVE_SERVER_PATH}#" -e "s#LIVE_BOOTAPPEND#${LIVE_BOOTAPPEND}#" tftpboot/pxelinux.cfg/default
|
||||
sed -i -e "s/LIVE_DATE/`date +%Y%m%d`/" tftpboot/pxelinux.cfg/f1.txt
|
||||
sed -i -e "s/LIVE_VERSION/${VERSION}/" tftpboot/pxelinux.cfg/f10.txt
|
||||
|
||||
# Remove unused files
|
||||
rm -f tftpboot/pxelinux.cfg/isolinux.cfg
|
||||
|
||||
# Working arround syslinux 8.3 limitation
|
||||
if [ "`echo ${LIVE_KERNEL_FLAVOUR} | wc -w`" -gt "1" ]
|
||||
then
|
||||
for FLAVOUR in ${LIVE_KERNEL_FLAVOUR}
|
||||
do
|
||||
NUMBER=$(($NUMBER + 1))
|
||||
|
||||
mv "${DESTDIR}"/vmlinuz-*-${FLAVOUR} "${DESTDIR}"/vmlinuz${NUMBER}
|
||||
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
|
||||
done
|
||||
else
|
||||
mv "${DESTDIR}"/vmlinuz-*-${LIVE_KERNEL_FLAVOUR} "${DESTDIR}"/vmlinuz
|
||||
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
|
||||
fi
|
||||
;;
|
||||
|
||||
usb|hdd)
|
||||
# Copying syslinux
|
||||
mkdir -p binary
|
||||
cp chroot/usr/lib/syslinux/isolinux.bin binary/syslinux.bin
|
||||
cp -r "${LIVE_TEMPLATES}"/syslinux/* binary
|
||||
mv binary/isolinux.cfg binary/syslinux.cfg
|
||||
mv binary/isolinux.txt binary/syslinux.txt
|
||||
sed -i -e "s/isolinux.txt/syslinux.txt/" binary/syslinux.cfg
|
||||
|
||||
# Copying splash screen
|
||||
if [ -n "${LIVE_SYSLINUX_SPLASH}" ]
|
||||
then
|
||||
if [ "${LIVE_SYSLINUX_SPLASH}" = "none" ]
|
||||
then
|
||||
rm -f binary/splash.rle
|
||||
sed -e "s/.*splash.*//" binary/syslinux.txt
|
||||
else
|
||||
cp -f "${LIVE_SYSLINUX_SPLASH}" binary/splash.rle
|
||||
fi
|
||||
fi
|
||||
|
||||
# Configure syslinux templates
|
||||
sed -i -e "s#LIVE_KERNEL_LIVE#${LINUX}#" -e "s#LIVE_KERNEL_INSTALL#${LIVE_KERNEL_INSTALL}#" -e "s#LIVE_MEMTEST#${MEMTEST}#" binary/syslinux.cfg
|
||||
sed -i -e "s#LIVE_BOOTAPPEND#${LIVE_BOOTAPPEND}#" binary/syslinux.cfg
|
||||
sed -i -e "s/LIVE_DATE/`date +%Y%m%d`/" binary/f1.txt
|
||||
sed -i -e "s/LIVE_VERSION/${VERSION}/" binary/f10.txt
|
||||
|
||||
# Remove unused files
|
||||
rm -f binary/pxelinux.cfg
|
||||
|
||||
# Working arround syslinux 8.3 limitation
|
||||
if [ "`echo ${LIVE_KERNEL_FLAVOUR} | wc -w`" -gt "1" ]
|
||||
then
|
||||
for FLAVOUR in ${LIVE_KERNEL_FLAVOUR}
|
||||
do
|
||||
NUMBER=$(($NUMBER + 1))
|
||||
|
||||
mv "${DESTDIR}"/vmlinuz-*-${FLAVOUR} "${DESTDIR}"/vmlinuz${NUMBER}
|
||||
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
|
||||
done
|
||||
else
|
||||
mv "${DESTDIR}"/vmlinuz-*-${LIVE_KERNEL_FLAVOUR} "${DESTDIR}"/vmlinuz
|
||||
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
|
||||
fi
|
||||
;;
|
||||
esac
|
||||
|
||||
if [ -n "${PACKAGES}" ]
|
||||
then
|
||||
# Removing packages
|
||||
case "${LH_APT}" in
|
||||
apt|apt-get)
|
||||
Chroot "apt-get remove --purge --yes ${PACKAGES}"
|
||||
;;
|
||||
|
||||
net)
|
||||
# Copying syslinux
|
||||
cp chroot/usr/lib/syslinux/pxelinux.0 tftpboot
|
||||
|
||||
# Install syslinux templates
|
||||
mkdir -p tftpboot/pxelinux.cfg
|
||||
cp -r "${LIVE_TEMPLATES}"/syslinux/* tftpboot/pxelinux.cfg
|
||||
mv tftpboot/pxelinux.cfg/pxelinux.cfg tftpboot/pxelinux.cfg/default
|
||||
sed -i -e 's#splash.rle#pxelinux.cfg/splash.rle#' tftpboot/pxelinux.cfg/isolinux.txt
|
||||
|
||||
# Copying splash screen
|
||||
if [ -n "${LIVE_SYSLINUX_SPLASH}" ]
|
||||
then
|
||||
cp "${LIVE_SYSLINUX_SPLASH}" tftpboot/pxelinux.cfg/splash.rle
|
||||
fi
|
||||
|
||||
# Configure syslinux templates
|
||||
sed -i -e "s#LIVE_KERNEL_LIVE#${LINUX}#" -e "s#LIVE_KERNEL_INSTALL#${LIVE_KERNEL_INSTALL}#" -e "s#LIVE_MEMTEST#${MEMTEST}#" tftpboot/pxelinux.cfg/default
|
||||
sed -i -e "s/LIVE_SERVER_ADDRESS/${LIVE_SERVER_ADDRESS}/" -e "s#LIVE_SERVER_PATH#${LIVE_SERVER_PATH}#" -e "s#LIVE_BOOTAPPEND#${LIVE_BOOTAPPEND}#" tftpboot/pxelinux.cfg/default
|
||||
sed -i -e "s/LIVE_DATE/`date +%Y%m%d`/" tftpboot/pxelinux.cfg/f1.txt
|
||||
sed -i -e "s/LIVE_VERSION/${VERSION}/" tftpboot/pxelinux.cfg/f10.txt
|
||||
|
||||
# Remove unused files
|
||||
rm -f tftpboot/pxelinux.cfg/isolinux.cfg
|
||||
|
||||
# Working arround syslinux 8.3 limitation
|
||||
if [ "`echo ${LIVE_KERNEL_FLAVOUR} | wc -w`" -gt "1" ]
|
||||
then
|
||||
for FLAVOUR in ${LIVE_KERNEL_FLAVOUR}
|
||||
do
|
||||
NUMBER=$(($NUMBER + 1))
|
||||
|
||||
mv "${DESTDIR}"/vmlinuz-*-${FLAVOUR} "${DESTDIR}"/vmlinuz${NUMBER}
|
||||
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
|
||||
done
|
||||
else
|
||||
mv "${DESTDIR}"/vmlinuz-*-${LIVE_KERNEL_FLAVOUR} "${DESTDIR}"/vmlinuz
|
||||
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
|
||||
fi
|
||||
;;
|
||||
|
||||
usb|hdd)
|
||||
# Copying syslinux
|
||||
mkdir -p binary
|
||||
cp chroot/usr/lib/syslinux/isolinux.bin binary/syslinux.bin
|
||||
cp -r "${LIVE_TEMPLATES}"/syslinux/* binary
|
||||
mv binary/isolinux.cfg binary/syslinux.cfg
|
||||
mv binary/isolinux.txt binary/syslinux.txt
|
||||
sed -i -e "s/isolinux.txt/syslinux.txt/" binary/syslinux.cfg
|
||||
|
||||
# Copying splash screen
|
||||
if [ -n "${LIVE_SYSLINUX_SPLASH}" ]
|
||||
then
|
||||
cp "${LIVE_SYSLINUX_SPLASH}" binary/splash.rle
|
||||
fi
|
||||
|
||||
# Configure syslinux templates
|
||||
sed -i -e "s#LIVE_KERNEL_LIVE#${LINUX}#" -e "s#LIVE_KERNEL_INSTALL#${LIVE_KERNEL_INSTALL}#" -e "s#LIVE_MEMTEST#${MEMTEST}#" binary/syslinux.cfg
|
||||
sed -i -e "s#LIVE_BOOTAPPEND#${LIVE_BOOTAPPEND}#" binary/syslinux.cfg
|
||||
sed -i -e "s/LIVE_DATE/`date +%Y%m%d`/" binary/f1.txt
|
||||
sed -i -e "s/LIVE_VERSION/${VERSION}/" binary/f10.txt
|
||||
|
||||
# Remove unused files
|
||||
rm -f binary/pxelinux.cfg
|
||||
|
||||
# Working arround syslinux 8.3 limitation
|
||||
if [ "`echo ${LIVE_KERNEL_FLAVOUR} | wc -w`" -gt "1" ]
|
||||
then
|
||||
for FLAVOUR in ${LIVE_KERNEL_FLAVOUR}
|
||||
do
|
||||
NUMBER=$(($NUMBER + 1))
|
||||
|
||||
mv "${DESTDIR}"/vmlinuz-*-${FLAVOUR} "${DESTDIR}"/vmlinuz${NUMBER}
|
||||
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
|
||||
done
|
||||
else
|
||||
mv "${DESTDIR}"/vmlinuz-*-${LIVE_KERNEL_FLAVOUR} "${DESTDIR}"/vmlinuz
|
||||
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
|
||||
fi
|
||||
aptitude)
|
||||
Chroot "aptitude purge --assume-yes ${PACKAGES}"
|
||||
;;
|
||||
esac
|
||||
|
||||
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
|
||||
fi
|
||||
|
||||
# Creating stage file
|
||||
Create_stagefile .stage/binary_syslinux
|
||||
fi
|
||||
|
||||
# Creating stage file
|
||||
Create_stagefile .stage/binary_syslinux
|
||||
|
|
|
@ -41,15 +41,15 @@ do
|
|||
Require_stagefile .stage/bootstrap
|
||||
Require_stagefile .stage/chroot_proc
|
||||
|
||||
# Checking stage file
|
||||
Check_stagefile .stage/binary_usb
|
||||
|
||||
# Checking lock file
|
||||
Check_lockfile .lock
|
||||
|
||||
# Creating lock file
|
||||
Create_lockfile .lock
|
||||
|
||||
# Checking stage file
|
||||
Check_stagefile .stage/binary_usb
|
||||
|
||||
if [ ! -f chroot/sbin/mkdosfs ]
|
||||
then
|
||||
PACKAGES="${PACKAGES} dosfstools"
|
||||
|
@ -65,15 +65,21 @@ do
|
|||
PACKAGES="${PACKAGES} parted"
|
||||
fi
|
||||
|
||||
if [ "${LIVE_BOOTLOADER}" = "grub" ] && [ ! -f chroot/usr/sbin/grub ]
|
||||
then
|
||||
PACKAGES="${PACKAGES} grub"
|
||||
fi
|
||||
case "${LIVE_BOOTLOADER}" in
|
||||
grub)
|
||||
if [ ! -f chroot/usr/sbin/grub ]
|
||||
then
|
||||
PACKAGES="${PACKAGES} grub"
|
||||
fi
|
||||
;;
|
||||
|
||||
if [ "${LIVE_BOOTLOADER}" = "syslinux" ] && [ ! -f chroot/usr/bin/syslinux ]
|
||||
then
|
||||
PACKAGES="${PACKAGES} syslinux"
|
||||
fi
|
||||
syslinux)
|
||||
if [ ! -f chroot/usr/bin/syslinux ]
|
||||
then
|
||||
PACKAGES="${PACKAGES} syslinux"
|
||||
fi
|
||||
;;
|
||||
esac
|
||||
|
||||
if [ -n "${PACKAGES}" ]
|
||||
then
|
||||
|
@ -117,7 +123,15 @@ do
|
|||
|
||||
case "${LIVE_BOOTLOADER}" in
|
||||
grub)
|
||||
Chroot "grub-install --no-floppy ${FREELO}"
|
||||
#echo "(hd0) ${FREELO}" > binary/boot/grub/device.map
|
||||
#grub --batch --no-floppy --device-map=binary/boot/grub/device.map << EOF
|
||||
#setup --stage1=binary/boot/grub/stage1 --stage2=binary/boot/grub/stage2 --prefix=/boot/grub (hd0)
|
||||
#
|
||||
#quit
|
||||
#EOF
|
||||
#rm -f binary/boot/grub/device.map
|
||||
|
||||
#Chroot "grub-install --no-floppy --root-directory=/ (hd0)"
|
||||
;;
|
||||
|
||||
syslinux)
|
||||
|
@ -127,6 +141,7 @@ do
|
|||
|
||||
${LH_LOSETUP} -d ${FREELO}
|
||||
|
||||
FREELO="`${LH_LOSETUP} -f`"
|
||||
lh_losetup $FREELO binary.img 1
|
||||
Chroot "mkfs.msdos -n DEBIAN_LIVE ${FREELO}"
|
||||
mkdir -p binary.tmp
|
||||
|
@ -134,8 +149,24 @@ do
|
|||
cp -r binary/* binary.tmp
|
||||
umount binary.tmp
|
||||
rmdir binary.tmp
|
||||
Chroot "syslinux ${FREELO}"
|
||||
|
||||
if [ "${LIVE_BOOTLOADER}" = "syslinux" ]
|
||||
then
|
||||
Chroot "syslinux ${FREELO}"
|
||||
fi
|
||||
|
||||
${LH_LOSETUP} -d ${FREELO}
|
||||
|
||||
#if [ "${LIVE_BOOTLOADER}" = "grub" ]
|
||||
#then
|
||||
# FREELO="`${LH_LOSETUP} -f`"
|
||||
# lh_losetup $FREELO binary.img 0
|
||||
|
||||
# dd if=binary/boot/grub/stage1 of=${FREELO} bs=512 count=1
|
||||
# dd if=binary/boot/grub/stage2 of=${FREELO} bs=512 seek=1
|
||||
|
||||
# ${LH_LOSETUP} -d ${FREELO}
|
||||
#fi
|
||||
echo "!!! The above error/warning messages can be ignored !!!"
|
||||
|
||||
if [ -n "${MAKEDEV}" ]
|
||||
|
|
|
@ -0,0 +1,217 @@
|
|||
#!/bin/sh
|
||||
|
||||
# lh_binary_yaboot(1) - installs yaboot into binary
|
||||
# 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
|
||||
|
||||
# Source common functions
|
||||
for FUNCTION in /usr/share/live-helper/functions/*.sh
|
||||
do
|
||||
. ${FUNCTION}
|
||||
done
|
||||
|
||||
# Set static variables
|
||||
DESCRIPTION="installs yaboot into binary"
|
||||
HELP=""
|
||||
USAGE="${PROGRAM} [--force]"
|
||||
|
||||
Arguments "${@}"
|
||||
|
||||
Echo_debug "Init ${PROGRAM}"
|
||||
|
||||
# Reading configuration files
|
||||
Read_conffile config/bootstrap
|
||||
Read_conffile config/chroot
|
||||
Read_conffile config/common
|
||||
Read_conffile config/image
|
||||
Set_defaults
|
||||
|
||||
if [ "${LIVE_BOOTLOADER}" != "yaboot" ]
|
||||
then
|
||||
exit 0
|
||||
fi
|
||||
|
||||
Breakpoint "binary_yaboot: Init"
|
||||
|
||||
# Requiring stage file
|
||||
Require_stagefile .stage/bootstrap
|
||||
|
||||
# Checking stage file
|
||||
Check_stagefile .stage/binary_yaboot
|
||||
|
||||
# Checking lock file
|
||||
Check_lockfile .lock
|
||||
|
||||
# Creating lock file
|
||||
Create_lockfile .lock
|
||||
|
||||
if [ "${LIVE_ARCHITECTURE}" != "powerpc" ] && [ "${LIVE_ARCHITECTURE}" != "ppc64" ]
|
||||
then
|
||||
Echo_warning "skipping binary_yaboot, foreign architecture."
|
||||
exit 0
|
||||
fi
|
||||
|
||||
# Check templates
|
||||
if [ ! -d "${LIVE_TEMPLATES}" ]
|
||||
then
|
||||
if [ -d ../"${LIVE_TEMPLATES}" ]
|
||||
then
|
||||
LIVE_TEMPLATES="../${LIVE_TEMPLATES}"
|
||||
else
|
||||
Echo_error "user specified templates not accessible in ${LIVE_TEMPLATES}"
|
||||
exit 1
|
||||
fi
|
||||
fi
|
||||
|
||||
if [ ! -f chroot/usr/lib/yaboot/yaboot ]
|
||||
then
|
||||
PACKAGES="${PACKAGES} yaboot"
|
||||
fi
|
||||
|
||||
if [ -n "${PACKAGES}" ]
|
||||
then
|
||||
# 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
|
||||
case "${LIVE_BINARY_IMAGE}" in
|
||||
iso)
|
||||
DESTDIR="binary/live"
|
||||
;;
|
||||
|
||||
net|usb|hdd)
|
||||
Echo_error "not supported, FIXME"
|
||||
;;
|
||||
esac
|
||||
|
||||
# Temporary check for broken yaboot
|
||||
if [ "${LIVE_BINARY_IMAGE}" = "iso" ]
|
||||
then
|
||||
case "${LIVE_ARCHITECTURE}" in
|
||||
powerpc)
|
||||
DESTDIR="${DESTDIR}.ppc"
|
||||
;;
|
||||
esac
|
||||
fi
|
||||
|
||||
# Creating directory
|
||||
if [ ! -d "${DESTDIR}" ]
|
||||
then
|
||||
mkdir -p "${DESTDIR}"
|
||||
fi
|
||||
|
||||
# Setting boot parameters
|
||||
if [ -n "${LIVE_ENCRYPTION}" ]
|
||||
then
|
||||
LIVE_BOOTAPPEND="${LIVE_BOOTAPPEND} encryption=${LIVE_ENCRYPTION}"
|
||||
fi
|
||||
|
||||
if [ -n "${LIVE_USERNAME}" ]
|
||||
then
|
||||
LIVE_BOOTAPPEND="${LIVE_BOOTAPPEND} username=${LIVE_USERNAME}"
|
||||
fi
|
||||
|
||||
if [ -n "${LIVE_HOSTNAME}" ]
|
||||
then
|
||||
LIVE_BOOTAPPEND="${LIVE_BOOTAPPEND} hostname=${LIVE_HOSTNAME}"
|
||||
fi
|
||||
|
||||
LIVE_BOOTAPPEND="`echo ${LIVE_BOOTAPPEND} | sed -e 's/ //'`"
|
||||
|
||||
# Assembling kernel configuration
|
||||
if [ "${LIVE_BINARY_IMAGE}" = "iso" ]
|
||||
then
|
||||
DEFAULT_FLAVOUR="`echo ${LIVE_KERNEL_FLAVOUR} | awk '{ print $1 }'`"
|
||||
LINUX="image=/`basename ${DESTDIR}`/`basename chroot/boot/vmlinuz-*${DEFAULT_FLAVOUR}`\n\tinitrd=/`basename ${DESTDIR}`/initrd.img-`basename chroot/boot/vmlinuz-*${DEFAULT_FLAVOUR} | sed -e 's/vmlinuz-//'`\n\tlabel=LIVE\n\tappend=\"boot=casper LIVE_BOOTAPPEND\"\n\tinitrd-size=1048576\n\tread-only"
|
||||
else
|
||||
DEFAULT_FLAVOUR="`echo ${LIVE_KERNEL_FLAVOUR} | awk '{ print $1 }'`"
|
||||
LINUX="image=`basename chroot/boot/vmlinuz-*${DEFAULT_FLAVOUR}`\n\tinitrd=initrd.img-`basename chroot/boot/vmlinuz-*${DEFAULT_FLAVOUR} | sed -e 's/vmlinuz-//'`\n\tlabel=LIVE\n\tappend=\"boot=casper LIVE_BOOTAPPEND\"\n\tinitrd-size=1048576\n\tread-only"
|
||||
fi
|
||||
|
||||
# FIXME
|
||||
if [ "`echo ${LIVE_KERNEL_FLAVOUR} | wc -w`" -gt "1" ]
|
||||
then
|
||||
for KERNEL in chroot/boot/vmlinuz*
|
||||
do
|
||||
if [ -z "${LINUX}" ]
|
||||
then
|
||||
if [ "${LIVE_BINARY_IMAGE}" = "iso" ]
|
||||
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"
|
||||
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"
|
||||
fi
|
||||
else
|
||||
if [ "${LIVE_BINARY_IMAGE}" = "iso" ]
|
||||
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"
|
||||
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"
|
||||
fi
|
||||
fi
|
||||
done
|
||||
fi
|
||||
|
||||
LINUX="`echo ${LINUX} | sed -e 's#//#/#g'`"
|
||||
|
||||
case "${LIVE_BINARY_IMAGE}" in
|
||||
iso)
|
||||
# Copying yaboot
|
||||
mkdir -p binary/install
|
||||
cp chroot/usr/lib/yaboot/yaboot binary/install
|
||||
cp -r "${LIVE_TEMPLATES}"/yaboot/* binary/yaboot
|
||||
|
||||
# Configure yaboot templates
|
||||
sed -i -e "s#LIVE_KERNEL_LIVE#${LINUX}#" -e "s#LIVE_KERNEL_INSTALL#${LIVE_KERNEL_INSTALL}#" -e "s#LIVE_MEMTEST#${MEMTEST}#" binary/install/yaboot.conf
|
||||
sed -i -e "s#LIVE_BOOTAPPEND#${LIVE_BOOTAPPEND}#" binary/yaboot/yaboot.conf
|
||||
sed -i -e "s/LIVE_DATE/`date +%Y%m%d`/" -e "s/LIVE_VERSION/${VERSION}/" binary/yaboot/boot.msg
|
||||
|
||||
# Working arround yaboot 8.3 limitation
|
||||
if [ "`echo ${LIVE_KERNEL_FLAVOUR} | wc -w`" -gt "1" ]
|
||||
then
|
||||
for FLAVOUR in ${LIVE_KERNEL_FLAVOUR}
|
||||
do
|
||||
NUMBER=$(($NUMBER + 1))
|
||||
|
||||
mv "${DESTDIR}"/vmlinuz-*-${FLAVOUR} "${DESTDIR}"/vmlinuz${NUMBER}
|
||||
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/install/yaboot.conf
|
||||
done
|
||||
else
|
||||
mv "${DESTDIR}"/vmlinuz-*-${LIVE_KERNEL_FLAVOUR} "${DESTDIR}"/vmlinuz
|
||||
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/install/yaboot.conf
|
||||
fi
|
||||
;;
|
||||
esac
|
||||
|
||||
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
|
||||
fi
|
||||
|
||||
# Creating stage file
|
||||
Create_stagefile .stage/binary_yaboot
|
|
@ -137,6 +137,11 @@ then
|
|||
Chroot "dpkg -P cdebootstrap-helper-diverts"
|
||||
fi
|
||||
|
||||
# Deconfiguring cdebootstrap configurations
|
||||
rm -f chroot/etc/apt/sources.list
|
||||
rm -f chroot/etc/hosts
|
||||
rm -f chroot/etc/resolv.conf
|
||||
|
||||
# Removing bootstrap cache
|
||||
if [ -d chroot/var/cache/bootstrap ]
|
||||
then
|
||||
|
@ -157,6 +162,6 @@ then
|
|||
# Creating stage file
|
||||
Create_stagefile .stage/bootstrap
|
||||
else
|
||||
echo "E: Can't process file /usr/bin/cdebootstrap (FIXME)"
|
||||
Echo_error "Can't process file /usr/bin/cdebootstrap (FIXME)"
|
||||
exit 1
|
||||
fi
|
||||
|
|
|
@ -131,6 +131,6 @@ then
|
|||
# Creating stage file
|
||||
Create_stagefile .stage/bootstrap
|
||||
else
|
||||
echo "E: Can't process file /usr/bin/debootstrap (FIXME)"
|
||||
Echo_error "Can't process file /usr/bin/debootstrap (FIXME)"
|
||||
exit 1
|
||||
fi
|
||||
|
|
|
@ -36,24 +36,18 @@ Breakpoint "chroot_apt: Init"
|
|||
# Requiring stage file
|
||||
Require_stagefile .stage/bootstrap
|
||||
|
||||
# Checking lock file
|
||||
Check_lockfile .lock
|
||||
|
||||
# Creating lock file
|
||||
Create_lockfile .lock
|
||||
|
||||
case "${1}" in
|
||||
install)
|
||||
# Checking stage file
|
||||
Check_stagefile .stage/chroot_apt
|
||||
|
||||
if [ -f chroot/etc/apt/apt.conf ]
|
||||
then
|
||||
# Remove old /etc/apt/apt.conf
|
||||
rm -f chroot/etc/apt/apt.conf
|
||||
fi
|
||||
# Checking lock file
|
||||
Check_lockfile .lock
|
||||
|
||||
if [ "${LH_APT}" = "aptitude" ] && [ ! -d chroot/etc/apt/apt.conf.d ]
|
||||
# Creating lock file
|
||||
Create_lockfile .lock
|
||||
|
||||
if [ ! -d chroot/etc/apt/apt.conf.d ]
|
||||
then
|
||||
mkdir -p chroot/etc/apt/apt.conf.d
|
||||
fi
|
||||
|
@ -61,125 +55,76 @@ case "${1}" in
|
|||
# Configuring apt ftp proxy
|
||||
if [ -n "${LH_APT_FTPPROXY}" ]
|
||||
then
|
||||
case "${LH_APT}" in
|
||||
apt|apt-get)
|
||||
echo "Acquire::ftp::Proxy \"${LH_APT_FTPPROXY}\";" >> chroot/etc/apt/apt.conf
|
||||
;;
|
||||
|
||||
aptitude)
|
||||
echo "Acquire::ftp::Proxy \"${LH_APT_FTPPROXY}\";" > chroot/etc/apt/apt.conf.d/ftp-proxy
|
||||
;;
|
||||
esac
|
||||
echo "Acquire::ftp::Proxy \"${LH_APT_FTPPROXY}\";" > chroot/etc/apt/apt.conf.d/00ftp-proxy
|
||||
fi
|
||||
|
||||
# Configuring apt http proxy
|
||||
if [ -n "${LH_APT_HTTPPROXY}" ]
|
||||
then
|
||||
case "${LH_APT}" in
|
||||
apt|apt-get)
|
||||
echo "Acquire::http::Proxy \"${LH_APT_HTTPPROXY}\";" >> chroot/etc/apt/apt.conf
|
||||
;;
|
||||
|
||||
aptitude)
|
||||
echo "Acquire::http::Proxy \"${LH_APT_HTTPPROXY}\";" > chroot/etc/apt/apt.conf.d/http-proxy
|
||||
;;
|
||||
esac
|
||||
echo "Acquire::http::Proxy \"${LH_APT_HTTPPROXY}\";" > chroot/etc/apt/apt.conf.d/00http-proxy
|
||||
fi
|
||||
|
||||
# Configuring apt pdiffs
|
||||
if [ "${LH_APT_PDIFFS}" = "enabled" ]
|
||||
then
|
||||
case "${LH_APT}" in
|
||||
apt|apt-get)
|
||||
echo "Acquire::PDiffs \"true\";" >> chroot/etc/apt/apt.conf
|
||||
;;
|
||||
case "${LH_APT_PDIFFS}" in
|
||||
enabled)
|
||||
echo "Acquire::PDiffs \"true\";" > chroot/etc/apt/apt.conf.d/00pdiffs
|
||||
;;
|
||||
|
||||
aptitude)
|
||||
echo "Acquire::PDiffs \"true\";" > chroot/etc/apt/apt.conf.d/pdiffs
|
||||
;;
|
||||
esac
|
||||
else
|
||||
case "${LH_APT}" in
|
||||
apt|apt-get)
|
||||
echo "Acquire::PDiffs \"false\";" >> chroot/etc/apt/apt.conf
|
||||
;;
|
||||
|
||||
aptitude)
|
||||
echo "Acquire::PDiffs \"false\";" > chroot/etc/apt/apt.conf.d/pdiffs
|
||||
;;
|
||||
esac
|
||||
fi
|
||||
disabled)
|
||||
echo "Acquire::PDiffs \"false\";" > chroot/etc/apt/apt.conf.d/00pdiffs
|
||||
;;
|
||||
esac
|
||||
|
||||
# Configuring apt recommends
|
||||
if [ "${LH_APT_RECOMMENDS}" = "enabled" ]
|
||||
if [ "${LH_APT}" = "aptitude" ]
|
||||
then
|
||||
case "${LH_APT}" in
|
||||
apt|apt-get)
|
||||
echo "Aptitude::Recommends-Important \"true\";" >> chroot/etc/apt/apt.conf
|
||||
case "${LH_APT_RECOMMENDS}" in
|
||||
enabled)
|
||||
echo "Aptitude::Recommends-Important \"true\";" > chroot/etc/apt/apt.conf.d/00recommends
|
||||
;;
|
||||
|
||||
aptitude)
|
||||
echo "Aptitude::Recommends-Important \"true\";" > chroot/etc/apt/apt.conf.d/recommends
|
||||
;;
|
||||
esac
|
||||
else
|
||||
case "${LH_APT}" in
|
||||
apt|apt-get)
|
||||
echo "Aptitude::Recommends-Important \"false\";" >> chroot/etc/apt/apt.conf
|
||||
;;
|
||||
|
||||
aptitude)
|
||||
echo "Aptitude::Recommends-Important \"false\";" > chroot/etc/apt/apt.conf.d/recommends
|
||||
disabled)
|
||||
echo "Aptitude::Recommends-Important \"false\";" > chroot/etc/apt/apt.conf.d/00recommends
|
||||
;;
|
||||
esac
|
||||
fi
|
||||
|
||||
# Configuring apt secure
|
||||
if [ "${LH_APT_SECURE}" = "enabled" ]
|
||||
then
|
||||
case "${LH_APT}" in
|
||||
apt|apt-get)
|
||||
echo "APT::Get::AllowUnauthenticated \"true\";" >> chroot/etc/apt/apt.conf
|
||||
;;
|
||||
case "${LH_APT_SECURE}" in
|
||||
enabled)
|
||||
echo "APT::Get::AllowUnauthenticated \"true\";" > chroot/etc/apt/apt.conf.d/00secure
|
||||
;;
|
||||
|
||||
aptitude)
|
||||
echo "APT::Get::AllowUnauthenticated \"true\";" > chroot/etc/apt/apt.conf.d/secure
|
||||
;;
|
||||
esac
|
||||
else
|
||||
case "${LH_APT}" in
|
||||
apt|apt-get)
|
||||
echo "APT::Get::AllowUnauthenticated \"false\";" >> chroot/etc/apt/apt.conf
|
||||
;;
|
||||
|
||||
aptitude)
|
||||
echo "APT::Get::AllowUnauthenticated \"false\";" > chroot/etc/apt/apt.conf.d/secure
|
||||
;;
|
||||
esac
|
||||
fi
|
||||
disabled)
|
||||
echo "APT::Get::AllowUnauthenticated \"false\";" > chroot/etc/apt/apt.conf.d/00secure
|
||||
;;
|
||||
esac
|
||||
|
||||
# Creating stage file
|
||||
Create_stagefile .stage/chroot_apt
|
||||
;;
|
||||
|
||||
remove)
|
||||
# Deconfiguring apt settings
|
||||
rm -f chroot/etc/apt/apt.conf
|
||||
# Checking lock file
|
||||
Check_lockfile .lock
|
||||
|
||||
# Creating lock file
|
||||
Create_lockfile .lock
|
||||
|
||||
# Deconfiguring aptitude ftp proxy
|
||||
rm -f chroot/etc/apt/apt.conf.d/ftp-proxy
|
||||
rm -f chroot/etc/apt/apt.conf.d/00ftp-proxy
|
||||
|
||||
# Deconfiguring aptitude http proxy
|
||||
rm -f chroot/etc/apt/apt.conf.d/http-proxy
|
||||
rm -f chroot/etc/apt/apt.conf.d/00http-proxy
|
||||
|
||||
# Deconfiguring aptitude pdiffs
|
||||
rm -f chroot/etc/apt/apt.conf.d/pdiffs
|
||||
rm -f chroot/etc/apt/apt.conf.d/00pdiffs
|
||||
|
||||
# Deconfiguring aptitude recommends
|
||||
rm -f chroot/etc/apt/apt.conf.d/recommends
|
||||
rm -f chroot/etc/apt/apt.conf.d/00recommends
|
||||
|
||||
# Deconfiguring aptitude secure
|
||||
rm -f chroot/etc/apt/apt.conf.d/secure
|
||||
rm -f chroot/etc/apt/apt.conf.d/00secure
|
||||
|
||||
# Removing stage file
|
||||
rm -f .stage/chroot_apt
|
||||
|
|
|
@ -36,17 +36,17 @@ Breakpoint "chroot_debianchroot: Init"
|
|||
# Requiring stage file
|
||||
Require_stagefile .stage/bootstrap
|
||||
|
||||
# Checking lock file
|
||||
Check_lockfile .lock
|
||||
|
||||
# Creating lock file
|
||||
Create_lockfile .lock
|
||||
|
||||
case "${1}" in
|
||||
install)
|
||||
# Checking stage file
|
||||
Check_stagefile .stage/chroot_debianchroot
|
||||
|
||||
# Checking lock file
|
||||
Check_lockfile .lock
|
||||
|
||||
# Creating lock file
|
||||
Create_lockfile .lock
|
||||
|
||||
if [ -f chroot/etc/debian_chroot ]
|
||||
then
|
||||
# Save chroot file
|
||||
|
@ -61,6 +61,12 @@ case "${1}" in
|
|||
;;
|
||||
|
||||
remove)
|
||||
# Checking lock file
|
||||
Check_lockfile .lock
|
||||
|
||||
# Creating lock file
|
||||
Create_lockfile .lock
|
||||
|
||||
if [ -f chroot/etc/debian_chroot.orig ]
|
||||
then
|
||||
# Restore chroot file
|
||||
|
|
|
@ -66,3 +66,8 @@ then
|
|||
# Creating stage file
|
||||
Create_stagefile .stage/chroot_hooks
|
||||
fi
|
||||
|
||||
if [ -n "${LIVE_HOOKS}" ]
|
||||
then
|
||||
LIVE_DEBCONF_FRONTEND="readline" LIVE_DEBCONF_PRIORITY="low" LIVE_DEBCONF_NOWARNINGS="no" Chroot "${LIVE_HOOKS}"
|
||||
fi
|
||||
|
|
|
@ -36,17 +36,17 @@ Breakpoint "chroot_hosts: Init"
|
|||
# Requiring stage file
|
||||
Require_stagefile .stage/bootstrap
|
||||
|
||||
# Checking lock file
|
||||
Check_lockfile .lock
|
||||
|
||||
# Creating lock file
|
||||
Create_lockfile .lock
|
||||
|
||||
case "${1}" in
|
||||
install)
|
||||
# Checking stage file
|
||||
Check_stagefile .stage/chroot_hosts
|
||||
|
||||
# Checking lock file
|
||||
Check_lockfile .lock
|
||||
|
||||
# Creating lock file
|
||||
Create_lockfile .lock
|
||||
|
||||
if [ -f chroot/etc/hosts ]
|
||||
then
|
||||
# Save hosts file
|
||||
|
@ -64,6 +64,12 @@ case "${1}" in
|
|||
;;
|
||||
|
||||
remove)
|
||||
# Checking lock file
|
||||
Check_lockfile .lock
|
||||
|
||||
# Creating lock file
|
||||
Create_lockfile .lock
|
||||
|
||||
if [ -f chroot/etc/hosts.orig ]
|
||||
then
|
||||
# Restore hosts file
|
||||
|
|
|
@ -33,40 +33,37 @@ Set_defaults
|
|||
|
||||
Breakpoint "chroot_interactive: Init"
|
||||
|
||||
if [ "${LIVE_INTERACTIVE}" != "disabled" ]
|
||||
if [ "${LIVE_INTERACTIVE}" = "disabled" ]
|
||||
then
|
||||
# Requiring stage file
|
||||
Require_stagefile .stage/bootstrap
|
||||
|
||||
# Checking lock file
|
||||
Check_lockfile .lock
|
||||
|
||||
# Creating lock file
|
||||
Create_lockfile .lock
|
||||
|
||||
# Checking stage file
|
||||
Check_stagefile .stage/chroot_interactive
|
||||
|
||||
case "${LIVE_INTERACTIVE}" in
|
||||
enabled|shell)
|
||||
echo "Pausing build: starting interactive shell..."
|
||||
|
||||
Chroot "/bin/bash --login"
|
||||
;;
|
||||
|
||||
x11)
|
||||
echo "Pausing build: starting interactive X11..."
|
||||
|
||||
Chroot "startx"
|
||||
;;
|
||||
|
||||
xnest)
|
||||
echo "Pausing build: starting interactive Xnest..."
|
||||
|
||||
#Chroot "" # FIXME
|
||||
;;
|
||||
esac
|
||||
|
||||
# Creating stage file
|
||||
Create_stagefile .stage/chroot_symlinks
|
||||
exit 0
|
||||
fi
|
||||
|
||||
# Requiring stage file
|
||||
Require_stagefile .stage/bootstrap
|
||||
|
||||
# Checking stage file
|
||||
Check_stagefile .stage/chroot_interactive
|
||||
|
||||
# Checking lock file
|
||||
Check_lockfile .lock
|
||||
|
||||
# Creating lock file
|
||||
Create_lockfile .lock
|
||||
|
||||
case "${LIVE_INTERACTIVE}" in
|
||||
enabled|shell)
|
||||
echo "Pausing build: starting interactive shell..."
|
||||
Chroot "/bin/bash --login"
|
||||
;;
|
||||
x11)
|
||||
echo "Pausing build: starting interactive X11..."
|
||||
Chroot "startx"
|
||||
;;
|
||||
xnest)
|
||||
echo "Pausing build: starting interactive Xnest..."
|
||||
#Chroot "" # FIXME
|
||||
;;
|
||||
esac
|
||||
|
||||
# Creating stage file
|
||||
Create_stagefile .stage/chroot_symlinks
|
||||
|
|
|
@ -36,17 +36,17 @@ Breakpoint "chroot_linuximage: Init"
|
|||
# Requiring stage file
|
||||
Require_stagefile .stage/bootstrap
|
||||
|
||||
# Checking lock file
|
||||
Check_lockfile .lock
|
||||
|
||||
# Creating lock file
|
||||
Create_lockfile .lock
|
||||
|
||||
case "${1}" in
|
||||
install)
|
||||
# Checking stage file
|
||||
Check_stagefile .stage/chroot_linuximage
|
||||
|
||||
# Checking lock file
|
||||
Check_lockfile .lock
|
||||
|
||||
# Creating lock file
|
||||
Create_lockfile .lock
|
||||
|
||||
if [ -f chroot/etc/kernel-img.conf ]
|
||||
then
|
||||
# Saving kernel-img.conf
|
||||
|
@ -54,7 +54,11 @@ case "${1}" in
|
|||
fi
|
||||
|
||||
# Configuring kernel-img.conf
|
||||
echo "do_initrd = Yes" >> chroot/etc/kernel-img.conf
|
||||
cat >> chroot/etc/kernel-img.conf << EOF
|
||||
do_bootloader = No
|
||||
do_initrd = Yes
|
||||
warn_initrd = No
|
||||
EOF
|
||||
|
||||
if [ "${LIVE_KERNEL_PACKAGES}" != "none" ]
|
||||
then
|
||||
|
@ -85,6 +89,12 @@ case "${1}" in
|
|||
;;
|
||||
|
||||
remove)
|
||||
# Checking lock file
|
||||
Check_lockfile .lock
|
||||
|
||||
# Creating lock file
|
||||
Create_lockfile .lock
|
||||
|
||||
if [ -f chroot/etc/kernel-img.conf.old ]
|
||||
then
|
||||
# Restoring kernel-img.conf file
|
||||
|
|
|
@ -39,17 +39,17 @@ Breakpoint "chroot_proc: Init"
|
|||
# Requiring stage file
|
||||
Require_stagefile .stage/bootstrap
|
||||
|
||||
# Checking lock file
|
||||
Check_lockfile .lock
|
||||
|
||||
# Creating lock file
|
||||
Create_lockfile .lock
|
||||
|
||||
case "${1}" in
|
||||
install)
|
||||
# Checking stage file
|
||||
Check_stagefile .stage/chroot_proc
|
||||
|
||||
# Checking lock file
|
||||
Check_lockfile .lock
|
||||
|
||||
# Creating lock file
|
||||
Create_lockfile .lock
|
||||
|
||||
if [ ! -d chroot/proc ]
|
||||
then
|
||||
# Creating mountpoint
|
||||
|
@ -64,8 +64,17 @@ case "${1}" in
|
|||
;;
|
||||
|
||||
remove)
|
||||
# Checking lock file
|
||||
Check_lockfile .lock
|
||||
|
||||
# Creating lock file
|
||||
Create_lockfile .lock
|
||||
|
||||
# Workaround binfmt-support /proc locking
|
||||
umount chroot/proc/sys/fs/binfmt_misc > /dev/null 2>&1 || true
|
||||
if [ -e chroot/proc/sys/fs/binftm_misc/status ]
|
||||
then
|
||||
umount chroot/proc/sys/fs/binfmt_misc
|
||||
fi
|
||||
|
||||
# Unmounting /proc
|
||||
#fuser -km chroot/proc
|
||||
|
|
|
@ -36,17 +36,17 @@ Breakpoint "chroot_resolv: Init"
|
|||
# Requiring stage file
|
||||
Require_stagefile .stage/bootstrap
|
||||
|
||||
# Checking lock file
|
||||
Check_lockfile .lock
|
||||
|
||||
# Creating lock file
|
||||
Create_lockfile .lock
|
||||
|
||||
case "${1}" in
|
||||
install)
|
||||
# Checking stage file
|
||||
Check_stagefile .stage/chroot_resolv
|
||||
|
||||
# Checking lock file
|
||||
Check_lockfile .lock
|
||||
|
||||
# Creating lock file
|
||||
Create_lockfile .lock
|
||||
|
||||
if [ -f chroot/etc/resolv.conf ]
|
||||
then
|
||||
# Save resolv file
|
||||
|
@ -64,6 +64,12 @@ case "${1}" in
|
|||
;;
|
||||
|
||||
remove)
|
||||
# Checking lock file
|
||||
Check_lockfile .lock
|
||||
|
||||
# Creating lock file
|
||||
Create_lockfile .lock
|
||||
|
||||
if [ -f chroot/etc/resolv.conf.orig ]
|
||||
then
|
||||
# Restore resolv file
|
||||
|
|
|
@ -36,17 +36,17 @@ Breakpoint "chroot_sources: Init"
|
|||
# Requiring stage file
|
||||
Require_stagefile .stage/bootstrap
|
||||
|
||||
# Checking lock file
|
||||
Check_lockfile .lock
|
||||
|
||||
# Creating lock file
|
||||
Create_lockfile .lock
|
||||
|
||||
case "${1}" in
|
||||
install)
|
||||
# Checking stage file
|
||||
Check_stagefile .stage/chroot_sources
|
||||
|
||||
# Checking lock file
|
||||
Check_lockfile .lock
|
||||
|
||||
# Creating lock file
|
||||
Create_lockfile .lock
|
||||
|
||||
# Configure custom sources.list
|
||||
echo "deb ${LIVE_MIRROR_BUILD} ${LIVE_DISTRIBUTION} ${LIVE_SECTIONS}" > chroot/etc/apt/sources.list
|
||||
|
||||
|
@ -57,7 +57,7 @@ case "${1}" in
|
|||
|
||||
if [ "${LIVE_SECURITY}" = "enabled" ]
|
||||
then
|
||||
if [ "${LIVE_DISTRIBUTION}" != "sid" ] && [ "${LIVE_DISTRIBUTION}" = "unstable" ]
|
||||
if [ "${LIVE_DISTRIBUTION}" != "sid" ] && [ "${LIVE_DISTRIBUTION}" != "unstable" ]
|
||||
then
|
||||
echo "deb ${LIVE_MIRROR_BUILD_SECURITY} ${LIVE_DISTRIBUTION}/updates ${LIVE_SECTIONS}" >> chroot/etc/apt/sources.list
|
||||
|
||||
|
@ -76,7 +76,7 @@ case "${1}" in
|
|||
|
||||
for FILE in config/chroot_sources/*.build
|
||||
do
|
||||
cat ${FILE} >> chroot/etc/apt/sources.list
|
||||
cat ${FILE} | grep -v "^##" >> chroot/etc/apt/sources.list
|
||||
done
|
||||
fi
|
||||
|
||||
|
@ -103,7 +103,7 @@ case "${1}" in
|
|||
fi
|
||||
|
||||
# Installing aptitude
|
||||
if [ "${LH_APT}" = "apt" ]
|
||||
if [ "${LH_APT}" = "apt" ] || [ "${LH_APT}" = "apt-get" ]
|
||||
then
|
||||
Chroot "apt-get update"
|
||||
elif [ "${LH_APT}" = "aptitude" ]
|
||||
|
@ -129,6 +129,12 @@ case "${1}" in
|
|||
;;
|
||||
|
||||
remove)
|
||||
# Checking lock file
|
||||
Check_lockfile .lock
|
||||
|
||||
# Creating lock file
|
||||
Create_lockfile .lock
|
||||
|
||||
# Configure generic indices
|
||||
if [ "${LH_APT_GENERIC}" = "enabled" ]
|
||||
then
|
||||
|
@ -169,9 +175,9 @@ case "${1}" in
|
|||
echo "" >> chroot/etc/apt/sources.list
|
||||
echo "# Custom repositories" >> chroot/etc/apt/sources.list
|
||||
|
||||
for FILE in config/chroot_sources/*.image
|
||||
for FILE in config/chroot_sources/*.build
|
||||
do
|
||||
cat ${FILE} >> chroot/etc/apt/sources.list
|
||||
cat ${FILE} | grep -v "^##" >> chroot/etc/apt/sources.list
|
||||
done
|
||||
fi
|
||||
|
||||
|
|
|
@ -36,15 +36,15 @@ Breakpoint "chroot_symlinks: Init"
|
|||
# Requiring stage file
|
||||
Require_stagefile .stage/bootstrap
|
||||
|
||||
# Checking stage file
|
||||
Check_stagefile .stage/chroot_symlinks
|
||||
|
||||
# Checking lock file
|
||||
Check_lockfile .lock
|
||||
|
||||
# Creating lock file
|
||||
Create_lockfile .lock
|
||||
|
||||
# Checking stage file
|
||||
Check_stagefile .stage/chroot_symlinks
|
||||
|
||||
if [ "${LIVE_SYMLINKS}" = "enabled" ]
|
||||
then
|
||||
if [ -f chroot/usr/bin/symlinks ]
|
||||
|
|
|
@ -39,17 +39,17 @@ Breakpoint "chroot_sysfs: Init"
|
|||
# Requiring stage file
|
||||
Require_stagefile .stage/bootstrap
|
||||
|
||||
# Checking lock file
|
||||
Check_lockfile .lock
|
||||
|
||||
# Creating lock file
|
||||
Create_lockfile .lock
|
||||
|
||||
case "${1}" in
|
||||
install)
|
||||
# Checking stage file
|
||||
Check_stagefile .stage/chroot_sysfs
|
||||
|
||||
# Checking lock file
|
||||
Check_lockfile .lock
|
||||
|
||||
# Creating lock file
|
||||
Create_lockfile .lock
|
||||
|
||||
if [ ! -d chroot/sys ]
|
||||
then
|
||||
# Create mountpoint
|
||||
|
@ -64,6 +64,12 @@ case "${1}" in
|
|||
;;
|
||||
|
||||
remove)
|
||||
# Checking lock file
|
||||
Check_lockfile .lock
|
||||
|
||||
# Creating lock file
|
||||
Create_lockfile .lock
|
||||
|
||||
# Unmounting /sys
|
||||
#fuser -km chroot/sys
|
||||
umount chroot/sys > /dev/null 2>&1
|
||||
|
|
|
@ -36,15 +36,15 @@ Breakpoint "chroot_sysvinit: Init"
|
|||
# Requiring stage file
|
||||
Require_stagefile .stage/bootstrap
|
||||
|
||||
# Checking stage file
|
||||
Check_stagefile .stage/chroot_sysvinit
|
||||
|
||||
# Checking lock file
|
||||
Check_lockfile .lock
|
||||
|
||||
# Creating lock file
|
||||
Create_lockfile .lock
|
||||
|
||||
# Checking stage file
|
||||
Check_stagefile .stage/chroot_sysvinit
|
||||
|
||||
if [ "${LIVE_SYSVINIT}" = "enabled" ]
|
||||
then
|
||||
# Disable all
|
||||
|
|
|
@ -36,17 +36,17 @@ Breakpoint "chroot_sysvrc: Init"
|
|||
# Requiring stage file
|
||||
Require_stagefile .stage/bootstrap
|
||||
|
||||
# Checking lock file
|
||||
Check_lockfile .lock
|
||||
|
||||
# Creating lock file
|
||||
Create_lockfile .lock
|
||||
|
||||
case "${1}" in
|
||||
install)
|
||||
# Checking stage file
|
||||
Check_stagefile .stage/chroot_sysvrc
|
||||
|
||||
# Checking lock file
|
||||
Check_lockfile .lock
|
||||
|
||||
# Creating lock file
|
||||
Create_lockfile .lock
|
||||
|
||||
if [ -f chroot/usr/sbin/policy-rc.d ]
|
||||
then
|
||||
# Save policy-rc.d file
|
||||
|
@ -70,6 +70,12 @@ EOF
|
|||
;;
|
||||
|
||||
remove)
|
||||
# Checking lock file
|
||||
Check_lockfile .lock
|
||||
|
||||
# Creating lock file
|
||||
Create_lockfile .lock
|
||||
|
||||
if [ -f chroot/usr/sbin/policy-rc.d.orig ]
|
||||
then
|
||||
# Restore policy-rc.d file
|
||||
|
|
|
@ -58,7 +58,7 @@ case "${1}" in
|
|||
umount -f chroot/dev/pts > /dev/null 2>&1 || true
|
||||
umount -f chroot/dev > /dev/null 2>&1 || true
|
||||
|
||||
rm -rf chroot
|
||||
rm -rf chroot chroot.tmp
|
||||
|
||||
if [ "${PURGE}" != "true" ] && [ -d cache/chroot_bootstrap ]
|
||||
then
|
||||
|
@ -98,6 +98,7 @@ case "${1}" in
|
|||
source)
|
||||
rm -f source.iso
|
||||
rm -f source.img
|
||||
rm -f source*.tar
|
||||
rm -f source*.tar.gz
|
||||
|
||||
rm -rf source
|
||||
|
|
|
@ -22,9 +22,25 @@ USAGE="${PROGRAM} [--force]"
|
|||
|
||||
Arguments "${@}"
|
||||
|
||||
CONFIG="${1}"
|
||||
|
||||
Echo_debug "Init ${PROGRAM}"
|
||||
|
||||
if [ "${1}" != "newconfig" ]
|
||||
if [ -n "${LH_CONFIG}" ]
|
||||
then
|
||||
if [ -d /usr/share/live-helper/configs/"${LH_CONFIG}" ]
|
||||
then
|
||||
mkdir "${LH_CONFIG}"
|
||||
cp -r /usr/share/live-helper/configs/"${LH_CONFIG}" "${LH_CONFIG}"/config
|
||||
|
||||
LIVE_ROOT="${LH_CONFIG}"
|
||||
CONFIG=""
|
||||
else
|
||||
Echo_error "Couldn't find config ${LH_CONFIG} in /usr/share/live-helper/configs/."
|
||||
fi
|
||||
fi
|
||||
|
||||
if [ "${CONFIG}" != "newconfig" ]
|
||||
then
|
||||
# Source existing configuration
|
||||
Read_conffile "${LIVE_ROOT}"/config/common
|
||||
|
@ -39,7 +55,7 @@ Set_defaults
|
|||
Breakpoint "config: Init"
|
||||
|
||||
# Creating configuration directory
|
||||
install -d -m 0755 "${LIVE_ROOT}"/config || true
|
||||
mkdir -p "${LIVE_ROOT}"/config
|
||||
|
||||
# Creating live-helper configuration
|
||||
cat > "${LIVE_ROOT}"/config/common << EOF
|
||||
|
@ -93,6 +109,10 @@ LH_DEBCONF_FRONTEND="${LH_DEBCONF_FRONTEND}"
|
|||
# (Default: ${LH_DEBCONF_PRIORITY})
|
||||
LH_DEBCONF_PRIORITY="${LH_DEBCONF_PRIORITY}"
|
||||
|
||||
# \$LH_DEBCONF_NOWARNINGS: set debconf(1) warnings
|
||||
# (Default: ${LH_DEBCONF_NOWARNINGS})
|
||||
LH_DEBCONF_NOWARNINGS="${LH_DEBCONF_NOWARNINGS}"
|
||||
|
||||
# \$LH_GENISOIMAGE: set the genisoimage program
|
||||
# (Default: ${LH_GENISOIMAGE})
|
||||
LH_GENISOIMAGE="${LH_GENISOIMAGE}"
|
||||
|
@ -144,6 +164,10 @@ LIVE_KERNEL_PACKAGES="${LIVE_KERNEL_PACKAGES}"
|
|||
# (Default: empty)
|
||||
LIVE_KEYRING_PACKAGES="${LIVE_KEYRING_PACKAGES}"
|
||||
|
||||
# \$LIVE_HOOKS: set hook commands
|
||||
# (Default: empty)
|
||||
LIVE_HOOKS="${LIVE_HOOKS}"
|
||||
|
||||
# \$LIVE_LANGUAGE: set the language to use
|
||||
# (Default: empty)
|
||||
LIVE_LANGUAGE="${LIVE_LANGUAGE}"
|
||||
|
@ -178,11 +202,11 @@ LIVE_INTERACTIVE="${LIVE_INTERACTIVE}"
|
|||
EOF
|
||||
|
||||
# Creating lh_chroot_* directories
|
||||
install -d -m 0755 "${LIVE_ROOT}"/config/chroot_localhooks || true
|
||||
install -d -m 0755 "${LIVE_ROOT}"/config/chroot_localincludes || true
|
||||
install -d -m 0755 "${LIVE_ROOT}"/config/chroot_localpackages || true
|
||||
install -d -m 0755 "${LIVE_ROOT}"/config/chroot_localpackageslists || true
|
||||
install -d -m 0755 "${LIVE_ROOT}"/config/chroot_sources || true
|
||||
mkdir -p "${LIVE_ROOT}"/config/chroot_localhooks
|
||||
mkdir -p "${LIVE_ROOT}"/config/chroot_localincludes
|
||||
mkdir -p "${LIVE_ROOT}"/config/chroot_localpackages
|
||||
mkdir -p "${LIVE_ROOT}"/config/chroot_localpackageslists
|
||||
mkdir -p "${LIVE_ROOT}"/config/chroot_sources
|
||||
|
||||
# Creating lh_bootstrap_* configuration
|
||||
cat > "${LIVE_ROOT}"/config/bootstrap << EOF
|
||||
|
@ -249,9 +273,9 @@ LIVE_HOSTNAME="${LIVE_HOSTNAME}"
|
|||
# (Default: ${LIVE_FILESYSTEM})
|
||||
LIVE_FILESYSTEM="${LIVE_FILESYSTEM}"
|
||||
|
||||
# \$LIVE_MEMTEST86: set memtest86+
|
||||
# (Default: ${LIVE_MEMTEST86})
|
||||
LIVE_MEMTEST86="${LIVE_MEMTEST86}"
|
||||
# \$LIVE_MEMTEST: set memtest
|
||||
# (Default: ${LIVE_MEMTEST})
|
||||
LIVE_MEMTEST="${LIVE_MEMTEST}"
|
||||
|
||||
# \$LIVE_ISO_VOLUME: set iso volume
|
||||
# (Default: ${LIVE_ISO_VOLUME})
|
||||
|
@ -299,4 +323,4 @@ LIVE_TEMPLATES="${LIVE_TEMPLATES}"
|
|||
EOF
|
||||
|
||||
# Creating lh_binary_* directories
|
||||
install -d -m 0755 "${LIVE_ROOT}"/config/binary_localincludes || true
|
||||
mkdir -p "${LIVE_ROOT}"/config/binary_localincludes
|
||||
|
|
|
@ -33,38 +33,40 @@ Set_defaults
|
|||
|
||||
Breakpoint "source_config: Init"
|
||||
|
||||
if [ "${LIVE_SOURCE}" = "enabled" ]
|
||||
if [ "${LIVE_SOURCE}" != "enabled" ]
|
||||
then
|
||||
# Requiring stage file
|
||||
Require_stagefile .stage/bootstrap
|
||||
|
||||
# Checking lock file
|
||||
Check_lockfile .lock
|
||||
|
||||
# Creating lock file
|
||||
Create_lockfile .lock
|
||||
|
||||
# Checking stage file
|
||||
Check_stagefile .stage/source_config
|
||||
|
||||
# Remove old sources
|
||||
if [ -d source/debian-live ]
|
||||
then
|
||||
rm -rf source/debian-live
|
||||
fi
|
||||
|
||||
# Copy system configuration
|
||||
mkdir -p source/debian-live
|
||||
cp -a config source/debian-live
|
||||
|
||||
# Create tarball
|
||||
cd source
|
||||
tar cfz debian-live-config_`date +%Y%m%d.%s`.tar.gz debian-live
|
||||
cd "${OLDPWD}"
|
||||
|
||||
rm -rf source/debian-live/config
|
||||
mv source/debian-live-config_*.tar.gz source/debian-live
|
||||
|
||||
# Creating stage file
|
||||
Create_stagefile .stage/source_config
|
||||
exit 0
|
||||
fi
|
||||
|
||||
# Requiring stage file
|
||||
Require_stagefile .stage/bootstrap
|
||||
|
||||
# Checking stage file
|
||||
Check_stagefile .stage/source_config
|
||||
|
||||
# Checking lock file
|
||||
Check_lockfile .lock
|
||||
|
||||
# Creating lock file
|
||||
Create_lockfile .lock
|
||||
|
||||
# Remove old sources
|
||||
if [ -d source/debian-live ]
|
||||
then
|
||||
rm -rf source/debian-live
|
||||
fi
|
||||
|
||||
# Copy system configuration
|
||||
mkdir -p source/debian-live
|
||||
cp -a config source/debian-live
|
||||
|
||||
# Create tarball
|
||||
cd source
|
||||
tar cfz debian-live-config_`date +%Y%m%d.%s`.tar.gz debian-live
|
||||
cd "${OLDPWD}"
|
||||
|
||||
rm -rf source/debian-live/config
|
||||
mv source/debian-live-config_*.tar.gz source/debian-live
|
||||
|
||||
# Creating stage file
|
||||
Create_stagefile .stage/source_config
|
||||
|
|
|
@ -33,51 +33,57 @@ Set_defaults
|
|||
|
||||
Breakpoint "source_download: Init"
|
||||
|
||||
if [ "${LIVE_SOURCE}" = "enabled" ]
|
||||
if [ "${LIVE_SOURCE}" != "enabled" ]
|
||||
then
|
||||
# Requiring stage file
|
||||
Require_stagefile .stage/bootstrap
|
||||
|
||||
# Checking lock file
|
||||
Check_lockfile .lock
|
||||
|
||||
# Creating lock file
|
||||
Create_lockfile .lock
|
||||
|
||||
# Checking stage file
|
||||
Check_stagefile .stage/source_download
|
||||
|
||||
# Remove old sources
|
||||
if [ -d source/debian ]
|
||||
then
|
||||
rm -rf source/debian
|
||||
fi
|
||||
|
||||
# Download sources
|
||||
Chroot "dpkg --get-selections" | awk '{ print $1 }' > chroot/root/dpkg-selection.txt
|
||||
#echo "live-helper" >> chroot/root/dpkg-selection.txt
|
||||
Chroot "xargs --arg-file=/root/dpkg-selection.txt apt-get source --download-only"
|
||||
rm -f chroot/root/dpkg-selection.txt
|
||||
|
||||
# Sort sources
|
||||
for DSC in chroot/*.dsc
|
||||
do
|
||||
SOURCE="`awk '/Source:/ { print $2; }' ${DSC}`"
|
||||
|
||||
if [ "`echo ${SOURCE} | cut -b 1-3`" == "lib" ]
|
||||
then
|
||||
LETTER="`echo ${SOURCE} | cut -b 1-4`"
|
||||
else
|
||||
LETTER="`echo ${SOURCE} | cut -b 1`"
|
||||
fi
|
||||
|
||||
# Install directory
|
||||
install -d -m 0755 source/debian/"${LETTER}"/"${SOURCE}"
|
||||
|
||||
# Move files
|
||||
mv chroot/"${SOURCE}"_* source/debian/"${LETTER}"/"${SOURCE}"
|
||||
done
|
||||
|
||||
# Creating stage file
|
||||
Create_stagefile .stage/source_download
|
||||
exit 0
|
||||
fi
|
||||
|
||||
# Requiring stage file
|
||||
Require_stagefile .stage/bootstrap
|
||||
|
||||
# Checking stage file
|
||||
Check_stagefile .stage/source_download
|
||||
|
||||
# Checking lock file
|
||||
Check_lockfile .lock
|
||||
|
||||
# Creating lock file
|
||||
Create_lockfile .lock
|
||||
|
||||
# Remove old sources
|
||||
if [ -d source/debian ]
|
||||
then
|
||||
rm -rf source/debian
|
||||
fi
|
||||
|
||||
# Download sources
|
||||
Chroot "dpkg --get-selections" | awk '{ print $1 }' > chroot/root/dpkg-selection.txt
|
||||
echo "${LIVE_BOOTLOADER}" >> chroot/root/dpkg-selection.txt
|
||||
#echo "live-helper" >> chroot/root/dpkg-selection.txt
|
||||
Chroot "xargs --arg-file=/root/dpkg-selection.txt apt-get source --download-only"
|
||||
rm -f chroot/root/dpkg-selection.txt
|
||||
|
||||
# Sort sources
|
||||
for DSC in chroot/*.dsc
|
||||
do
|
||||
SOURCE="`sed -n 's/^Source: //p' ${DSC}`"
|
||||
|
||||
case "${SOURCE}" in
|
||||
lib?*)
|
||||
LETTER="`echo ${SOURCE} | sed 's/\(....\).*/\1/'`"
|
||||
;;
|
||||
|
||||
*)
|
||||
LETTER="`echo ${SOURCE} | sed 's/\(.\).*/\1/'`"
|
||||
;;
|
||||
esac
|
||||
|
||||
# Install directory
|
||||
mkdir -p source/debian/"${LETTER}"/"${SOURCE}"
|
||||
|
||||
# Move files
|
||||
mv chroot/"${SOURCE}"_* source/debian/"${LETTER}"/"${SOURCE}"
|
||||
done
|
||||
|
||||
# Creating stage file
|
||||
Create_stagefile .stage/source_download
|
||||
|
|
|
@ -33,7 +33,7 @@ Set_defaults
|
|||
|
||||
Breakpoint "source_generic: Init"
|
||||
|
||||
if [ "${LIVE_SOURCE}" = "disabled" ]
|
||||
if [ "${LIVE_SOURCE}" != "enabled" ]
|
||||
then
|
||||
exit 0
|
||||
fi
|
||||
|
@ -45,15 +45,15 @@ do
|
|||
# Requiring stage file
|
||||
Require_stagefile .stage/source_download
|
||||
|
||||
# Checking stage file
|
||||
Check_stagefile .stage/source_generic
|
||||
|
||||
# Checking lock file
|
||||
Check_lockfile .lock
|
||||
|
||||
# Creating lock file
|
||||
Create_lockfile .lock
|
||||
|
||||
# Checking stage file
|
||||
Check_stagefile .stage/source_generic
|
||||
|
||||
# Remove old source
|
||||
if [ -f source.tar ]
|
||||
then
|
||||
|
|
|
@ -33,7 +33,7 @@ Set_defaults
|
|||
|
||||
Breakpoint "source_hdd: Init"
|
||||
|
||||
if [ "${LIVE_SOURCE}" = "disabled" ]
|
||||
if [ "${LIVE_SOURCE}" != "enabled" ]
|
||||
then
|
||||
exit 0
|
||||
fi
|
||||
|
@ -45,15 +45,15 @@ do
|
|||
# Requiring stage file
|
||||
Require_stagefile .stage/source_download
|
||||
|
||||
# Checking stage file
|
||||
Check_stagefile .stage/source_hdd
|
||||
|
||||
# Checking lock file
|
||||
Check_lockfile .lock
|
||||
|
||||
# Creating lock file
|
||||
Create_lockfile .lock
|
||||
|
||||
# Checking stage file
|
||||
Check_stagefile .stage/source_hdd
|
||||
|
||||
# Remove old source
|
||||
if [ -f source-hdd.tar.gz ]
|
||||
then
|
||||
|
|
|
@ -33,7 +33,7 @@ Set_defaults
|
|||
|
||||
Breakpoint "source_iso: Init"
|
||||
|
||||
if [ "${LIVE_SOURCE}" = "disabled" ]
|
||||
if [ "${LIVE_SOURCE}" != "enabled" ]
|
||||
then
|
||||
exit 0
|
||||
fi
|
||||
|
@ -45,15 +45,15 @@ do
|
|||
# Requiring stage file
|
||||
Require_stagefile .stage/source_download
|
||||
|
||||
# Checking stage file
|
||||
Check_stagefile .stage/source_iso
|
||||
|
||||
# Checking lock file
|
||||
Check_lockfile .lock
|
||||
|
||||
# Creating lock file
|
||||
Create_lockfile .lock
|
||||
|
||||
# Checking stage file
|
||||
Check_stagefile .stage/source_iso
|
||||
|
||||
# Remove old source
|
||||
if [ -f source.iso ]
|
||||
then
|
||||
|
|
|
@ -33,31 +33,33 @@ Set_defaults
|
|||
|
||||
Breakpoint "source_md5sum: Init"
|
||||
|
||||
if [ "${LIVE_SOURCE}" = "enabled" ]
|
||||
if [ "${LIVE_SOURCE}" != "enabled" ]
|
||||
then
|
||||
# Requiring stage file
|
||||
Require_stagefile .stage/source_download
|
||||
|
||||
# Checking lock file
|
||||
Check_lockfile .lock
|
||||
|
||||
# Creating lock file
|
||||
Create_lockfile .lock
|
||||
|
||||
# Checking stage file
|
||||
Check_stagefile .stage/source_md5sum
|
||||
|
||||
# Remove old md5sums
|
||||
if [ -f source/md5sum.txt ]
|
||||
then
|
||||
rm -f source/md5sum.txt
|
||||
fi
|
||||
|
||||
# Calculating md5sums
|
||||
cd source
|
||||
find . -type f -print0 | xargs -0 md5sum > md5sum.txt
|
||||
cd "${OLDPWD}"
|
||||
|
||||
# Creating stage file
|
||||
Create_stagefile .stage/source_md5sum
|
||||
exit 0
|
||||
fi
|
||||
|
||||
# Requiring stage file
|
||||
Require_stagefile .stage/source_download
|
||||
|
||||
# Checking stage file
|
||||
Check_stagefile .stage/source_md5sum
|
||||
|
||||
# Checking lock file
|
||||
Check_lockfile .lock
|
||||
|
||||
# Creating lock file
|
||||
Create_lockfile .lock
|
||||
|
||||
# Remove old md5sums
|
||||
if [ -f source/md5sum.txt ]
|
||||
then
|
||||
rm -f source/md5sum.txt
|
||||
fi
|
||||
|
||||
# Calculating md5sums
|
||||
cd source
|
||||
find . -type f -print0 | xargs -0 md5sum > md5sum.txt
|
||||
cd "${OLDPWD}"
|
||||
|
||||
# Creating stage file
|
||||
Create_stagefile .stage/source_md5sum
|
||||
|
|
|
@ -33,7 +33,7 @@ Set_defaults
|
|||
|
||||
Breakpoint "source_net: Init"
|
||||
|
||||
if [ "${LIVE_SOURCE}" = "disabled" ]
|
||||
if [ "${LIVE_SOURCE}" != "enabled" ]
|
||||
then
|
||||
exit 0
|
||||
fi
|
||||
|
@ -45,15 +45,15 @@ do
|
|||
# Requiring stage file
|
||||
Require_stagefile .stage/source_download
|
||||
|
||||
# Checking stage file
|
||||
Check_stagefile .stage/source_net
|
||||
|
||||
# Checking lock file
|
||||
Check_lockfile .lock
|
||||
|
||||
# Creating lock file
|
||||
Create_lockfile .lock
|
||||
|
||||
# Checking stage file
|
||||
Check_stagefile .stage/source_net
|
||||
|
||||
# Remove old source
|
||||
if [ -f source-net.tar.gz ]
|
||||
then
|
||||
|
|
|
@ -33,7 +33,7 @@ Set_defaults
|
|||
|
||||
Breakpoint "source_usb: Init"
|
||||
|
||||
if [ "${LIVE_SOURCE}" = "disabled" ]
|
||||
if [ "${LIVE_SOURCE}" != "enabled" ]
|
||||
then
|
||||
exit 0
|
||||
fi
|
||||
|
@ -45,15 +45,15 @@ do
|
|||
# Requiring stage file
|
||||
Require_stagefile .stage/source_download
|
||||
|
||||
# Checking stage file
|
||||
Check_stagefile .stage/source_usb
|
||||
|
||||
# Checking lock file
|
||||
Check_lockfile .lock
|
||||
|
||||
# Creating lock file
|
||||
Create_lockfile .lock
|
||||
|
||||
# Checking stage file
|
||||
Check_stagefile .stage/source_usb
|
||||
|
||||
if [ ! -f chroot/sbin/mkdosfs ]
|
||||
then
|
||||
PACKAGES="${PACKAGES} dosfstools"
|
||||
|
|
|
@ -31,13 +31,13 @@ done
|
|||
# Set static variables
|
||||
PROGRAM="`basename ${0}`"
|
||||
DESCRIPTION="utility to build Debian Live systems"
|
||||
USAGE="${PROGRAM} [config] [--mode MODE] [--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] [--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\"] [-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] [--memtest86 enabled|disabled] [--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] [-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]"
|
||||
|
||||
HELP="Lists: gnome, gnome-core, gnome-desktop, gnome-full, gnome-junior, gnustep, kde, kde-core, kde-desktop, kde-extra, kde-full, kde-junior, mini, minimal, minimal-net, rescue, standard, standard-x11, xfce, xfce-desktop, xfce-junior"
|
||||
|
||||
Local_arguments ()
|
||||
{
|
||||
ARGUMENTS="`getopt --longoptions mode:,apt:,apt-ftpproxy:,apt-httpproxy:,apt-generic:,apt-pdiffs:,apt-recommends:,apt-secure:,bootstrap:,cache:,debconf-frontend:,debconf-priority:,genisoimage:,losetup:,root:,architecture:,distribution:,distribution-config:,flavour:,mirror-local:,mirror-local-security:,mirror-generic:,mirror-generic-security:,sections:,interactive:,kernel:,kernel-packages:,keyring-packages:,language:,packages:,packages-lists:,tasks:,security:,symlinks:,sysvinit:,bootappend:,encryption:,username:,hostname:,filesystem:,memtest86:,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:,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 -- "${@}"`"
|
||||
|
||||
if [ "${?}" != "0" ]
|
||||
then
|
||||
|
@ -60,6 +60,10 @@ Local_arguments ()
|
|||
LH_MODE="${2}"; shift 2
|
||||
;;
|
||||
|
||||
--config)
|
||||
LH_CONFIG="${2}"; shift 2
|
||||
;;
|
||||
|
||||
--apt)
|
||||
LH_APT="${2}"; shift 2
|
||||
;;
|
||||
|
@ -104,6 +108,10 @@ Local_arguments ()
|
|||
LH_DEBCONF_PRIORITY="${2}"; shift 2
|
||||
;;
|
||||
|
||||
--debconf-nowarnings)
|
||||
LH_DEBCONF_NOWARNINGS="${2}"; shift 2
|
||||
;;
|
||||
|
||||
--genisoimage)
|
||||
LH_GENISOIMAGE="${2}"; shift 2
|
||||
;;
|
||||
|
@ -171,6 +179,10 @@ Local_arguments ()
|
|||
LIVE_KEYRING_PACKAGS="${2}"; shift 2
|
||||
;;
|
||||
|
||||
--hooks)
|
||||
LIVE_HOOKS="${2}"; shift 2
|
||||
;;
|
||||
|
||||
-l|--language)
|
||||
LIVE_LANGUAGE="${2}"; shift 2
|
||||
;;
|
||||
|
@ -220,8 +232,8 @@ Local_arguments ()
|
|||
LIVE_FILESYSTEM="${2}"; shift 2
|
||||
;;
|
||||
|
||||
--memtest86)
|
||||
LIVE_MEMTEST86="${2}"; shift 2
|
||||
--memtest)
|
||||
LIVE_MEMTEST="${2}"; shift 2
|
||||
;;
|
||||
|
||||
--iso-volume)
|
||||
|
@ -333,7 +345,7 @@ Main ()
|
|||
Local_arguments "${@}"
|
||||
|
||||
# Configuring (this is really shit!)
|
||||
LH_MODE="${LH_MODE}" 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_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_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_MEMTEST86="${LIVE_MEMTEST86}" 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}" 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
|
||||
|
||||
if [ "${LH_BREAKPOINTS}" = "enabled" ]
|
||||
then
|
||||
|
|
|
@ -15,6 +15,8 @@ apt-get remove --purge --yes man-db manpages info
|
|||
apt-get remove --purge --yes ssl wget
|
||||
|
||||
# Removing unused files
|
||||
find . -name *~ | xargs rm -f
|
||||
|
||||
rm -rf /usr/include/*
|
||||
#rm -rf /usr/share/groff/*
|
||||
rm -rf /usr/share/doc/*
|
||||
|
|
|
@ -15,6 +15,8 @@ apt-get remove --purge --yes man-db manpages info
|
|||
apt-get remove --purge --yes ssl wget
|
||||
|
||||
# Removing unused files
|
||||
find . -name *~ | xargs rm -f
|
||||
|
||||
rm -rf /var/cache/man/*
|
||||
|
||||
# Cleaning apt
|
||||
|
|
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
|
@ -1,311 +0,0 @@
|
|||
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0//EN">
|
||||
|
||||
<html>
|
||||
|
||||
<head>
|
||||
|
||||
<meta http-equiv="content-type" content="text/html; charset=iso-8859-1">
|
||||
|
||||
<title>The Debian GNU/Linux FAQ</title>
|
||||
|
||||
</head>
|
||||
|
||||
<body>
|
||||
|
||||
<p><a name="index"></a></p>
|
||||
<hr>
|
||||
|
||||
<p>
|
||||
[ <a href="ch-faqinfo.en.html">previous</a> ]
|
||||
[ <a href="#contents">Contents</a> ]
|
||||
[ <a href="ch-basic_defs.en.html">1</a> ]
|
||||
[ <a href="ch-getting.en.html">2</a> ]
|
||||
[ <a href="ch-compat.en.html">3</a> ]
|
||||
[ <a href="ch-software.en.html">4</a> ]
|
||||
[ <a href="ch-ftparchives.en.html">5</a> ]
|
||||
[ <a href="ch-pkg_basics.en.html">6</a> ]
|
||||
[ <a href="ch-pkgtools.en.html">7</a> ]
|
||||
[ <a href="ch-uptodate.en.html">8</a> ]
|
||||
[ <a href="ch-kernel.en.html">9</a> ]
|
||||
[ <a href="ch-customizing.en.html">10</a> ]
|
||||
[ <a href="ch-support.en.html">11</a> ]
|
||||
[ <a href="ch-contributing.en.html">12</a> ]
|
||||
[ <a href="ch-redistrib.en.html">13</a> ]
|
||||
[ <a href="ch-nexttime.en.html">14</a> ]
|
||||
[ <a href="ch-faqinfo.en.html">15</a> ]
|
||||
[ <a href="ch-basic_defs.en.html">next</a> ]
|
||||
</p>
|
||||
|
||||
<hr>
|
||||
|
||||
<h1>
|
||||
The Debian GNU/Linux FAQ
|
||||
<br></h1>
|
||||
|
||||
<hr>
|
||||
|
||||
<h2><a name="abstract"></a>Abstract</h2>
|
||||
|
||||
<p>
|
||||
This document answers questions frequently asked about Debian GNU/Linux.
|
||||
</p>
|
||||
|
||||
<hr>
|
||||
|
||||
<h2><a name="copyright"></a>Copyright Notice</h2>
|
||||
|
||||
<p>
|
||||
Copyright © 1996-2005 by Software in the Public Interest
|
||||
</p>
|
||||
|
||||
<p>
|
||||
Permission is granted to make and distribute verbatim copies of this document
|
||||
provided the copyright notice and this permission notice are preserved on all
|
||||
copies.
|
||||
</p>
|
||||
|
||||
<p>
|
||||
Permission is granted to copy and distribute modified versions of this document
|
||||
under the conditions for verbatim copying, provided that the entire resulting
|
||||
derived work is distributed under the terms of a permission notice identical to
|
||||
this one.
|
||||
</p>
|
||||
|
||||
<p>
|
||||
Permission is granted to copy and distribute translations of this document into
|
||||
another language, under the above conditions for modified versions, except that
|
||||
this permission notice may be included in translations approved by the Free
|
||||
Software Foundation instead of in the original English.
|
||||
</p>
|
||||
|
||||
<hr>
|
||||
|
||||
<h2><a name="contents"></a>Contents</h2>
|
||||
|
||||
<ul>
|
||||
<li><a href="ch-basic_defs.en.html">1 Definitions and overview</a></li>
|
||||
<li><ul>
|
||||
<li><a href="ch-basic_defs.en.html#s-whatisfaq">1.1 What is this FAQ?</a></li>
|
||||
<li><a href="ch-basic_defs.en.html#s-whatisdebian">1.2 What is Debian GNU/Linux?</a></li>
|
||||
<li><a href="ch-basic_defs.en.html#s-linux">1.3 OK, now I know what Debian is... what is Linux?!</a></li>
|
||||
<li><a href="ch-basic_defs.en.html#s-non-linux">1.4 Does Debian just do GNU/Linux?</a></li>
|
||||
<li><a href="ch-basic_defs.en.html#s-difference">1.5 What is the difference between Debian GNU/Linux and other Linux distributions? Why should I choose Debian over some other distribution?</a></li>
|
||||
<li><a href="ch-basic_defs.en.html#s-gnu">1.6 How does the Debian project fit in or compare with the Free Software Foundation's GNU project?</a></li>
|
||||
<li><a href="ch-basic_defs.en.html#s-pronunciation">1.7 How does one pronounce Debian and what does this word mean?</a></li>
|
||||
</ul></li>
|
||||
<li><a href="ch-getting.en.html">2 Getting and installing Debian GNU/Linux</a></li>
|
||||
<li><ul>
|
||||
<li><a href="ch-getting.en.html#s-version">2.1 What is the latest version of Debian?</a></li>
|
||||
<li><a href="ch-getting.en.html#s-updatestable">2.2 Are there package upgrades in `stable'?</a></li>
|
||||
<li><a href="ch-getting.en.html#s-boot-floppies">2.3 Where/how can I get the Debian installation disks?</a></li>
|
||||
<li><a href="ch-getting.en.html#s-cdrom">2.4 How do I install the Debian from CD-ROMs?</a></li>
|
||||
<li><a href="ch-getting.en.html#s-cdimage-symlinks">2.5 Why does the official stable released CD-ROM contain symlinks for `frozen' and `unstable'? I thought this CD contains just `stable'!</a></li>
|
||||
<li><a href="ch-getting.en.html#s-cdimages">2.6 I have my own CD-writer, are there CD images available somewhere?</a></li>
|
||||
<li><a href="ch-getting.en.html#s-floppy">2.7 Can I install it from a pile of floppy disks?</a></li>
|
||||
<li><a href="ch-getting.en.html#s-remoteinstall">2.8 Can I get and install Debian directly from a remote Internet site?</a></li>
|
||||
</ul></li>
|
||||
<li><a href="ch-compat.en.html">3 Compatibility issues</a></li>
|
||||
<li><ul>
|
||||
<li><a href="ch-compat.en.html#s-arches">3.1 On what hardware architectures/systems does Debian GNU/Linux run?</a></li>
|
||||
<li><a href="ch-compat.en.html#s-otherdistribs">3.2 How compatible is Debian with other distributions of Linux?</a></li>
|
||||
<li><a href="ch-compat.en.html#s-otherunices">3.3 How source code compatible is Debian with other Unix systems?</a></li>
|
||||
<li><a href="ch-compat.en.html#s-otherpackages">3.4 Can I use Debian packages (".deb" files) on my Red Hat/Slackware/... Linux system? Can I use Red Hat packages (".rpm" files) on my Debian GNU/Linux system?</a></li>
|
||||
<li><a href="ch-compat.en.html#s-libc5">3.5 Is Debian able to run my old libc5 programs?</a></li>
|
||||
<li><a href="ch-compat.en.html#s-libc5-compile">3.6 Can Debian be used to compile libc5 programs?</a></li>
|
||||
<li><a href="ch-compat.en.html#s-non-debian-programs">3.7 How should I install a non-Debian program?</a></li>
|
||||
<li><a href="ch-compat.en.html#s-termcap">3.8 Why can't I compile programs that require libtermcap?</a></li>
|
||||
<li><a href="ch-compat.en.html#s-accelx">3.9 Why can't I install AccelX?</a></li>
|
||||
<li><a href="ch-compat.en.html#s-motifnls">3.10 Why do my old XFree 2.1 Motif applications crash?</a></li>
|
||||
</ul></li>
|
||||
<li><a href="ch-software.en.html">4 Software available in the Debian system</a></li>
|
||||
<li><ul>
|
||||
<li><a href="ch-software.en.html#s-apps">4.1 What types of applications and development software are available for Debian GNU/Linux?</a></li>
|
||||
<li><a href="ch-software.en.html#s-softwareauthors">4.2 Who wrote all that software?</a></li>
|
||||
<li><a href="ch-software.en.html#s-pkglist">4.3 How can I get a current list of programs that have been packaged for Debian?</a></li>
|
||||
<li><a href="ch-software.en.html#s-missing">4.4 What is missing from Debian GNU/Linux?</a></li>
|
||||
<li><a href="ch-software.en.html#s-no-devs">4.5 Why do I get "ld: cannot find -lfoo" messages when compiling programs? Why aren't there any libfoo.so files in Debian library packages?</a></li>
|
||||
<li><a href="ch-software.en.html#s-java">4.6 (How) Does Debian support Java?</a></li>
|
||||
<li><a href="ch-software.en.html#s-isitdebian">4.7 How can I check that I am using a Debian system, and what version is it?</a></li>
|
||||
<li><a href="ch-software.en.html#s-nonenglish">4.8 How does Debian support non-English languages?</a></li>
|
||||
<li><a href="ch-software.en.html#s-usexports">4.9 What about the US export regulation limitations?</a></li>
|
||||
<li><a href="ch-software.en.html#s-pine">4.10 Where is pine?</a></li>
|
||||
<li><a href="ch-software.en.html#s-qmail">4.11 Where is qmail/ezmlm/djbdns?</a></li>
|
||||
</ul></li>
|
||||
<li><a href="ch-ftparchives.en.html">5 The Debian FTP archives</a></li>
|
||||
<li><ul>
|
||||
<li><a href="ch-ftparchives.en.html#s-dirtree">5.1 What are all those directories at the Debian FTP archives?</a></li>
|
||||
<li><a href="ch-ftparchives.en.html#s-dists">5.2 How many Debian distributions are there in the <samp>dists</samp> directory?</a></li>
|
||||
<li><a href="ch-ftparchives.en.html#s-codenames">5.3 What are all those names like slink, potato, etc.?</a></li>
|
||||
<li><ul>
|
||||
<li><a href="ch-ftparchives.en.html#s-oldcodenames">5.3.1 Which other codenames have been used in the past?</a></li>
|
||||
<li><a href="ch-ftparchives.en.html#s-sourceforcodenames">5.3.2 Where do these codenames come from?</a></li>
|
||||
</ul></li>
|
||||
<li><a href="ch-ftparchives.en.html#s-sid">5.4 What about "sid"?</a></li>
|
||||
<li><a href="ch-ftparchives.en.html#s-stable">5.5 What does the stable directory contain?</a></li>
|
||||
<li><a href="ch-ftparchives.en.html#s-testing">5.6 What does the testing directory contain?</a></li>
|
||||
<li><ul>
|
||||
<li><a href="ch-ftparchives.en.html#s-frozen">5.6.1 What about "testing"? How is it `frozen'?</a></li>
|
||||
</ul></li>
|
||||
<li><a href="ch-ftparchives.en.html#s-unstable">5.7 What does the unstable directory contain?</a></li>
|
||||
<li><a href="ch-ftparchives.en.html#s-archsections">5.8 What are all those directories inside <samp>dists/stable/main</samp>?</a></li>
|
||||
<li><a href="ch-ftparchives.en.html#s-source">5.9 Where is the source code?</a></li>
|
||||
<li><a href="ch-ftparchives.en.html#s-pools">5.10 What's in the <samp>pool</samp> directory?</a></li>
|
||||
<li><a href="ch-ftparchives.en.html#s-incoming">5.11 What is "incoming"?</a></li>
|
||||
<li><a href="ch-ftparchives.en.html#s-ownrepository">5.12 How do I set up my own apt-able repository?</a></li>
|
||||
</ul></li>
|
||||
<li><a href="ch-pkg_basics.en.html">6 Basics of the Debian package management system</a></li>
|
||||
<li><ul>
|
||||
<li><a href="ch-pkg_basics.en.html#s-package">6.1 What is a Debian package?</a></li>
|
||||
<li><a href="ch-pkg_basics.en.html#s-deb-format">6.2 What is the format of a Debian binary package?</a></li>
|
||||
<li><a href="ch-pkg_basics.en.html#s-pkgname">6.3 Why are Debian package file names so long?</a></li>
|
||||
<li><a href="ch-pkg_basics.en.html#s-controlfile">6.4 What is a Debian control file?</a></li>
|
||||
<li><a href="ch-pkg_basics.en.html#s-conffile">6.5 What is a Debian conffile?</a></li>
|
||||
<li><a href="ch-pkg_basics.en.html#s-maintscripts">6.6 What is a Debian preinst, postinst, prerm, and postrm script?</a></li>
|
||||
<li><a href="ch-pkg_basics.en.html#s-priority">6.7 What is an <em>Essential</em> <em>Required</em>, <em>Important</em>, <em>Standard</em>, <em>Optional</em>, or <em>Extra</em> package?</a></li>
|
||||
<li><a href="ch-pkg_basics.en.html#s-virtual">6.8 What is a Virtual Package?</a></li>
|
||||
<li><a href="ch-pkg_basics.en.html#s-depends">6.9 What is meant by saying that a package <em>Depends</em>, <em>Recommends</em>, <em>Suggests</em>, <em>Conflicts</em>, <em>Replaces</em> or <em>Provides</em> another package?</a></li>
|
||||
<li><a href="ch-pkg_basics.en.html#s-pre-depends">6.10 What is meant by Pre-Depends?</a></li>
|
||||
<li><a href="ch-pkg_basics.en.html#s-pkgstatus">6.11 What is meant by <em>unknown</em>, <em>install</em>, <em>remove</em> <em>purge</em> and <em>hold</em> in the package status?</a></li>
|
||||
<li><a href="ch-pkg_basics.en.html#s-puttingonhold">6.12 How do I put a package on hold?</a></li>
|
||||
<li><a href="ch-pkg_basics.en.html#s-sourcepkgs">6.13 How do I install a source package?</a></li>
|
||||
<li><a href="ch-pkg_basics.en.html#s-sourcebuild">6.14 How do I build binary packages from a source package?</a></li>
|
||||
<li><a href="ch-pkg_basics.en.html#s-creatingdebs">6.15 How do I create Debian packages myself?</a></li>
|
||||
</ul></li>
|
||||
<li><a href="ch-pkgtools.en.html">7 The Debian package management tools</a></li>
|
||||
<li><ul>
|
||||
<li><a href="ch-pkgtools.en.html#s-pkgprogs">7.1 What programs does Debian provide for managing its packages?</a></li>
|
||||
<li><ul>
|
||||
<li><a href="ch-pkgtools.en.html#s-dpkg">7.1.1 dpkg</a></li>
|
||||
<li><a href="ch-pkgtools.en.html#s-apt-get">7.1.2 APT</a></li>
|
||||
<li><a href="ch-pkgtools.en.html#s-aptitude">7.1.3 aptitude</a></li>
|
||||
<li><a href="ch-pkgtools.en.html#s-dselect">7.1.4 dselect</a></li>
|
||||
<li><a href="ch-pkgtools.en.html#s-dpkg-extra">7.1.5 Other package management tools</a></li>
|
||||
</ul></li>
|
||||
<li><a href="ch-pkgtools.en.html#s-updaterunning">7.2 Debian claims to be able to update a running program; how is this accomplished?</a></li>
|
||||
<li><a href="ch-pkgtools.en.html#s-whatpackages">7.3 How can I tell what packages are already installed on a Debian system?</a></li>
|
||||
<li><a href="ch-pkgtools.en.html#s-filesearch">7.4 How can I find out what package produced a particular file?</a></li>
|
||||
<li><a href="ch-pkgtools.en.html#s-datapackages">7.5 Why doesn't get `foo-data' removed when I uninstall `foo'? How do I make sure old unused library-packages get purged?</a></li>
|
||||
</ul></li>
|
||||
<li><a href="ch-uptodate.en.html">8 Keeping your Debian system up-to-date</a></li>
|
||||
<li><ul>
|
||||
<li><a href="ch-uptodate.en.html#s-libc5to6upgrade">8.1 How can I upgrade my Debian 1.3.1 (or earlier) distribution, based on libc5, to 2.0 (or later), based on libc6?</a></li>
|
||||
<li><a href="ch-uptodate.en.html#s-howtocurrent">8.2 How can I keep my Debian system current?</a></li>
|
||||
<li><ul>
|
||||
<li><a href="ch-uptodate.en.html#s-aptitude-upgrade">8.2.1 aptitude</a></li>
|
||||
<li><a href="ch-uptodate.en.html#s-apt">8.2.2 apt-get, dselect and apt-cdrom</a></li>
|
||||
<li><a href="ch-uptodate.en.html#s-dpkg-ftp">8.2.3 dpkg-ftp</a></li>
|
||||
<li><a href="ch-uptodate.en.html#s-mirror">8.2.4 mirror</a></li>
|
||||
<li><a href="ch-uptodate.en.html#s-dpkg-mountable">8.2.5 dpkg-mountable</a></li>
|
||||
</ul></li>
|
||||
<li><a href="ch-uptodate.en.html#s-upgradesingle">8.3 Must I go into single user mode in order to upgrade a package?</a></li>
|
||||
<li><a href="ch-uptodate.en.html#s-savedebs">8.4 Do I have to keep all those .deb archive files on my disk?</a></li>
|
||||
<li><a href="ch-uptodate.en.html#s-keepingalog">8.5 How can I keep a log of the packages I added to the system? I'd like to know when which package upgrades and removals have occured!</a></li>
|
||||
</ul></li>
|
||||
<li><a href="ch-kernel.en.html">9 Debian and the kernel</a></li>
|
||||
<li><ul>
|
||||
<li><a href="ch-kernel.en.html#s-non-debian-kernel">9.1 Can I install and compile a kernel without some Debian-specific tweaking?</a></li>
|
||||
<li><a href="ch-kernel.en.html#s-customkernel">9.2 What tools does Debian provide to build custom kernels?</a></li>
|
||||
<li><a href="ch-kernel.en.html#s-custombootdisk">9.3 How can I make a custom boot floppy?</a></li>
|
||||
<li><a href="ch-kernel.en.html#s-modules">9.4 What special provisions does Debian provide to deal with modules?</a></li>
|
||||
<li><a href="ch-kernel.en.html#s-removeoldkernel">9.5 Can I safely de-install an old kernel package, and if so, how?</a></li>
|
||||
</ul></li>
|
||||
<li><a href="ch-customizing.en.html">10 Customizing your installation of Debian GNU/Linux</a></li>
|
||||
<li><ul>
|
||||
<li><a href="ch-customizing.en.html#s-papersize">10.1 How can I ensure that all programs use the same paper size?</a></li>
|
||||
<li><a href="ch-customizing.en.html#s-hardwareaccess">10.2 How can I provide access to hardware peripherals, without compromising security?</a></li>
|
||||
<li><a href="ch-customizing.en.html#s-consolefont">10.3 How do I load a console font on startup the Debian way?</a></li>
|
||||
<li><a href="ch-customizing.en.html#s-appdefaults">10.4 How can I configure an X11 program's application defaults?</a></li>
|
||||
<li><a href="ch-customizing.en.html#s-booting">10.5 Every distribution seems to have a different boot-up method. Tell me about Debian's.</a></li>
|
||||
<li><a href="ch-customizing.en.html#s-custombootscripts">10.6 It looks as if Debian does not use <samp>rc.local</samp> to customize the boot process; what facilities are provided?</a></li>
|
||||
<li><a href="ch-customizing.en.html#s-interconffiles">10.7 How does the package management system deal with packages that contain configuration files for other packages?</a></li>
|
||||
<li><a href="ch-customizing.en.html#s-divert">10.8 How do I override a file installed by a package, so that a different version can be used instead?</a></li>
|
||||
<li><a href="ch-customizing.en.html#s-localpackages">10.9 How can I have my locally-built package included in the list of available packages that the package management system knows about?</a></li>
|
||||
<li><a href="ch-customizing.en.html#s-diverse">10.10 Some users like mawk, others like gawk; some like vim, others like elvis; some like trn, others like tin; how does Debian support diversity?</a></li>
|
||||
</ul></li>
|
||||
<li><a href="ch-support.en.html">11 Getting support for Debian GNU/Linux</a></li>
|
||||
<li><ul>
|
||||
<li><a href="ch-support.en.html#s-debiandocs">11.1 What other documentation exists on and for a Debian system?</a></li>
|
||||
<li><a href="ch-support.en.html#s-onlineresources">11.2 Are there any on-line resources for discussing Debian?</a></li>
|
||||
<li><ul>
|
||||
<li><a href="ch-support.en.html#s11.2.1">11.2.1 Mailing lists</a></li>
|
||||
<li><a href="ch-support.en.html#s11.2.2">11.2.2 Maintainers</a></li>
|
||||
<li><a href="ch-support.en.html#s11.2.3">11.2.3 Usenet newsgroups</a></li>
|
||||
</ul></li>
|
||||
<li><a href="ch-support.en.html#s-searchtools">11.3 Is there a quick way to search for information on Debian GNU/Linux?</a></li>
|
||||
<li><a href="ch-support.en.html#s-buglogs">11.4 Are there logs of known bugs?</a></li>
|
||||
<li><a href="ch-support.en.html#s-bugreport">11.5 How do I report a bug in Debian?</a></li>
|
||||
</ul></li>
|
||||
<li><a href="ch-contributing.en.html">12 Contributing to the Debian Project</a></li>
|
||||
<li><ul>
|
||||
<li><a href="ch-contributing.en.html#s-contrib">12.1 How can I become a Debian software developer?</a></li>
|
||||
<li><a href="ch-contributing.en.html#s-contribresources">12.2 How can I contribute resources to the Debian project?</a></li>
|
||||
<li><a href="ch-contributing.en.html#s-supportingorganizations">12.3 How can I contribute financially to the Debian project?</a></li>
|
||||
<li><ul>
|
||||
<li><a href="ch-contributing.en.html#s-SPI">12.3.1 Software in the Public Interest</a></li>
|
||||
<li><a href="ch-contributing.en.html#s-FSF">12.3.2 Free Software Foundation</a></li>
|
||||
</ul></li>
|
||||
</ul></li>
|
||||
<li><a href="ch-redistrib.en.html">13 Redistributing Debian GNU/Linux in a commercial product</a></li>
|
||||
<li><ul>
|
||||
<li><a href="ch-redistrib.en.html#s-sellcds">13.1 Can I make and sell Debian CDs?</a></li>
|
||||
<li><a href="ch-redistrib.en.html#s-packagednonfree">13.2 Can Debian be packaged with non-free software?</a></li>
|
||||
<li><a href="ch-redistrib.en.html#s-childistro">13.3 I am making a special Linux distribution for a "vertical market". Can I use Debian GNU/Linux for the guts of a Linux system and add my own applications on top of it?</a></li>
|
||||
<li><a href="ch-redistrib.en.html#s-commercialdebs">13.4 Can I put my commercial program in a Debian "package" so that it installs effortlessly on any Debian system?</a></li>
|
||||
</ul></li>
|
||||
<li><a href="ch-nexttime.en.html">14 Changes expected in the next major release of Debian</a></li>
|
||||
<li><ul>
|
||||
<li><a href="ch-nexttime.en.html#s-security">14.1 Increased security</a></li>
|
||||
<li><a href="ch-nexttime.en.html#s-i18n">14.2 Extended support for non-English users</a></li>
|
||||
<li><a href="ch-nexttime.en.html#s-morearches">14.3 More architectures</a></li>
|
||||
<li><a href="ch-nexttime.en.html#s-morekernels">14.4 More kernels</a></li>
|
||||
</ul></li>
|
||||
<li><a href="ch-faqinfo.en.html">15 General information about the FAQ</a></li>
|
||||
<li><ul>
|
||||
<li><a href="ch-faqinfo.en.html#s-authors">15.1 Authors</a></li>
|
||||
<li><a href="ch-faqinfo.en.html#s-feedback">15.2 Feedback</a></li>
|
||||
<li><a href="ch-faqinfo.en.html#s-latest">15.3 Availability</a></li>
|
||||
<li><a href="ch-faqinfo.en.html#s-docformat">15.4 Document format</a></li>
|
||||
</ul></li>
|
||||
</ul>
|
||||
|
||||
<hr>
|
||||
|
||||
<p>
|
||||
[ <a href="ch-faqinfo.en.html">previous</a> ]
|
||||
[ <a href="#contents">Contents</a> ]
|
||||
[ <a href="ch-basic_defs.en.html">1</a> ]
|
||||
[ <a href="ch-getting.en.html">2</a> ]
|
||||
[ <a href="ch-compat.en.html">3</a> ]
|
||||
[ <a href="ch-software.en.html">4</a> ]
|
||||
[ <a href="ch-ftparchives.en.html">5</a> ]
|
||||
[ <a href="ch-pkg_basics.en.html">6</a> ]
|
||||
[ <a href="ch-pkgtools.en.html">7</a> ]
|
||||
[ <a href="ch-uptodate.en.html">8</a> ]
|
||||
[ <a href="ch-kernel.en.html">9</a> ]
|
||||
[ <a href="ch-customizing.en.html">10</a> ]
|
||||
[ <a href="ch-support.en.html">11</a> ]
|
||||
[ <a href="ch-contributing.en.html">12</a> ]
|
||||
[ <a href="ch-redistrib.en.html">13</a> ]
|
||||
[ <a href="ch-nexttime.en.html">14</a> ]
|
||||
[ <a href="ch-faqinfo.en.html">15</a> ]
|
||||
[ <a href="ch-basic_defs.en.html">next</a> ]
|
||||
</p>
|
||||
|
||||
<hr>
|
||||
|
||||
<p>
|
||||
The Debian GNU/Linux FAQ
|
||||
</p>
|
||||
|
||||
<address>
|
||||
version 3.1.3, 25 April 2006<br>
|
||||
<br>
|
||||
Authors are listed at <a href="ch-faqinfo.en.html#s-authors">Debian FAQ Authors</a><br>
|
||||
<br>
|
||||
</address>
|
||||
<hr>
|
||||
|
||||
</body>
|
||||
|
||||
</html>
|
||||
|
|
@ -1,311 +0,0 @@
|
|||
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0//EN">
|
||||
|
||||
<html>
|
||||
|
||||
<head>
|
||||
|
||||
<meta http-equiv="content-type" content="text/html; charset=iso-8859-1">
|
||||
|
||||
<title>The Debian GNU/Linux FAQ</title>
|
||||
|
||||
</head>
|
||||
|
||||
<body>
|
||||
|
||||
<p><a name="index"></a></p>
|
||||
<hr>
|
||||
|
||||
<p>
|
||||
[ <a href="ch-faqinfo.en.html">previous</a> ]
|
||||
[ <a href="#contents">Contents</a> ]
|
||||
[ <a href="ch-basic_defs.en.html">1</a> ]
|
||||
[ <a href="ch-getting.en.html">2</a> ]
|
||||
[ <a href="ch-compat.en.html">3</a> ]
|
||||
[ <a href="ch-software.en.html">4</a> ]
|
||||
[ <a href="ch-ftparchives.en.html">5</a> ]
|
||||
[ <a href="ch-pkg_basics.en.html">6</a> ]
|
||||
[ <a href="ch-pkgtools.en.html">7</a> ]
|
||||
[ <a href="ch-uptodate.en.html">8</a> ]
|
||||
[ <a href="ch-kernel.en.html">9</a> ]
|
||||
[ <a href="ch-customizing.en.html">10</a> ]
|
||||
[ <a href="ch-support.en.html">11</a> ]
|
||||
[ <a href="ch-contributing.en.html">12</a> ]
|
||||
[ <a href="ch-redistrib.en.html">13</a> ]
|
||||
[ <a href="ch-nexttime.en.html">14</a> ]
|
||||
[ <a href="ch-faqinfo.en.html">15</a> ]
|
||||
[ <a href="ch-basic_defs.en.html">next</a> ]
|
||||
</p>
|
||||
|
||||
<hr>
|
||||
|
||||
<h1>
|
||||
The Debian GNU/Linux FAQ
|
||||
<br></h1>
|
||||
|
||||
<hr>
|
||||
|
||||
<h2><a name="abstract"></a>Abstract</h2>
|
||||
|
||||
<p>
|
||||
This document answers questions frequently asked about Debian GNU/Linux.
|
||||
</p>
|
||||
|
||||
<hr>
|
||||
|
||||
<h2><a name="copyright"></a>Copyright Notice</h2>
|
||||
|
||||
<p>
|
||||
Copyright © 1996-2005 by Software in the Public Interest
|
||||
</p>
|
||||
|
||||
<p>
|
||||
Permission is granted to make and distribute verbatim copies of this document
|
||||
provided the copyright notice and this permission notice are preserved on all
|
||||
copies.
|
||||
</p>
|
||||
|
||||
<p>
|
||||
Permission is granted to copy and distribute modified versions of this document
|
||||
under the conditions for verbatim copying, provided that the entire resulting
|
||||
derived work is distributed under the terms of a permission notice identical to
|
||||
this one.
|
||||
</p>
|
||||
|
||||
<p>
|
||||
Permission is granted to copy and distribute translations of this document into
|
||||
another language, under the above conditions for modified versions, except that
|
||||
this permission notice may be included in translations approved by the Free
|
||||
Software Foundation instead of in the original English.
|
||||
</p>
|
||||
|
||||
<hr>
|
||||
|
||||
<h2><a name="contents"></a>Contents</h2>
|
||||
|
||||
<ul>
|
||||
<li><a href="ch-basic_defs.en.html">1 Definitions and overview</a></li>
|
||||
<li><ul>
|
||||
<li><a href="ch-basic_defs.en.html#s-whatisfaq">1.1 What is this FAQ?</a></li>
|
||||
<li><a href="ch-basic_defs.en.html#s-whatisdebian">1.2 What is Debian GNU/Linux?</a></li>
|
||||
<li><a href="ch-basic_defs.en.html#s-linux">1.3 OK, now I know what Debian is... what is Linux?!</a></li>
|
||||
<li><a href="ch-basic_defs.en.html#s-non-linux">1.4 Does Debian just do GNU/Linux?</a></li>
|
||||
<li><a href="ch-basic_defs.en.html#s-difference">1.5 What is the difference between Debian GNU/Linux and other Linux distributions? Why should I choose Debian over some other distribution?</a></li>
|
||||
<li><a href="ch-basic_defs.en.html#s-gnu">1.6 How does the Debian project fit in or compare with the Free Software Foundation's GNU project?</a></li>
|
||||
<li><a href="ch-basic_defs.en.html#s-pronunciation">1.7 How does one pronounce Debian and what does this word mean?</a></li>
|
||||
</ul></li>
|
||||
<li><a href="ch-getting.en.html">2 Getting and installing Debian GNU/Linux</a></li>
|
||||
<li><ul>
|
||||
<li><a href="ch-getting.en.html#s-version">2.1 What is the latest version of Debian?</a></li>
|
||||
<li><a href="ch-getting.en.html#s-updatestable">2.2 Are there package upgrades in `stable'?</a></li>
|
||||
<li><a href="ch-getting.en.html#s-boot-floppies">2.3 Where/how can I get the Debian installation disks?</a></li>
|
||||
<li><a href="ch-getting.en.html#s-cdrom">2.4 How do I install the Debian from CD-ROMs?</a></li>
|
||||
<li><a href="ch-getting.en.html#s-cdimage-symlinks">2.5 Why does the official stable released CD-ROM contain symlinks for `frozen' and `unstable'? I thought this CD contains just `stable'!</a></li>
|
||||
<li><a href="ch-getting.en.html#s-cdimages">2.6 I have my own CD-writer, are there CD images available somewhere?</a></li>
|
||||
<li><a href="ch-getting.en.html#s-floppy">2.7 Can I install it from a pile of floppy disks?</a></li>
|
||||
<li><a href="ch-getting.en.html#s-remoteinstall">2.8 Can I get and install Debian directly from a remote Internet site?</a></li>
|
||||
</ul></li>
|
||||
<li><a href="ch-compat.en.html">3 Compatibility issues</a></li>
|
||||
<li><ul>
|
||||
<li><a href="ch-compat.en.html#s-arches">3.1 On what hardware architectures/systems does Debian GNU/Linux run?</a></li>
|
||||
<li><a href="ch-compat.en.html#s-otherdistribs">3.2 How compatible is Debian with other distributions of Linux?</a></li>
|
||||
<li><a href="ch-compat.en.html#s-otherunices">3.3 How source code compatible is Debian with other Unix systems?</a></li>
|
||||
<li><a href="ch-compat.en.html#s-otherpackages">3.4 Can I use Debian packages (".deb" files) on my Red Hat/Slackware/... Linux system? Can I use Red Hat packages (".rpm" files) on my Debian GNU/Linux system?</a></li>
|
||||
<li><a href="ch-compat.en.html#s-libc5">3.5 Is Debian able to run my old libc5 programs?</a></li>
|
||||
<li><a href="ch-compat.en.html#s-libc5-compile">3.6 Can Debian be used to compile libc5 programs?</a></li>
|
||||
<li><a href="ch-compat.en.html#s-non-debian-programs">3.7 How should I install a non-Debian program?</a></li>
|
||||
<li><a href="ch-compat.en.html#s-termcap">3.8 Why can't I compile programs that require libtermcap?</a></li>
|
||||
<li><a href="ch-compat.en.html#s-accelx">3.9 Why can't I install AccelX?</a></li>
|
||||
<li><a href="ch-compat.en.html#s-motifnls">3.10 Why do my old XFree 2.1 Motif applications crash?</a></li>
|
||||
</ul></li>
|
||||
<li><a href="ch-software.en.html">4 Software available in the Debian system</a></li>
|
||||
<li><ul>
|
||||
<li><a href="ch-software.en.html#s-apps">4.1 What types of applications and development software are available for Debian GNU/Linux?</a></li>
|
||||
<li><a href="ch-software.en.html#s-softwareauthors">4.2 Who wrote all that software?</a></li>
|
||||
<li><a href="ch-software.en.html#s-pkglist">4.3 How can I get a current list of programs that have been packaged for Debian?</a></li>
|
||||
<li><a href="ch-software.en.html#s-missing">4.4 What is missing from Debian GNU/Linux?</a></li>
|
||||
<li><a href="ch-software.en.html#s-no-devs">4.5 Why do I get "ld: cannot find -lfoo" messages when compiling programs? Why aren't there any libfoo.so files in Debian library packages?</a></li>
|
||||
<li><a href="ch-software.en.html#s-java">4.6 (How) Does Debian support Java?</a></li>
|
||||
<li><a href="ch-software.en.html#s-isitdebian">4.7 How can I check that I am using a Debian system, and what version is it?</a></li>
|
||||
<li><a href="ch-software.en.html#s-nonenglish">4.8 How does Debian support non-English languages?</a></li>
|
||||
<li><a href="ch-software.en.html#s-usexports">4.9 What about the US export regulation limitations?</a></li>
|
||||
<li><a href="ch-software.en.html#s-pine">4.10 Where is pine?</a></li>
|
||||
<li><a href="ch-software.en.html#s-qmail">4.11 Where is qmail/ezmlm/djbdns?</a></li>
|
||||
</ul></li>
|
||||
<li><a href="ch-ftparchives.en.html">5 The Debian FTP archives</a></li>
|
||||
<li><ul>
|
||||
<li><a href="ch-ftparchives.en.html#s-dirtree">5.1 What are all those directories at the Debian FTP archives?</a></li>
|
||||
<li><a href="ch-ftparchives.en.html#s-dists">5.2 How many Debian distributions are there in the <samp>dists</samp> directory?</a></li>
|
||||
<li><a href="ch-ftparchives.en.html#s-codenames">5.3 What are all those names like slink, potato, etc.?</a></li>
|
||||
<li><ul>
|
||||
<li><a href="ch-ftparchives.en.html#s-oldcodenames">5.3.1 Which other codenames have been used in the past?</a></li>
|
||||
<li><a href="ch-ftparchives.en.html#s-sourceforcodenames">5.3.2 Where do these codenames come from?</a></li>
|
||||
</ul></li>
|
||||
<li><a href="ch-ftparchives.en.html#s-sid">5.4 What about "sid"?</a></li>
|
||||
<li><a href="ch-ftparchives.en.html#s-stable">5.5 What does the stable directory contain?</a></li>
|
||||
<li><a href="ch-ftparchives.en.html#s-testing">5.6 What does the testing directory contain?</a></li>
|
||||
<li><ul>
|
||||
<li><a href="ch-ftparchives.en.html#s-frozen">5.6.1 What about "testing"? How is it `frozen'?</a></li>
|
||||
</ul></li>
|
||||
<li><a href="ch-ftparchives.en.html#s-unstable">5.7 What does the unstable directory contain?</a></li>
|
||||
<li><a href="ch-ftparchives.en.html#s-archsections">5.8 What are all those directories inside <samp>dists/stable/main</samp>?</a></li>
|
||||
<li><a href="ch-ftparchives.en.html#s-source">5.9 Where is the source code?</a></li>
|
||||
<li><a href="ch-ftparchives.en.html#s-pools">5.10 What's in the <samp>pool</samp> directory?</a></li>
|
||||
<li><a href="ch-ftparchives.en.html#s-incoming">5.11 What is "incoming"?</a></li>
|
||||
<li><a href="ch-ftparchives.en.html#s-ownrepository">5.12 How do I set up my own apt-able repository?</a></li>
|
||||
</ul></li>
|
||||
<li><a href="ch-pkg_basics.en.html">6 Basics of the Debian package management system</a></li>
|
||||
<li><ul>
|
||||
<li><a href="ch-pkg_basics.en.html#s-package">6.1 What is a Debian package?</a></li>
|
||||
<li><a href="ch-pkg_basics.en.html#s-deb-format">6.2 What is the format of a Debian binary package?</a></li>
|
||||
<li><a href="ch-pkg_basics.en.html#s-pkgname">6.3 Why are Debian package file names so long?</a></li>
|
||||
<li><a href="ch-pkg_basics.en.html#s-controlfile">6.4 What is a Debian control file?</a></li>
|
||||
<li><a href="ch-pkg_basics.en.html#s-conffile">6.5 What is a Debian conffile?</a></li>
|
||||
<li><a href="ch-pkg_basics.en.html#s-maintscripts">6.6 What is a Debian preinst, postinst, prerm, and postrm script?</a></li>
|
||||
<li><a href="ch-pkg_basics.en.html#s-priority">6.7 What is an <em>Essential</em> <em>Required</em>, <em>Important</em>, <em>Standard</em>, <em>Optional</em>, or <em>Extra</em> package?</a></li>
|
||||
<li><a href="ch-pkg_basics.en.html#s-virtual">6.8 What is a Virtual Package?</a></li>
|
||||
<li><a href="ch-pkg_basics.en.html#s-depends">6.9 What is meant by saying that a package <em>Depends</em>, <em>Recommends</em>, <em>Suggests</em>, <em>Conflicts</em>, <em>Replaces</em> or <em>Provides</em> another package?</a></li>
|
||||
<li><a href="ch-pkg_basics.en.html#s-pre-depends">6.10 What is meant by Pre-Depends?</a></li>
|
||||
<li><a href="ch-pkg_basics.en.html#s-pkgstatus">6.11 What is meant by <em>unknown</em>, <em>install</em>, <em>remove</em> <em>purge</em> and <em>hold</em> in the package status?</a></li>
|
||||
<li><a href="ch-pkg_basics.en.html#s-puttingonhold">6.12 How do I put a package on hold?</a></li>
|
||||
<li><a href="ch-pkg_basics.en.html#s-sourcepkgs">6.13 How do I install a source package?</a></li>
|
||||
<li><a href="ch-pkg_basics.en.html#s-sourcebuild">6.14 How do I build binary packages from a source package?</a></li>
|
||||
<li><a href="ch-pkg_basics.en.html#s-creatingdebs">6.15 How do I create Debian packages myself?</a></li>
|
||||
</ul></li>
|
||||
<li><a href="ch-pkgtools.en.html">7 The Debian package management tools</a></li>
|
||||
<li><ul>
|
||||
<li><a href="ch-pkgtools.en.html#s-pkgprogs">7.1 What programs does Debian provide for managing its packages?</a></li>
|
||||
<li><ul>
|
||||
<li><a href="ch-pkgtools.en.html#s-dpkg">7.1.1 dpkg</a></li>
|
||||
<li><a href="ch-pkgtools.en.html#s-apt-get">7.1.2 APT</a></li>
|
||||
<li><a href="ch-pkgtools.en.html#s-aptitude">7.1.3 aptitude</a></li>
|
||||
<li><a href="ch-pkgtools.en.html#s-dselect">7.1.4 dselect</a></li>
|
||||
<li><a href="ch-pkgtools.en.html#s-dpkg-extra">7.1.5 Other package management tools</a></li>
|
||||
</ul></li>
|
||||
<li><a href="ch-pkgtools.en.html#s-updaterunning">7.2 Debian claims to be able to update a running program; how is this accomplished?</a></li>
|
||||
<li><a href="ch-pkgtools.en.html#s-whatpackages">7.3 How can I tell what packages are already installed on a Debian system?</a></li>
|
||||
<li><a href="ch-pkgtools.en.html#s-filesearch">7.4 How can I find out what package produced a particular file?</a></li>
|
||||
<li><a href="ch-pkgtools.en.html#s-datapackages">7.5 Why doesn't get `foo-data' removed when I uninstall `foo'? How do I make sure old unused library-packages get purged?</a></li>
|
||||
</ul></li>
|
||||
<li><a href="ch-uptodate.en.html">8 Keeping your Debian system up-to-date</a></li>
|
||||
<li><ul>
|
||||
<li><a href="ch-uptodate.en.html#s-libc5to6upgrade">8.1 How can I upgrade my Debian 1.3.1 (or earlier) distribution, based on libc5, to 2.0 (or later), based on libc6?</a></li>
|
||||
<li><a href="ch-uptodate.en.html#s-howtocurrent">8.2 How can I keep my Debian system current?</a></li>
|
||||
<li><ul>
|
||||
<li><a href="ch-uptodate.en.html#s-aptitude-upgrade">8.2.1 aptitude</a></li>
|
||||
<li><a href="ch-uptodate.en.html#s-apt">8.2.2 apt-get, dselect and apt-cdrom</a></li>
|
||||
<li><a href="ch-uptodate.en.html#s-dpkg-ftp">8.2.3 dpkg-ftp</a></li>
|
||||
<li><a href="ch-uptodate.en.html#s-mirror">8.2.4 mirror</a></li>
|
||||
<li><a href="ch-uptodate.en.html#s-dpkg-mountable">8.2.5 dpkg-mountable</a></li>
|
||||
</ul></li>
|
||||
<li><a href="ch-uptodate.en.html#s-upgradesingle">8.3 Must I go into single user mode in order to upgrade a package?</a></li>
|
||||
<li><a href="ch-uptodate.en.html#s-savedebs">8.4 Do I have to keep all those .deb archive files on my disk?</a></li>
|
||||
<li><a href="ch-uptodate.en.html#s-keepingalog">8.5 How can I keep a log of the packages I added to the system? I'd like to know when which package upgrades and removals have occured!</a></li>
|
||||
</ul></li>
|
||||
<li><a href="ch-kernel.en.html">9 Debian and the kernel</a></li>
|
||||
<li><ul>
|
||||
<li><a href="ch-kernel.en.html#s-non-debian-kernel">9.1 Can I install and compile a kernel without some Debian-specific tweaking?</a></li>
|
||||
<li><a href="ch-kernel.en.html#s-customkernel">9.2 What tools does Debian provide to build custom kernels?</a></li>
|
||||
<li><a href="ch-kernel.en.html#s-custombootdisk">9.3 How can I make a custom boot floppy?</a></li>
|
||||
<li><a href="ch-kernel.en.html#s-modules">9.4 What special provisions does Debian provide to deal with modules?</a></li>
|
||||
<li><a href="ch-kernel.en.html#s-removeoldkernel">9.5 Can I safely de-install an old kernel package, and if so, how?</a></li>
|
||||
</ul></li>
|
||||
<li><a href="ch-customizing.en.html">10 Customizing your installation of Debian GNU/Linux</a></li>
|
||||
<li><ul>
|
||||
<li><a href="ch-customizing.en.html#s-papersize">10.1 How can I ensure that all programs use the same paper size?</a></li>
|
||||
<li><a href="ch-customizing.en.html#s-hardwareaccess">10.2 How can I provide access to hardware peripherals, without compromising security?</a></li>
|
||||
<li><a href="ch-customizing.en.html#s-consolefont">10.3 How do I load a console font on startup the Debian way?</a></li>
|
||||
<li><a href="ch-customizing.en.html#s-appdefaults">10.4 How can I configure an X11 program's application defaults?</a></li>
|
||||
<li><a href="ch-customizing.en.html#s-booting">10.5 Every distribution seems to have a different boot-up method. Tell me about Debian's.</a></li>
|
||||
<li><a href="ch-customizing.en.html#s-custombootscripts">10.6 It looks as if Debian does not use <samp>rc.local</samp> to customize the boot process; what facilities are provided?</a></li>
|
||||
<li><a href="ch-customizing.en.html#s-interconffiles">10.7 How does the package management system deal with packages that contain configuration files for other packages?</a></li>
|
||||
<li><a href="ch-customizing.en.html#s-divert">10.8 How do I override a file installed by a package, so that a different version can be used instead?</a></li>
|
||||
<li><a href="ch-customizing.en.html#s-localpackages">10.9 How can I have my locally-built package included in the list of available packages that the package management system knows about?</a></li>
|
||||
<li><a href="ch-customizing.en.html#s-diverse">10.10 Some users like mawk, others like gawk; some like vim, others like elvis; some like trn, others like tin; how does Debian support diversity?</a></li>
|
||||
</ul></li>
|
||||
<li><a href="ch-support.en.html">11 Getting support for Debian GNU/Linux</a></li>
|
||||
<li><ul>
|
||||
<li><a href="ch-support.en.html#s-debiandocs">11.1 What other documentation exists on and for a Debian system?</a></li>
|
||||
<li><a href="ch-support.en.html#s-onlineresources">11.2 Are there any on-line resources for discussing Debian?</a></li>
|
||||
<li><ul>
|
||||
<li><a href="ch-support.en.html#s11.2.1">11.2.1 Mailing lists</a></li>
|
||||
<li><a href="ch-support.en.html#s11.2.2">11.2.2 Maintainers</a></li>
|
||||
<li><a href="ch-support.en.html#s11.2.3">11.2.3 Usenet newsgroups</a></li>
|
||||
</ul></li>
|
||||
<li><a href="ch-support.en.html#s-searchtools">11.3 Is there a quick way to search for information on Debian GNU/Linux?</a></li>
|
||||
<li><a href="ch-support.en.html#s-buglogs">11.4 Are there logs of known bugs?</a></li>
|
||||
<li><a href="ch-support.en.html#s-bugreport">11.5 How do I report a bug in Debian?</a></li>
|
||||
</ul></li>
|
||||
<li><a href="ch-contributing.en.html">12 Contributing to the Debian Project</a></li>
|
||||
<li><ul>
|
||||
<li><a href="ch-contributing.en.html#s-contrib">12.1 How can I become a Debian software developer?</a></li>
|
||||
<li><a href="ch-contributing.en.html#s-contribresources">12.2 How can I contribute resources to the Debian project?</a></li>
|
||||
<li><a href="ch-contributing.en.html#s-supportingorganizations">12.3 How can I contribute financially to the Debian project?</a></li>
|
||||
<li><ul>
|
||||
<li><a href="ch-contributing.en.html#s-SPI">12.3.1 Software in the Public Interest</a></li>
|
||||
<li><a href="ch-contributing.en.html#s-FSF">12.3.2 Free Software Foundation</a></li>
|
||||
</ul></li>
|
||||
</ul></li>
|
||||
<li><a href="ch-redistrib.en.html">13 Redistributing Debian GNU/Linux in a commercial product</a></li>
|
||||
<li><ul>
|
||||
<li><a href="ch-redistrib.en.html#s-sellcds">13.1 Can I make and sell Debian CDs?</a></li>
|
||||
<li><a href="ch-redistrib.en.html#s-packagednonfree">13.2 Can Debian be packaged with non-free software?</a></li>
|
||||
<li><a href="ch-redistrib.en.html#s-childistro">13.3 I am making a special Linux distribution for a "vertical market". Can I use Debian GNU/Linux for the guts of a Linux system and add my own applications on top of it?</a></li>
|
||||
<li><a href="ch-redistrib.en.html#s-commercialdebs">13.4 Can I put my commercial program in a Debian "package" so that it installs effortlessly on any Debian system?</a></li>
|
||||
</ul></li>
|
||||
<li><a href="ch-nexttime.en.html">14 Changes expected in the next major release of Debian</a></li>
|
||||
<li><ul>
|
||||
<li><a href="ch-nexttime.en.html#s-security">14.1 Increased security</a></li>
|
||||
<li><a href="ch-nexttime.en.html#s-i18n">14.2 Extended support for non-English users</a></li>
|
||||
<li><a href="ch-nexttime.en.html#s-morearches">14.3 More architectures</a></li>
|
||||
<li><a href="ch-nexttime.en.html#s-morekernels">14.4 More kernels</a></li>
|
||||
</ul></li>
|
||||
<li><a href="ch-faqinfo.en.html">15 General information about the FAQ</a></li>
|
||||
<li><ul>
|
||||
<li><a href="ch-faqinfo.en.html#s-authors">15.1 Authors</a></li>
|
||||
<li><a href="ch-faqinfo.en.html#s-feedback">15.2 Feedback</a></li>
|
||||
<li><a href="ch-faqinfo.en.html#s-latest">15.3 Availability</a></li>
|
||||
<li><a href="ch-faqinfo.en.html#s-docformat">15.4 Document format</a></li>
|
||||
</ul></li>
|
||||
</ul>
|
||||
|
||||
<hr>
|
||||
|
||||
<p>
|
||||
[ <a href="ch-faqinfo.en.html">previous</a> ]
|
||||
[ <a href="#contents">Contents</a> ]
|
||||
[ <a href="ch-basic_defs.en.html">1</a> ]
|
||||
[ <a href="ch-getting.en.html">2</a> ]
|
||||
[ <a href="ch-compat.en.html">3</a> ]
|
||||
[ <a href="ch-software.en.html">4</a> ]
|
||||
[ <a href="ch-ftparchives.en.html">5</a> ]
|
||||
[ <a href="ch-pkg_basics.en.html">6</a> ]
|
||||
[ <a href="ch-pkgtools.en.html">7</a> ]
|
||||
[ <a href="ch-uptodate.en.html">8</a> ]
|
||||
[ <a href="ch-kernel.en.html">9</a> ]
|
||||
[ <a href="ch-customizing.en.html">10</a> ]
|
||||
[ <a href="ch-support.en.html">11</a> ]
|
||||
[ <a href="ch-contributing.en.html">12</a> ]
|
||||
[ <a href="ch-redistrib.en.html">13</a> ]
|
||||
[ <a href="ch-nexttime.en.html">14</a> ]
|
||||
[ <a href="ch-faqinfo.en.html">15</a> ]
|
||||
[ <a href="ch-basic_defs.en.html">next</a> ]
|
||||
</p>
|
||||
|
||||
<hr>
|
||||
|
||||
<p>
|
||||
The Debian GNU/Linux FAQ
|
||||
</p>
|
||||
|
||||
<address>
|
||||
version 3.1.3, 25 April 2006<br>
|
||||
<br>
|
||||
Authors are listed at <a href="ch-faqinfo.en.html#s-authors">Debian FAQ Authors</a><br>
|
||||
<br>
|
||||
</address>
|
||||
<hr>
|
||||
|
||||
</body>
|
||||
|
||||
</html>
|
||||
|
|
@ -1,131 +0,0 @@
|
|||
Debian GNU/Linux Social Contract
|
||||
|
||||
The Debian Project is an association of individuals who have made common
|
||||
cause to create a free operating system. This is the "social contract"
|
||||
we offer to the free software community.
|
||||
|
||||
------------------------------------------------------------------------
|
||||
|
||||
"Social Contract" with the Free Software Community
|
||||
|
||||
1. Debian Will Remain 100% Free Software
|
||||
|
||||
We promise to keep the Debian GNU/Linux Distribution entirely free
|
||||
software. As there are many definitions of free software, we include
|
||||
the guidelines we use to determine if software is "free" below. We will
|
||||
support our users who develop and run non-free software on Debian, but
|
||||
we will never make the system depend on an item of non-free software.
|
||||
|
||||
2. We Will Give Back to the Free Software Community
|
||||
|
||||
When we write new components of the Debian system, we will license them
|
||||
as free software. We will make the best system we can, so that free
|
||||
software will be widely distributed and used. We will feed back
|
||||
bug-fixes, improvements, user requests, etc. to the "upstream" authors
|
||||
of software included in our system.
|
||||
|
||||
3. We Won't Hide Problems
|
||||
|
||||
We will keep our entire bug-report database open for public view at all
|
||||
times. Reports that users file on-line will immediately become visible
|
||||
to others.
|
||||
|
||||
4. Our Priorities are Our Users and Free Software
|
||||
|
||||
We will be guided by the needs of our users and the free-software
|
||||
community. We will place their interests first in our priorities. We
|
||||
will support the needs of our users for operation in many different
|
||||
kinds of computing environment. We won't object to commercial software
|
||||
that is intended to run on Debian systems, and we'll allow others to
|
||||
create value-added distributions containing both Debian and commercial
|
||||
software, without any fee from us. To support these goals, we will
|
||||
provide an integrated system of high-quality, 100% free software, with
|
||||
no legal restrictions that would prevent these kinds of use.
|
||||
|
||||
5. Programs That Don't Meet Our Free-Software Standards
|
||||
|
||||
We acknowledge that some of our users require the use of programs that
|
||||
don't conform to the Debian Free Software Guidelines. We have created
|
||||
"contrib" and "non-free" areas in our FTP archive for this software.
|
||||
The software in these directories is not part of the Debian system,
|
||||
although it has been configured for use with Debian. We encourage CD
|
||||
manufacturers to read the licenses of software packages in these
|
||||
directories and determine if they can distribute that software on their
|
||||
CDs. Thus, although non-free software isn't a part of Debian, we
|
||||
support its use, and we provide infrastructure (such as our
|
||||
bug-tracking system and mailing lists) for non-free software packages.
|
||||
|
||||
------------------------------------------------------------------------
|
||||
|
||||
The Debian Free Software Guidelines
|
||||
|
||||
1. Free Redistribution
|
||||
|
||||
The license of a Debian component may not restrict any party from
|
||||
selling or giving away the software as a component of an aggregate
|
||||
software distribution containing programs from several different
|
||||
sources. The license may not require a royalty or other fee for such
|
||||
sale.
|
||||
|
||||
2. Source Code
|
||||
|
||||
The program must include source code, and must allow distribution in
|
||||
source code as well as compiled form.
|
||||
|
||||
3. Derived Works
|
||||
|
||||
The license must allow modifications and derived works, and must allow
|
||||
them to be distributed under the same terms as the license of the
|
||||
original software.
|
||||
|
||||
4. Integrity of The Author's Source Code
|
||||
|
||||
The license may restrict source-code from being distributed in modified
|
||||
form _only if the license allows the distribution of "patch files" with
|
||||
the source code for the purpose of modifying the program at build time.
|
||||
The license must explicitly permit distribution of software built from
|
||||
modified source code. The license may require derived works to carry a
|
||||
different name or version number from the original software. (This is a
|
||||
compromise. The Debian group encourages all authors to not restrict any
|
||||
files, source or binary, from being modified.)
|
||||
|
||||
5. No Discrimination Against Persons or Groups
|
||||
|
||||
The license must not discriminate against any person or group of
|
||||
persons.
|
||||
|
||||
6. No Discrimination Against Fields of Endeavor
|
||||
|
||||
The license must not restrict anyone from making use of the program in
|
||||
a specific field of endeavor. For example, it may not restrict the
|
||||
program from being used in a business, or from being used for genetic
|
||||
research.
|
||||
|
||||
7. Distribution of License
|
||||
|
||||
The rights attached to the program must apply to all to whom the
|
||||
program is redistributed without the need for execution of an
|
||||
additional license by those parties.
|
||||
|
||||
8. License Must Not Be Specific to Debian
|
||||
|
||||
The rights attached to the program must not depend on the program's
|
||||
being part of a Debian system. If the program is extracted from Debian
|
||||
and used or distributed without Debian but otherwise within the terms
|
||||
of the program's license, all parties to whom the program is
|
||||
redistributed should have the same rights as those that are granted in
|
||||
conjunction with the Debian system.
|
||||
|
||||
9. License Must Not Contaminate Other Software
|
||||
|
||||
The license must not place restrictions on other software that is
|
||||
distributed along with the licensed software. For example, the license
|
||||
must not insist that all other programs distributed on the same medium
|
||||
must be free software.
|
||||
|
||||
10. Example Licenses
|
||||
|
||||
The "GPL", "BSD", and "Artistic" licenses are examples of licenses that
|
||||
we consider "free".
|
||||
|
||||
------------------------------------------------------------------------
|
|
@ -0,0 +1 @@
|
|||
../install.386/install
|
|
@ -77,7 +77,7 @@
|
|||
<table align="center" border="0" cellpadding="2" cellspacing="0">
|
||||
<tr><td bgcolor="#000084">
|
||||
<div align="center"><font color="#FFFFFF" face="helvetica,arial"><B>
|
||||
Debian GNU/Linux testing "Etch" - Official Beta i386 NETINST Binary-1 20070317-20:46
|
||||
DEBIAN_NAME DEBIAN_DATE
|
||||
</B></font></div>
|
||||
</td></tr>
|
||||
</table>
|
||||
|
@ -262,7 +262,6 @@ Debian is available for various kinds of computers
|
|||
("architectures"), like
|
||||
"IBM-compatible" PCs (<i>i386</i>),
|
||||
Compaq's <i>Alpha</i>,
|
||||
Motorola's 680x0 (<i>m68k</i>),
|
||||
Sun's <i>Sparc</i>,
|
||||
Motorola/IBM's <i>PowerPC</i>, and <i>(Strong)ARM</i> processors.
|
||||
Check the <A href="http://www.debian.org/ports">ports</A> page
|
||||
|
@ -297,13 +296,18 @@ About This Disc
|
|||
This disc is labeled
|
||||
<P>
|
||||
<tt>
|
||||
Debian GNU/Linux testing "Etch" - Official Beta i386 NETINST Binary-1 20070317-20:46
|
||||
DEBIAN_NAME DEBIAN_DATE
|
||||
</tt>
|
||||
<P>
|
||||
|
||||
which means that this disc is number 1 of a set of 1 discs.
|
||||
|
||||
It contains programs ("binaries") for `i386' computers.
|
||||
It contains programs ("binaries") for `DEBIAN_ARCHITECTURE' computers.
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
<P>
|
||||
The programs on the Binary discs are ordered by popularity. The Binary-1 disc
|
||||
contains the most popular programs and the installation tools; it is possible
|
||||
|
@ -349,14 +353,8 @@ Installing
|
|||
<P>
|
||||
Programs and other files that are needed for the installation can be found on
|
||||
this disc under
|
||||
<P>
|
||||
<tt>
|
||||
<A href="tools/">/tools/</a>
|
||||
</tt>
|
||||
and
|
||||
<tt>
|
||||
<A href="install/floppy/">/install/floppy/</a>
|
||||
</tt>
|
||||
DEBIAN_TOOLS
|
||||
|
||||
|
||||
|
||||
<P>
|
||||
|
@ -370,12 +368,7 @@ Installing
|
|||
|
||||
|
||||
|
||||
|
||||
You can also
|
||||
|
||||
|
||||
|
||||
examine the
|
||||
You can examine the
|
||||
<P>
|
||||
<tt>
|
||||
<a href="install/">/install</a>
|
||||
|
@ -407,7 +400,6 @@ Last-Minute Notes
|
|||
</a>
|
||||
<p>
|
||||
<UL>
|
||||
<LI>
|
||||
|
||||
|
||||
|
||||
|
@ -416,14 +408,13 @@ Last-Minute Notes
|
|||
|
||||
|
||||
|
||||
You should keep in mind that this is a beta disc of the current
|
||||
development version of the Debian system. This means that all sorts of
|
||||
bugs may be present anywhere in the system.
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
<LI>This is an official release of the Debian system. Please report any
|
||||
bugs you find in the Debian Bug Tracking System; details at <A
|
||||
HREF="http://bugs.debian.org/">bugs.debian.org</A>.
|
||||
<LI>If you're reporting bugs against this disc or the installation
|
||||
system, please also mention the version of this disc; this can be
|
||||
found in the file <a href="/.disk/info">/.disk/info</a>.
|
||||
|
||||
|
||||
<br>
|
|
@ -70,7 +70,7 @@ Everything else you want to know about Debian mirrors:
|
|||
<td width="25%">Australia</td>
|
||||
<td width="25%" align="center"><code>ftp.au.debian.org</code></td>
|
||||
<td width="25%"><a href="http://ftp.au.debian.org/debian/">/debian/</a></td>
|
||||
<td width="25%">alpha amd64 arm hppa i386 ia64 m68k mips mipsel powerpc s390 sparc</td>
|
||||
<td width="25%">alpha amd64 arm hppa hurd-i386 i386 ia64 m68k mips mipsel powerpc s390 sparc</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td width="25%">Australia</td>
|
||||
|
@ -100,7 +100,7 @@ Everything else you want to know about Debian mirrors:
|
|||
<td width="25%">Chile</td>
|
||||
<td width="25%" align="center"><code>ftp.cl.debian.org</code></td>
|
||||
<td width="25%"><a href="http://ftp.cl.debian.org/debian/">/debian/</a></td>
|
||||
<td width="25%">amd64 i386 powerpc</td>
|
||||
<td width="25%">alpha amd64 arm hppa hurd-i386 i386 ia64 m68k mips mipsel powerpc s390 sparc</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td width="25%">Czech Republic</td>
|
||||
|
@ -319,7 +319,7 @@ debian.inode.at <a href="ftp://debian.inode.at/debian/">/debia
|
|||
<b>AU Australia</b>
|
||||
------------
|
||||
ftp.wa.au.debian.org <a href="ftp://ftp.wa.au.debian.org/debian/">/debian/</a> <a href="http://ftp.wa.au.debian.org/debian/">/debian/</a> alpha amd64 arm hppa hurd-i386 i386 ia64 m68k mips mipsel powerpc s390 sparc
|
||||
ftp.au.debian.org <a href="ftp://ftp.au.debian.org/debian/">/debian/</a> <a href="http://ftp.au.debian.org/debian/">/debian/</a> alpha amd64 arm hppa i386 ia64 m68k mips mipsel powerpc s390 sparc
|
||||
ftp.au.debian.org <a href="ftp://ftp.au.debian.org/debian/">/debian/</a> <a href="http://ftp.au.debian.org/debian/">/debian/</a> alpha amd64 arm hppa hurd-i386 i386 ia64 m68k mips mipsel powerpc s390 sparc
|
||||
mirror.aarnet.edu.au <a href="ftp://mirror.aarnet.edu.au/debian/">/debian/</a> <a href="http://mirror.aarnet.edu.au/debian/">/debian/</a> alpha amd64 arm hppa hurd-i386 i386 ia64 m68k mips mipsel powerpc s390 sparc
|
||||
ftp.monash.edu.au <a href="ftp://ftp.monash.edu.au/pub/linux/debian/">/pub/linux/debian/</a> <a href="http://ftp.monash.edu.au/pub/linux/debian/">/pub/linux/debian/</a> amd64 i386
|
||||
ftp.uwa.edu.au <a href="ftp://ftp.uwa.edu.au/debian/">/debian/</a> <a href="http://ftp.uwa.edu.au/debian/">/debian/</a> amd64 i386
|
||||
|
@ -327,7 +327,7 @@ mirror.eftel.com <a href="ftp://mirror.eftel.com/debian/">/debi
|
|||
mirror.pacific.net.au <a href="ftp://mirror.pacific.net.au/debian/">/debian/</a> <a href="http://mirror.pacific.net.au/debian/">/debian/</a> alpha amd64 arm hppa hurd-i386 i386 ia64 m68k mips mipsel powerpc s390 sparc
|
||||
ftp.iinet.net.au <a href="ftp://ftp.iinet.net.au/debian/debian/">/debian/debian/</a> <a href="http://ftp.iinet.net.au/debian/debian/">/debian/debian/</a> alpha amd64 arm hppa hurd-i386 i386 ia64 m68k mips mipsel powerpc s390 sparc
|
||||
mirror.datafast.net.au <a href="ftp://mirror.datafast.net.au/debian/">/debian/</a> <a href="http://mirror.datafast.net.au/debian/">/debian/</a> amd64 i386
|
||||
mirror.optus.net <a href="http://mirror.optus.net/debian/">/debian/</a> amd64 i386
|
||||
mirror.optus.net <a href="ftp://mirror.optus.net/debian/">/debian/</a> <a href="http://mirror.optus.net/debian/">/debian/</a> alpha amd64 arm hppa hurd-i386 i386 ia64 m68k mips mipsel powerpc s390 sparc
|
||||
|
||||
<b>BE Belgium</b>
|
||||
----------
|
||||
|
@ -356,7 +356,7 @@ debian.pop-sc.rnp.br <a href
|
|||
|
||||
<b>BY Belarus</b>
|
||||
----------
|
||||
linux.org.by <a href="http://linux.org.by/debian/">/debian/</a> amd64 i386
|
||||
linux.org.by <a href="ftp://linux.org.by/debian/">/debian/</a> <a href="http://linux.org.by/debian/">/debian/</a> amd64 i386
|
||||
ftp.mgts.by <a href="ftp://ftp.mgts.by/debian/">/debian/</a> <a href="http://ftp.mgts.by/debian/">/debian/</a> amd64 i386
|
||||
|
||||
<b>CA Canada</b>
|
||||
|
@ -377,7 +377,7 @@ mirror.switch.ch <a href="ftp://mirror.switch.ch/mirror/debian/
|
|||
|
||||
<b>CL Chile</b>
|
||||
--------
|
||||
ftp.cl.debian.org <a href="ftp://ftp.cl.debian.org/debian/">/debian/</a> <a href="http://ftp.cl.debian.org/debian/">/debian/</a> amd64 i386 powerpc
|
||||
ftp.cl.debian.org <a href="ftp://ftp.cl.debian.org/debian/">/debian/</a> <a href="http://ftp.cl.debian.org/debian/">/debian/</a> alpha amd64 arm hppa hurd-i386 i386 ia64 m68k mips mipsel powerpc s390 sparc
|
||||
debian.ubiobio.cl <a href="http://debian.ubiobio.cl/debian/">/debian/</a> amd64 i386 powerpc sparc
|
||||
|
||||
<b>CN China</b>
|
||||
|
@ -400,7 +400,6 @@ ftp2.de.debian.org <a href="ftp://ftp2.de.debian.org/debian/">/de
|
|||
ftp.tu-clausthal.de <a href="ftp://ftp.tu-clausthal.de/pub/linux/debian/">/pub/linux/debian/</a> amd64 arm i386 ia64 m68k mips powerpc sparc
|
||||
debian.uni-essen.de <a href="ftp://debian.uni-essen.de/debian/">/debian/</a> <a href="http://debian.uni-essen.de/debian/">/debian/</a> amd64 hurd-i386 i386 ia64 m68k mips mipsel powerpc sparc
|
||||
ftp.freenet.de <a href="ftp://ftp.freenet.de/pub/ftp.debian.org/debian/">/pub/ftp.debian.org/debian/</a> <a href="http://ftp.freenet.de/debian/">/debian/</a> alpha amd64 arm hppa hurd-i386 i386 ia64 m68k mips mipsel powerpc s390 sparc
|
||||
ftp.uni-erlangen.de <a href="ftp://ftp.uni-erlangen.de/pub/Linux/debian/">/pub/Linux/debian/</a> <a href="http://ftp.uni-erlangen.de/pub/Linux/debian/">/pub/Linux/debian/</a> alpha amd64 arm hppa hurd-i386 i386 ia64 m68k mips mipsel powerpc s390 sparc
|
||||
sunsite.informatik.rwth-aachen.de <a href="ftp://sunsite.informatik.rwth-aachen.de/pub/Linux/debian/">/pub/Linux/debian/</a> <a href="http://sunsite.informatik.rwth-aachen.de/ftp/pub/Linux/debian/">/ftp/pub/Linux/debian/</a> alpha amd64 i386 powerpc sparc
|
||||
ftp-stud.fht-esslingen.de <a href="ftp://ftp-stud.fht-esslingen.de/debian/">/debian/</a> <a href="http://ftp-stud.fht-esslingen.de/debian/">/debian/</a> alpha amd64 arm hppa hurd-i386 i386 ia64 m68k mips mipsel powerpc s390 sparc
|
||||
ftp.stw-bonn.de <a href="ftp://ftp.stw-bonn.de/debian/">/debian/</a> <a href="http://ftp.stw-bonn.de/debian/">/debian/</a> amd64 i386
|
||||
|
@ -422,6 +421,7 @@ debian.intergenia.de <a href
|
|||
debian.swordcoast.net <a href="ftp://debian.swordcoast.net/debian/">/debian/</a> <a href="http://debian.swordcoast.net/debian/">/debian/</a> alpha amd64 arm hurd-i386 i386 ia64 m68k powerpc
|
||||
debian.cruisix.net <a href="ftp://debian.cruisix.net/debian/">/debian/</a> <a href="http://debian.cruisix.net/debian/">/debian/</a> amd64 i386 powerpc
|
||||
ftp.rrzn.uni-hannover.de <a href="ftp://ftp.rrzn.uni-hannover.de/debian/debian/">/debian/debian/</a> alpha amd64 arm hppa hurd-i386 i386 ia64 m68k mips mipsel powerpc s390 sparc
|
||||
debian-ftp.charite.de <a href="http://debian-ftp.charite.de/debian/">/debian/</a> i386
|
||||
|
||||
<b>DK Denmark</b>
|
||||
----------
|
||||
|
@ -444,6 +444,7 @@ ftp.caliu.info <a href="ftp://ftp.caliu.info/debian/">/debian
|
|||
ftp.gva.es <a href="ftp://ftp.gva.es/pub/mirror/debian/">/pub/mirror/debian/</a> <a href="http://ftp.gva.es/mirror/debian/">/mirror/debian/</a> alpha amd64 arm hppa hurd-i386 i386 ia64 m68k mips mipsel powerpc s390 sparc
|
||||
ftp.gul.uc3m.es <a href="ftp://ftp.gul.uc3m.es/debian/">/debian/</a> <a href="http://ftp.gul.uc3m.es/debian/">/debian/</a> alpha amd64 arm hppa hurd-i386 i386 ia64 m68k mips mipsel powerpc s390 sparc
|
||||
ftp.um.es <a href="ftp://ftp.um.es/mirror/debian/">/mirror/debian/</a> all
|
||||
jane.uab.cat <a href="ftp://jane.uab.cat/debian/">/debian/</a> <a href="http://jane.uab.cat/debian/">/debian/</a> alpha amd64 arm hppa hurd-i386 i386 ia64 m68k mips mipsel powerpc s390 sparc
|
||||
|
||||
<b>FI Finland</b>
|
||||
----------
|
||||
|
@ -523,7 +524,6 @@ ftp.esat.net <a href="ftp://ftp.esat.net/pub/linux/debian/"
|
|||
<b>IL Israel</b>
|
||||
---------
|
||||
mirror.hamakor.org.il <a href="http://mirror.hamakor.org.il/pub/mirrors/debian/">/pub/mirrors/debian/</a> amd64 i386
|
||||
mirror.inter.net.il <a href="ftp://mirror.inter.net.il/pub/debian/">/pub/debian/</a> <a href="http://mirror.inter.net.il/pub/debian/">/pub/debian/</a> amd64 i386 sparc
|
||||
debian.co.il <a href="http://debian.co.il/debian/">/debian/</a> amd64 i386
|
||||
|
||||
<b>IS Iceland</b>
|
||||
|
@ -534,7 +534,7 @@ ftp.is.debian.org <a href="ftp://ftp.is.debian.org/debian/">/deb
|
|||
--------
|
||||
ftp.it.debian.org <a href="ftp://ftp.it.debian.org/debian/">/debian/</a> <a href="http://ftp.it.debian.org/debian/">/debian/</a> alpha amd64 arm hppa hurd-i386 i386 ia64 m68k mips mipsel powerpc s390 sparc
|
||||
ftp.bononia.it <a href="ftp://ftp.bononia.it/debian/">/debian/</a> <a href="http://ftp.bononia.it/debian/">/debian/</a> alpha amd64 arm hppa hurd-i386 i386 ia64 m68k mips mipsel powerpc s390 sparc
|
||||
freedom.dicea.unifi.it <a href="http://freedom.dicea.unifi.it/ftp/pub/linux/debian/">/ftp/pub/linux/debian/</a> amd64 hurd-i386 i386
|
||||
freedom.dicea.unifi.it <a href="ftp://freedom.dicea.unifi.it/pub/linux/debian/">/pub/linux/debian/</a> <a href="http://freedom.dicea.unifi.it/ftp/pub/linux/debian/">/ftp/pub/linux/debian/</a> amd64 hurd-i386 i386
|
||||
ftp.eutelia.it <a href="ftp://ftp.eutelia.it/pub/Debian_Mirror/">/pub/Debian_Mirror/</a> alpha amd64 arm hppa hurd-i386 i386 ia64 m68k mips mipsel powerpc s390 sparc
|
||||
mi.mirror.garr.it <a href="ftp://mi.mirror.garr.it/mirrors/debian/">/mirrors/debian/</a> <a href="http://mi.mirror.garr.it/mirrors/debian/">/mirrors/debian/</a> alpha amd64 arm hppa hurd-i386 i386 ia64 m68k mips mipsel powerpc s390 sparc
|
||||
debian.fastweb.it <a href="ftp://debian.fastweb.it/debian/">/debian/</a> <a href="http://debian.fastweb.it/debian/">/debian/</a> alpha amd64 arm hppa hurd-i386 i386 ia64 m68k mips mipsel powerpc s390 sparc
|
||||
|
@ -550,8 +550,8 @@ ftp.dti.ad.jp <a href="ftp://ftp.dti.ad.jp/pub/Linux/debian/
|
|||
dennou-k.gfd-dennou.org <a href="ftp://dennou-k.gfd-dennou.org/library/Linux/debian/">/library/Linux/debian/</a> <a href="http://dennou-k.gfd-dennou.org/library/Linux/debian/">/library/Linux/debian/</a> alpha amd64 arm hppa hurd-i386 i386 ia64 m68k mips mipsel powerpc s390 sparc
|
||||
dennou-q.gfd-dennou.org <a href="ftp://dennou-q.gfd-dennou.org/library/Linux/debian/">/library/Linux/debian/</a> <a href="http://dennou-q.gfd-dennou.org/library/Linux/debian/">/library/Linux/debian/</a> alpha amd64 arm hppa hurd-i386 i386 ia64 m68k mips mipsel powerpc s390 sparc
|
||||
ftp.yz.yamagata-u.ac.jp <a href="ftp://ftp.yz.yamagata-u.ac.jp/debian/">/debian/</a> <a href="http://ftp.yz.yamagata-u.ac.jp/debian/">/debian/</a> alpha amd64 arm hppa hurd-i386 i386 ia64 m68k mips mipsel powerpc s390 sparc
|
||||
sb.itc.u-tokyo.ac.jp <a href="ftp://sb.itc.u-tokyo.ac.jp/DEBIAN/debian/">/DEBIAN/debian/</a> amd64 hurd-i386 i386 powerpc
|
||||
ftp.riken.go.jp <a href="ftp://ftp.riken.go.jp/pub/Linux/debian/debian/">/pub/Linux/debian/debian/</a> <a href="http://ftp.riken.go.jp/pub/Linux/debian/debian/">/pub/Linux/debian/debian/</a> amd64 i386
|
||||
sb.itc.u-tokyo.ac.jp <a href="ftp://sb.itc.u-tokyo.ac.jp/DEBIAN/">/DEBIAN/</a> <a href="http://sb.itc.u-tokyo.ac.jp/DEBIAN/">/DEBIAN/</a> amd64 hurd-i386 i386 powerpc
|
||||
ftp.riken.jp <a href="ftp://ftp.riken.jp/pub/Linux/debian/debian/">/pub/Linux/debian/debian/</a> <a href="http://ftp.riken.jp/pub/Linux/debian/debian/">/pub/Linux/debian/debian/</a> amd64 i386
|
||||
debian.shimpinomori.net <a href="http://debian.shimpinomori.net/debian/">/debian/</a> amd64 i386 powerpc
|
||||
www.ring.gr.jp <a href="ftp://www.ring.gr.jp/pub/linux/debian/debian/">/pub/linux/debian/debian/</a> <a href="http://www.ring.gr.jp/archives/linux/debian/debian/">/archives/linux/debian/debian/</a> alpha amd64 arm hppa hurd-i386 i386 ia64 m68k mips mipsel powerpc s390 sparc
|
||||
ftp.jaist.ac.jp <a href="ftp://ftp.jaist.ac.jp/pub/Linux/Debian/">/pub/Linux/Debian/</a> <a href="http://ftp.jaist.ac.jp/pub/Linux/Debian/">/pub/Linux/Debian/</a> alpha amd64 arm hppa hurd-i386 i386 ia64 m68k mips mipsel powerpc s390 sparc
|
||||
|
@ -628,6 +628,7 @@ ftp.se.debian.org <a href="ftp://ftp.se.debian.org/debian/">/deb
|
|||
ftp.sunet.se <a href="ftp://ftp.sunet.se/pub/os/Linux/distributions/debian/">/pub/os/Linux/distributions/debian/</a> <a href="http://ftp.sunet.se/pub/os/Linux/distributions/debian/">/pub/os/Linux/distributions/debian/</a>alpha amd64 arm hppa hurd-i386 i386 ia64 m68k mips mipsel powerpc s390 sparc
|
||||
ftp.port80.se <a href="ftp://ftp.port80.se/debian/">/debian/</a> <a href="http://ftp.port80.se/debian/">/debian/</a> alpha amd64 arm hppa hurd-i386 i386 ia64 m68k mips mipsel powerpc s390 sparc
|
||||
ftp.ds.hj.se <a href="ftp://ftp.ds.hj.se/pub/os/linux/debian/">/pub/os/linux/debian/</a> <a href="http://ftp.ds.hj.se/pub/os/linux/debian/">/pub/os/linux/debian/</a> alpha amd64 arm hppa hurd-i386 i386 ia64 m68k mips mipsel powerpc s390 sparc
|
||||
debian.bsnet.se <a href="ftp://debian.bsnet.se/debian/">/debian/</a> i386
|
||||
|
||||
<b>SG Singapore</b>
|
||||
------------
|
||||
|
@ -646,11 +647,11 @@ ftp.sk.debian.org <a href="ftp://ftp.sk.debian.org/debian/">/deb
|
|||
<b>TH Thailand</b>
|
||||
-----------
|
||||
ftp.coe.psu.ac.th <a href="ftp://ftp.coe.psu.ac.th/debian/">/debian/</a> <a href="http://ftp.coe.psu.ac.th/debian/">/debian/</a> i386
|
||||
ftp.thaios.net <a href="http://ftp.thaios.net/debian/">/debian/</a> alpha amd64 arm hppa hurd-i386 i386 ia64 m68k mips mipsel powerpc s390 sparc
|
||||
|
||||
<b>TR Turkey</b>
|
||||
---------
|
||||
ftp.tr.debian.org <a href="ftp://ftp.tr.debian.org/debian/">/debian/</a> <a href="http://ftp.tr.debian.org/debian/">/debian/</a> alpha amd64 arm hppa hurd-i386 i386 ia64 m68k mips mipsel powerpc s390 sparc
|
||||
ftp.linux.org.tr <a href="ftp://ftp.linux.org.tr/pub/mirrors/debian/">/pub/mirrors/debian/</a> amd64 i386
|
||||
godel.cs.bilgi.edu.tr <a href="http://godel.cs.bilgi.edu.tr/debian/">/debian/</a> hurd-i386 i386
|
||||
|
||||
<b>TW Taiwan</b>
|
||||
|
@ -659,8 +660,9 @@ ftp.tw.debian.org <a href="ftp://ftp.tw.debian.org/debian/">/deb
|
|||
debian.csie.ntu.edu.tw <a href="ftp://debian.csie.ntu.edu.tw/pub/debian/">/pub/debian/</a> <a href="http://debian.csie.ntu.edu.tw/debian/">/debian/</a> amd64 hurd-i386 i386
|
||||
linux.cdpa.nsysu.edu.tw <a href="http://linux.cdpa.nsysu.edu.tw/debian/">/debian/</a> alpha amd64 arm hppa hurd-i386 i386 ia64 m68k mips mipsel powerpc s390 sparc
|
||||
opensource.nchc.org.tw <a href="ftp://opensource.nchc.org.tw/debian/">/debian/</a> <a href="http://opensource.nchc.org.tw/debian/">/debian/</a> alpha amd64 arm hppa hurd-i386 i386 ia64 m68k mips mipsel powerpc s390 sparc
|
||||
debian.nctu.edu.tw <a href="http://debian.nctu.edu.tw/debian/">/debian/</a> alpha amd64 arm hppa hurd-i386 i386 ia64 m68k mips mipsel powerpc s390 sparc
|
||||
debian.nctu.edu.tw <a href="ftp://debian.nctu.edu.tw/debian/">/debian/</a> <a href="http://debian.nctu.edu.tw/debian/">/debian/</a> alpha amd64 arm hppa hurd-i386 i386 ia64 m68k mips mipsel powerpc s390 sparc
|
||||
mirror.nttu.edu.tw <a href="ftp://mirror.nttu.edu.tw/debian/">/debian/</a> <a href="http://mirror.nttu.edu.tw/debian/">/debian/</a> alpha amd64 arm hppa hurd-i386 i386 ia64 m68k mips mipsel powerpc s390 sparc
|
||||
debian.csie.nctu.edu.tw <a href="ftp://debian.csie.nctu.edu.tw/debian/">/debian/</a> <a href="http://debian.csie.nctu.edu.tw/debian/">/debian/</a> alpha amd64 arm hppa hurd-i386 i386 ia64 m68k mips mipsel powerpc s390 sparc
|
||||
|
||||
<b>UA Ukraine</b>
|
||||
----------
|
||||
|
@ -678,7 +680,7 @@ distro.ibiblio.org <a href="ftp://distro.ibiblio.org/pub/linux/di
|
|||
ftp-mirror.internap.com <a href="ftp://ftp-mirror.internap.com/pub/debian/">/pub/debian/</a> <a href="http://ftp-mirror.internap.com/pub/debian/">/pub/debian/</a> alpha amd64 arm hppa hurd-i386 i386 ia64 m68k mips mipsel powerpc s390 sparc
|
||||
ftp.cerias.purdue.edu <a href="ftp://ftp.cerias.purdue.edu/pub/os/debian/">/pub/os/debian/</a> <a href="http://ftp.cerias.purdue.edu/pub/os/debian/">/pub/os/debian/</a> amd64 i386
|
||||
ftp.cs.unm.edu <a href="ftp://ftp.cs.unm.edu/mirrors/debian/">/mirrors/debian/</a> alpha arm hppa hurd-i386 i386 ia64 m68k mips mipsel powerpc s390 sparc
|
||||
mirror.cs.wisc.edu <a href="ftp://mirror.cs.wisc.edu/pub/mirrors/linux/debian/">/pub/mirrors/linux/debian/</a> amd64 i386
|
||||
mirror.cs.wisc.edu <a href="ftp://mirror.cs.wisc.edu/pub/mirrors/linux/debian/">/pub/mirrors/linux/debian/</a> <a href="http://mirror.cs.wisc.edu/pub/mirrors/linux/debian/">/pub/mirrors/linux/debian/</a> amd64 i386
|
||||
ftp.uwsg.indiana.edu <a href="ftp://ftp.uwsg.indiana.edu/linux/debian/">/linux/debian/</a> <a href="http://ftp.uwsg.indiana.edu/linux/debian/">/linux/debian/</a> alpha amd64 arm hppa hurd-i386 i386 ia64 m68k mips mipsel powerpc s390 sparc
|
||||
natasha.stmarytx.edu <a href="ftp://natasha.stmarytx.edu/debian/">/debian/</a> <a href="http://natasha.stmarytx.edu/debian/">/debian/</a> alpha amd64 arm hppa hurd-i386 i386 ia64 m68k mips mipsel powerpc s390 sparc
|
||||
ftp.ndlug.nd.edu <a href="ftp://ftp.ndlug.nd.edu/debian/">/debian/</a> <a href="http://ftp.ndlug.nd.edu/mirrors/debian/">/mirrors/debian/</a> alpha amd64 arm hppa hurd-i386 i386 ia64 m68k mips mipsel powerpc s390 sparc
|
||||
|
@ -717,10 +719,11 @@ debian.unesr.edu.ve <a href
|
|||
<b>ZA South Africa</b>
|
||||
---------------
|
||||
ftp.sun.ac.za <a href="ftp://ftp.sun.ac.za/debian/">/debian/</a> <a href="http://ftp.sun.ac.za/ftp/debian/">/ftp/debian/</a> amd64 i386
|
||||
debian.mirror.ac.za <a href="ftp://debian.mirror.ac.za/debian/">/debian/</a> <a href="http://debian.mirror.ac.za/debian/">/debian/</a> alpha amd64 arm hppa hurd-i386 i386 ia64 m68k mips mipsel powerpc s390 sparc
|
||||
</small></pre><hr>
|
||||
<table border="0" width="100%"><tr>
|
||||
<td align="left"><small>Last modified: Tue Mar 13 19:52:11 2007</small></td>
|
||||
<td align="right"><small>Number of sites listed: 296</small></td>
|
||||
<td align="left"><small>Last modified: Thu Apr 5 07:52:11 2007</small></td>
|
||||
<td align="right"><small>Number of sites listed: 301</small></td>
|
||||
</tr></table>
|
||||
</body>
|
||||
</html>
|
|
@ -40,12 +40,12 @@ Everything else you want to know about Debian mirrors:
|
|||
Country Site Debian archive Architectures
|
||||
---------------------------------------------------------------------------
|
||||
Austria ftp.at.debian.org /debian/ alpha amd64 arm hppa hurd-i386 i386 ia64 m68k mips mipsel powerpc s390 sparc
|
||||
Australia ftp.au.debian.org /debian/ alpha amd64 arm hppa i386 ia64 m68k mips mipsel powerpc s390 sparc
|
||||
Australia ftp.au.debian.org /debian/ alpha amd64 arm hppa hurd-i386 i386 ia64 m68k mips mipsel powerpc s390 sparc
|
||||
Australia ftp.wa.au.debian.org /debian/ alpha amd64 arm hppa hurd-i386 i386 ia64 m68k mips mipsel powerpc s390 sparc
|
||||
Bulgaria ftp.bg.debian.org /debian/ alpha amd64 arm i386 ia64 m68k mips mipsel powerpc sparc
|
||||
Brazil ftp.br.debian.org /debian/ alpha amd64 arm hppa hurd-i386 i386 ia64 m68k mips mipsel powerpc s390 sparc
|
||||
Switzerland ftp.ch.debian.org /debian/ alpha amd64 arm hppa hurd-i386 i386 ia64 m68k mips mipsel powerpc s390 sparc
|
||||
Chile ftp.cl.debian.org /debian/ amd64 i386 powerpc
|
||||
Chile ftp.cl.debian.org /debian/ alpha amd64 arm hppa hurd-i386 i386 ia64 m68k mips mipsel powerpc s390 sparc
|
||||
Czech Republic ftp.cz.debian.org /debian/ alpha amd64 arm hppa hurd-i386 i386 ia64 m68k mips mipsel powerpc s390 sparc
|
||||
Germany ftp.de.debian.org /debian/ alpha amd64 arm hppa hurd-i386 i386 ia64 m68k mips mipsel powerpc s390 sparc
|
||||
Germany ftp2.de.debian.org /debian/ alpha amd64 arm hppa hurd-i386 i386 ia64 m68k mips mipsel powerpc s390 sparc
|
||||
|
@ -103,7 +103,7 @@ debian.inode.at /debian/ /debian
|
|||
AU Australia
|
||||
------------
|
||||
ftp.wa.au.debian.org /debian/ /debian/ alpha amd64 arm hppa hurd-i386 i386 ia64 m68k mips mipsel powerpc s390 sparc
|
||||
ftp.au.debian.org /debian/ /debian/ alpha amd64 arm hppa i386 ia64 m68k mips mipsel powerpc s390 sparc
|
||||
ftp.au.debian.org /debian/ /debian/ alpha amd64 arm hppa hurd-i386 i386 ia64 m68k mips mipsel powerpc s390 sparc
|
||||
mirror.aarnet.edu.au /debian/ /debian/ alpha amd64 arm hppa hurd-i386 i386 ia64 m68k mips mipsel powerpc s390 sparc
|
||||
ftp.monash.edu.au /pub/linux/debian/ /pub/linux/debian/ amd64 i386
|
||||
ftp.uwa.edu.au /debian/ /debian/ amd64 i386
|
||||
|
@ -111,7 +111,7 @@ mirror.eftel.com /debian/ /debian
|
|||
mirror.pacific.net.au /debian/ /debian/ alpha amd64 arm hppa hurd-i386 i386 ia64 m68k mips mipsel powerpc s390 sparc
|
||||
ftp.iinet.net.au /debian/debian/ /debian/debian/ alpha amd64 arm hppa hurd-i386 i386 ia64 m68k mips mipsel powerpc s390 sparc
|
||||
mirror.datafast.net.au /debian/ /debian/ amd64 i386
|
||||
mirror.optus.net /debian/ amd64 i386
|
||||
mirror.optus.net /debian/ /debian/ alpha amd64 arm hppa hurd-i386 i386 ia64 m68k mips mipsel powerpc s390 sparc
|
||||
|
||||
BE Belgium
|
||||
----------
|
||||
|
@ -140,7 +140,7 @@ debian.pop-sc.rnp.br /debian
|
|||
|
||||
BY Belarus
|
||||
----------
|
||||
linux.org.by /debian/ amd64 i386
|
||||
linux.org.by /debian/ /debian/ amd64 i386
|
||||
ftp.mgts.by /debian/ /debian/ amd64 i386
|
||||
|
||||
CA Canada
|
||||
|
@ -161,7 +161,7 @@ mirror.switch.ch /mirror/debian/ /ftp/mi
|
|||
|
||||
CL Chile
|
||||
--------
|
||||
ftp.cl.debian.org /debian/ /debian/ amd64 i386 powerpc
|
||||
ftp.cl.debian.org /debian/ /debian/ alpha amd64 arm hppa hurd-i386 i386 ia64 m68k mips mipsel powerpc s390 sparc
|
||||
debian.ubiobio.cl /debian/ amd64 i386 powerpc sparc
|
||||
|
||||
CN China
|
||||
|
@ -184,7 +184,6 @@ ftp2.de.debian.org /debian/ /debian
|
|||
ftp.tu-clausthal.de /pub/linux/debian/ amd64 arm i386 ia64 m68k mips powerpc sparc
|
||||
debian.uni-essen.de /debian/ /debian/ amd64 hurd-i386 i386 ia64 m68k mips mipsel powerpc sparc
|
||||
ftp.freenet.de /pub/ftp.debian.org/debian/ /debian/ alpha amd64 arm hppa hurd-i386 i386 ia64 m68k mips mipsel powerpc s390 sparc
|
||||
ftp.uni-erlangen.de /pub/Linux/debian/ /pub/Linux/debian/ alpha amd64 arm hppa hurd-i386 i386 ia64 m68k mips mipsel powerpc s390 sparc
|
||||
sunsite.informatik.rwth-aachen.de /pub/Linux/debian/ /ftp/pub/Linux/debian/ alpha amd64 i386 powerpc sparc
|
||||
ftp-stud.fht-esslingen.de /debian/ /debian/ alpha amd64 arm hppa hurd-i386 i386 ia64 m68k mips mipsel powerpc s390 sparc
|
||||
ftp.stw-bonn.de /debian/ /debian/ amd64 i386
|
||||
|
@ -206,6 +205,7 @@ debian.intergenia.de /debian
|
|||
debian.swordcoast.net /debian/ /debian/ alpha amd64 arm hurd-i386 i386 ia64 m68k powerpc
|
||||
debian.cruisix.net /debian/ /debian/ amd64 i386 powerpc
|
||||
ftp.rrzn.uni-hannover.de /debian/debian/ alpha amd64 arm hppa hurd-i386 i386 ia64 m68k mips mipsel powerpc s390 sparc
|
||||
debian-ftp.charite.de /debian/ i386
|
||||
|
||||
DK Denmark
|
||||
----------
|
||||
|
@ -228,6 +228,7 @@ ftp.caliu.info /debian/ /debian
|
|||
ftp.gva.es /pub/mirror/debian/ /mirror/debian/ alpha amd64 arm hppa hurd-i386 i386 ia64 m68k mips mipsel powerpc s390 sparc
|
||||
ftp.gul.uc3m.es /debian/ /debian/ alpha amd64 arm hppa hurd-i386 i386 ia64 m68k mips mipsel powerpc s390 sparc
|
||||
ftp.um.es /mirror/debian/ all
|
||||
jane.uab.cat /debian/ /debian/ alpha amd64 arm hppa hurd-i386 i386 ia64 m68k mips mipsel powerpc s390 sparc
|
||||
|
||||
FI Finland
|
||||
----------
|
||||
|
@ -307,7 +308,6 @@ ftp.esat.net /pub/linux/debian/ /pub/li
|
|||
IL Israel
|
||||
---------
|
||||
mirror.hamakor.org.il /pub/mirrors/debian/ amd64 i386
|
||||
mirror.inter.net.il /pub/debian/ /pub/debian/ amd64 i386 sparc
|
||||
debian.co.il /debian/ amd64 i386
|
||||
|
||||
IS Iceland
|
||||
|
@ -318,7 +318,7 @@ IT Italy
|
|||
--------
|
||||
ftp.it.debian.org /debian/ /debian/ alpha amd64 arm hppa hurd-i386 i386 ia64 m68k mips mipsel powerpc s390 sparc
|
||||
ftp.bononia.it /debian/ /debian/ alpha amd64 arm hppa hurd-i386 i386 ia64 m68k mips mipsel powerpc s390 sparc
|
||||
freedom.dicea.unifi.it /ftp/pub/linux/debian/ amd64 hurd-i386 i386
|
||||
freedom.dicea.unifi.it /pub/linux/debian/ /ftp/pub/linux/debian/ amd64 hurd-i386 i386
|
||||
ftp.eutelia.it /pub/Debian_Mirror/ alpha amd64 arm hppa hurd-i386 i386 ia64 m68k mips mipsel powerpc s390 sparc
|
||||
mi.mirror.garr.it /mirrors/debian/ /mirrors/debian/ alpha amd64 arm hppa hurd-i386 i386 ia64 m68k mips mipsel powerpc s390 sparc
|
||||
debian.fastweb.it /debian/ /debian/ alpha amd64 arm hppa hurd-i386 i386 ia64 m68k mips mipsel powerpc s390 sparc
|
||||
|
@ -334,8 +334,8 @@ ftp.dti.ad.jp /pub/Linux/debian/ /pub/Li
|
|||
dennou-k.gfd-dennou.org /library/Linux/debian/ /library/Linux/debian/ alpha amd64 arm hppa hurd-i386 i386 ia64 m68k mips mipsel powerpc s390 sparc
|
||||
dennou-q.gfd-dennou.org /library/Linux/debian/ /library/Linux/debian/ alpha amd64 arm hppa hurd-i386 i386 ia64 m68k mips mipsel powerpc s390 sparc
|
||||
ftp.yz.yamagata-u.ac.jp /debian/ /debian/ alpha amd64 arm hppa hurd-i386 i386 ia64 m68k mips mipsel powerpc s390 sparc
|
||||
sb.itc.u-tokyo.ac.jp /DEBIAN/debian/ amd64 hurd-i386 i386 powerpc
|
||||
ftp.riken.go.jp /pub/Linux/debian/debian/ /pub/Linux/debian/debian/ amd64 i386
|
||||
sb.itc.u-tokyo.ac.jp /DEBIAN/ /DEBIAN/ amd64 hurd-i386 i386 powerpc
|
||||
ftp.riken.jp /pub/Linux/debian/debian/ /pub/Linux/debian/debian/ amd64 i386
|
||||
debian.shimpinomori.net /debian/ amd64 i386 powerpc
|
||||
www.ring.gr.jp /pub/linux/debian/debian/ /archives/linux/debian/debian/ alpha amd64 arm hppa hurd-i386 i386 ia64 m68k mips mipsel powerpc s390 sparc
|
||||
ftp.jaist.ac.jp /pub/Linux/Debian/ /pub/Linux/Debian/ alpha amd64 arm hppa hurd-i386 i386 ia64 m68k mips mipsel powerpc s390 sparc
|
||||
|
@ -412,6 +412,7 @@ ftp.se.debian.org /debian/ /debian
|
|||
ftp.sunet.se /pub/os/Linux/distributions/debian/ /pub/os/Linux/distributions/debian/alpha amd64 arm hppa hurd-i386 i386 ia64 m68k mips mipsel powerpc s390 sparc
|
||||
ftp.port80.se /debian/ /debian/ alpha amd64 arm hppa hurd-i386 i386 ia64 m68k mips mipsel powerpc s390 sparc
|
||||
ftp.ds.hj.se /pub/os/linux/debian/ /pub/os/linux/debian/ alpha amd64 arm hppa hurd-i386 i386 ia64 m68k mips mipsel powerpc s390 sparc
|
||||
debian.bsnet.se /debian/ i386
|
||||
|
||||
SG Singapore
|
||||
------------
|
||||
|
@ -430,11 +431,11 @@ ftp.sk.debian.org /debian/ /debian
|
|||
TH Thailand
|
||||
-----------
|
||||
ftp.coe.psu.ac.th /debian/ /debian/ i386
|
||||
ftp.thaios.net /debian/ alpha amd64 arm hppa hurd-i386 i386 ia64 m68k mips mipsel powerpc s390 sparc
|
||||
|
||||
TR Turkey
|
||||
---------
|
||||
ftp.tr.debian.org /debian/ /debian/ alpha amd64 arm hppa hurd-i386 i386 ia64 m68k mips mipsel powerpc s390 sparc
|
||||
ftp.linux.org.tr /pub/mirrors/debian/ amd64 i386
|
||||
godel.cs.bilgi.edu.tr /debian/ hurd-i386 i386
|
||||
|
||||
TW Taiwan
|
||||
|
@ -443,8 +444,9 @@ ftp.tw.debian.org /debian/ /debian
|
|||
debian.csie.ntu.edu.tw /pub/debian/ /debian/ amd64 hurd-i386 i386
|
||||
linux.cdpa.nsysu.edu.tw /debian/ alpha amd64 arm hppa hurd-i386 i386 ia64 m68k mips mipsel powerpc s390 sparc
|
||||
opensource.nchc.org.tw /debian/ /debian/ alpha amd64 arm hppa hurd-i386 i386 ia64 m68k mips mipsel powerpc s390 sparc
|
||||
debian.nctu.edu.tw /debian/ alpha amd64 arm hppa hurd-i386 i386 ia64 m68k mips mipsel powerpc s390 sparc
|
||||
debian.nctu.edu.tw /debian/ /debian/ alpha amd64 arm hppa hurd-i386 i386 ia64 m68k mips mipsel powerpc s390 sparc
|
||||
mirror.nttu.edu.tw /debian/ /debian/ alpha amd64 arm hppa hurd-i386 i386 ia64 m68k mips mipsel powerpc s390 sparc
|
||||
debian.csie.nctu.edu.tw /debian/ /debian/ alpha amd64 arm hppa hurd-i386 i386 ia64 m68k mips mipsel powerpc s390 sparc
|
||||
|
||||
UA Ukraine
|
||||
----------
|
||||
|
@ -462,7 +464,7 @@ distro.ibiblio.org /pub/linux/distributions/debian/ /pub/li
|
|||
ftp-mirror.internap.com /pub/debian/ /pub/debian/ alpha amd64 arm hppa hurd-i386 i386 ia64 m68k mips mipsel powerpc s390 sparc
|
||||
ftp.cerias.purdue.edu /pub/os/debian/ /pub/os/debian/ amd64 i386
|
||||
ftp.cs.unm.edu /mirrors/debian/ alpha arm hppa hurd-i386 i386 ia64 m68k mips mipsel powerpc s390 sparc
|
||||
mirror.cs.wisc.edu /pub/mirrors/linux/debian/ amd64 i386
|
||||
mirror.cs.wisc.edu /pub/mirrors/linux/debian/ /pub/mirrors/linux/debian/ amd64 i386
|
||||
ftp.uwsg.indiana.edu /linux/debian/ /linux/debian/ alpha amd64 arm hppa hurd-i386 i386 ia64 m68k mips mipsel powerpc s390 sparc
|
||||
natasha.stmarytx.edu /debian/ /debian/ alpha amd64 arm hppa hurd-i386 i386 ia64 m68k mips mipsel powerpc s390 sparc
|
||||
ftp.ndlug.nd.edu /debian/ /mirrors/debian/ alpha amd64 arm hppa hurd-i386 i386 ia64 m68k mips mipsel powerpc s390 sparc
|
||||
|
@ -501,6 +503,7 @@ debian.unesr.edu.ve /debian
|
|||
ZA South Africa
|
||||
---------------
|
||||
ftp.sun.ac.za /debian/ /ftp/debian/ amd64 i386
|
||||
debian.mirror.ac.za /debian/ /debian/ alpha amd64 arm hppa hurd-i386 i386 ia64 m68k mips mipsel powerpc s390 sparc
|
||||
|
||||
-------------------------------------------------------------------------------
|
||||
Last modified: Tue Mar 13 19:52:11 2007 Number of sites listed: 296
|
||||
Last modified: Thu Apr 5 07:52:11 2007 Number of sites listed: 301
|
|
@ -1,8 +1,8 @@
|
|||
|
||||
(HTML version in README.html)
|
||||
|
||||
Debian GNU/Linux testing "Etch" - Official Beta i386 NETINST
|
||||
Binary-1 20070317-20:46
|
||||
DEBIAN_NAME
|
||||
DEBIAN_DATE
|
||||
|
||||
|
||||
|
||||
|
@ -38,10 +38,9 @@ Intro
|
|||
GNU project; hence the name GNU/Linux.
|
||||
|
||||
Debian is available for various kinds of computers ("architectures"),
|
||||
like "IBM-compatible" PCs (i386), Compaq's Alpha, Motorola's 680x0
|
||||
(m68k), Sun's Sparc, Motorola/IBM's PowerPC, and (Strong)ARM
|
||||
processors. Check the ports page (http://www.debian.org/ports) for
|
||||
more information.
|
||||
like "IBM-compatible" PCs (i386), Compaq's Alpha, Sun's Sparc,
|
||||
Motorola/IBM's PowerPC, and (Strong)ARM processors. Check the ports
|
||||
page (http://www.debian.org/ports) for more information.
|
||||
|
||||
Read more at
|
||||
|
||||
|
@ -53,11 +52,11 @@ About This Disc
|
|||
|
||||
This disc is labeled
|
||||
|
||||
Debian GNU/Linux testing "Etch" - Official Beta i386 NETINST
|
||||
Binary-1 20070317-20:46
|
||||
DEBIAN_NAME
|
||||
DEBIAN_DATE
|
||||
|
||||
which means that this disc is number 1 of a set of 1 discs. It
|
||||
contains programs ("binaries") for `i386' computers.
|
||||
contains programs ("binaries") for `DEBIAN_ARCHITECTURE' computers.
|
||||
|
||||
The programs on the Binary discs are ordered by popularity. The
|
||||
Binary-1 disc contains the most popular programs and the installation
|
||||
|
@ -81,13 +80,13 @@ Installing
|
|||
Programs and other files that are needed for the installation can be
|
||||
found on this disc under
|
||||
|
||||
/tools/ and /install/floppy/
|
||||
DEBIAN_TOOLS
|
||||
|
||||
For the impatient ones: you can start the installation program easily
|
||||
by booting off this disc. Note that not all (esp. older) systems
|
||||
support this.
|
||||
|
||||
You can also examine the
|
||||
You can examine the
|
||||
|
||||
/install
|
||||
|
||||
|
@ -98,9 +97,12 @@ Installing
|
|||
Last-Minute Notes
|
||||
=================
|
||||
|
||||
* You should keep in mind that this is a beta disc of the current
|
||||
development version of the Debian system. This means that all
|
||||
sorts of bugs may be present anywhere in the system.
|
||||
* This is an official release of the Debian system. Please report
|
||||
any bugs you find in the Debian Bug Tracking System; details at
|
||||
[1]bugs.debian.org.
|
||||
* If you're reporting bugs against this disc or the installation
|
||||
system, please also mention the version of this disc; this can be
|
||||
found in the file /.disk/info.
|
||||
|
||||
|
||||
|
||||
|
@ -164,3 +166,7 @@ More Information
|
|||
information on contacting us.
|
||||
|
||||
Last Modified: Sat Mar 20 12:30:45 EST 2004
|
||||
|
||||
References
|
||||
|
||||
1. http://bugs.debian.org/
|
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
|
@ -116,7 +116,7 @@ Debian GNU/Linux is:
|
|||
<ul>
|
||||
<li>
|
||||
<p>
|
||||
<strong>full featured</strong>: Debian includes more than 15400 software
|
||||
<strong>full featured</strong>: Debian includes more than 18347 software
|
||||
packages at present. Users can select which packages to install; Debian
|
||||
provides a tool for this purpose. You can find a list and descriptions of the
|
||||
packages currently available in Debian at any of the Debian <code><a
|
||||
|
@ -135,7 +135,7 @@ License.
|
|||
</p>
|
||||
|
||||
<p>
|
||||
The Debian FTP archives also carry approximately 450 software packages (in the
|
||||
The Debian FTP archives also carry approximately 444 software packages (in the
|
||||
<samp>non-free</samp> and <samp>contrib</samp> sections), which are
|
||||
distributable under specific terms included with each package.
|
||||
</p>
|
||||
|
@ -144,7 +144,7 @@ distributable under specific terms included with each package.
|
|||
<ul>
|
||||
<li>
|
||||
<p>
|
||||
<strong>dynamic</strong>: With about 1649 volunteers constantly contributing
|
||||
<strong>dynamic</strong>: With about 1950 volunteers constantly contributing
|
||||
new and improved code, Debian is evolving rapidly. New releases are planned to
|
||||
be made every several months, and the FTP archives are updated daily.
|
||||
</p>
|
||||
|
@ -292,7 +292,7 @@ the same spirit as Linux and other free software.
|
|||
</p>
|
||||
|
||||
<p>
|
||||
More than 1649 volunteer package maintainers are working on over 15400 packages
|
||||
More than 1950 volunteer package maintainers are working on over 18347 packages
|
||||
and improving Debian GNU/Linux. The Debian developers contribute to the
|
||||
project not by writing new applications (in most cases), but by packaging
|
||||
existing software according to the standards of the project, by communicating
|
||||
|
@ -308,8 +308,8 @@ developer?, Section 12.1</a>.
|
|||
<dd>
|
||||
<p>
|
||||
Debian comes with <code><a href="http://packages.debian.org/stable/">more than
|
||||
15400 packages</a></code> and runs on <code><a
|
||||
href="http://www.debian.org/ports/">11 architectures</a></code>. This is far
|
||||
18347 packages</a></code> and runs on <code><a
|
||||
href="http://www.debian.org/ports/">10 architectures</a></code>. This is far
|
||||
more than is available for any other GNU/Linux distribution. See <a
|
||||
href="ch-software.en.html#s-apps">What types of applications and development
|
||||
software are available for Debian GNU/Linux?, Section 4.1</a> for an overview
|
||||
|
@ -418,7 +418,7 @@ The Debian GNU/Linux FAQ
|
|||
</p>
|
||||
|
||||
<address>
|
||||
version 3.1.3, 25 April 2006<br>
|
||||
version 3.1.5, 17 January 2007<br>
|
||||
<br>
|
||||
Authors are listed at <a href="ch-faqinfo.en.html#s-authors">Debian FAQ Authors</a><br>
|
||||
<br>
|
|
@ -116,7 +116,7 @@ Debian GNU/Linux is:
|
|||
<ul>
|
||||
<li>
|
||||
<p>
|
||||
<strong>full featured</strong>: Debian includes more than 15400 software
|
||||
<strong>full featured</strong>: Debian includes more than 18347 software
|
||||
packages at present. Users can select which packages to install; Debian
|
||||
provides a tool for this purpose. You can find a list and descriptions of the
|
||||
packages currently available in Debian at any of the Debian <code><a
|
||||
|
@ -135,7 +135,7 @@ License.
|
|||
</p>
|
||||
|
||||
<p>
|
||||
The Debian FTP archives also carry approximately 450 software packages (in the
|
||||
The Debian FTP archives also carry approximately 444 software packages (in the
|
||||
<samp>non-free</samp> and <samp>contrib</samp> sections), which are
|
||||
distributable under specific terms included with each package.
|
||||
</p>
|
||||
|
@ -144,7 +144,7 @@ distributable under specific terms included with each package.
|
|||
<ul>
|
||||
<li>
|
||||
<p>
|
||||
<strong>dynamic</strong>: With about 1649 volunteers constantly contributing
|
||||
<strong>dynamic</strong>: With about 1950 volunteers constantly contributing
|
||||
new and improved code, Debian is evolving rapidly. New releases are planned to
|
||||
be made every several months, and the FTP archives are updated daily.
|
||||
</p>
|
||||
|
@ -292,7 +292,7 @@ the same spirit as Linux and other free software.
|
|||
</p>
|
||||
|
||||
<p>
|
||||
More than 1649 volunteer package maintainers are working on over 15400 packages
|
||||
More than 1950 volunteer package maintainers are working on over 18347 packages
|
||||
and improving Debian GNU/Linux. The Debian developers contribute to the
|
||||
project not by writing new applications (in most cases), but by packaging
|
||||
existing software according to the standards of the project, by communicating
|
||||
|
@ -308,8 +308,8 @@ developer?, Section 12.1</a>.
|
|||
<dd>
|
||||
<p>
|
||||
Debian comes with <code><a href="http://packages.debian.org/stable/">more than
|
||||
15400 packages</a></code> and runs on <code><a
|
||||
href="http://www.debian.org/ports/">11 architectures</a></code>. This is far
|
||||
18347 packages</a></code> and runs on <code><a
|
||||
href="http://www.debian.org/ports/">10 architectures</a></code>. This is far
|
||||
more than is available for any other GNU/Linux distribution. See <a
|
||||
href="ch-software.en.html#s-apps">What types of applications and development
|
||||
software are available for Debian GNU/Linux?, Section 4.1</a> for an overview
|
||||
|
@ -418,7 +418,7 @@ The Debian GNU/Linux FAQ
|
|||
</p>
|
||||
|
||||
<address>
|
||||
version 3.1.3, 25 April 2006<br>
|
||||
version 3.1.5, 17 January 2007<br>
|
||||
<br>
|
||||
Authors are listed at <a href="ch-faqinfo.en.html#s-authors">Debian FAQ Authors</a><br>
|
||||
<br>
|
|
@ -56,7 +56,7 @@ FAQ</a></code> for details.
|
|||
</p>
|
||||
|
||||
<p>
|
||||
The current Debian GNU/Linux release, 3.1, contains a complete, binary
|
||||
The current Debian GNU/Linux release, 4.0, contains a complete, binary
|
||||
distribution for the following architectures:
|
||||
</p>
|
||||
|
||||
|
@ -373,7 +373,7 @@ The Debian GNU/Linux FAQ
|
|||
</p>
|
||||
|
||||
<address>
|
||||
version 3.1.3, 25 April 2006<br>
|
||||
version 3.1.5, 17 January 2007<br>
|
||||
<br>
|
||||
Authors are listed at <a href="ch-faqinfo.en.html#s-authors">Debian FAQ Authors</a><br>
|
||||
<br>
|
|
@ -56,7 +56,7 @@ FAQ</a></code> for details.
|
|||
</p>
|
||||
|
||||
<p>
|
||||
The current Debian GNU/Linux release, 3.1, contains a complete, binary
|
||||
The current Debian GNU/Linux release, 4.0, contains a complete, binary
|
||||
distribution for the following architectures:
|
||||
</p>
|
||||
|
||||
|
@ -373,7 +373,7 @@ The Debian GNU/Linux FAQ
|
|||
</p>
|
||||
|
||||
<address>
|
||||
version 3.1.3, 25 April 2006<br>
|
||||
version 3.1.5, 17 January 2007<br>
|
||||
<br>
|
||||
Authors are listed at <a href="ch-faqinfo.en.html#s-authors">Debian FAQ Authors</a><br>
|
||||
<br>
|
|
@ -178,7 +178,7 @@ The Debian GNU/Linux FAQ
|
|||
</p>
|
||||
|
||||
<address>
|
||||
version 3.1.3, 25 April 2006<br>
|
||||
version 3.1.5, 17 January 2007<br>
|
||||
<br>
|
||||
Authors are listed at <a href="ch-faqinfo.en.html#s-authors">Debian FAQ Authors</a><br>
|
||||
<br>
|
|
@ -178,7 +178,7 @@ The Debian GNU/Linux FAQ
|
|||
</p>
|
||||
|
||||
<address>
|
||||
version 3.1.3, 25 April 2006<br>
|
||||
version 3.1.5, 17 January 2007<br>
|
||||
<br>
|
||||
Authors are listed at <a href="ch-faqinfo.en.html#s-authors">Debian FAQ Authors</a><br>
|
||||
<br>
|
|
@ -509,7 +509,7 @@ The Debian GNU/Linux FAQ
|
|||
</p>
|
||||
|
||||
<address>
|
||||
version 3.1.3, 25 April 2006<br>
|
||||
version 3.1.5, 17 January 2007<br>
|
||||
<br>
|
||||
Authors are listed at <a href="ch-faqinfo.en.html#s-authors">Debian FAQ Authors</a><br>
|
||||
<br>
|
|
@ -509,7 +509,7 @@ The Debian GNU/Linux FAQ
|
|||
</p>
|
||||
|
||||
<address>
|
||||
version 3.1.3, 25 April 2006<br>
|
||||
version 3.1.5, 17 January 2007<br>
|
||||
<br>
|
||||
Authors are listed at <a href="ch-faqinfo.en.html#s-authors">Debian FAQ Authors</a><br>
|
||||
<br>
|
|
@ -197,7 +197,7 @@ The Debian GNU/Linux FAQ
|
|||
</p>
|
||||
|
||||
<address>
|
||||
version 3.1.3, 25 April 2006<br>
|
||||
version 3.1.5, 17 January 2007<br>
|
||||
<br>
|
||||
Authors are listed at <a href="ch-faqinfo.en.html#s-authors">Debian FAQ Authors</a><br>
|
||||
<br>
|
|
@ -197,7 +197,7 @@ The Debian GNU/Linux FAQ
|
|||
</p>
|
||||
|
||||
<address>
|
||||
version 3.1.3, 25 April 2006<br>
|
||||
version 3.1.5, 17 January 2007<br>
|
||||
<br>
|
||||
Authors are listed at <a href="ch-faqinfo.en.html#s-authors">Debian FAQ Authors</a><br>
|
||||
<br>
|
|
@ -138,10 +138,10 @@ again).
|
|||
</p>
|
||||
|
||||
<p>
|
||||
Currently, <samp>stable</samp> is a symbolic link to <samp>sarge</samp> (i.e.
|
||||
Debian GNU/Linux 3.1) and <samp>testing</samp> is a symbolic link to
|
||||
<samp>etch</samp>. This means that <samp>sarge</samp> is the current stable
|
||||
distribution and <samp>etch</samp> is the current testing distribution.
|
||||
Currently, <samp>stable</samp> is a symbolic link to <samp>etch</samp> (i.e.
|
||||
Debian GNU/Linux 4.0) and <samp>testing</samp> is a symbolic link to
|
||||
<samp>lenny</samp>. This means that <samp>etch</samp> is the current stable
|
||||
distribution and <samp>lenny</samp> is the current testing distribution.
|
||||
</p>
|
||||
|
||||
<p>
|
||||
|
@ -158,7 +158,8 @@ about "sid"?, Section 5.4</a>).
|
|||
Other codenames that have been already used are: <samp>buzz</samp> for release
|
||||
1.1, <samp>rex</samp> for release 1.2, <samp>bo</samp> for releases 1.3.x,
|
||||
<samp>hamm</samp> for release 2.0, <samp>slink</samp> for release 2.1,
|
||||
<samp>potato</samp> for release 2.2 and <samp>woody</samp> for release 3.0.
|
||||
<samp>potato</samp> for release 2.2, <samp>woody</samp> for release 3.0 and
|
||||
<samp>sarge</samp> for release 3.1.
|
||||
</p>
|
||||
|
||||
<hr>
|
||||
|
@ -228,7 +229,14 @@ Pixar.
|
|||
<ul>
|
||||
<li>
|
||||
<p>
|
||||
<em>etch</em> was the toy blackboard (Etch-a-Sketch (R)).
|
||||
<em>etch</em> was the toy blackboard (Etch-a-Sketch (R)),
|
||||
</p>
|
||||
</li>
|
||||
</ul>
|
||||
<ul>
|
||||
<li>
|
||||
<p>
|
||||
<em>lenny</em> was the binoculars.
|
||||
</p>
|
||||
</li>
|
||||
</ul>
|
||||
|
@ -554,7 +562,7 @@ The Debian GNU/Linux FAQ
|
|||
</p>
|
||||
|
||||
<address>
|
||||
version 3.1.3, 25 April 2006<br>
|
||||
version 3.1.5, 17 January 2007<br>
|
||||
<br>
|
||||
Authors are listed at <a href="ch-faqinfo.en.html#s-authors">Debian FAQ Authors</a><br>
|
||||
<br>
|
|
@ -138,10 +138,10 @@ again).
|
|||
</p>
|
||||
|
||||
<p>
|
||||
Currently, <samp>stable</samp> is a symbolic link to <samp>sarge</samp> (i.e.
|
||||
Debian GNU/Linux 3.1) and <samp>testing</samp> is a symbolic link to
|
||||
<samp>etch</samp>. This means that <samp>sarge</samp> is the current stable
|
||||
distribution and <samp>etch</samp> is the current testing distribution.
|
||||
Currently, <samp>stable</samp> is a symbolic link to <samp>etch</samp> (i.e.
|
||||
Debian GNU/Linux 4.0) and <samp>testing</samp> is a symbolic link to
|
||||
<samp>lenny</samp>. This means that <samp>etch</samp> is the current stable
|
||||
distribution and <samp>lenny</samp> is the current testing distribution.
|
||||
</p>
|
||||
|
||||
<p>
|
||||
|
@ -158,7 +158,8 @@ about "sid"?, Section 5.4</a>).
|
|||
Other codenames that have been already used are: <samp>buzz</samp> for release
|
||||
1.1, <samp>rex</samp> for release 1.2, <samp>bo</samp> for releases 1.3.x,
|
||||
<samp>hamm</samp> for release 2.0, <samp>slink</samp> for release 2.1,
|
||||
<samp>potato</samp> for release 2.2 and <samp>woody</samp> for release 3.0.
|
||||
<samp>potato</samp> for release 2.2, <samp>woody</samp> for release 3.0 and
|
||||
<samp>sarge</samp> for release 3.1.
|
||||
</p>
|
||||
|
||||
<hr>
|
||||
|
@ -228,7 +229,14 @@ Pixar.
|
|||
<ul>
|
||||
<li>
|
||||
<p>
|
||||
<em>etch</em> was the toy blackboard (Etch-a-Sketch (R)).
|
||||
<em>etch</em> was the toy blackboard (Etch-a-Sketch (R)),
|
||||
</p>
|
||||
</li>
|
||||
</ul>
|
||||
<ul>
|
||||
<li>
|
||||
<p>
|
||||
<em>lenny</em> was the binoculars.
|
||||
</p>
|
||||
</li>
|
||||
</ul>
|
||||
|
@ -554,7 +562,7 @@ The Debian GNU/Linux FAQ
|
|||
</p>
|
||||
|
||||
<address>
|
||||
version 3.1.3, 25 April 2006<br>
|
||||
version 3.1.5, 17 January 2007<br>
|
||||
<br>
|
||||
Authors are listed at <a href="ch-faqinfo.en.html#s-authors">Debian FAQ Authors</a><br>
|
||||
<br>
|
Some files were not shown because too many files have changed in this diff Show More
Loading…
Reference in New Issue