Create new build host branch for sarge based on r976, which is apparently when the sarge dir on farbror was created
|
@ -0,0 +1,322 @@
|
|||
#
|
||||
# This file will have to be sourced where needed
|
||||
#
|
||||
|
||||
# Unset all optional variables first to start from a clean state
|
||||
unset NONUS || true
|
||||
unset FORCENONUSONCD1 || true
|
||||
unset NONFREE || true
|
||||
unset CONTRIB || true
|
||||
unset EXTRANONFREE || true
|
||||
unset LOCAL || true
|
||||
unset LOCALDEBS || true
|
||||
unset SECURED || true
|
||||
unset SECURITY || true
|
||||
unset BOOTDIR || true
|
||||
unset BOOTDISKS || true
|
||||
unset SYMLINK || true
|
||||
unset COPYLINK || true
|
||||
unset MKISOFS || true
|
||||
unset MKISOFS_OPTS || true
|
||||
unset ISOLINUX || true
|
||||
unset EXCLUDE || true
|
||||
unset SRCEXCLUDE || true
|
||||
unset NORECOMMENDS || true
|
||||
unset NOSUGGESTS || true
|
||||
unset DOJIGDO || true
|
||||
unset JIGDOTEMPLATEURL || true
|
||||
unset JIGDOFALLBACKURLS || true
|
||||
unset JIGDOINCLUDEURLS || true
|
||||
unset JIGDOSCRIPT || true
|
||||
unset JIGDO_OPTS || true
|
||||
unset DEFBINSIZE || true
|
||||
unset DEFSRCSIZE || true
|
||||
unset FASTSUMS || true
|
||||
unset PUBLISH_URL || true
|
||||
unset PUBLISH_NONUS_URL || true
|
||||
unset PUBLISH_PATH || true
|
||||
unset UDEB_INCLUDE || true
|
||||
unset UDEB_EXCLUDE || true
|
||||
unset BASE_INCLUDE || true
|
||||
unset BASE_EXCLUDE || true
|
||||
unset INSTALLER_CD || true
|
||||
unset MAXCDS || true
|
||||
unset SPLASHPNG || true
|
||||
unset OMIT_MANUAL || true
|
||||
unset OMIT_RELEASE_NOTES || true
|
||||
|
||||
# The debian-cd dir
|
||||
# Where I am (hoping I'm in the debian-cd dir)
|
||||
export BASEDIR=`pwd`
|
||||
|
||||
# Building etch cd set ...
|
||||
export CODENAME=etch
|
||||
|
||||
# By default use Debian installer packages from $CODENAME
|
||||
if [ ! "$DI_CODENAME" ]
|
||||
then
|
||||
export DI_CODENAME=$CODENAME
|
||||
fi
|
||||
|
||||
# If set, controls where the d-i components are downloaded from.
|
||||
# This may be an url, or "default", which will make it use the default url
|
||||
# for the daily d-i builds. If not set, uses the official d-i images from
|
||||
# the Debian mirror.
|
||||
#export DI_WWW_HOME=default
|
||||
|
||||
# Version number, "2.2 r0", "2.2 r1" etc.
|
||||
export DEBVERSION="3.1"
|
||||
|
||||
# Official or non-official set.
|
||||
# NOTE: THE "OFFICIAL" DESIGNATION IS ONLY ALLOWED FOR IMAGES AVAILABLE
|
||||
# ON THE OFFICIAL DEBIAN CD WEBSITE http://cdimage.debian.org
|
||||
export OFFICIAL="Unofficial"
|
||||
#export OFFICIAL="Official"
|
||||
#export OFFICIAL="Official Beta"
|
||||
|
||||
# ... for arch
|
||||
export ARCH=`dpkg --print-architecture`
|
||||
|
||||
# IMPORTANT : The 4 following paths must be on the same partition/device.
|
||||
# If they aren't then you must set COPYLINK below to 1. This
|
||||
# takes a lot of extra room to create the sandbox for the ISO
|
||||
# images, however. Also, if you are using an NFS partition for
|
||||
# some part of this, you must use this option.
|
||||
# Paths to the mirrors
|
||||
export MIRROR=/ftp/debian
|
||||
|
||||
# Comment the following line if you don't have/want non-US
|
||||
#export NONUS=/ftp/debian-non-US
|
||||
|
||||
# And this option will make you 2 copies of CD1 - one with all the
|
||||
# non-US packages on it, one with none. Useful if you're likely to
|
||||
# need both.
|
||||
#export FORCENONUSONCD1=1
|
||||
|
||||
# Path of the temporary directory
|
||||
export TDIR=/ftp/tmp
|
||||
|
||||
# Path where the images will be written
|
||||
export OUT=/rack/debian-cd
|
||||
|
||||
# Where we keep the temporary apt stuff.
|
||||
# This cannot reside on an NFS mount.
|
||||
export APTTMP=/ftp/tmp/apt
|
||||
|
||||
# Do I want to have NONFREE merged in the CD set
|
||||
# export NONFREE=1
|
||||
|
||||
# Do I want to have CONTRIB merged in the CD set
|
||||
export CONTRIB=1
|
||||
|
||||
# Do I want to have NONFREE on a separate CD (the last CD of the CD set)
|
||||
# WARNING: Don't use NONFREE and EXTRANONFREE at the same time !
|
||||
# export EXTRANONFREE=1
|
||||
|
||||
# If you have a $MIRROR/dists/$CODENAME/local/binary-$ARCH dir with
|
||||
# local packages that you want to put on the CD set then
|
||||
# uncomment the following line
|
||||
# export LOCAL=1
|
||||
|
||||
# If your local packages are not under $MIRROR, but somewhere else,
|
||||
# you can uncomment this line and edit to to point to a directory
|
||||
# containing dists/$CODENAME/local/binary-$ARCH
|
||||
# export LOCALDEBS=/home/joey/debian/va/debian
|
||||
|
||||
# If you want a <codename>-secured tree with a copy of the signed
|
||||
# Release.gpg and files listed by this Release file, then
|
||||
# uncomment this line
|
||||
# export SECURED=1
|
||||
|
||||
# Where to find the security patches. This directory should be the
|
||||
# top directory of a security.debian.org mirror.
|
||||
#export SECURITY="$TOPDIR"/debian/debian-security
|
||||
|
||||
# Sparc only : bootdir (location of cd.b and second.b)
|
||||
# export BOOTDIR=/boot
|
||||
|
||||
# Symlink farmers should uncomment this line :
|
||||
# export SYMLINK=1
|
||||
|
||||
# Use this to force copying the files instead of symlinking or hardlinking
|
||||
# them. This is useful if your destination directories are on a different
|
||||
# partition than your source files.
|
||||
# export COPYLINK=1
|
||||
|
||||
# Options
|
||||
# export MKISOFS=mkisofs
|
||||
# export MKISOFS_OPTS="-r" #For normal users
|
||||
# export MKISOFS_OPTS="-r -F ." #For symlink farmers
|
||||
|
||||
# ISOLinux support for multiboot on CD1 for i386
|
||||
export ISOLINUX=1
|
||||
|
||||
# uncomment this to if you want to see more of what the Makefile is doing
|
||||
#export VERBOSE_MAKE=1
|
||||
|
||||
# uncoment this to make build_all.sh try to build a simple CD image if
|
||||
# the proper official CD run does not work
|
||||
#ATTEMPT_FALLBACK=yes
|
||||
|
||||
# Set your disk size here in MB. Used in calculating package and
|
||||
# source file layouts in build.sh and build_all.sh. Defaults are for
|
||||
# CD-R, try ~4600 for DVD-R.
|
||||
export DEFBINSIZE=630
|
||||
export DEFSRCSIZE=635
|
||||
|
||||
# We don't want certain packages to take up space on CD1...
|
||||
export EXCLUDE="$BASEDIR"/tasks/exclude-$CODENAME
|
||||
# ...but they are okay for other CDs (UNEXCLUDEx == may be included on CD >= x)
|
||||
export UNEXCLUDE2="$BASEDIR"/tasks/unexclude-CD2-$CODENAME
|
||||
# Any packages listed in EXCLUDE but not in any UNEXCLUDE will be
|
||||
# excluded completely.
|
||||
|
||||
# We also exclude some source packages
|
||||
#export SRCEXCLUDE="$BASEDIR"/tasks/exclude-src-$CODENAME
|
||||
|
||||
# Set this if the recommended packages should be skipped when adding
|
||||
# package on the CD. The default is 'false'.
|
||||
export NORECOMMENDS=1
|
||||
|
||||
# Set this if the suggested packages should be skipped when adding
|
||||
# package on the CD. The default is 'true'.
|
||||
#export NOSUGGESTS=1
|
||||
|
||||
# Produce jigdo files:
|
||||
# 0/unset = Don't do jigdo at all, produce only the full iso image.
|
||||
# 1 = Produce both the iso image and jigdo stuff.
|
||||
# 2 = Produce ONLY jigdo stuff by piping mkisofs directly into jigdo-file,
|
||||
# no temporary iso image is created (saves lots of disk space).
|
||||
# NOTE: The no-temp-iso will not work for (at least) alpha and powerpc
|
||||
# since they need the actual .iso to make it bootable. For these archs,
|
||||
# the temp-iso will be generated, but deleted again immediately after the
|
||||
# jigdo stuff is made; needs temporary space as big as the biggest image.
|
||||
#export DOJIGDO=2
|
||||
#
|
||||
# jigdo-file command & options
|
||||
# Note: building the cache takes hours, so keep it around for the next run
|
||||
#export JIGDOCMD="/usr/local/bin/jigdo-file --cache=$HOME/jigdo-cache.db"
|
||||
#
|
||||
# HTTP/FTP URL for directory where you intend to make the templates
|
||||
# available. You should not need to change this; the default value ""
|
||||
# means "template in same dir as the .jigdo file", which is usually
|
||||
# correct. If it is non-empty, it needs a trailing slash. "%ARCH%"
|
||||
# will be substituted by the current architecture.
|
||||
#export JIGDOTEMPLATEURL=""
|
||||
#
|
||||
# Name of a directory on disc to create data for a fallback server in.
|
||||
# Should later be made available by you at the URL given in
|
||||
# JIGDOFALLBACKURLS. In the directory, two subdirs named "Debian" and
|
||||
# "Non-US" will be created, and filled with hard links to the actual
|
||||
# files in your FTP archive. Because of the hard links, the dir must
|
||||
# be on the same partition as the FTP archive! If unset, no fallback
|
||||
# data is created, which may cause problems - see README.
|
||||
#export JIGDOFALLBACKPATH="$(OUT)/snapshot/"
|
||||
#
|
||||
# Space-separated list of label->URL mappings for "jigdo fallback
|
||||
# server(s)" to add to .jigdo file. If unset, no fallback URL is
|
||||
# added, which may cause problems - see README.
|
||||
#export JIGDOFALLBACKURLS="Debian=http://myserver/snapshot/Debian/ Non-US=http://myserver/snapshot/Non-US/"
|
||||
#
|
||||
# Space-separated list of "include URLs" to add to the .jigdo file.
|
||||
# The included files are used to provide an up-to-date list of Debian
|
||||
# mirrors to the jigdo _GUI_application_ (_jigdo-lite_ doesn't support
|
||||
# "[Include ...]").
|
||||
export JIGDOINCLUDEURLS="http://cdimage.debian.org/debian-cd/debian-servers.jigdo"
|
||||
#
|
||||
# $JIGDOTEMPLATEURL and $JIGDOINCLUDEURLS are passed to
|
||||
# "tools/jigdo_header", which is used by default to generate the
|
||||
# [Image] and [Servers] sections of the .jigdo file. You can provide
|
||||
# your own script if you need the .jigdo file to contain different
|
||||
# data.
|
||||
#export JIGDOSCRIPT="myscript"
|
||||
|
||||
# If set, use the md5sums from the main archive, rather than calculating
|
||||
# them locally
|
||||
#export FASTSUMS=1
|
||||
|
||||
# A couple of things used only by publish_cds, so it can tweak the
|
||||
# jigdo files, and knows where to put the results.
|
||||
# You need to run publish_cds manually, it is not run by the Makefile.
|
||||
export PUBLISH_URL="http://cdimage.debian.org/jigdo-area"
|
||||
export PUBLISH_NONUS_URL="http://non-US.cdimage.debian.org/jigdo-area"
|
||||
export PUBLISH_PATH="/home/jigdo-area/"
|
||||
|
||||
# Specify files and directories to *exclude* from jigdo processing. These
|
||||
# files on each CD are expected to be different to those on the mirror, or
|
||||
# are often subject to change. Any files matching entries in this list will
|
||||
# simply be placed straight into the template file.
|
||||
export JIGDO_EXCLUDE="'README*' /doc/ /md5sum.txt /.disk/ /pics/ 'Release*' 'Packages*' 'Sources*'"
|
||||
|
||||
# Specify files that MUST match entries in the externally-supplied
|
||||
# md5-list. If they do not, the CD build process will fail; something
|
||||
# must have been corrupted. Replaces the old mirrorcheck code.
|
||||
export JIGDO_INCLUDE="/pool/"
|
||||
|
||||
# Specify the minimum file size to consider for jigdo processing. Any files
|
||||
# smaller than this will simply be placed straight into the template file.
|
||||
export JIGDO_OPTS="-jigdo-min-file-size 0"
|
||||
|
||||
for EXCL in $JIGDO_EXCLUDE
|
||||
do
|
||||
JIGDO_OPTS="$JIGDO_OPTS -jigdo-exclude $EXCL"
|
||||
done
|
||||
|
||||
for INCL in $JIGDO_INCLUDE
|
||||
do
|
||||
JIGDO_OPTS="$JIGDO_OPTS -jigdo-force-md5 $INCL"
|
||||
done
|
||||
|
||||
# Where to find the boot disks
|
||||
#export BOOTDISKS=$TOPDIR/ftp/skolelinux/boot-floppies
|
||||
|
||||
# File with list of packages to include when fetching modules for the
|
||||
# first stage installer (debian-installer). One package per line.
|
||||
# Lines starting with '#' are comments. The package order is
|
||||
# important, as the packages will be installed in the given order.
|
||||
#export UDEB_INCLUDE="$BASEDIR"/data/$CODENAME/udeb_include
|
||||
|
||||
# File with list of packages to exclude as above.
|
||||
#export UDEB_EXCLUDE="$BASEDIR"/data/$CODENAME/udeb_exclude
|
||||
|
||||
# File with list of packages to include when running debootstrap from
|
||||
# the first stage installer (currently only supported in
|
||||
# debian-installer). One package per line. Lines starting with '#'
|
||||
# are comments. The package order is important, as the packages will
|
||||
# be installed in the given order.
|
||||
#export BASE_INCLUDE="$BASEDIR"/data/$CODENAME/base_include
|
||||
|
||||
# File with list of packages to exclude as above.
|
||||
#export BASE_EXCLUDE="$BASEDIR"/data/$CODENAME/base_exclude
|
||||
|
||||
# Only put the installer onto the cd (set NORECOMMENDS,... as well).
|
||||
# INSTALLER_CD=0: nothing special (default)
|
||||
# INSTALLER_CD=1: just add debian-installer (use TASK=tasks/debian-installer-$CODENAME)
|
||||
# INSTALLER_CD=2: add d-i and base (use TASK=tasks/debian-installer+kernel-$CODENAME)
|
||||
#export INSTALLER_CD=0
|
||||
|
||||
# Parameters to pass to kernel when the CD boots. Not currently supported
|
||||
# for all architectures.
|
||||
#export KERNEL_PARAMS="DEBCONF_PRIORITY=critical"
|
||||
|
||||
# If set, limits the number of binary CDs to produce.
|
||||
#export MAXCDS=1
|
||||
|
||||
# If set, overrides the boot picture used.
|
||||
#export SPLASHPNG="$BASEDIR/data/$CODENAME/splash-img.png"
|
||||
|
||||
# Used by build.sh to determine what to build, this is the name of a target
|
||||
# in the Makefile. Use bin-official_images to build only binary CDs. The
|
||||
# default, official_images, builds everything.
|
||||
#IMAGETARGET=official_images
|
||||
|
||||
# Set to 1 to save space by omitting the installation manual.
|
||||
# If so the README will link to the manual on the web site.
|
||||
#export OMIT_MANUAL=1
|
||||
|
||||
# Set to 1 to save space by omitting the release notes
|
||||
# If so we will link to them on the web site.
|
||||
export OMIT_RELEASE_NOTES=0
|
||||
|
||||
# Set this to override the defaul location
|
||||
#export RELEASE_NOTES_LOCATION="http://www.debian.org/releases/$CODENAME"
|
|
@ -0,0 +1,968 @@
|
|||
#!/usr/bin/make -f
|
||||
|
||||
# Main Makefile for YACS
|
||||
#
|
||||
# Copyright 1999 Raphaël Hertzog <hertzog@debian.org>
|
||||
# See the README file for the license
|
||||
|
||||
# The environment variables must have been set
|
||||
# before. For this you can source the CONF.sh
|
||||
# file in your shell
|
||||
|
||||
|
||||
## DEFAULT VALUES
|
||||
ifndef VERBOSE_MAKE
|
||||
Q=@
|
||||
endif
|
||||
ifndef SIZELIMIT
|
||||
SIZELIMIT=$(shell echo -n $$[ 610 * 1024 * 1024 ])
|
||||
endif
|
||||
ifndef TASK
|
||||
TASK=$(BASEDIR)/tasks/Debian_$(CODENAME)
|
||||
endif
|
||||
ifndef CAPCODENAME
|
||||
CAPCODENAME:=$(shell perl -e "print ucfirst("$(CODENAME)")")
|
||||
endif
|
||||
ifndef BINDISKINFO
|
||||
export BINDISKINFO="Debian GNU/Linux $(DEBVERSION) \"$(CAPCODENAME)\" - $(OFFICIAL) $(ARCH) Binary-$$num ($$DATE)"
|
||||
endif
|
||||
ifndef SRCDISKINFO
|
||||
export SRCDISKINFO="Debian GNU/Linux $(DEBVERSION) \"$(CAPCODENAME)\" - $(OFFICIAL) Source-$$num ($$DATE)"
|
||||
endif
|
||||
# ND=No-Date versions for README
|
||||
ifndef BINDISKINFOND
|
||||
export BINDISKINFOND="Debian GNU/Linux $(DEBVERSION) \"$(CAPCODENAME)\" - $(OFFICIAL) $(ARCH) Binary-$$num"
|
||||
endif
|
||||
ifndef SRCDISKINFOND
|
||||
export SRCDISKINFOND="Debian GNU/Linux $(DEBVERSION) \"$(CAPCODENAME)\" - $(OFFICIAL) Source-$$num"
|
||||
endif
|
||||
ifndef BINVOLID
|
||||
ifeq ($(ARCH),powerpc)
|
||||
BINVOLID="Debian $(DEBVERSION) ppc Bin-$$num"
|
||||
else
|
||||
BINVOLID="Debian $(DEBVERSION) $(ARCH) Bin-$$num"
|
||||
endif
|
||||
endif
|
||||
ifndef SRCVOLID
|
||||
SRCVOLID="Debian $(DEBVERSION) Src-$$num"
|
||||
endif
|
||||
ifndef MKISOFS
|
||||
export MKISOFS=mkisofs
|
||||
endif
|
||||
ifndef MKISOFS_OPTS
|
||||
#For normal users
|
||||
MKISOFS_OPTS=-r
|
||||
#For symlink farmers
|
||||
#MKISOFS_OPTS=-r -F .
|
||||
endif
|
||||
ifndef HOOK
|
||||
HOOK=$(BASEDIR)/tools/$(CODENAME).hook
|
||||
endif
|
||||
ifneq "$(wildcard $(MIRROR)/dists/$(DI_CODENAME)/main/disks-$(ARCH))" ""
|
||||
ifndef BOOTDISKS
|
||||
export BOOTDISKS=$(MIRROR)/dists/$(DI_CODENAME)/main/disks-$(ARCH)
|
||||
endif
|
||||
endif
|
||||
ifndef DOJIGDO
|
||||
export DOJIGDO=0
|
||||
endif
|
||||
|
||||
# Netinst/businesscard CD have different udeb_include and udeb_exclude files
|
||||
ifndef UDEB_INCLUDE
|
||||
ifeq ($(INSTALLER_CD),1)
|
||||
UDEB_INCLUDE=$(BASEDIR)/data/$(DI_CODENAME)/$(ARCH)_businesscard_udeb_include
|
||||
endif
|
||||
ifeq ($(INSTALLER_CD),2)
|
||||
UDEB_INCLUDE=$(BASEDIR)/data/$(DI_CODENAME)/$(ARCH)_netinst_udeb_include
|
||||
endif
|
||||
endif
|
||||
ifndef UDEB_INCLUDE
|
||||
UDEB_INCLUDE=$(BASEDIR)/data/$(DI_CODENAME)/$(ARCH)_udeb_include
|
||||
endif
|
||||
ifndef UDEB_EXCLUDE
|
||||
ifeq ($(INSTALLER_CD),1)
|
||||
UDEB_EXCLUDE=$(BASEDIR)/data/$(DI_CODENAME)/businesscard_udeb_exclude
|
||||
endif
|
||||
ifeq ($(INSTALLER_CD),2)
|
||||
UDEB_EXCLUDE=$(BASEDIR)/data/$(DI_CODENAME)/netinst_udeb_exclude
|
||||
endif
|
||||
endif
|
||||
ifndef UDEB_EXCLUDE
|
||||
UDEB_EXCLUDE=$(BASEDIR)/data/$(DI_CODENAME)/udeb_exclude
|
||||
endif
|
||||
|
||||
## Internal variables
|
||||
apt=$(BASEDIR)/tools/apt-selection
|
||||
list2cds=$(BASEDIR)/tools/list2cds
|
||||
cds2src=$(BASEDIR)/tools/cds2src
|
||||
master2tasks=$(BASEDIR)/tools/master2tasks
|
||||
mirrorcheck=$(BASEDIR)/tools/mirror_check
|
||||
add_packages=$(BASEDIR)/tools/add_packages
|
||||
add_dirs=$(BASEDIR)/tools/add_dirs
|
||||
add_bin_doc=$(BASEDIR)/tools/add-bin-doc
|
||||
scanpackages=$(BASEDIR)/tools/scanpackages
|
||||
scansources=$(BASEDIR)/tools/scansources
|
||||
add_files=$(BASEDIR)/tools/add_files
|
||||
set_mkisofs_opts=$(BASEDIR)/tools/set_mkisofs_opts
|
||||
strip_nonus_bin=$(BASEDIR)/tools/strip-nonUS-bin
|
||||
add_secured=$(BASEDIR)/tools/add_secured
|
||||
md5sum=md5sum
|
||||
fastsums=$(BASEDIR)/tools/fast_sums
|
||||
jigdo_cleanup=$(BASEDIR)/tools/jigdo_cleanup
|
||||
grab_md5=$(BASEDIR)/tools/grab_md5
|
||||
dedicated-src=$(BASEDIR)/tools/dedicated_source
|
||||
make_image=$(BASEDIR)/tools/make_image
|
||||
|
||||
BDIR=$(TDIR)/$(CODENAME)-$(ARCH)
|
||||
ADIR=$(APTTMP)/$(CODENAME)-$(ARCH)
|
||||
SDIR=$(TDIR)/$(CODENAME)-src
|
||||
|
||||
FIRSTDISKS=CD1
|
||||
ifdef FORCENONUSONCD1
|
||||
FIRSTDISKS=CD1 CD1_NONUS
|
||||
forcenonusoncd1=1
|
||||
else
|
||||
forcenonusoncd1=0
|
||||
endif
|
||||
|
||||
# Ensure that debootstrap is in the path.
|
||||
PATH:=$(PATH):/usr/sbin
|
||||
|
||||
## DEBUG STUFF ##
|
||||
|
||||
PrintVars:
|
||||
@num=1; \
|
||||
DATE=`date +%Y%m%d` ; \
|
||||
echo BINDISKINFO: ; \
|
||||
echo $(BINDISKINFO) ; \
|
||||
echo SRCDISKINFO: ; \
|
||||
echo $(SRCDISKINFO) ; \
|
||||
echo BINDISKINFOND: ; \
|
||||
echo $(BINDISKINFOND) ; \
|
||||
echo SRCDISKINFOND: ; \
|
||||
echo $(SRCDISKINFOND) ; \
|
||||
echo BINVOLID: ; \
|
||||
echo $(BINVOLID) ; \
|
||||
echo SRCVOLID: ; \
|
||||
echo $(SRCVOLID) ; \
|
||||
|
||||
default:
|
||||
@echo "Please refer to the README file for more information"
|
||||
@echo "about the different targets available."
|
||||
|
||||
## CHECKS ##
|
||||
|
||||
# Basic checks in order to avoid problems
|
||||
ok:
|
||||
ifndef TDIR
|
||||
@echo TDIR undefined -- set up CONF.sh; false
|
||||
endif
|
||||
ifndef BASEDIR
|
||||
@echo BASEDIR undefined -- set up CONF.sh; false
|
||||
endif
|
||||
ifndef MIRROR
|
||||
@echo MIRROR undefined -- set up CONF.sh; false
|
||||
endif
|
||||
ifndef ARCH
|
||||
@echo ARCH undefined -- set up CONF.sh; false
|
||||
endif
|
||||
ifndef CODENAME
|
||||
@echo CODENAME undefined -- set up CONF.sh; false
|
||||
endif
|
||||
ifndef OUT
|
||||
@echo OUT undefined -- set up CONF.sh; false
|
||||
endif
|
||||
ifdef NONFREE
|
||||
ifdef EXTRANONFREE
|
||||
@echo Never use NONFREE and EXTRANONFREE at the same time; false
|
||||
endif
|
||||
endif
|
||||
ifdef FORCENONUSONCD1
|
||||
ifndef NONUS
|
||||
@echo If we have FORCENONUSONCD1 set, we must also have NONUS set; false
|
||||
endif
|
||||
endif
|
||||
|
||||
## INITIALIZATION ##
|
||||
|
||||
# Creation of the directories needed
|
||||
init: ok $(OUT) $(TDIR) $(BDIR) $(SDIR) $(ADIR) unstable-map
|
||||
$(OUT):
|
||||
$(Q)mkdir -p $(OUT)
|
||||
$(TDIR):
|
||||
$(Q)mkdir -p $(TDIR)
|
||||
$(BDIR):
|
||||
$(Q)mkdir -p $(BDIR)
|
||||
$(SDIR):
|
||||
$(Q)mkdir -p $(SDIR)
|
||||
$(ADIR):
|
||||
$(Q)mkdir -p $(ADIR)
|
||||
$(Q)mkdir -p $(ADIR)/apt-ftparchive-db
|
||||
# Make sure unstable/sid points to testing/etch, as there is no build
|
||||
# rule for unstable/sid.
|
||||
unstable-map:
|
||||
$(Q)if [ ! -d $(BASEDIR)/data/sid ] ; then \
|
||||
ln -s etch $(BASEDIR)/data/sid ; \
|
||||
fi
|
||||
$(Q)if [ ! -d $(BASEDIR)/tools/boot/sid ] ; then \
|
||||
ln -s etch $(BASEDIR)/tools/boot/sid ; \
|
||||
fi
|
||||
|
||||
## CLEANINGS ##
|
||||
|
||||
# CLeans the current arch tree (but not packages selection info)
|
||||
clean: ok bin-clean src-clean
|
||||
bin-clean:
|
||||
$(Q)rm -rf $(BDIR)/CD[1234567890]*
|
||||
$(Q)rm -rf $(BDIR)/*_NONUS
|
||||
$(Q)rm -f $(BDIR)/*.filelist*
|
||||
$(Q)rm -f $(BDIR)/packages-stamp $(BDIR)/bootable-stamp \
|
||||
$(BDIR)/upgrade-stamp $(BDIR)/secured-stamp $(BDIR)/md5-check
|
||||
src-clean:
|
||||
$(Q)rm -rf $(SDIR)/CD[1234567890]*
|
||||
$(Q)rm -rf $(SDIR)/*_NONUS
|
||||
$(Q)rm -rf $(SDIR)/sources-stamp $(SDIR)/secured-stamp $(SDIR)/md5-check
|
||||
|
||||
# Completely cleans the current arch tree
|
||||
realclean: distclean
|
||||
distclean: ok bin-distclean src-distclean
|
||||
bin-distclean:
|
||||
$(Q)echo "Cleaning the binary build directory"
|
||||
$(Q)rm -rf $(BDIR)
|
||||
$(Q)rm -rf $(ADIR)
|
||||
src-distclean:
|
||||
$(Q)echo "Cleaning the source build directory"
|
||||
$(Q)rm -rf $(SDIR)
|
||||
|
||||
## STATUS and APT ##
|
||||
|
||||
# Regenerate the status file with only packages that
|
||||
# are of priority standard or higher
|
||||
status: init $(ADIR)/status
|
||||
$(ADIR)/status:
|
||||
@echo "Generating a fake status file for apt-get and apt-cache..."
|
||||
$(Q)if [ "$(INSTALLER_CD)" = "1" -o "$(INSTALLER_CD)" = "2" ];then \
|
||||
:> $(ADIR)/status ; \
|
||||
else \
|
||||
zcat $(MIRROR)/dists/$(CODENAME)/main/binary-$(ARCH)/Packages.gz | \
|
||||
perl -000 -ne 's/^(Package: .*)$$/$$1\nStatus: install ok installed/m; \
|
||||
print if (/^Priority: (required|important|standard)/m or \
|
||||
/^Section: base/m);' \
|
||||
> $(ADIR)/status ; \
|
||||
fi
|
||||
# Updating the apt database
|
||||
$(Q)$(apt) update
|
||||
#
|
||||
# Checking the consistence of the standard system
|
||||
# If this does fail, then launch make correctstatus
|
||||
#
|
||||
$(Q)$(apt) check || $(MAKE) correctstatus
|
||||
|
||||
# Only useful if the standard system is broken
|
||||
# It tries to build a better status file with apt-get -f install
|
||||
correctstatus: status apt-update
|
||||
# You may need to launch correctstatus more than one time
|
||||
# in order to correct all dependencies
|
||||
#
|
||||
# Removing packages from the system :
|
||||
$(Q)set -e; \
|
||||
for i in `$(apt) deselected -f install`; do \
|
||||
echo $$i; \
|
||||
perl -i -000 -ne "print unless /^Package: \Q$$i\E/m" \
|
||||
$(ADIR)/status; \
|
||||
done
|
||||
#
|
||||
# Adding packages to the system :
|
||||
$(Q)set -e; \
|
||||
for i in `$(apt) selected -f install`; do \
|
||||
echo $$i; \
|
||||
$(apt) cache dumpavail | perl -000 -ne \
|
||||
"s/^(Package: .*)\$$/\$$1\nStatus: install ok installed/m; \
|
||||
print if /^Package: \Q$$i\E\s*\$$/m;" \
|
||||
>> $(ADIR)/status; \
|
||||
done
|
||||
#
|
||||
# Showing the output of apt-get check :
|
||||
$(Q)$(apt) check
|
||||
|
||||
apt-update: status
|
||||
@echo "Apt-get is updating his files ..."
|
||||
$(Q)$(apt) update
|
||||
|
||||
|
||||
## GENERATING LISTS ##
|
||||
|
||||
# Deleting the list only
|
||||
deletelist: ok
|
||||
$(Q)-rm $(BDIR)/rawlist
|
||||
$(Q)-rm $(BDIR)/rawlist-exclude
|
||||
$(Q)-rm $(BDIR)/list
|
||||
$(Q)-rm $(BDIR)/list.exclude
|
||||
|
||||
# Generates the list of packages/files to put on each CD
|
||||
list: bin-list src-list
|
||||
|
||||
# Generate the listing of binary packages
|
||||
bin-list: ok apt-update genlist $(BDIR)/1.packages
|
||||
$(BDIR)/1.packages:
|
||||
@echo "Dispatching the packages on all the CDs ..."
|
||||
$(Q)$(list2cds) $(BDIR)/list $(SIZELIMIT)
|
||||
ifdef FORCENONUSONCD1
|
||||
$(Q)set -e; \
|
||||
for file in $(BDIR)/*.packages; do \
|
||||
newfile=$${file%%.packages}_NONUS.packages; \
|
||||
cp $$file $$newfile; \
|
||||
$(strip_nonus_bin) $$file $$file.tmp; \
|
||||
if (cmp -s $$file $$file.tmp) ; then \
|
||||
rm -f $$file.tmp $$newfile ; \
|
||||
else \
|
||||
echo Splitting non-US packages: $$file and $$newfile ; \
|
||||
mv -f $$file.tmp $$file; \
|
||||
fi ;\
|
||||
done
|
||||
endif
|
||||
|
||||
# Generate the listing for sources CDs corresponding to the packages included
|
||||
# in the binary set
|
||||
src-list: bin-list $(SDIR)/1.sources
|
||||
$(SDIR)/1.sources:
|
||||
@echo "Dispatching the sources on all the CDs ..."
|
||||
$(Q)$(cds2src) $(SIZELIMIT)
|
||||
ifdef FORCENONUSONCD1
|
||||
$(Q)set -e; \
|
||||
for file in $(SDIR)/*.sources; do \
|
||||
newfile=$${file%%.sources}_NONUS.sources; \
|
||||
cp $$file $$newfile; \
|
||||
grep -v non-US $$file >$$file.tmp; \
|
||||
if (cmp -s $$file $$file.tmp) ; then \
|
||||
rm -f $$file.tmp $$newfile ; \
|
||||
else \
|
||||
echo Splitting non-US sources: $$file and $$newfile ; \
|
||||
mv -f $$file.tmp $$file; \
|
||||
fi ;\
|
||||
done
|
||||
endif
|
||||
|
||||
# Generate the complete listing of packages from the task
|
||||
# Build a nice list without doubles and without spaces
|
||||
genlist: ok $(BDIR)/list $(BDIR)/list.exclude
|
||||
$(BDIR)/list: $(BDIR)/rawlist
|
||||
@echo "Generating the complete list of packages to be included ..."
|
||||
$(Q)perl -ne 'chomp; next if /^\s*$$/; \
|
||||
print "$$_\n" if not $$seen{$$_}; $$seen{$$_}++;' \
|
||||
$(BDIR)/rawlist \
|
||||
> $(BDIR)/list
|
||||
|
||||
|
||||
$(BDIR)/list.exclude: $(BDIR)/rawlist-exclude
|
||||
@echo "Generating the complete list of packages to be removed ..."
|
||||
$(Q)perl -ne 'chomp; next if /^\s*$$/; \
|
||||
print "$$_\n" if not $$seen{$$_}; $$seen{$$_}++;' \
|
||||
$(BDIR)/rawlist-exclude \
|
||||
> $(BDIR)/list.exclude
|
||||
|
||||
# Build the raw list (cpp output) with doubles and spaces
|
||||
$(BDIR)/rawlist:
|
||||
# Dirty workaround for saving space on netinst images, we add some hints.
|
||||
# This is just a temporal solution, list2cds should be a little bit less
|
||||
# silly so that this is not needed. For more info have a look at
|
||||
# http://lists.debian.org/debian-cd/2004/debian-cd-200404/msg00093.html
|
||||
ifneq ($(INSTALLER_CD),1)
|
||||
/bin/echo -e "mawk\nexim4-daemon-light\nunifont" >>$(BDIR)/rawlist
|
||||
endif
|
||||
ifdef FORCENONUSONCD1
|
||||
$(Q)$(apt) cache dumpavail | \
|
||||
grep-dctrl -FSection -n -sPackage -e '^(non-US|non-us)' - | \
|
||||
sort | uniq > $(BDIR)/Debian_$(CODENAME)_nonUS
|
||||
endif
|
||||
$(Q)if [ _$(INSTALLER_CD) != _1 ]; then \
|
||||
mkdir -p $(TDIR); \
|
||||
debootstrap --arch $(ARCH) --print-debs $(CODENAME) $(TDIR)/debootstrap.tmp file:$(MIRROR) \
|
||||
| tr ' ' '\n' >>$(BDIR)/rawlist; \
|
||||
rm -rf $(TDIR)/debootstrap.tmp; \
|
||||
fi
|
||||
$(Q)perl -npe 's/\@ARCH\@/$(ARCH)/g' $(TASK) | \
|
||||
cpp -nostdinc -nostdinc++ -P -undef -D ARCH=$(ARCH) -D ARCH_$(subst -,_,$(ARCH)) \
|
||||
-U $(ARCH) -U i386 -U linux -U unix \
|
||||
-DFORCENONUSONCD1=$(forcenonusoncd1) \
|
||||
-I $(BASEDIR)/tasks -I $(BDIR) - - >> $(BDIR)/rawlist
|
||||
|
||||
# Build the raw list (cpp output) with doubles and spaces for excluded packages
|
||||
$(BDIR)/rawlist-exclude:
|
||||
$(Q)if [ -n "$(EXCLUDE)" ]; then \
|
||||
perl -npe 's/\@ARCH\@/$(ARCH)/g' $(EXCLUDE) | \
|
||||
cpp -nostdinc -nostdinc++ -P -undef -D ARCH=$(ARCH) -D ARCH_$(subst -,_,$(ARCH)) \
|
||||
-U $(ARCH) -U i386 -U linux -U unix \
|
||||
-DFORCENONUSONCD1=$(forcenonusoncd1) \
|
||||
-I $(BASEDIR)/tasks -I $(BDIR) - - >> $(BDIR)/rawlist-exclude; \
|
||||
else \
|
||||
echo > $(BDIR)/rawlist-exclude; \
|
||||
fi
|
||||
|
||||
## DIRECTORIES && PACKAGES && INFOS ##
|
||||
|
||||
# Create all the needed directories for installing packages (plus the
|
||||
# .disk directory)
|
||||
tree: bin-tree src-tree
|
||||
bin-tree: ok bin-list $(BDIR)/CD1/debian
|
||||
$(BDIR)/CD1/debian:
|
||||
@echo "Adding the required directories to the binary CDs ..."
|
||||
$(Q)set -e; \
|
||||
for i in $(BDIR)/*.packages; do \
|
||||
dir=$${i%%.packages}; \
|
||||
dir=$${dir##$(BDIR)/}; \
|
||||
dir=$(BDIR)/CD$$dir; \
|
||||
mkdir -p $$dir; \
|
||||
$(add_dirs) $$dir; \
|
||||
done
|
||||
|
||||
src-tree: ok src-list $(SDIR)/CD1/debian
|
||||
$(SDIR)/CD1/debian:
|
||||
@echo "Adding the required directories to the source CDs ..."
|
||||
$(Q)set -e; \
|
||||
for i in $(SDIR)/*.sources; do \
|
||||
dir=$${i%%.sources}; \
|
||||
dir=$${dir##$(SDIR)/}; \
|
||||
dir=$(SDIR)/CD$$dir; \
|
||||
mkdir -p $$dir; \
|
||||
$(add_dirs) $$dir; \
|
||||
done
|
||||
|
||||
# CD labels / volume ids / disk info
|
||||
infos: bin-infos src-infos
|
||||
bin-infos: bin-tree $(BDIR)/CD1/.disk/info
|
||||
$(BDIR)/CD1/.disk/info:
|
||||
@echo "Generating the binary CD labels and their volume ids ..."
|
||||
$(Q)set -e; \
|
||||
nb=`ls -l $(BDIR)/?.packages $(BDIR)/??.packages | wc -l | tr -d " "`; num=0;\
|
||||
DATE=`date +%Y%m%d`; \
|
||||
for i in $(BDIR)/*.packages; do \
|
||||
num=$${i%%.packages}; num=$${num##$(BDIR)/}; \
|
||||
dir=$(BDIR)/CD$$num; \
|
||||
echo -n $(BINDISKINFO) | sed 's/_NONUS//g' > $$dir/.disk/info; \
|
||||
echo '#define DISKNAME ' $(BINDISKINFOND) | sed 's/_NONUS//g' \
|
||||
> $$dir/README.diskdefines; \
|
||||
echo '#define TYPE binary' \
|
||||
>> $$dir/README.diskdefines; \
|
||||
echo '#define TYPEbinary 1' \
|
||||
>> $$dir/README.diskdefines; \
|
||||
echo '#define ARCH ' $(ARCH) \
|
||||
>> $$dir/README.diskdefines; \
|
||||
echo '#define ARCH'$(ARCH) ' 1' \
|
||||
>> $$dir/README.diskdefines; \
|
||||
echo '#define DISKNUM ' $$num | sed 's/_NONUS//g' \
|
||||
>> $$dir/README.diskdefines; \
|
||||
echo '#define DISKNUM'$$num ' 1' | sed 's/_NONUS//g' \
|
||||
>> $$dir/README.diskdefines; \
|
||||
echo '#define TOTALNUM ' $$nb \
|
||||
>> $$dir/README.diskdefines; \
|
||||
echo '#define TOTALNUM'$$nb ' 1' \
|
||||
>> $$dir/README.diskdefines; \
|
||||
echo -n $(BINVOLID) > $(BDIR)/$${num}.volid; \
|
||||
$(set_mkisofs_opts) bin $$num > $(BDIR)/$${num}.mkisofs_opts; \
|
||||
done
|
||||
src-infos: src-tree $(SDIR)/CD1/.disk/info
|
||||
$(SDIR)/CD1/.disk/info:
|
||||
@echo "Generating the source CD labels and their volume ids ..."
|
||||
$(Q)set -e; \
|
||||
nb=`ls -l $(SDIR)/?.sources $(SDIR)/??.sources | wc -l | tr -d " "`; num=0;\
|
||||
DATE=`date +%Y%m%d`; \
|
||||
for i in $(SDIR)/*.sources; do \
|
||||
num=$${i%%.sources}; num=$${num##$(SDIR)/}; \
|
||||
dir=$(SDIR)/CD$$num; \
|
||||
echo -n $(SRCDISKINFO) | sed 's/_NONUS//g' > $$dir/.disk/info; \
|
||||
echo '#define DISKNAME ' $(SRCDISKINFOND) | sed 's/_NONUS//g' \
|
||||
> $$dir/README.diskdefines; \
|
||||
echo '#define TYPE source' \
|
||||
>> $$dir/README.diskdefines; \
|
||||
echo '#define TYPEsource 1' \
|
||||
>> $$dir/README.diskdefines; \
|
||||
echo '#define ARCH ' $(ARCH) \
|
||||
>> $$dir/README.diskdefines; \
|
||||
echo '#define ARCH'$(ARCH) ' 1' \
|
||||
>> $$dir/README.diskdefines; \
|
||||
echo '#define DISKNUM ' $$num | sed 's/_NONUS//g' \
|
||||
>> $$dir/README.diskdefines; \
|
||||
echo '#define DISKNUM'$$num ' 1' | sed 's/_NONUS//g' \
|
||||
>> $$dir/README.diskdefines; \
|
||||
echo '#define TOTALNUM ' $$nb \
|
||||
>> $$dir/README.diskdefines; \
|
||||
echo '#define TOTALNUM'$$nb ' 1' \
|
||||
>> $$dir/README.diskdefines; \
|
||||
echo -n $(SRCVOLID) > $(SDIR)/$${num}.volid; \
|
||||
$(set_mkisofs_opts) src $$num > $(SDIR)/$${num}.mkisofs_opts; \
|
||||
done
|
||||
|
||||
# Adding the deb files to the images
|
||||
packages: bin-infos bin-list $(BDIR)/packages-stamp
|
||||
$(BDIR)/packages-stamp:
|
||||
@echo "Current disk usage on the binary CDs (before the debs are added) :"
|
||||
@cd $(BDIR) && du -sm CD[0123456789]*
|
||||
@echo "Adding the selected packages to each CD :"
|
||||
@# Check that all packages required by debootstrap are included
|
||||
@# and create .disk/base_installable if yes
|
||||
@# Also create .disk/base_components
|
||||
mkdir -p $(TDIR)
|
||||
$(Q)for DISK in $(FIRSTDISKS); do \
|
||||
DISK=$${DISK##CD}; \
|
||||
ok=yes; \
|
||||
for p in `debootstrap --arch $(ARCH) --print-debs $(CODENAME) $(TDIR)/debootstrap.tmp file:$(MIRROR)`; do \
|
||||
if ! grep -q ^$$p$$ $(BDIR)/$$DISK.packages; then \
|
||||
if [ -n "$(BASE_EXCLUDE)" ] && grep -q ^$$p$$ $(BASE_EXCLUDE); then \
|
||||
echo "Missing debootstrap-required $$p but included in $(BASE_EXCLUDE)"; \
|
||||
continue; \
|
||||
fi; \
|
||||
ok=no; \
|
||||
echo "Missing debootstrap-required $$p"; \
|
||||
fi; \
|
||||
done; \
|
||||
rm -rf $(TDIR)/debootstrap.tmp; \
|
||||
if [ "$$ok" = "yes" ]; then \
|
||||
echo "CD$$DISK contains all packages needed by debootstrap"; \
|
||||
touch $(BDIR)/CD$$DISK/.disk/base_installable; \
|
||||
else \
|
||||
echo "CD$$DISK missing some packages needed by debootstrap"; \
|
||||
fi; \
|
||||
echo 'main' > $(BDIR)/CD$$DISK/.disk/base_components; \
|
||||
if [ -n "$(LOCAL)" ]; then \
|
||||
echo 'local' >> $(BDIR)/CD$$DISK/.disk/base_components; \
|
||||
fi; \
|
||||
if [ -n "$(UDEB_INCLUDE)" ] ; then \
|
||||
if [ -r "$(UDEB_INCLUDE)" ] ; then \
|
||||
cp -af "$(UDEB_INCLUDE)" \
|
||||
"$(BDIR)/CD$$DISK/.disk/udeb_include"; \
|
||||
else \
|
||||
echo "ERROR: Unable to read UDEB_INCLUDE file $(UDEB_INCLUDE)"; \
|
||||
fi; \
|
||||
fi; \
|
||||
if [ -n "$(UDEB_EXCLUDE)" ] ; then \
|
||||
if [ -r "$(UDEB_EXCLUDE)" ] ; then \
|
||||
cp -af "$(UDEB_EXCLUDE)" \
|
||||
"$(BDIR)/CD$$DISK/.disk/udeb_exclude"; \
|
||||
else \
|
||||
echo "ERROR: Unable to read UDEB_EXCLUDE file $(UDEB_EXCLUDE)"; \
|
||||
fi; \
|
||||
fi; \
|
||||
if [ -n "$(BASE_INCLUDE)" ] ; then \
|
||||
if [ -r "$(BASE_INCLUDE)" ] ; then \
|
||||
cp -af "$(BASE_INCLUDE)" \
|
||||
"$(BDIR)/CD$$DISK/.disk/base_include"; \
|
||||
else \
|
||||
echo "ERROR: Unable to read BASE_INCLUDE file $(BASE_INCLUDE)"; \
|
||||
fi; \
|
||||
fi; \
|
||||
if [ -n "$(BASE_EXCLUDE)" ] ; then \
|
||||
if [ -r "$(BASE_EXCLUDE)" ] ; then \
|
||||
cp -af $(BASE_EXCLUDE) \
|
||||
$(BDIR)/CD$$DISK/.disk/base_exclude; \
|
||||
else \
|
||||
echo "ERROR: Unable to read BASE_EXCLUDE file $(BASE_EXCLUDE)"; \
|
||||
fi; \
|
||||
fi; \
|
||||
done
|
||||
$(Q)set -e; \
|
||||
for i in $(BDIR)/*.packages; do \
|
||||
dir=$${i%%.packages}; \
|
||||
n=$${dir##$(BDIR)/}; \
|
||||
dir=$(BDIR)/CD$$n; \
|
||||
echo "$$n ... "; \
|
||||
cat $$i | xargs -n 200 -r $(add_packages) $$dir; \
|
||||
if [ -x "$(HOOK)" ]; then \
|
||||
cd $(BDIR) && $(HOOK) $$n before-scanpackages; \
|
||||
fi; \
|
||||
$(scanpackages) scan $$dir; \
|
||||
echo "done."; \
|
||||
done
|
||||
@#Now install the Packages and Packages.cd files
|
||||
$(Q)set -e; \
|
||||
for i in $(BDIR)/*.packages; do \
|
||||
dir=$${i%%.packages}; \
|
||||
dir=$${dir##$(BDIR)/}; \
|
||||
dir=$(BDIR)/CD$$dir; \
|
||||
$(scanpackages) install $$dir; \
|
||||
done
|
||||
$(Q)touch $(BDIR)/packages-stamp
|
||||
|
||||
sources: src-infos src-list $(SDIR)/sources-stamp
|
||||
$(SDIR)/sources-stamp:
|
||||
@echo "Adding the selected sources to each CD."
|
||||
$(Q)set -e; \
|
||||
for i in $(SDIR)/*.sources; do \
|
||||
dir=$${i%%.sources}; \
|
||||
n=$${dir##$(SDIR)/}; \
|
||||
dir=$(SDIR)/CD$$n; \
|
||||
echo -n "$$n ... "; \
|
||||
echo -n "main ... "; \
|
||||
grep -vE "(non-US/|/local/)" $$i > $$i.main || true ; \
|
||||
if [ -s $$i.main ] ; then \
|
||||
cat $$i.main | xargs $(add_files) $$dir $(MIRROR); \
|
||||
fi ; \
|
||||
if [ -n "$(LOCAL)" ]; then \
|
||||
echo -n "local ... "; \
|
||||
grep "/local/" $$i > $$i.local || true ; \
|
||||
if [ -s $$i.local ] ; then \
|
||||
if [ -n "$(LOCALDEBS)" ] ; then \
|
||||
cat $$i.local | xargs $(add_files) \
|
||||
$$dir $(LOCALDEBS); \
|
||||
else \
|
||||
cat $$i.local | xargs $(add_files) \
|
||||
$$dir $(MIRROR); \
|
||||
fi; \
|
||||
fi; \
|
||||
fi; \
|
||||
if [ -n "$(NONUS)" ]; then \
|
||||
echo -n "non-US ... "; \
|
||||
grep "non-US/" $$i > $$i.nonus || true ; \
|
||||
if [ -s $$i.nonus ] ; then \
|
||||
cat $$i.nonus | xargs $(add_files) $$dir $(NONUS); \
|
||||
fi; \
|
||||
fi; \
|
||||
$(scansources) $$dir; \
|
||||
echo "done."; \
|
||||
done
|
||||
$(Q)touch $(SDIR)/sources-stamp
|
||||
|
||||
## BOOT & DOC & INSTALL ##
|
||||
|
||||
# Basic checks
|
||||
$(MIRROR)/doc: need-complete-mirror
|
||||
$(MIRROR)/tools: need-complete-mirror
|
||||
need-complete-mirror:
|
||||
@# Why the hell is this needed ??
|
||||
@if [ ! -d $(MIRROR)/doc -o ! -d $(MIRROR)/tools ]; then \
|
||||
echo "You need a Debian mirror with the doc, tools and"; \
|
||||
echo "indices directories ! "; \
|
||||
exit 1; \
|
||||
fi
|
||||
|
||||
# Add everything that is needed to make the CDs bootable
|
||||
bootable: ok disks installtools $(BDIR)/bootable-stamp
|
||||
$(BDIR)/bootable-stamp:
|
||||
@echo "Making the binary CDs bootable ..."
|
||||
$(Q)set -e; \
|
||||
for file in $(BDIR)/*.packages; do \
|
||||
dir=$${file%%.packages}; \
|
||||
n=$${dir##$(BDIR)/}; \
|
||||
dir=$(BDIR)/CD$$n; \
|
||||
if [ -f $(BASEDIR)/tools/boot/$(DI_CODENAME)/boot-$(ARCH) ]; then \
|
||||
cd $(BDIR); \
|
||||
echo "Running tools/boot/$(DI_CODENAME)/boot-$(ARCH) $$n $$dir" ; \
|
||||
$(BASEDIR)/tools/boot/$(DI_CODENAME)/boot-$(ARCH) $$n $$dir; \
|
||||
else \
|
||||
if [ "$${IGNORE_MISSING_BOOT_SCRIPT:-0}" = "0" ]; then \
|
||||
echo "No script to make CDs bootable for $(ARCH) ..."; \
|
||||
exit 1; \
|
||||
fi; \
|
||||
fi; \
|
||||
done
|
||||
$(Q)touch $(BDIR)/bootable-stamp
|
||||
|
||||
# Add the doc files to the CDs and the Release-Notes and the
|
||||
# Contents-$(ARCH).gz files
|
||||
bin-doc: ok bin-infos $(MIRROR)/doc $(BDIR)/CD1/doc
|
||||
$(BDIR)/CD1/doc:
|
||||
@echo "Adding the documentation (bin) ..."
|
||||
$(Q)set -e; \
|
||||
for DISK in $(FIRSTDISKS) ; do \
|
||||
$(add_files) $(BDIR)/$$DISK $(MIRROR) doc; \
|
||||
find $(BDIR)/$$DISK/doc -name "dedication-*" | \
|
||||
grep -v $DEBVERSION | xargs rm -f; \
|
||||
find $(BDIR)/$$DISK/doc -name "debian-keyring.tar.gz" | \
|
||||
xargs rm -f; \
|
||||
done
|
||||
@for DISK in $(FIRSTDISKS) ; do \
|
||||
mkdir $(BDIR)/$$DISK/doc/FAQ/html ; \
|
||||
cd $(BDIR)/$$DISK/doc/FAQ/html ; \
|
||||
if [ -e "../debian-faq.en.html.tar.gz" ]; then \
|
||||
tar xzvf ../debian-faq.en.html.tar.gz ; \
|
||||
else \
|
||||
tar xzvf ../debian-faq.html.tar.gz ; \
|
||||
fi; \
|
||||
done
|
||||
$(Q)$(add_bin_doc) # Common stuff for all disks
|
||||
|
||||
src-doc: ok src-infos $(SDIR)/CD1/README.html
|
||||
$(SDIR)/CD1/README.html:
|
||||
@echo "Adding the documentation (src) ..."
|
||||
$(Q)set -e; \
|
||||
for i in $(SDIR)/*.sources; do \
|
||||
dir=$${i%%.sources}; \
|
||||
dir=$${dir##$(SDIR)/}; \
|
||||
dir=$(SDIR)/CD$$dir; \
|
||||
cp -d $(MIRROR)/README* $$dir/; \
|
||||
rm -f $$dir/README $$dir/README.html \
|
||||
$$dir/README.CD-manufacture \
|
||||
$$dir/README.pgp $$dir/README.mirrors.txt \
|
||||
$$dir/README.mirrors.html $$dir/README.non-US; \
|
||||
cpp -traditional -undef -P -C -Wall -nostdinc -I $$dir/ \
|
||||
-D OMIT_MANUAL="$(OMIT_MANUAL)" \
|
||||
-D OUTPUTtext $(BASEDIR)/data/$(CODENAME)/README.html.in \
|
||||
| sed -e 's/%%.//g' > $$dir/README.html ; \
|
||||
lynx -dump -force_html $$dir/README.html | todos \
|
||||
> $$dir/README.txt ; \
|
||||
cpp -traditional -undef -P -C -Wall -nostdinc -I $$dir/ \
|
||||
-D OMIT_MANUAL="$(OMIT_MANUAL)" \
|
||||
-D OUTPUThtml $(BASEDIR)/data/$(CODENAME)/README.html.in \
|
||||
| sed -e 's/%%.//g' > $$dir/README.html ; \
|
||||
rm -f $$dir/README.diskdefines ; \
|
||||
mkdir -p $$dir/pics ; \
|
||||
cp $(BASEDIR)/data/pics/*.* $$dir/pics/ ; \
|
||||
done
|
||||
|
||||
# Add the install stuff on the first CD
|
||||
installtools: ok bin-doc disks $(MIRROR)/tools $(BDIR)/CD1/tools
|
||||
$(BDIR)/CD1/tools:
|
||||
@echo "Adding install tools and documentation ..."
|
||||
$(Q)set -e; \
|
||||
for DISK in $(FIRSTDISKS) ; do \
|
||||
$(add_files) $(BDIR)/$$DISK $(MIRROR) tools ; \
|
||||
mkdir $(BDIR)/$$DISK/install ; \
|
||||
if [ -x "$(BASEDIR)/tools/$(CODENAME)/installtools.sh" ]; then \
|
||||
$(BASEDIR)/tools/$(CODENAME)/installtools.sh $(BDIR)/$$DISK ; \
|
||||
fi ; \
|
||||
done
|
||||
|
||||
# Add the disks-arch directories if/where needed
|
||||
disks: ok bin-infos $(BDIR)/CD1/dists/$(DI_CODENAME)/main/disks-$(ARCH)
|
||||
$(BDIR)/CD1/dists/$(DI_CODENAME)/main/disks-$(ARCH):
|
||||
ifdef BOOTDISKS
|
||||
@echo "Adding disks-$(ARCH) stuff ..."
|
||||
$(Q)set -e; \
|
||||
for DISK in $(FIRSTDISKS) ; do \
|
||||
mkdir -p $(BDIR)/$$DISK/dists/$(DI_CODENAME)/main/disks-$(ARCH) ; \
|
||||
$(add_files) \
|
||||
$(BDIR)/$$DISK/dists/$(DI_CODENAME)/main/disks-$(ARCH) \
|
||||
$(BOOTDISKS) . ; \
|
||||
touch $(BDIR)/$$DISK/.disk/kernel_installable ; \
|
||||
cd $(BDIR)/$$DISK/dists/$(DI_CODENAME)/main/disks-$(ARCH); \
|
||||
rm -rf base-images-*; \
|
||||
if [ "$(SYMLINK)" != "" ]; then exit 0; fi; \
|
||||
if [ -L current ]; then \
|
||||
CURRENT_LINK=`readlink current`; \
|
||||
mv $$CURRENT_LINK .tmp_link; \
|
||||
rm -rf [0123456789]*; \
|
||||
mv .tmp_link $$CURRENT_LINK; \
|
||||
elif [ -d current ]; then \
|
||||
rm -rf [0123456789]*; \
|
||||
fi; \
|
||||
done
|
||||
endif
|
||||
|
||||
upgrade: ok bin-infos $(BDIR)/upgrade-stamp
|
||||
$(BDIR)/upgrade-stamp:
|
||||
@echo "Trying to add upgrade* directories ..."
|
||||
$(Q)if [ -x "$(BASEDIR)/tools/$(CODENAME)/upgrade.sh" ]; then \
|
||||
$(BASEDIR)/tools/$(CODENAME)/upgrade.sh; \
|
||||
fi
|
||||
$(Q)if [ -x "$(BASEDIR)/tools/$(CODENAME)/upgrade-$(ARCH).sh" ]; then \
|
||||
$(BASEDIR)/tools/$(CODENAME)/upgrade-$(ARCH).sh $(BDIR); \
|
||||
fi
|
||||
$(Q)touch $(BDIR)/upgrade-stamp
|
||||
|
||||
dedicated-src: ok
|
||||
$(Q)if [ -e $(BASEDIR)/data/$(CODENAME)/$(ARCH)/extra-sources ]; then \
|
||||
echo "Adding extra sources for $(ARCH) onto the last binary disc".; \
|
||||
$(Q)$(dedicated-src) $(BDIR) $(ARCH) $(BASEDIR) $(CODENAME) $(MIRROR); \
|
||||
fi
|
||||
|
||||
## EXTRAS ##
|
||||
|
||||
# Launch the extras scripts correctly for customizing the CDs
|
||||
extras: bin-extras
|
||||
bin-extras: ok
|
||||
$(Q)if [ -z "$(DIR)" -o -z "$(CD)" -o -z "$(ROOTSRC)" ]; then \
|
||||
echo "Give me more parameters (DIR, CD and ROOTSRC are required)."; \
|
||||
false; \
|
||||
fi
|
||||
@echo "Adding dirs '$(DIR)' from '$(ROOTSRC)' to '$(BDIR)/CD$(CD)'" ...
|
||||
$(Q)$(add_files) $(BDIR)/CD$(CD) $(ROOTSRC) $(DIR)
|
||||
src-extras:
|
||||
$(Q)if [ -z "$(DIR)" -o -z "$(CD)" -o -z "$(ROOTSRC)" ]; then \
|
||||
echo "Give me more parameters (DIR, CD and ROOTSRC are required)."; \
|
||||
false; \
|
||||
fi
|
||||
@echo "Adding dirs '$(DIR)' from '$(ROOTSRC)' to '$(SDIR)/CD$(CD)'" ...
|
||||
$(Q)$(add_files) $(SDIR)/CD$(CD) $(ROOTSRC) $(DIR)
|
||||
|
||||
## IMAGE BUILDING ##
|
||||
|
||||
# Get some size info about the build dirs
|
||||
imagesinfo: bin-imagesinfo
|
||||
bin-imagesinfo: ok
|
||||
$(Q)for i in $(BDIR)/*.packages; do \
|
||||
echo `du -sb $${i%%.packages}`; \
|
||||
done
|
||||
src-imagesinfo: ok
|
||||
$(Q)for i in $(SDIR)/*.sources; do \
|
||||
echo `du -sb $${i%%.sources}`; \
|
||||
done
|
||||
|
||||
# Generate a md5sum.txt file listings all files on the CD
|
||||
md5list: bin-md5list src-md5list
|
||||
bin-md5list: ok packages bin-secured $(BDIR)/CD1/md5sum.txt
|
||||
$(BDIR)/CD1/md5sum.txt:
|
||||
@echo "Generating md5sum of files from all the binary CDs ..."
|
||||
$(Q)set -e; \
|
||||
if [ "$$FASTSUMS" != "1" ] ; then \
|
||||
for file in $(BDIR)/*.packages; do \
|
||||
dir=$${file%%.packages}; \
|
||||
n=$${dir##$(BDIR)/}; \
|
||||
dir=$(BDIR)/CD$$n; \
|
||||
test -x "$(HOOK)" && cd $(BDIR) && $(HOOK) $$n before-mkisofs; \
|
||||
cd $$dir; \
|
||||
find . -follow -type f | grep -v "\./md5sum" | grep -v \
|
||||
"dists/stable" | grep -v "dists/frozen" | \
|
||||
grep -v "dists/unstable" | xargs $(md5sum) > md5sum.txt ; \
|
||||
done \
|
||||
else \
|
||||
$(fastsums) $(BDIR); \
|
||||
fi
|
||||
src-md5list: ok sources src-secured $(SDIR)/CD1/md5sum.txt
|
||||
$(SDIR)/CD1/md5sum.txt:
|
||||
@echo "Generating md5sum of files from all the source CDs ..."
|
||||
$(Q)set -e; \
|
||||
if [ "$$FASTSUMS" != "1" ] ; then \
|
||||
for file in $(SDIR)/*.sources; do \
|
||||
dir=$${file%%.sources}; \
|
||||
dir=$${dir##$(SDIR)/}; \
|
||||
dir=$(SDIR)/CD$$dir; \
|
||||
cd $$dir; \
|
||||
find . -follow -type f | grep -v "\./md5sum" | grep -v \
|
||||
"dists/stable" | grep -v "dists/frozen" | \
|
||||
grep -v "dists/unstable" | xargs $(md5sum) > md5sum.txt ; \
|
||||
done \
|
||||
else \
|
||||
$(fastsums) $(SDIR); \
|
||||
fi
|
||||
|
||||
|
||||
# Generate $CODENAME-secured tree with Packages and Release(.gpg) files
|
||||
# from the official tree
|
||||
# Complete the Release file from the normal tree
|
||||
secured: bin-secured src-secured
|
||||
bin-secured: $(BDIR)/secured-stamp
|
||||
$(BDIR)/secured-stamp:
|
||||
@echo "Generating $(CODENAME)-secured on all the binary CDs ..."
|
||||
$(Q)set -e; \
|
||||
for file in $(BDIR)/*.packages; do \
|
||||
dir=$${file%%.packages}; \
|
||||
n=$${dir##$(BDIR)/}; \
|
||||
dir=$(BDIR)/CD$$n; \
|
||||
cd $$dir; \
|
||||
$(add_secured); \
|
||||
done
|
||||
$(Q)touch $(BDIR)/secured-stamp
|
||||
|
||||
src-secured: $(SDIR)/secured-stamp
|
||||
$(SDIR)/secured-stamp:
|
||||
@echo "Generating $(CODENAME)-secured on all the source CDs ..."
|
||||
$(Q)set -e; \
|
||||
for file in $(SDIR)/*.sources; do \
|
||||
dir=$${file%%.sources}; \
|
||||
dir=$${dir##$(SDIR)/}; \
|
||||
dir=$(SDIR)/CD$$dir; \
|
||||
cd $$dir; \
|
||||
$(add_secured); \
|
||||
done
|
||||
$(Q)touch $(SDIR)/secured-stamp
|
||||
|
||||
# Generates all the images
|
||||
images: bin-images src-images
|
||||
|
||||
# DOJIGDO actions (for both binaries and source)
|
||||
# 0 isofile
|
||||
# 1 isofile + jigdo, cleanup_jigdo
|
||||
# 2 jigdo, cleanup_jigdo
|
||||
#
|
||||
bin-images: ok bin-md5list $(OUT)
|
||||
$(make_image) $(BDIR) $(ARCH) $(OUT) $(DOJIGDO) $(DEBVERSION) $(MIRROR) $(MKISOFS) $(MKISOFS_OPTS) $(JIGDO_OPTS) $(JIGDO_CLEANUP)
|
||||
|
||||
src-images: ok src-md5list $(OUT)
|
||||
$(make_image) $(SDIR) source $(OUT) $(DOJIGDO) $(DEBVERSION) $(MIRROR) $(MKISOFS) $(MKISOFS_OPTS) $(JIGDO_OPTS) $(JIGDO_CLEANUP)
|
||||
|
||||
check-number-given:
|
||||
@test -n "$(CD)" || (echo "Give me a CD=<num> parameter !" && false)
|
||||
|
||||
# Generate only one image number $(CD)
|
||||
image: bin-image
|
||||
bin-image: check-number-given bin-images
|
||||
src-image: check-number-given src-images
|
||||
|
||||
#Calculate the md5sums for the images (if available), or get from templates
|
||||
imagesums:
|
||||
$(Q)cd $(OUT); :> MD5SUMS; for file in `find * -name \*.raw`; do \
|
||||
$(md5sum) $$file >>MD5SUMS; \
|
||||
done; \
|
||||
for file in `find * -name \*.template`; do \
|
||||
if [ "`tail --bytes=33 "$$file" | head --bytes=1 | od -tx1 -An | sed -e 's/ //g'`" != 05 ]; then \
|
||||
echo "Possibly invalid template $$file"; exit 1; \
|
||||
fi; \
|
||||
grep -q " $${file%%.template}.raw"'$$' MD5SUMS \
|
||||
|| echo "`tail --bytes=26 "$$file" | head --bytes=16 | od -tx1 -An | sed -e 's/ //g'` $${file%%.template}.raw" >>MD5SUMS; \
|
||||
done
|
||||
|
||||
# Likewise, the file size can be extracted from the .template with:
|
||||
# tail --bytes=32 $$file | head --bytes=6 | od -tx1 -An \
|
||||
# | tr ' abcdef' '\nABCDEF' | tac | tr '\n' ' ' \
|
||||
# | sed -e 's/ //g; s/^.*$/ibase=16 & /' | tr ' ' '\n' | bc
|
||||
|
||||
## MISC TARGETS ##
|
||||
|
||||
tasks: ok $(BASEDIR)/data/$(CODENAME)/master
|
||||
$(master2tasks)
|
||||
|
||||
readme:
|
||||
sensible-pager $(BASEDIR)/README
|
||||
|
||||
conf:
|
||||
sensible-editor $(BASEDIR)/CONF.sh
|
||||
|
||||
mirrorcheck-binary: ok
|
||||
rm -f $(BDIR)/md5-check
|
||||
$(Q)$(grab_md5) $(MIRROR) $(ARCH) $(CODENAME) $(BDIR)/md5-check
|
||||
if [ -n "$(NONUS)" ]; then \
|
||||
$(grab_md5) $(NONUS) $(ARCH) $(CODENAME) $(BDIR)/md5-check; \
|
||||
fi
|
||||
$(Q)if [ -e $(BASEDIR)/data/$(CODENAME)/$(ARCH)/extra-sources ]; then \
|
||||
echo "Extra dedicated source added; need to grab source MD5 info too"; \
|
||||
$(Q)$(grab_md5) $(MIRROR) source $(CODENAME) $(BDIR)/md5-check; \
|
||||
if [ -n "$(NONUS)" ]; then \
|
||||
$(grab_md5) $(NONUS) source $(CODENAME) $(BDIR)/md5-check; \
|
||||
fi; \
|
||||
fi
|
||||
|
||||
mirrorcheck-source: ok
|
||||
rm -f $(SDIR)/md5-check
|
||||
$(Q)$(grab_md5) $(MIRROR) source $(CODENAME) $(SDIR)/md5-check
|
||||
if [ -n "$(NONUS)" ]; then \
|
||||
$(grab_md5) $(NONUS) source $(CODENAME) $(SDIR)/md5-check; \
|
||||
fi
|
||||
|
||||
update-popcon:
|
||||
rm -f popcon-inst
|
||||
( \
|
||||
echo '/*' ; \
|
||||
echo ' Popularity Contest results' ; \
|
||||
echo ' See the README for details on updating.' ; \
|
||||
echo '' ; \
|
||||
echo ' Last update: $(shell date)' ; \
|
||||
echo '*/' ; \
|
||||
echo '' ; \
|
||||
) > tasks/popularity-contest-$(CODENAME)
|
||||
wget --output-document popcon-inst \
|
||||
http://popcon.debian.org/main/by_inst \
|
||||
http://popcon.debian.org/contrib/by_inst
|
||||
grep -h '^[^#]' popcon-inst | egrep -v '(Total|-----)' | \
|
||||
sort -rn -k3,3 -k7,7 -k4,4 | grep -v kernel-source | \
|
||||
awk '{print $$2}' >> tasks/popularity-contest-$(CODENAME)
|
||||
rm -f popcon-inst
|
||||
|
||||
# Little trick to simplify things
|
||||
official_images: bin-official_images src-official_images
|
||||
bin-official_images: ok bootable upgrade dedicated-src bin-images
|
||||
src-official_images: ok src-doc src-images
|
||||
|
||||
$(CODENAME)_status: ok init
|
||||
@echo "Using the provided status file for $(CODENAME)-$(ARCH) ..."
|
||||
$(Q)cp $(BASEDIR)/data/$(CODENAME)/status.$(ARCH) $(ADIR)/status \
|
||||
2>/dev/null || $(MAKE) status || $(MAKE) correctstatus
|
|
@ -0,0 +1,364 @@
|
|||
YACS - Yet Another CD Script :-)
|
||||
================================
|
||||
(better known as debian-cd)
|
||||
|
||||
Copyright 1999-2001 Raphaël Hertzog <hertzog@debian.org>
|
||||
This set of tools is licensed under the General Public License
|
||||
version 2 or any later version. You can find it in
|
||||
/usr/share/common-licenses/GPL on a Debian GNU system.
|
||||
|
||||
Thanks to Steve McIntyre <stevem@chiark.greenend.org.uk> for his
|
||||
work on slink_cd/debian_cd. Some ideas come from his script.
|
||||
|
||||
Thanks to all the contributors on the debian-cd mailing list.
|
||||
|
||||
What is needed?
|
||||
===============
|
||||
Software:
|
||||
- the apt-get (>= 0.3.11.1) tool
|
||||
- apt-utils (for apt-ftparchive)
|
||||
- perl (>= 5.004)
|
||||
- bash (or another POSIX shell)
|
||||
- make
|
||||
- mkisofs/mkhybrid (mkisofs also provides the isoinfo binary used by the
|
||||
Pseudo Image Kit)
|
||||
- the perl Digest::MD5 module
|
||||
- lynx (for text version of README.html) and todos from sysutils
|
||||
to convert docs to DOS format (although you can rip that out, too)
|
||||
- if you want to generate jigdo files: jigdo-file (see below)
|
||||
Other:
|
||||
- lots of free space on your disks
|
||||
- a Debian mirror, on a partition where you can write.
|
||||
If you can't write on it then you may try to use a symlink farm,
|
||||
but it's not the recommended way to build Debian CDs.
|
||||
|
||||
|
||||
-------------------------------
|
||||
- GENERATING DEBIAN CD IMAGES -
|
||||
-------------------------------
|
||||
|
||||
|
||||
For the people that don't have time, here's the quick explanation:
|
||||
==================================================================
|
||||
|
||||
Edit the CONF.sh and change the PATHs for the mirror and so on.
|
||||
$ sensible-editor CONF.sh
|
||||
$ . CONF.sh
|
||||
$ make distclean
|
||||
$ make status
|
||||
$ make list COMPLETE=1 SIZELIMIT1=625000000 SRCSIZELIMIT=665000000
|
||||
$ make official_images
|
||||
[ alternatively, if you only want binary images:
|
||||
$ make bin-official_images ]
|
||||
|
||||
However, you really should consider reading further for more information.
|
||||
You can also take a look at build.sh and build_all.sh for an automatized
|
||||
way of building CD images.
|
||||
|
||||
How to build a CD set - step by step
|
||||
====================================
|
||||
|
||||
If you haven't already, change to the /usr/share/debian-cd/ directory.
|
||||
|
||||
The process of building a CD is composed of the following steps:
|
||||
|
||||
- first configure what is needed in CONF.sh and source it in your shell:
|
||||
|
||||
$ . CONF.sh
|
||||
|
||||
The exported environment variables will be used by all the
|
||||
tools involved here (Makefiles, perl scripts, shell scripts).
|
||||
|
||||
If you want to build CD images for more than one arch, you will
|
||||
have to build them one after the other (you may use a shell
|
||||
script for this).
|
||||
|
||||
Note that the temporary dir must be on the same device than the
|
||||
mirror because debian-cd uses hardlinks for generating an image
|
||||
tree. If you can't do this, you'll have to use the symlink farm.
|
||||
The symlink farm is explained at the end of this README.
|
||||
|
||||
Keep in mind that the environment variables will stay in the
|
||||
environment after your debian-cd run, and may interfere with
|
||||
other program using the same variables (e.g. kernel-package).
|
||||
So if you want to be 100% safe, run debian-cd in a
|
||||
separate shell that you can leave after you're done.
|
||||
|
||||
- then we clean everything that may still be there from previous runs:
|
||||
|
||||
$ make distclean
|
||||
|
||||
- now we'll check if your mirror is ok (with good Packages files):
|
||||
|
||||
$ make mirrorcheck
|
||||
|
||||
- then we initialize the temporary directory used for the build:
|
||||
|
||||
$ make status
|
||||
|
||||
If this has failed then this will be automatically launched:
|
||||
|
||||
$ make correctstatus
|
||||
|
||||
Note however that "make status" should never fail if it is
|
||||
used for building a CD set for the stable release...
|
||||
|
||||
- now you can decide what you want on your CDs
|
||||
|
||||
$ make list TASK=tasks/debian-2.2 COMPLETE=1
|
||||
|
||||
or
|
||||
|
||||
$ make list TASK=tasks/gnome COMPLETE=0 SIZELIMIT=576716800
|
||||
|
||||
or
|
||||
|
||||
$ export NONFREE=1; make list TASK=tasks/your-task-here COMPLETE=1
|
||||
|
||||
or for something like an official image for the USA (without non-US &
|
||||
non-free) :
|
||||
|
||||
$ make list COMPLETE=1 SIZELIMIT1=576716800
|
||||
|
||||
.... take a look at the file tasks/* to see the options you can have :)
|
||||
|
||||
You can change the behaviour of this command with the following
|
||||
variables:
|
||||
- if NONUS is set, then packages from non-US will be allowed (the value
|
||||
of NONUS must be the path to the non-US mirror if you have one)
|
||||
- if FORCENONUSONCD1 is set also, then packages will be
|
||||
rearranged so that non-US packages are all on CD#1. This
|
||||
includes the non-free ones if you specify NONFREE. Then 2 separate
|
||||
copies of CD#1 will be produced, identical in every respect except
|
||||
for the inclusion/lack of non-US packages. The same happens for
|
||||
the source CDs when they are built.
|
||||
- if NONFREE is set, then packages from non-free will be allowed
|
||||
(NONFREE must be exported to all sub-shells)
|
||||
- if EXTRANONFREE is set, then non-free packages will be included
|
||||
on an extra CD (the last CD in fact). Don't use NONFREE and
|
||||
EXTRANONFREE at the same time !
|
||||
(EXTRANONFREE must be exported to all sub-shells)
|
||||
- if COMPLETE is set, all packages that are not listed in the
|
||||
selected task file will be included at the end
|
||||
- if SIZELIMIT is set, it will be used as the maximum size that
|
||||
we can put into each CD
|
||||
- if SIZELIMIT<X> (with <X> beeing a integer) is set, it will be used
|
||||
as the maximum size of the X'th binary CD. SIZELIMIT<X> overrides
|
||||
SIZELIMIT ...
|
||||
- if SRCSIZELIMIT is set, it's used as the maximum size for source CD
|
||||
- if SRCSIZELIMIT<X> (with <X> beeing an integer) is set, it will be
|
||||
used as the maximum size of the X'th source CD
|
||||
|
||||
This target calls the targets "bin-list" and "src-list" that can be used to
|
||||
build only binary CDs or only source CDs.
|
||||
|
||||
- it may be time to add the disks-arch stuff and to make the CDs bootable:
|
||||
|
||||
$ make bootable
|
||||
|
||||
This affects only the binary CDs.
|
||||
|
||||
If you want to use boot-floppies built by yourself you can add
|
||||
a parameter BOOTDISKS=<dir> which specifies the directory where
|
||||
they are. Note that $BOOTDISKS/current must be a symlink to the
|
||||
real directory and it must follow the same setup as the FTP
|
||||
mirror. Your boot-floppies must also be on the same partition as
|
||||
your mirror and temporary dir (hardlinks are used here too).
|
||||
|
||||
Size calculation is imprecise for bootable CDs (usually the first CDs
|
||||
in the set), so you may need to manually adjust SIZELIMIT* variables
|
||||
to account for the size of the booting stuff used.
|
||||
|
||||
- now, we'll add the binary packages to the temporary tree:
|
||||
|
||||
$ make packages
|
||||
|
||||
- and we'll add the sources to the temporary tree:
|
||||
|
||||
$ make sources
|
||||
|
||||
- if you want to install additional files:
|
||||
|
||||
$ make bin-extras CD=1 ROOTSRC=/home/ftp/ DIR=goodies/wordperfect
|
||||
$ make src-extras CD=3 ROOTSRC=/home/ftp/ DIR=goodies/kernel-2.3
|
||||
|
||||
The first will copy /home/ftp/goodies/wordperfect/ to the first binary
|
||||
CD. It will be in <root of the cd>/goodies/wordperfect/. You can call
|
||||
make extras multiple times if you need more.
|
||||
|
||||
Please note that the files to be copied should be on the same partition
|
||||
than your mirror (unless you use a symlink farm).
|
||||
|
||||
If you want to do customize your CD even more, you can use the hook
|
||||
system. Read more about that below.
|
||||
|
||||
- We can add an md5sum.txt file on each CD to enable users to check their
|
||||
files:
|
||||
|
||||
$ make md5list
|
||||
|
||||
This calls the targets 'bin-md5list' and 'src-md5list'. You can
|
||||
choose to call only bin-md5list if you're building only binary images.
|
||||
|
||||
- now we can create the images:
|
||||
|
||||
$ make images
|
||||
|
||||
If you don't have enough space for all images, you can generate
|
||||
only one image (of the second binary CD for example) with:
|
||||
|
||||
$ make bin-image CD=2
|
||||
|
||||
Of course if you want to build all binary images you'll use:
|
||||
|
||||
$ make bin-images
|
||||
|
||||
The following will generate the source images:
|
||||
|
||||
$ make src-images
|
||||
|
||||
Note: here we use "make images", but you could as well use
|
||||
"make official_images" since the latter is the same as the former
|
||||
with some dependencies on targets that you already launched
|
||||
(make bootable packages sources).
|
||||
|
||||
- if you want to generate a MD5SUMS file with the md5sums of the
|
||||
images you can do it with:
|
||||
|
||||
$ make imagesums
|
||||
|
||||
|
||||
Official images
|
||||
===============
|
||||
|
||||
If you use make official_images you're building CD images that have
|
||||
the same properties than official CD images but they still doesn't
|
||||
have the name of "Official Images". The name of the images is given
|
||||
by setting the OFFICIAL and DEBVERSION environment variable (check
|
||||
CONF.sh).
|
||||
|
||||
Please never ever use the "Official" name for a CD image that you
|
||||
built yourself. The only images that can be called "Official" are the
|
||||
ones built by Debian itself and which are provided on Debian's
|
||||
servers.
|
||||
|
||||
The default configuration shipped with this package will automatically
|
||||
name the images "Unofficial". CD will work exactly in the same way
|
||||
with all Debian tools, only the label is different. That means you
|
||||
can use build.sh and build_all.sh to build your "Unofficial" images
|
||||
without modifying anything.
|
||||
|
||||
|
||||
Local packages
|
||||
==============
|
||||
|
||||
If you provide some custom made packages and you want to put them on
|
||||
Debian CD set you can do it. Simply put your packages in
|
||||
$MIRROR/dists/$CODENAME/local/binary-$ARCH/<section>.
|
||||
The organization of this sub-tree is the same than what you can find
|
||||
in the main, contrib or non-free part. You may use different section
|
||||
names if you want. Be sure to create Packages files (and Sources.gz if you
|
||||
include sources).
|
||||
|
||||
You can also put your local packages under $MIRROR/pool/local (just a new
|
||||
facility for people who don't want packages under dists/). To include local
|
||||
packages, the LOCAL environment variable must be set to "1" while building
|
||||
the CDs.
|
||||
|
||||
You can also set the LOCALDEBS environment variable, and it will be used
|
||||
instead of MIRROR when looking for local packages.
|
||||
|
||||
|
||||
Additional targets
|
||||
==================
|
||||
|
||||
Jigdo
|
||||
-----
|
||||
You may also want to make the CD images available in jigdo format.
|
||||
Jigsaw Download, the successor to the Pseudo-Image Kit.
|
||||
See http://www.debian.org/CD/jigdo-cd/ for more information on jigdo.
|
||||
|
||||
Set the DOJIGDO and related variables in CONF.sh. This is no separate target
|
||||
for jigdo, merely a modification of the "images" targets. You can choose
|
||||
only .iso generation (default), only .jigdo generation (for highly reduced
|
||||
disk usage), or both .iso and .jigdo generation.
|
||||
|
||||
To generate the jigdo files and templates, you need the "jigdo-file" program,
|
||||
which is available via the same URL.
|
||||
|
||||
Jigdo-file creates and maintains a cache/database file with checksums of
|
||||
all files on your Debian mirror. The first time, this may take hours to be
|
||||
generated (use "top" to see what's going on), so it's wise to keep the
|
||||
cache in your homedir and not delete it ever.
|
||||
|
||||
Note that jigdo-file can easily use 60+ MB of working memory, so don't use
|
||||
this on machines with less than 128 MB RAM.
|
||||
|
||||
The MD5SUMS file generated by the "imagesums" target will contain the MD5
|
||||
checksums of all generated images, regardless of the DOJIGDO setting. If
|
||||
no full iso image is available, the MD5sum will be extracted from the
|
||||
.template file. A note in the Makefile shows how the original file size
|
||||
can be extracted from the .template in a similar way.
|
||||
|
||||
About jigdo "fallback servers":
|
||||
|
||||
jigdo works by downloading individual packages and other files from a
|
||||
normal Debian mirror, and using them to regenerate a CD/DVD image.
|
||||
However, the content of Debian mirrors changes over time, files are
|
||||
added and removed. But jigdo must have access to all files needed for
|
||||
the image it has to regenerate, even those that have been removed from
|
||||
the normal Debian mirrors.
|
||||
|
||||
A fallback server contains a backup of the Debian FTP space for the
|
||||
moment the .jigdo files were generated. This backup is made available
|
||||
under a certain URL which is written to the .jigdo files. jigdo will
|
||||
*only* revert to the fallback server after an unsuccessful attempt to
|
||||
retrieve a file from the normal user-selected Debian mirror, so the
|
||||
bandwidth requirements are modest.
|
||||
|
||||
A fallback is even necessary for .jigdo files of the stable release,
|
||||
because some files (typically documentation or boot floppies) can
|
||||
change at any time.
|
||||
|
||||
debian-cd allows you to automatically create a directory on disc which
|
||||
is suitable for use as a fallback mirror. It is populated with hard
|
||||
links to the archive contents. In CONF.sh, simply supply as
|
||||
JIGDOFALLBACKPATH the name of the directory, and as JIGDOFALLBACKURLS
|
||||
the URLs under which it will be made available (two separate URLs are
|
||||
necessary, one for "Debian" and one for "Non-US").
|
||||
|
||||
|
||||
About the hook system
|
||||
=====================
|
||||
|
||||
A hook script can be executed at different times. You can specify the
|
||||
script by setting the HOOK variable to the script filename. It will
|
||||
get 2 arguments, the first is the CD number. The second depends on
|
||||
where/when the hook script is called. It can be 'before-scanpackages'
|
||||
or 'before-mkisofs' (their values are explicit ...). When the script
|
||||
is called, the current directory will be the temporary directory used for
|
||||
the build (aka $TDIR/$CODENAME-$ARCH).
|
||||
|
||||
There are hooks only for binary CDs at the present time. If HOOK is not
|
||||
set, it will look for a script $BASEDIR/tools/$CODENAME.hook.
|
||||
|
||||
|
||||
About the symlink farm
|
||||
======================
|
||||
|
||||
If you don't have write access on the disk where you have the mirror
|
||||
or if for another reason hardlink cannot be used, you can try to
|
||||
use a symlink farm. Instead of having real files, your temporary tree
|
||||
will be filled with symlinks that mkhybrid will change into files when
|
||||
it will build the image. You'll need to use a special options. You
|
||||
have 2 lines of options in CONF.sh as examples.
|
||||
|
||||
I've never tested the symlink farm ... it may well generate unusable
|
||||
images. Don't use it for ISO images that will used by many users.
|
||||
|
||||
Note that you will also need a patched mkhybrid that does support the
|
||||
-F option. Have a look here about it :
|
||||
http://www.chiark.greenend.org.uk/~stevem/DebianCD/
|
||||
|
||||
The mkhybrid package in Debian does support this -F option since
|
||||
potato (Debian 2.2).
|
|
@ -0,0 +1,81 @@
|
|||
README for those who want to hack on yacs/debian-cd
|
||||
---------------------------------------------------
|
||||
|
||||
Organisation :
|
||||
--------------
|
||||
|
||||
The main source is in the Debian svn. If you want to hack on debian-cd
|
||||
and if you want to send me patches, please work on the latest version
|
||||
available in svn.
|
||||
|
||||
auth: svn+ssh://svn.debian.org/svn/debian-cd/trunk
|
||||
anon: svn://svn.debian.org/debian-cd/trunk
|
||||
web: http://svn.debian.org/wsvn/debian-cd
|
||||
|
||||
If you want to discuss anything related to the debian-cd development, you
|
||||
can contact me directly or, better, you can mail the
|
||||
debian-cd@lists.debian.org mailing list where all people interested in the
|
||||
debian-cd development are subscribed.
|
||||
|
||||
Technical details :
|
||||
-------------------
|
||||
|
||||
The Makefile which is the main directory will be used to launch
|
||||
each step of the install process. Try to comment each target of
|
||||
the makefile so that other can know why it's here. If you need
|
||||
specific programs (perl or shell scripts), please put them
|
||||
in the tools directory.
|
||||
|
||||
The tasks directory will contain files listing packages (the
|
||||
order in which package are listed is important, each package
|
||||
added will be added to the current CD until it's full).
|
||||
|
||||
The data dir will contains useful data (not directly task
|
||||
related) like the master file from boot-floppies and so on.
|
||||
|
||||
Each tool is self-documented, if you want to know what it
|
||||
does read the sources (they are scripts).
|
||||
|
||||
Debugging YACS :
|
||||
----------------
|
||||
|
||||
If you want to read more about what YACS is doing you can set
|
||||
the VERBOSE environment variable to 1, 2 or 3 depending on the
|
||||
level of noise that you want.
|
||||
|
||||
Some scripts generates their own log files in the temp dir. You
|
||||
can take a look at them if you want to check for warnings
|
||||
and so on.
|
||||
Log files :
|
||||
- $TDIR/$CODENAME-$ARCH/log.list2cds
|
||||
- $TDIR/$CODENAME-SRC/log.cds2src
|
||||
|
||||
TODO list :
|
||||
-----------
|
||||
+ put the doc directory only on the first binary CD
|
||||
+ a way to force the inclusion of packages (even broken)
|
||||
+ possibility to add project/* to the last CD
|
||||
+ check the source files on the mirror (with Sources.gz)
|
||||
when doing make mirrorcheck
|
||||
|
||||
Bugs / Problems :
|
||||
-----------------
|
||||
* make list will not add contrib packages if you do not
|
||||
select NONFREE too. That's because contrib is broken
|
||||
without non-free. And the building process only allow
|
||||
functional packages to be added.
|
||||
|
||||
Technical choices :
|
||||
-------------------
|
||||
|
||||
For the multiboot on the first CD of an i386 CD set, we had two options
|
||||
isolinux and el-torito native multiboot. We selected isolinux
|
||||
because it works well and it lets you display information to the user.
|
||||
The el-torito multiboot just displays a menu with each item
|
||||
being the same "2.88Mb boot image". Both multiboot mechanism may
|
||||
not work on older hardware with very old BIOSes however the el-torito
|
||||
one works a bit better because it's usually able to boot the first choice
|
||||
without displaying the menu then. This is a non-issue since people
|
||||
may still boot on CD 2,3,4,5 with the usual boot method if the multiboot
|
||||
doesn't work.
|
||||
|
|
@ -0,0 +1,66 @@
|
|||
#!/bin/sh -e
|
||||
|
||||
# Script to build one arch
|
||||
|
||||
if [ -z "$CF" ] ; then
|
||||
CF=CONF.sh
|
||||
fi
|
||||
. $CF
|
||||
|
||||
if [ -z "$COMPLETE" ] ; then
|
||||
export COMPLETE=1
|
||||
fi
|
||||
|
||||
if [ -n "$1" ] ; then
|
||||
export ARCH=$1
|
||||
fi
|
||||
|
||||
make distclean
|
||||
make ${CODENAME}_status
|
||||
if [ "$SKIPMIRRORCHECK" = "yes" ]; then
|
||||
echo " ... WARNING: skipping mirror check"
|
||||
else
|
||||
echo " ... checking your mirror"
|
||||
make mirrorcheck-binary
|
||||
make mirrorcheck-source
|
||||
if [ $? -gt 0 ]; then
|
||||
echo "ERROR: Your mirror has a problem, please correct it." >&2
|
||||
exit 1
|
||||
fi
|
||||
fi
|
||||
echo " ... selecting packages to include"
|
||||
if [ -e ${MIRROR}/dists/${DI_CODENAME}/main/disks-${ARCH}/current/. ] ; then
|
||||
disks=`du -sm ${MIRROR}/dists/${DI_CODENAME}/main/disks-${ARCH}/current/. | \
|
||||
awk '{print $1}'`
|
||||
else
|
||||
disks=0
|
||||
fi
|
||||
if [ -f $BASEDIR/tools/boot/$DI_CODENAME/boot-$ARCH.calc ]; then
|
||||
. $BASEDIR/tools/boot/$DI_CODENAME/boot-$ARCH.calc
|
||||
fi
|
||||
SIZE_ARGS=''
|
||||
for CD in 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15; do
|
||||
size=`eval echo '$'"BOOT_SIZE_${CD}"`
|
||||
[ "$size" = "" ] && size=0
|
||||
[ $CD = "1" ] && size=$(($size + $disks))
|
||||
mult=`eval echo '$'"SIZE_MULT_${CD}"`
|
||||
[ "$mult" = "" ] && mult=100
|
||||
FULL_SIZE=`echo "($DEFBINSIZE - $size) * 1024 * 1024" | bc`
|
||||
echo "INFO: Reserving $size MB on CD $CD for boot files. SIZELIMIT=$FULL_SIZE."
|
||||
if [ $mult != 100 ]; then
|
||||
echo " INFO: Reserving "$((100-$mult))"% of the CD for extra metadata"
|
||||
FULL_SIZE=`echo "$FULL_SIZE * $mult" / 100 | bc`
|
||||
echo " INFO: SIZELIMIT now $FULL_SIZE."
|
||||
fi
|
||||
SIZE_ARGS="$SIZE_ARGS SIZELIMIT${CD}=$FULL_SIZE"
|
||||
done
|
||||
|
||||
FULL_SIZE=`echo "($DEFSRCSIZE - $size) * 1024 * 1024" | bc`
|
||||
make list $SIZE_ARGS SRCSIZELIMIT=$FULL_SIZE
|
||||
echo " ... building the images"
|
||||
if [ -z "$IMAGETARGET" ] ; then
|
||||
IMAGETARGET="official_images"
|
||||
fi
|
||||
make $IMAGETARGET
|
||||
|
||||
make imagesums
|
|
@ -0,0 +1,89 @@
|
|||
#!/bin/sh
|
||||
|
||||
# Script to build everything possible : sources and binaries for all archs
|
||||
|
||||
. CONF.sh
|
||||
|
||||
TMP_OUT=$OUT
|
||||
|
||||
for ARCH in i386 alpha arm hppa ia64 m68k mips mipsel powerpc s390 sparc #amd64
|
||||
do
|
||||
export ARCH
|
||||
echo "Now we're going to build CD for $ARCH !"
|
||||
echo " ... cleaning"
|
||||
make distclean
|
||||
make ${CODENAME}_status
|
||||
echo " ... checking your mirror"
|
||||
if [ "$SKIPMIRRORCHECK" != "yes" ] ; then
|
||||
make mirrorcheck-binary
|
||||
if [ "$ARCH" = "i386" ]; then
|
||||
make mirrorcheck-source
|
||||
fi
|
||||
else
|
||||
echo "WARNING: skipping mirrorcheck"
|
||||
fi
|
||||
|
||||
if [ $? -gt 0 ]; then
|
||||
echo "ERROR: Your mirror has a problem, please correct it." >&2
|
||||
exit 1
|
||||
fi
|
||||
echo " ... selecting packages to include"
|
||||
if [ -e ${MIRROR}/dists/${CODENAME}/main/disks-${ARCH}/current/. ] ; then
|
||||
disks=`du -sm ${MIRROR}/dists/${CODENAME}/main/disks-${ARCH}/current/. | \
|
||||
awk '{print $1}'`
|
||||
else
|
||||
disks=0
|
||||
fi
|
||||
if [ -f $BASEDIR/tools/boot/$CODENAME/boot-$ARCH.calc ]; then
|
||||
. $BASEDIR/tools/boot/$CODENAME/boot-$ARCH.calc
|
||||
fi
|
||||
SIZE_ARGS=''
|
||||
for CD in 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15; do
|
||||
size=`eval echo '$'"BOOT_SIZE_${CD}"`
|
||||
[ "$size" = "" ] && size=0
|
||||
[ $CD = "1" ] && size=$(($size + $disks))
|
||||
mult=`eval echo '$'"SIZE_MULT_${CD}"`
|
||||
[ "$mult" = "" ] && mult=100
|
||||
FULL_SIZE=`echo "($DEFBINSIZE - $size) * 1024 * 1024" | bc`
|
||||
echo "INFO: Reserving $size MB on CD $CD for boot files. SIZELIMIT=$FULL_SIZE."
|
||||
if [ $mult != 100 ]; then
|
||||
echo " INFO: Reserving "$((100-$mult))"% of the CD for extra metadata"
|
||||
FULL_SIZE=`echo "$FULL_SIZE * $mult" / 100 | bc`
|
||||
echo " INFO: SIZELIMIT now $FULL_SIZE."
|
||||
fi
|
||||
SIZE_ARGS="$SIZE_ARGS SIZELIMIT${CD}=$FULL_SIZE"
|
||||
done
|
||||
FULL_SIZE=`echo "($DEFSRCSIZE - $size) * 1024 * 1024" | bc`
|
||||
make list COMPLETE=1 $SIZE_ARGS SRCSIZELIMIT=$FULL_SIZE
|
||||
echo " ... building the images"
|
||||
if [ "$ARCH" = "i386" ]; then
|
||||
export OUT="$TMP_OUT/$ARCH"; mkdir -p $OUT
|
||||
make bin-official_images
|
||||
echo Generating MD5Sums of the images
|
||||
make imagesums
|
||||
|
||||
export OUT="$TMP_OUT/src"; mkdir -p $OUT
|
||||
make src-official_images
|
||||
echo Generating MD5Sums of the images
|
||||
make imagesums
|
||||
else
|
||||
export OUT=$TMP_OUT/$ARCH; mkdir -p $OUT
|
||||
make bin-official_images
|
||||
if [ $? -gt 0 ]; then
|
||||
echo "ERROR WHILE BUILDING OFFICIAL IMAGES !!" >&2
|
||||
if [ "$ATTEMPT_FALLBACK" = "yes" ]; then
|
||||
echo "I'll try to build a simple (non-bootable) CD" >&2
|
||||
make clean
|
||||
make installtools
|
||||
make bin-images
|
||||
else
|
||||
exit 1
|
||||
fi
|
||||
fi
|
||||
echo Generating MD5Sums of the images
|
||||
make imagesums
|
||||
echo Generating list files for images
|
||||
make pi-makelist
|
||||
fi
|
||||
echo "--------------- `date` ---------------"
|
||||
done
|
|
@ -0,0 +1,693 @@
|
|||
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
|
||||
<html lang="en">
|
||||
<head>
|
||||
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
|
||||
<title>Debian GNU/Linux -- The Universal Operating System</title>
|
||||
<meta name="Description" content="Debian GNU/Linux is a free distribution of the GNU/Linux operating system. It is maintained and updated through the work of many users who volunteer their time and effort.">
|
||||
<meta name="Keywords" content="debian, GNU, linux, unix, open source, free, DFSG">
|
||||
<meta name="Language" content="English">
|
||||
<meta name="Author" content="J.A. Bezemer, debian-boot@lists.debian.org">
|
||||
<link rev="made" href="mailto:debian-boot@lists.debian.org">
|
||||
</head>
|
||||
<body text="#000000" bgcolor="#FFFFFF" link="#0000FF" vlink="#800080" alink="#FF0000">
|
||||
|
||||
<!-- The HTML and TEXT file are NOT the actual source code. -->
|
||||
<!-- For that, see http://svn.debian.org/wsvn/debian-cd -->
|
||||
#if 0
|
||||
If you read THIS, you're viewing the actual source file ;-)
|
||||
#endif
|
||||
|
||||
#undef i386
|
||||
#undef amd64
|
||||
#undef alpha
|
||||
#undef powerpc
|
||||
#undef ppc
|
||||
#undef sparc
|
||||
#undef ultrasparc
|
||||
#undef m68k
|
||||
#undef arm
|
||||
#undef binary
|
||||
#undef bin
|
||||
#undef source
|
||||
#undef src
|
||||
|
||||
#if OUTPUTtext
|
||||
#define href nothing
|
||||
#endif
|
||||
|
||||
#include <README.diskdefines>
|
||||
|
||||
|
||||
#if OUTPUThtml
|
||||
<div align=right>
|
||||
(<a href="README.txt">Text version</a>)
|
||||
</div>
|
||||
<table border="0" cellpadding="3" cellspacing="0" align="center" summary="">
|
||||
<tr>
|
||||
<td>
|
||||
<img src="pics/logo-50.jpg" border="0" hspace="0" vspace="0" alt="" width="50" height="61">
|
||||
<img src="pics/debian.jpg" border="0" hspace="0" vspace="0" alt="Debian" width="179" height="61">
|
||||
</td>
|
||||
</tr>
|
||||
</table>
|
||||
#endif
|
||||
#if OUTPUTtext
|
||||
<div align=right>
|
||||
(HTML version in README.html)
|
||||
</div>
|
||||
#endif
|
||||
|
||||
|
||||
<table bgcolor="#DF0451" border="0" cellpadding="0" cellspacing="0"
|
||||
width="100%" summary="">
|
||||
<tr>
|
||||
<td valign="top">
|
||||
<img src="pics/red-upperleft.png" align="left" border="0" hspace="0"
|
||||
vspace="0" alt="" width="15" height="16">
|
||||
</td>
|
||||
<td rowspan="2" align="center">
|
||||
|
||||
<table align="center" border="0" cellpadding="2" cellspacing="0">
|
||||
<tr><td bgcolor="#000084">
|
||||
<div align="center"><font color="#FFFFFF" face="helvetica,arial"><B>
|
||||
#if 0
|
||||
Debian GNU/Linux 2.2 "Potato" - Official i386 Binary-1 CD
|
||||
#endif
|
||||
DISKNAME CD
|
||||
</B></font></div>
|
||||
</td></tr>
|
||||
</table>
|
||||
|
||||
</td>
|
||||
<td valign="top">
|
||||
<img src="pics/red-upperright.png" align="right" border="0" hspace="0"
|
||||
vspace="0" alt="" width="16" height="16">
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td valign="bottom">
|
||||
<img src="pics/red-lowerleft.png" align="left" border="0" hspace="0"
|
||||
vspace="0" alt="" width="16" height="16">
|
||||
</td>
|
||||
<td valign="bottom">
|
||||
<img src="pics/red-lowerright.png" align="right" border="0" hspace="0"
|
||||
vspace="0" alt="" width="15" height="16">
|
||||
</td>
|
||||
</tr>
|
||||
</table>
|
||||
|
||||
<table border="0" cellpadding="2" cellspacing="0" width="100%" summary="">
|
||||
<tr>
|
||||
<td></td>
|
||||
</tr>
|
||||
</table>
|
||||
|
||||
|
||||
<table border="0" cellpadding="0" cellspacing="0" width="100%" summary="">
|
||||
<tr>
|
||||
<td colspan="3" valign="top" width="20%" bgcolor="#BBDDFF">
|
||||
<img src="pics/blue-upperleft.png" align="left" border="0"
|
||||
hspace="0" vspace="0" alt="" width="16" height="16">
|
||||
<img src="pics/blue-upperright.png" align="right" border="0"
|
||||
hspace="0" vspace="0" alt="" width="16" height="16">
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td bgcolor="#BBDDFF"> </td>
|
||||
|
||||
<td valign="TOP" bgcolor="#BBDDFF">
|
||||
|
||||
<font face="Arial,Helvetica">
|
||||
|
||||
#if OUTPUThtml
|
||||
<P><B><A href="http://www.debian.org/">Debian home page</A></B></P>
|
||||
#endif
|
||||
|
||||
<br>
|
||||
<P>
|
||||
|
||||
#if OUTPUTtext
|
||||
<br>
|
||||
CONTENTS:
|
||||
<br>
|
||||
<br>
|
||||
<UL>
|
||||
#endif
|
||||
|
||||
#if OUTPUTtext
|
||||
<LI>
|
||||
#endif
|
||||
|
||||
<A href="#intro">Intro</A>
|
||||
<P>
|
||||
|
||||
#if OUTPUTtext
|
||||
</LI><LI>
|
||||
#endif
|
||||
|
||||
<A href="#thiscd">About This CD</A>
|
||||
<P>
|
||||
|
||||
#if OUTPUTtext
|
||||
</LI><LI>
|
||||
#endif
|
||||
|
||||
<A href="#install">Installing</A>
|
||||
<P>
|
||||
|
||||
#if OUTPUTtext
|
||||
</LI><LI>
|
||||
#endif
|
||||
|
||||
#ifndef UNOFFEXTRAS
|
||||
<A href="#lastmin">Last-Minute Notes</A>
|
||||
<P>
|
||||
|
||||
#if OUTPUTtext
|
||||
</LI><LI>
|
||||
#endif
|
||||
#endif
|
||||
|
||||
#if TYPEbinary
|
||||
<A href="#apt">Using CDs with apt</A>
|
||||
<P>
|
||||
|
||||
#if OUTPUTtext
|
||||
</LI><LI>
|
||||
#endif
|
||||
#endif
|
||||
|
||||
#ifndef UNOFFEXTRAS
|
||||
<A href="#cdmanuf">CD Manufacturers</A>
|
||||
<P>
|
||||
|
||||
#if OUTPUTtext
|
||||
</LI><LI>
|
||||
#endif
|
||||
#endif
|
||||
|
||||
<A href="#other">More Information</A>
|
||||
|
||||
<P>
|
||||
|
||||
#if OUTPUThtml
|
||||
<P>
|
||||
<A href=".">Browse this CD-ROM</A></P>
|
||||
<P>
|
||||
<tt> </tt>
|
||||
</P>
|
||||
#endif
|
||||
|
||||
|
||||
</font>
|
||||
|
||||
#if OUTPUTtext
|
||||
</LI>
|
||||
</UL>
|
||||
#endif
|
||||
|
||||
|
||||
</td>
|
||||
<td bgcolor="#BBDDFF"> </td>
|
||||
<td> </td>
|
||||
|
||||
<td valign="TOP" width="80%">
|
||||
|
||||
<div align="center">
|
||||
<big><big><B><I>
|
||||
Welcome to the exciting world of
|
||||
</I></B></big></big>
|
||||
<br>
|
||||
<big><big><big><B><I>
|
||||
Debian GNU/Linux!
|
||||
</I></B></big></big></big>
|
||||
</div>
|
||||
|
||||
<P><H2><A name="intro">
|
||||
Intro
|
||||
#if OUTPUTtext
|
||||
<br>
|
||||
=====
|
||||
#endif
|
||||
</H2>
|
||||
</a>
|
||||
<p>
|
||||
This is one of the CD-ROMs of the
|
||||
<a href="http://www.debian.org/">Debian GNU/Linux</a>
|
||||
distribution. Debian is a
|
||||
very extensive collection of software. But it is more. It is a complete
|
||||
Operating System (OS) for your computer. And it is
|
||||
<A href="http://www.debian.org/intro/free">free</A>
|
||||
(as in "freedom").
|
||||
<P>
|
||||
An operating system is the set of basic programs
|
||||
and utilities that make your computer run. At the core of an operating
|
||||
system is the kernel. The kernel is the most fundamental program on the
|
||||
computer, which does all the basic housekeeping and lets you start other
|
||||
programs.
|
||||
Debian is kernel independent. It currently uses the
|
||||
<A href="http://www.linux.org/">Linux</A> kernel but work is
|
||||
in progress to provide Debian for other kernels, using
|
||||
<A href="http://www.gnu.org/software/hurd/hurd.html">the Hurd</A>.
|
||||
Most of the basic operating system tools
|
||||
come from the <a href="http://www.gnu.org/">GNU project</A>; hence the name
|
||||
GNU/Linux.
|
||||
<P>
|
||||
|
||||
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
|
||||
#if OUTPUTtext
|
||||
(http://www.debian.org/ports)
|
||||
#endif
|
||||
for more information.
|
||||
<P>
|
||||
|
||||
#if OUTPUTtext
|
||||
Read more at <P>
|
||||
http://www.debian.org/intro/about
|
||||
#endif
|
||||
#if OUTPUThtml
|
||||
<A href="http://www.debian.org/intro/about">Read more...</A>
|
||||
#endif
|
||||
|
||||
#if OUTPUTtext
|
||||
<P> <P><H2><A name="thiscd">
|
||||
#endif
|
||||
#if OUTPUThtml
|
||||
<P><HR><P><H2><A name="thiscd">
|
||||
#endif
|
||||
About This CD
|
||||
#if OUTPUTtext
|
||||
<br>
|
||||
=============
|
||||
#endif
|
||||
</H2>
|
||||
</a>
|
||||
<p>
|
||||
This CD-ROM is labeled
|
||||
<P>
|
||||
<tt>
|
||||
DISKNAME
|
||||
</tt>
|
||||
<P>
|
||||
#ifndef UNOFFEXTRAS
|
||||
which means that this CD is number DISKNUM of TOTALNUM CDs containing
|
||||
#if TYPEbinary
|
||||
programs ("binaries") for `ARCH' computers.
|
||||
<P>
|
||||
The programs on the Binary CDs are ordered by popularity. The Binary-1 CD
|
||||
contains the most popular programs and the installation tools; it is possible
|
||||
to install and run Debian with only the Binary-1 CD. The other CDs, up to
|
||||
Binary-TOTALNUM, contain mostly special-interest programs.
|
||||
<p>
|
||||
#if OMIT_RELEASE_NOTES
|
||||
The Release Notes for "etch" are available on the <A
|
||||
href="http://www.debian.org/releases/etch/releasenotes">Debian web
|
||||
site</A>.
|
||||
#else
|
||||
#if DISKNUM == 1
|
||||
The Release Notes for Debian GNU/Linux "etch" are included on this CD
|
||||
in <A href=%%""doc/release-notes/%%"">/doc/release-notes/</a>, in
|
||||
several languages. Additional translations and updated versions for
|
||||
the Release Notes may be available from the <A
|
||||
href="http://www.debian.org/releases/etch/releasenotes">Debian web
|
||||
site</A>.
|
||||
else
|
||||
See the first CD in this set for the "etch" Release Notes.
|
||||
#endif
|
||||
#endif
|
||||
#endif
|
||||
#if TYPEsource
|
||||
the source code of programs in the Debian OS.
|
||||
<P>
|
||||
The source packages on the Source CDs are ordered by popularity, like
|
||||
the programs on the Binary CDs. This means that the source code of the
|
||||
programs on the Binary-DISKNUM CD can most likely be found on this CD
|
||||
(though there may be some variation due to size issues).
|
||||
#endif
|
||||
#else
|
||||
#include <unoffextrascd.html.in>
|
||||
#endif
|
||||
|
||||
|
||||
#if OUTPUTtext
|
||||
<P> <P><H2><A name="install">
|
||||
#endif
|
||||
#if OUTPUThtml
|
||||
<P><HR><P><H2><A name="install">
|
||||
#endif
|
||||
Installing
|
||||
#if OUTPUTtext
|
||||
<br>
|
||||
==========
|
||||
#endif
|
||||
</H2>
|
||||
</a>
|
||||
<p>
|
||||
#if TYPEbinary
|
||||
|
||||
Because Debian is a complete Operating System, the installation procedure
|
||||
may seem a bit unusual. You can install Debian GNU/Linux either
|
||||
<i>alongside</i> your current OS, or as the <i>only</i> OS on your computer.
|
||||
#if OMIT_MANUAL
|
||||
<P>
|
||||
An <b>Installation Guide</b> for this CD is available from
|
||||
<A href="http://www.debian.org/releases/etch/installmanual">the Debian web site</a>.
|
||||
#else
|
||||
<P>
|
||||
An <b>Installation Guide</b> is included on this CD at
|
||||
<P>
|
||||
<tt>
|
||||
<A href="doc/install/manual/en/index.html">doc/install/manual/en/index.html</a> (English version)</tt>
|
||||
<P>
|
||||
Several translations of the Installation Guide are included on this CD in
|
||||
the <tt><A href="doc">doc/</a></tt> directory, along with various other documents.
|
||||
<br>
|
||||
Note: additional translations, other formats (like PDF and TXT) and updated
|
||||
versions for the Installation Guide are available from
|
||||
<A href="http://www.debian.org/releases/etch/installmanual">the Debian web site</a>.
|
||||
#endif
|
||||
<P>
|
||||
Programs and other files that are needed for the installation can be found on
|
||||
this CD under
|
||||
<P>
|
||||
<tt>
|
||||
<A href=%%""tools/%%"">/tools/</a>
|
||||
</tt>
|
||||
and
|
||||
<tt>
|
||||
<A href=%%""install/floppy/%%"">/install/floppy/</a>
|
||||
</tt>
|
||||
|
||||
#if ARCHi386 || ARCHamd64 || ARCHalpha || ARCHpowerpc || ARCHsparc
|
||||
<P>
|
||||
For the impatient ones:
|
||||
#endif
|
||||
|
||||
#if ARCHi386 || ARCHalpha || ARCHsparc
|
||||
you can start the installation program easily by booting off this CD-ROM.
|
||||
Note that not all (esp. older) systems support this.
|
||||
<P>
|
||||
#endif
|
||||
|
||||
#if ARCHi386 || ARCHamd64 || ARCHpowerpc
|
||||
#if ARCHi386
|
||||
You can also
|
||||
#else
|
||||
you can
|
||||
#endif
|
||||
examine the
|
||||
<P>
|
||||
<tt>
|
||||
<a href="install/">/install</a>
|
||||
</tt>
|
||||
<P>
|
||||
directory; you might be able to start the installation system directly
|
||||
from there.
|
||||
#endif
|
||||
|
||||
#else
|
||||
The installation tools of the Debian Operating System are located on the
|
||||
Binary-1 CD.
|
||||
See the README on that CD for more info.
|
||||
#endif
|
||||
|
||||
#ifndef UNOFFEXTRAS
|
||||
#if OUTPUTtext
|
||||
<P> <P><H2><A name="lastmin">
|
||||
#endif
|
||||
#if OUTPUThtml
|
||||
<P><HR><P><H2><A name="lastmin">
|
||||
#endif
|
||||
Last-Minute Notes
|
||||
#if OUTPUTtext
|
||||
<br>
|
||||
=================
|
||||
#endif
|
||||
</H2>
|
||||
</a>
|
||||
<p>
|
||||
<UL>
|
||||
|
||||
<LI>
|
||||
You should keep in mind that this is an unofficial CD of the current
|
||||
development version of the Debian system. This means that all sorts of
|
||||
bugs may be present anywhere in the system.
|
||||
|
||||
<br>
|
||||
</LI>
|
||||
|
||||
#if 0
|
||||
-------- This can't be an official image, so also no official notes.
|
||||
<LI>
|
||||
Last-minutes notes for this CD may be available on
|
||||
<a href="http://www.debian.org/CD/releases/">http://www.debian.org/CD/releases/</a>
|
||||
</LI>
|
||||
#endif
|
||||
|
||||
</UL>
|
||||
#endif
|
||||
|
||||
#if TYPEbinary
|
||||
#if OUTPUTtext
|
||||
<P> <P><H2><A name="apt">
|
||||
#endif
|
||||
#if OUTPUThtml
|
||||
<P><HR><P><H2><A name="apt">
|
||||
#endif
|
||||
Using Apt
|
||||
#if OUTPUTtext
|
||||
<br>
|
||||
=============
|
||||
#endif
|
||||
</H2>
|
||||
</a>
|
||||
<p>
|
||||
After installing or upgrading, Debian's packaging system can use CD-ROMs,
|
||||
local collections, or networked servers (FTP, HTTP) to automatically
|
||||
install software from (<tt>.deb</tt> <i>packages</i>). This is done
|
||||
preferably with the `apt' and `aptitude' programs.
|
||||
|
||||
<P>
|
||||
|
||||
You can install packages from the commandline using
|
||||
<tt>apt-get</tt>. For example, if you want to install the packages
|
||||
`commprog' and `maxgame', you can give the command
|
||||
<P>
|
||||
<tt>
|
||||
apt-get install commprog maxgame
|
||||
</tt>
|
||||
<P>
|
||||
Note that you don't have to enter the complete path, or the
|
||||
`<tt>.deb</tt>' extension. `Apt' will figure this out itself.
|
||||
<P>
|
||||
Or use aptitude for a full screen interactive selection of available
|
||||
Debian packages.
|
||||
|
||||
#endif
|
||||
|
||||
|
||||
#ifndef UNOFFEXTRAS
|
||||
#if OUTPUTtext
|
||||
<P> <P><H2><A name="cdmanuf">
|
||||
#endif
|
||||
#if OUTPUThtml
|
||||
<P><HR><P><H2><A name="cdmanuf">
|
||||
#endif
|
||||
CD Manufacturers
|
||||
#if OUTPUTtext
|
||||
<br>
|
||||
================
|
||||
#endif
|
||||
</H2>
|
||||
</a>
|
||||
<p>
|
||||
You are completely free to manufacture and re-distribute CD-ROMs of the
|
||||
Debian GNU/Linux Operating System, like this one. There is no charge from
|
||||
us (but of course donations are always welcome).
|
||||
|
||||
<P>
|
||||
|
||||
For all needed information and contact addresses, please refer to
|
||||
<P>
|
||||
<tt>
|
||||
<a href="http://www.debian.org/CD/">http://www.debian.org/CD/</a>
|
||||
</tt>
|
||||
#endif
|
||||
|
||||
#if OUTPUTtext
|
||||
<P> <P><H2><A name="other">
|
||||
#endif
|
||||
#if OUTPUThtml
|
||||
<P><HR><P><H2><A name="other">
|
||||
#endif
|
||||
More Information
|
||||
#if OUTPUTtext
|
||||
<br>
|
||||
================
|
||||
#endif
|
||||
</H2>
|
||||
</a>
|
||||
<p>
|
||||
#if DISKNUM1 && TYPEbinary
|
||||
|
||||
There is much more information present on this CD. Besides the already
|
||||
mentioned installation and upgrading procedures, this is the most
|
||||
interesting: <P>
|
||||
|
||||
<UL>
|
||||
<LI>
|
||||
|
||||
#if OUTPUTtext
|
||||
/doc/FAQ
|
||||
|
||||
#endif
|
||||
<A href="doc/FAQ/">Debian FAQ</a>
|
||||
|
||||
</LI>
|
||||
<LI>
|
||||
|
||||
#if OUTPUTtext
|
||||
/doc/constitution.txt
|
||||
|
||||
#endif
|
||||
<A href="doc/constitution.txt">The Debian Constitution</a>
|
||||
|
||||
</LI>
|
||||
<LI>
|
||||
|
||||
#if OUTPUTtext
|
||||
/doc/debian-manifesto
|
||||
|
||||
#endif
|
||||
<A href="doc/debian-manifesto">The Debian Manifesto</a>
|
||||
|
||||
</LI>
|
||||
<LI>
|
||||
|
||||
#if OUTPUTtext
|
||||
/doc/social-contract.txt
|
||||
|
||||
#endif
|
||||
<A href="doc/social-contract.txt">Debian's Social Contract</a>
|
||||
|
||||
</LI>
|
||||
<LI>
|
||||
|
||||
#if OUTPUTtext
|
||||
/doc/bug-reporting.txt
|
||||
|
||||
#endif
|
||||
<A href="doc/bug-reporting.txt">Bug reporting instructions</a>
|
||||
|
||||
</LI>
|
||||
</UL>
|
||||
|
||||
#else
|
||||
|
||||
The Binary-1 CD contains much more information about various aspects
|
||||
of the Debian Operating System and the Debian organization.
|
||||
See the README on that CD for more info.
|
||||
|
||||
#endif
|
||||
|
||||
<P>
|
||||
Also on the Internet are many resources. To name a few:
|
||||
<P>
|
||||
|
||||
<UL>
|
||||
<LI>
|
||||
|
||||
#if OUTPUTtext
|
||||
http://www.debian.org
|
||||
|
||||
#endif
|
||||
<A href="http://www.debian.org/">The Debian homepage</a>
|
||||
|
||||
</LI>
|
||||
<LI>
|
||||
|
||||
#if OUTPUTtext
|
||||
http://www.debian.org/doc
|
||||
|
||||
#endif
|
||||
<A href="http://www.debian.org/doc/">Debian Documentation</a>
|
||||
|
||||
</LI>
|
||||
<LI>
|
||||
|
||||
#if OUTPUTtext
|
||||
http://www.debian.org/support
|
||||
|
||||
#endif
|
||||
<A href="http://www.debian.org/support">Debian User Support</a>
|
||||
|
||||
</LI>
|
||||
<LI>
|
||||
|
||||
#if OUTPUTtext
|
||||
http://www.tldp.org
|
||||
|
||||
#endif
|
||||
<A href="http://www.tldp.org/">The Linux Documentation Project</a>
|
||||
|
||||
</LI>
|
||||
<LI>
|
||||
|
||||
#if OUTPUTtext
|
||||
http://www.linux.org
|
||||
|
||||
#endif
|
||||
<A href="http://www.linux.org/">General Linux homepage</a>
|
||||
|
||||
</LI>
|
||||
</UL>
|
||||
|
||||
<P>
|
||||
|
||||
<DIV align="center">
|
||||
|
||||
#if OUTPUTtext
|
||||
<br>
|
||||
<br>
|
||||
#endif
|
||||
#if OUTPUThtml
|
||||
<HR>
|
||||
#endif
|
||||
|
||||
<SMALL>See the Debian
|
||||
<A href="http://www.debian.org/contact">contact page</A>
|
||||
|
||||
#if OUTPUTtext
|
||||
(http://www.debian.org/contact)
|
||||
#endif
|
||||
|
||||
for information on contacting us.
|
||||
</SMALL><P>
|
||||
<SMALL>
|
||||
|
||||
Last Modified: Sat Mar 20 12:30:45 EST 2004
|
||||
|
||||
<br></SMALL>
|
||||
</DIV>
|
||||
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td colspan="3" valign="bottom" width="20%" bgcolor="#BBDDFF">
|
||||
<img src="pics/blue-lowerleft.png" align="left" border="0"
|
||||
hspace="0" vspace="0" alt="" width="17" height="16">
|
||||
<img src="pics/blue-lowerright.png" align="right" border="0"
|
||||
hspace="0" vspace="0" alt="" width="16" height="16">
|
||||
</td>
|
||||
</tr>
|
||||
</table>
|
||||
|
||||
</body>
|
||||
</html>
|
|
@ -0,0 +1,43 @@
|
|||
About the Smart Boot Manager image
|
||||
----------------------------------
|
||||
|
||||
The file `sbm.bin' that is available in this directory may be useful
|
||||
to you if you are not able to directly boot the first CD because your
|
||||
BIOS may be too old and may not support ISOLINUX.
|
||||
|
||||
Then, instead of booting on the CD directly, you create a Smart Boot
|
||||
Manager floppy image by using the sbm.bin disk image. You can create this
|
||||
floppy with rawrite (under DOS) or with dd (under Linux). Now you can
|
||||
boot on this floppy disk and it will detect your CDROM and let you boot
|
||||
on it bypassing any BIOS limitation.
|
||||
|
||||
What is SBM ?
|
||||
|
||||
Smart Boot Manager or briefly SmartBtmgr (SBM), is an OS independent
|
||||
Boot Manager - a program that is loaded by the bios before any
|
||||
operating system and allows you to choose which operating system to
|
||||
boot.
|
||||
|
||||
SBM is included in Debian in two ways, the package bmconf allows us to
|
||||
install and configure an old version of SBM and sbm wich is the latest
|
||||
version of SBM with an installer.
|
||||
|
||||
What's the use of SBM on the CD then ?
|
||||
|
||||
SBM includes an IDE driver that allows us to boot the cds even on
|
||||
machines with a BIOS that wouldn't support booting from CD, provided our
|
||||
CDROM is an IDE one, that is, so you can make a SBM floppy and boot from
|
||||
it and then tell it to boot from your CDROM.
|
||||
|
||||
Also, there are some cases where the BIOS would allow booting from the CD
|
||||
but isolinux fails to boot from there, in this case you can either boot
|
||||
using a CD other than the first, as the others don't use isolinux, or you
|
||||
can make a SBM floppy and boot from this floppy and then tell SBM to boot
|
||||
your CDROM.
|
||||
|
||||
How do you make a SBM floppy ?
|
||||
|
||||
If you have SBM installed on a box you can run sbminst. Otherwise you can
|
||||
put the sbm.bin floppy image that we provide with our cds onto a floppy
|
||||
just like you would do with a rescue image.
|
||||
|
|
@ -0,0 +1,4 @@
|
|||
choose-mirror
|
||||
netcfg
|
||||
ethdetect
|
||||
fdisk-udeb
|
|
@ -0,0 +1,3 @@
|
|||
netcfg
|
||||
ethdetect
|
||||
fdisk-udeb
|
|
@ -0,0 +1,3 @@
|
|||
netcfg
|
||||
ethdetect
|
||||
fdisk-udeb
|
|
@ -0,0 +1,5 @@
|
|||
choose-mirror
|
||||
netcfg
|
||||
ethdetect
|
||||
pcmcia-cs-udeb
|
||||
wireless-tools-udeb
|
|
@ -0,0 +1,4 @@
|
|||
netcfg
|
||||
ethdetect
|
||||
pcmcia-cs-udeb
|
||||
wireless-tools-udeb
|
|
@ -0,0 +1,4 @@
|
|||
netcfg
|
||||
ethdetect
|
||||
pcmcia-cs-udeb
|
||||
wireless-tools-udeb
|
|
@ -0,0 +1,3 @@
|
|||
choose-mirror
|
||||
netcfg
|
||||
ethdetect
|
|
@ -0,0 +1,2 @@
|
|||
netcfg
|
||||
ethdetect
|
|
@ -0,0 +1,2 @@
|
|||
netcfg
|
||||
ethdetect
|
|
@ -0,0 +1,6 @@
|
|||
<chrp-boot>
|
||||
<description>Debian/GNU Linux Installation on IBM CHRP hardware</description>
|
||||
<os-name>Debian/GNU Linux for PowerPC</os-name>
|
||||
<boot-script>boot &device;:\install\yaboot</boot-script>
|
||||
</chrp-boot>
|
||||
|
|
@ -0,0 +1,19 @@
|
|||
# DECstations with R4000 CPU
|
||||
label=linux-kn04
|
||||
append="initrd=/boot/initrd.gz ramdisk_size=8192"
|
||||
image=/boot/vmlinux-r4k-kn04
|
||||
|
||||
# DECstations with R4000 CPU, expert mode
|
||||
label=expert-kn04
|
||||
append="DEBCONF_PRIORITY=low initrd=/boot/initrd.gz ramdisk_size=8192"
|
||||
image=/boot/vmlinux-r4k-kn04
|
||||
|
||||
# DECstations with R3000 CPU
|
||||
label=linux-kn02
|
||||
append="initrd=/boot/initrd.gz ramdisk_size=8192"
|
||||
image=/boot/vmlinux-r3k-kn02
|
||||
|
||||
# DECstations with R3000 CPU, expert mode
|
||||
label=expert-kn02
|
||||
append="DEBCONF_PRIORITY=low initrd=/boot/initrd.gz ramdisk_size=8192"
|
||||
image=/boot/vmlinux-r3k-kn02
|
|
@ -0,0 +1,111 @@
|
|||
# These udebs build the d-i cdrom initrd. As such, there is no reason
|
||||
# to keep another copy of them on the CD in udeb form.
|
||||
#
|
||||
# This duplicates data found in the file build/pkg-lists/kernel, in d-i svn
|
||||
kernel-image-*
|
||||
# build/pkg-lists/base in d-i svn
|
||||
rootskel
|
||||
main-menu
|
||||
cdebconf-udeb
|
||||
udpkg
|
||||
anna
|
||||
di-utils-shell
|
||||
di-utils-reboot
|
||||
lowmemcheck
|
||||
# build/pkg-lists/cdrom/common, in d-i svn (also included in the
|
||||
# root+cd-drivers floppies)
|
||||
busybox-cvs-udeb
|
||||
busybox-udeb
|
||||
rootskel-locale
|
||||
installation-locale
|
||||
languagechooser
|
||||
countrychooser
|
||||
localechooser
|
||||
iso-3166-udeb
|
||||
hw-detect
|
||||
cdrom-detect
|
||||
cdrom-retriever
|
||||
load-cdrom
|
||||
cdrom-checker
|
||||
bogl-bterm-udeb
|
||||
di-utils-terminfo
|
||||
cdebconf-priority
|
||||
cdebconf-newt-udeb
|
||||
usb-discover
|
||||
preseed-common
|
||||
initrd-preseed
|
||||
file-preseed
|
||||
nano-udeb
|
||||
floppy-retriever
|
||||
libfribidi0-udeb
|
||||
# Already on the initrd, thanks to library reduction.
|
||||
libdebconfclient0-udeb
|
||||
libdebian-installer-extra4-udeb
|
||||
libdebian-installer-udeb
|
||||
# A reduced version is on the initrd. Nothing currently needs the full
|
||||
# version.
|
||||
slang1a-utf8-udeb
|
||||
# These udebs are only useful in building the boot floppy image.
|
||||
busybox-cvs-floppy-udeb
|
||||
busybox-floppy-udeb
|
||||
di-utils-bootfloppy
|
||||
rootskel-bootfloppy
|
||||
# gtk stuff
|
||||
cdebconf-gtk-udeb
|
||||
fontconfig-udeb
|
||||
libatk1.0-udeb
|
||||
libdirectfb-0.9-19-udeb
|
||||
libexpat1-udeb
|
||||
libfreetype6-udeb
|
||||
libglib2.0-udeb
|
||||
libgtk+2.0-directfb0-udeb
|
||||
libpango1.0-udeb
|
||||
libpng12-0-udeb
|
||||
ttf-freefont-udeb
|
||||
libdirectfb-0.9-22-udeb
|
||||
fbset-udeb
|
||||
# This udeb is not in good shape and is largely supersceded by
|
||||
# cdebconf-newt-udeb
|
||||
cdebconf-slang-udeb
|
||||
# We're currently using busybox's own shell, and do not need this one.
|
||||
dash-udeb
|
||||
# Not currently used
|
||||
cdebootstrap-udeb
|
||||
hdparm-udeb
|
||||
laptop-detect-udeb
|
||||
# These dhcp clients are not the currently preferred one.
|
||||
dhcp3-client-udeb
|
||||
pump-udeb
|
||||
# This package is only useful in the d-i-demo.
|
||||
di-utils-exit-installer
|
||||
# No need for these loaders.
|
||||
load-installer
|
||||
download-installer
|
||||
load-floppy
|
||||
# Only useful in the hd-media initrd.
|
||||
iso-scan
|
||||
load-iso
|
||||
# We're using busybox's modutils these days.
|
||||
modutils-basic
|
||||
modutils-full
|
||||
# Nothing currently depends on this, and it seems not useful on its own.
|
||||
reiserfsprogs-udeb
|
||||
# These are not really needed, the regular netcfg subsumes them.
|
||||
netcfg-static
|
||||
netcfg-dhcp
|
||||
# skolelinux stuff, not for the stock CDs
|
||||
debian-edu-install-udeb
|
||||
debian-edu-profile-udeb
|
||||
ltsp-client-builder
|
||||
autopartkit
|
||||
lvm10-udeb
|
||||
# If needed, will be on the initrd already.
|
||||
module-init-tools-udeb
|
||||
rescue-check
|
||||
rootskel-gtk
|
||||
cdebconf-text-udeb
|
||||
# Obsolete
|
||||
hw-detect-full
|
||||
# Eh?
|
||||
gnumach-udeb
|
||||
# Exclude apt-setup components; they will be included
|
|
@ -0,0 +1,35 @@
|
|||
# These udebs are in the d-i cdrom initrd and the hd-media initrd.
|
||||
# As such, there is no reason to keep another copy of them on the CD
|
||||
# in udeb form.
|
||||
isa-pnp-modules-*
|
||||
socket-modules-*
|
||||
console-keymaps-at
|
||||
console-keymaps-usb
|
||||
discover-data-udeb
|
||||
discover-udeb
|
||||
discover1-data-udeb
|
||||
discover1-udeb
|
||||
fat-modules-*
|
||||
cdrom-core-modules-*
|
||||
cdrom-modules-*
|
||||
ide-modules-*
|
||||
ide-core-modules-*
|
||||
input-modules-*
|
||||
fb-modules-*
|
||||
kbd-chooser
|
||||
usb-modules-*
|
||||
usb-storage-modules-*
|
||||
scsi-core-modules-*
|
||||
# Not needed with the 2.6 kernel on amd64.
|
||||
userdevfs
|
||||
# The speakup kernel modules are not useful unless the access images are
|
||||
# provided.
|
||||
*-speakup-di
|
||||
# These packages are for the old partitioning system, and should not be
|
||||
# included as they confuse users.
|
||||
# Note that partconf-find-partitions is used by lvmcfg-utils, so is not
|
||||
# excluded likewise, partconf-mkfstab is used by autopartkit.
|
||||
partconf
|
||||
partitioner
|
||||
# This is obsolete.
|
||||
discover2-data-udeb
|
|
@ -0,0 +1,31 @@
|
|||
# These udebs are in the d-i cdrom initrd and the cd-drivers+root floppies.
|
||||
# As such, there is no reason to keep another copy of them on the CD
|
||||
# in udeb form.
|
||||
isa-pnp-modules-*
|
||||
socket-modules-*
|
||||
console-keymaps-at
|
||||
console-keymaps-usb
|
||||
floppy-modules-*
|
||||
discover-data-udeb
|
||||
discover-udeb
|
||||
discover1-data-udeb
|
||||
discover1-udeb
|
||||
cdrom-core-modules-*
|
||||
cdrom-modules-*
|
||||
ide-modules-*
|
||||
ide-core-modules-*
|
||||
input-modules-*
|
||||
fb-modules-*
|
||||
kbd-chooser
|
||||
usb-modules-*
|
||||
usb-storage-modules-*
|
||||
scsi-core-modules-*
|
||||
# Not needed with the 2.4 kernel on i386.
|
||||
userdevfs
|
||||
# The speakup kernel modules are not useful unless the access images are
|
||||
# provided.
|
||||
*-speakup-di
|
||||
# These udebs are not used yet.
|
||||
mouse-modules-*
|
||||
# Only needed on arches that use partconf or autopartkit.
|
||||
partconf-mkfstab
|
|
@ -0,0 +1,30 @@
|
|||
# These udebs build the d-i cdrom initrd. As such, there is no reason
|
||||
# to keep another copy of them on the CD in udeb form.
|
||||
#
|
||||
# This duplicates data found in the file build/pkg-lists/cdrom/powerpc,
|
||||
# in d-i Subversion.
|
||||
|
||||
cdrom-core-modules-*
|
||||
console-keymaps-at
|
||||
console-keymaps-usb
|
||||
discover-data-udeb
|
||||
discover-udeb
|
||||
discover1-data-udeb
|
||||
discover1-udeb
|
||||
eject-udeb
|
||||
firewire-core-modules-*
|
||||
fs-common-modules-*
|
||||
ide-modules-*
|
||||
input-modules-*
|
||||
kbd-chooser
|
||||
pcmcia-cs-udeb
|
||||
pcmcia-modules-*
|
||||
pcmcia-storage-modules-*
|
||||
scsi-common-modules-*
|
||||
scsi-core-modules-*
|
||||
scsi-modules-*
|
||||
socket-modules-*
|
||||
usb-modules-*
|
||||
usb-storage-modules-*
|
||||
# Not needed with the 2.4 kernel on powerpc.
|
||||
userdevfs
|
|
@ -0,0 +1,3 @@
|
|||
choose-mirror
|
||||
netcfg
|
||||
ethdetect
|
|
@ -0,0 +1,2 @@
|
|||
netcfg
|
||||
ethdetect
|
|
@ -0,0 +1,2 @@
|
|||
netcfg
|
||||
ethdetect
|
|
@ -0,0 +1,5 @@
|
|||
choose-mirror
|
||||
netcfg
|
||||
ethdetect
|
||||
pcmcia-cs-udeb
|
||||
wireless-tools-udeb
|
|
@ -0,0 +1,4 @@
|
|||
netcfg
|
||||
ethdetect
|
||||
pcmcia-cs-udeb
|
||||
wireless-tools-udeb
|
|
@ -0,0 +1,4 @@
|
|||
netcfg
|
||||
ethdetect
|
||||
pcmcia-cs-udeb
|
||||
wireless-tools-udeb
|
|
@ -0,0 +1,3 @@
|
|||
choose-mirror
|
||||
netcfg
|
||||
ethdetect
|
|
@ -0,0 +1,2 @@
|
|||
netcfg
|
||||
ethdetect
|
|
@ -0,0 +1,2 @@
|
|||
netcfg
|
||||
ethdetect
|
|
@ -0,0 +1,3 @@
|
|||
choose-mirror
|
||||
netcfg
|
||||
ethdetect
|
|
@ -0,0 +1,2 @@
|
|||
netcfg
|
||||
ethdetect
|
|
@ -0,0 +1,2 @@
|
|||
netcfg
|
||||
ethdetect
|
|
@ -0,0 +1,3 @@
|
|||
choose-mirror
|
||||
netcfg
|
||||
ethdetect
|
|
@ -0,0 +1,2 @@
|
|||
netcfg
|
||||
ethdetect
|
|
@ -0,0 +1,2 @@
|
|||
netcfg
|
||||
ethdetect
|
|
@ -0,0 +1,3 @@
|
|||
choose-mirror
|
||||
netcfg
|
||||
ethdetect
|
|
@ -0,0 +1,2 @@
|
|||
netcfg
|
||||
ethdetect
|
|
@ -0,0 +1,2 @@
|
|||
netcfg
|
||||
ethdetect
|
|
@ -0,0 +1,87 @@
|
|||
\ FORTH is identifed by a forth comment at first line
|
||||
\
|
||||
\ terminal control stuff
|
||||
\
|
||||
: TTY.CSI d# 27 EMIT ASCII [ EMIT ;
|
||||
: TTY.HOME TTY.CSI ASCII H EMIT ;
|
||||
: TTY.CLR_EOS TTY.CSI ASCII J EMIT ;
|
||||
: TTY.HOME_CLR TTY.HOME TTY.CLR_EOS ;
|
||||
\
|
||||
\ boot menu stuff
|
||||
\
|
||||
: my-max-boot-num 3 ;
|
||||
: my-boot-default 1 ;
|
||||
: my-boot-delay d# 300 ; \ unit = 100 ms
|
||||
: my-print-menu ( -- )
|
||||
TTY.HOME_CLR
|
||||
." " cr
|
||||
." Welcome to Debian GNU/Linux ${DEBIAN_VERSION}!" cr
|
||||
." " cr
|
||||
." This is a Debian installation ${MEDIA_TYPE}," cr
|
||||
." built on ${BUILD_DATE}." cr
|
||||
." " cr
|
||||
." The default option is (1) 'install'. For maximum" cr
|
||||
." control, you can use the (2) 'expert' option." cr
|
||||
." " cr
|
||||
." ************************************" cr
|
||||
." If in doubt, just choose (1) 'install'" cr
|
||||
." ************************************" cr
|
||||
." " cr
|
||||
." 1: install" cr
|
||||
." 2: expert" cr
|
||||
." 3: return to OF prompt" cr
|
||||
." " cr
|
||||
;
|
||||
: my-boot-case ( num -- )
|
||||
." " cr
|
||||
case
|
||||
1 of " cd install/powerpc/vmlinuz-chrp.initrd devfs=mount,dall init=/linuxrc --" endof
|
||||
2 of " cd install/powerpc/vmlinuz-chrp.initrd DEBCONF_PRIORITY=low devfs=mount,dall init=/linuxrc --" endof
|
||||
3 of " none" endof
|
||||
endcase
|
||||
$boot
|
||||
;
|
||||
: my-input-num ( wait-period max-boot-num default-num -- boot-num )
|
||||
1 \ loop-inc = 1
|
||||
3 pick 0 do
|
||||
0d emit
|
||||
." press 1-"
|
||||
( wait-period max-boot-num default-num loop-inc )
|
||||
2 pick ascii 0 + emit
|
||||
dup 1 = if
|
||||
." within "
|
||||
3 pick i - d# 10 / .d
|
||||
." seconds"
|
||||
then
|
||||
." (default: "
|
||||
over ascii 0 + emit
|
||||
." ) : "
|
||||
d# 100 ms
|
||||
key? if
|
||||
key
|
||||
( wait-period max-boot-num default-num loop-inc key )
|
||||
dup 0d = if \ return pressed
|
||||
drop leave
|
||||
then
|
||||
|
||||
ascii 0 -
|
||||
( wait-period max-boot-num default-num loop-inc num )
|
||||
dup 1 5 pick
|
||||
( wait-period max-boot-num default-num loop-inc num num 1 max-boot-num )
|
||||
between if
|
||||
rot drop swap leave
|
||||
then
|
||||
|
||||
( wait-period max-boot-num default-num loop-inc num )
|
||||
2drop 0 \ loop-inc = 0
|
||||
then
|
||||
dup +loop
|
||||
drop
|
||||
( wait-period max-boot-num boot-num )
|
||||
nip nip
|
||||
;
|
||||
|
||||
|
||||
my-print-menu
|
||||
my-boot-delay my-max-boot-num my-boot-default my-input-num
|
||||
my-boot-case
|
|
@ -0,0 +1,4 @@
|
|||
choose-mirror
|
||||
netcfg
|
||||
ethdetect
|
||||
wireless-tools-udeb
|
|
@ -0,0 +1,3 @@
|
|||
netcfg
|
||||
ethdetect
|
||||
wireless-tools-udeb
|
|
@ -0,0 +1,4 @@
|
|||
netcfg
|
||||
ethdetect
|
||||
pcmcia-cs-udeb
|
||||
wireless-tools-udeb
|
|
@ -0,0 +1,24 @@
|
|||
About the S/390 installation CD
|
||||
===============================
|
||||
|
||||
It is possible to "boot" the installation system off this CD using
|
||||
the files provided in the /boot directory.
|
||||
|
||||
Note that the /boot/d390oco.* files are only provided as an example
|
||||
as Debian cannot ship the object-code-only-modules-ramdisk (oco.bin).
|
||||
|
||||
Although you can boot the installer from this CD, the installation
|
||||
itself is *not* actually done from the CD. Once the initrd is loaded,
|
||||
the installer will ask you to configure your network connection and
|
||||
uses the network-console component to allow you to continue the
|
||||
installation over SSH. The rest of the installation is done over the
|
||||
network: all installer components and Debian packages are retrieved
|
||||
from a mirror.
|
||||
|
||||
|
||||
Tip for users of the Hercules emulator
|
||||
--------------------------------------
|
||||
If you want to ipl the installer off this CD, mount it on the host
|
||||
system (e.g. on /media/cdrom) and enter the following in the Hercules
|
||||
management console:
|
||||
ipl /media/cdrom/boot/d390.ins
|
|
@ -0,0 +1,182 @@
|
|||
Index: tools/boot/etch/boot-s390
|
||||
===================================================================
|
||||
--- tools/boot/etch/boot-s390 (revision 0)
|
||||
+++ tools/boot/etch/boot-s390 (revision 0)
|
||||
@@ -0,0 +1,98 @@
|
||||
+#!/bin/bash
|
||||
+#
|
||||
+# boot-s390 version 0.2
|
||||
+#
|
||||
+# (C) 2001 Jochen Röhrig <jr@debian.org>
|
||||
+# 2005 Frans Pop <fjp@debian.org>
|
||||
+#
|
||||
+# Released under the GNU general Public License.
|
||||
+# See the copyright file for license details.
|
||||
+# Released as part of the debian_cd package, not much use stand alone.
|
||||
+#
|
||||
+# Install stuff for booting an s390 system from VM-reader, tape,
|
||||
+# FTP-server, CD-ROM or emulated tape.
|
||||
+#
|
||||
+# $1 is the CD number
|
||||
+# $2 is the temporary CD build dir
|
||||
+
|
||||
+. $BASEDIR/tools/boot/$CODENAME/common.sh
|
||||
+
|
||||
+set -e
|
||||
+
|
||||
+N=$1
|
||||
+CDDIR=$2
|
||||
+
|
||||
+cd $CDDIR/..
|
||||
+
|
||||
+if [ $N != "1" ] && [ $N != "1_NONUS" ] ; then
|
||||
+ echo "-J" > $N.mkisofs_opts
|
||||
+ exit 0
|
||||
+fi
|
||||
+
|
||||
+if [ "$DI_WWW_HOME" = "default" ];then
|
||||
+ DI_WWW_HOME="https://lophos.multibuild.org/d-i/images/daily"
|
||||
+ if [ -n "$DI_DIR" ];then
|
||||
+ DI_DIR="$DI_DIR/~${DI_WWW_HOME#*~}"
|
||||
+ DI_WWW_HOME=""
|
||||
+ fi
|
||||
+fi
|
||||
+if [ ! "$DI_DIST" ]; then
|
||||
+ DI_DIST="$DI_CODENAME"
|
||||
+fi
|
||||
+
|
||||
+imagedir="boot$N/boot"
|
||||
+mkdir -p $imagedir
|
||||
+
|
||||
+# Install the two kernel images, the ramdisk and the parameter file
|
||||
+# The following files need to be included:
|
||||
+# - generic/parmfile.debian : parameter file
|
||||
+# - generic/initrd.debian : initrd; to be used for both VM-reader and tape
|
||||
+# - generic/kernel.debian : kernel for WM-reader
|
||||
+# - tape/kernel.debian : kernel for tape
|
||||
+# - tape/kernel.debian-nolabel : kernel for tape (nolabel)
|
||||
+
|
||||
+images_S390="generic/parmfile.debian generic/initrd.debian generic/kernel.debian tape/kernel.debian tape/kernel.debian-nolabel"
|
||||
+
|
||||
+for image in $images_S390; do
|
||||
+ case $image in
|
||||
+ generic/parmfile.debian)
|
||||
+ imagedest=parmfile ;;
|
||||
+ generic/initrd.debian)
|
||||
+ imagedest=root.bin ;;
|
||||
+ generic/kernel.debian)
|
||||
+ imagedest=linux_vm ;;
|
||||
+ tape/kernel.debian)
|
||||
+ imagedest=linux_tp ;;
|
||||
+ tape/kernel.debian-nolabel)
|
||||
+ imagedest=linux_nl ;;
|
||||
+ esac
|
||||
+ imagedest="$imagedir/$imagedest"
|
||||
+
|
||||
+ if [ -n "$LOCAL" -a -f "${LOCALDEBS:-$MIRROR}/dists/$DI_DIST/local/installer-$ARCH/current/images/$image" ]; then
|
||||
+ cp "${LOCALDEBS:-$MIRROR}/dists/$DI_DIST/local/installer-$ARCH/current/images/$image" "$imagedest"
|
||||
+ elif [ ! "$DI_WWW_HOME" ];then
|
||||
+ if [ ! "$DI_DIR" ];then
|
||||
+ DI_DIR="$MIRROR/dists/$DI_DIST/main/installer-$ARCH/current/images"
|
||||
+ fi
|
||||
+ cp "$DI_DIR/$image" "$imagedest"
|
||||
+ else
|
||||
+ wget "$DI_WWW_HOME/$image" -O "$imagedest"
|
||||
+ fi
|
||||
+done
|
||||
+
|
||||
+# Copy the different boot files
|
||||
+# - d390.ins : for booting from CD-ROM or FTP-Server
|
||||
+# - d390oco.ins : same, using object-code-only-modules-ramdisk (example)
|
||||
+# - d390.tdf : for booting from emulated tape
|
||||
+# - d390oco.tdf : same, using object-code-only-modules-ramdisk (example)
|
||||
+
|
||||
+cp $BASEDIR/data/$CODENAME/s390/d390* "$imagedir/"
|
||||
+
|
||||
+# Copy the README file
|
||||
+
|
||||
+cp $BASEDIR/data/$CODENAME/s390/README.boot "boot$N/"
|
||||
+
|
||||
+
|
||||
+# Include the boot$N/-tree into the iso-image
|
||||
+
|
||||
+echo -n "-J boot$N " >> $N.mkisofs_opts
|
||||
|
||||
Property changes on: tools/boot/etch/boot-s390
|
||||
___________________________________________________________________
|
||||
Name: svn:executable
|
||||
+ *
|
||||
|
||||
Index: data/etch/s390/README.boot
|
||||
===================================================================
|
||||
--- data/etch/s390/README.boot (revision 0)
|
||||
+++ data/etch/s390/README.boot (revision 0)
|
||||
@@ -0,0 +1,24 @@
|
||||
+About the S/390 installation CD
|
||||
+===============================
|
||||
+
|
||||
+It is possible to "boot" the installation system off this CD using
|
||||
+the files provided in the /boot directory.
|
||||
+
|
||||
+Note that the /boot/d390oco.* files are only provided as an example
|
||||
+as Debian cannot ship the object-code-only-modules-ramdisk (oco.bin).
|
||||
+
|
||||
+Although you can boot the installer from this CD, the installation
|
||||
+itself is *not* actually done from the CD. Once the initrd is loaded,
|
||||
+the installer will ask you to configure your network connection and
|
||||
+uses the network-console component to allow you to continue the
|
||||
+installation over SSH. The rest of the installation is done over the
|
||||
+network: all installer components and Debian packages are retrieved
|
||||
+from a mirror.
|
||||
+
|
||||
+
|
||||
+Tip for users of the Hercules emulator
|
||||
+--------------------------------------
|
||||
+If you want to ipl the installer off this CD, mount it on the host
|
||||
+system (e.g. on /media/cdrom) and enter the following in the Hercules
|
||||
+management console:
|
||||
+ ipl /media/cdrom/boot/d390.ins
|
||||
Index: data/etch/s390/d390.ins
|
||||
===================================================================
|
||||
--- data/etch/s390/d390.ins (revision 0)
|
||||
+++ data/etch/s390/d390.ins (revision 0)
|
||||
@@ -0,0 +1,4 @@
|
||||
+* Debian GNU/Linux for S/390 (boot from CD-ROM or FTP-Server)
|
||||
+linux_vm 0x00000000
|
||||
+parmfile 0x00010480
|
||||
+root.bin 0x00800000
|
||||
Index: data/etch/s390/d390oco.ins
|
||||
===================================================================
|
||||
--- data/etch/s390/d390oco.ins (revision 0)
|
||||
+++ data/etch/s390/d390oco.ins (revision 0)
|
||||
@@ -0,0 +1,5 @@
|
||||
+* Debian GNU/Linux for S/390 (boot from CD-ROM or FTP-Server with OCO-Modules)
|
||||
+linux_vm 0x00000000
|
||||
+parmfile 0x00010480
|
||||
+root.bin 0x00800000
|
||||
+oco.bin 0x00c00000
|
||||
Index: data/etch/s390/d390.tdf
|
||||
===================================================================
|
||||
--- data/etch/s390/d390.tdf (revision 0)
|
||||
+++ data/etch/s390/d390.tdf (revision 0)
|
||||
@@ -0,0 +1,7 @@
|
||||
+@TDF
|
||||
+H:\BOOT\LINUX_TP UNDEFINED RECSIZE 1024
|
||||
+H:\BOOT\PARMFILE UNDEFINED RECSIZE 1024
|
||||
+H:\BOOT\ROOT.BIN UNDEFINED RECSIZE 1024
|
||||
+TM
|
||||
+TM
|
||||
+EOT
|
||||
Index: data/etch/s390/d390oco.tdf
|
||||
===================================================================
|
||||
--- data/etch/s390/d390oco.tdf (revision 0)
|
||||
+++ data/etch/s390/d390oco.tdf (revision 0)
|
||||
@@ -0,0 +1,8 @@
|
||||
+@TDF
|
||||
+H:\BOOT\LINUX_TP UNDEFINED RECSIZE 1024
|
||||
+H:\BOOT\PARMFILE UNDEFINED RECSIZE 1024
|
||||
+H:\BOOT\ROOT.BIN UNDEFINED RECSIZE 1024
|
||||
+H:\BOOT\OCO.BIN UNDEFINED RECSIZE 1024
|
||||
+TM
|
||||
+TM
|
||||
+EOT
|
|
@ -0,0 +1,4 @@
|
|||
* Debian GNU/Linux for S/390 (boot from CD-ROM or FTP-Server)
|
||||
linux_vm 0x00000000
|
||||
parmfile 0x00010480
|
||||
root.bin 0x00800000
|
|
@ -0,0 +1,7 @@
|
|||
@TDF
|
||||
H:\BOOT\LINUX_TP UNDEFINED RECSIZE 1024
|
||||
H:\BOOT\PARMFILE UNDEFINED RECSIZE 1024
|
||||
H:\BOOT\ROOT.BIN UNDEFINED RECSIZE 1024
|
||||
TM
|
||||
TM
|
||||
EOT
|
|
@ -0,0 +1,5 @@
|
|||
* Debian GNU/Linux for S/390 (boot from CD-ROM or FTP-Server with OCO-Modules)
|
||||
linux_vm 0x00000000
|
||||
parmfile 0x00010480
|
||||
root.bin 0x00800000
|
||||
oco.bin 0x00c00000
|
|
@ -0,0 +1,8 @@
|
|||
@TDF
|
||||
H:\BOOT\LINUX_TP UNDEFINED RECSIZE 1024
|
||||
H:\BOOT\PARMFILE UNDEFINED RECSIZE 1024
|
||||
H:\BOOT\ROOT.BIN UNDEFINED RECSIZE 1024
|
||||
H:\BOOT\OCO.BIN UNDEFINED RECSIZE 1024
|
||||
TM
|
||||
TM
|
||||
EOT
|
|
@ -0,0 +1,3 @@
|
|||
choose-mirror
|
||||
netcfg
|
||||
ethdetect
|
|
@ -0,0 +1,2 @@
|
|||
netcfg
|
||||
ethdetect
|
|
@ -0,0 +1,2 @@
|
|||
netcfg
|
||||
ethdetect
|
|
@ -0,0 +1,16 @@
|
|||
|
||||
Welcome to Debian GNU/Linux ${DEBIAN_VERSION}!
|
||||
|
||||
This is a Debian installation ${MEDIA_TYPE}, built on ${BUILD_DATE}.
|
||||
Keep it once you have installed your system, as you can boot from it
|
||||
to repair the system on your hard disk if that ever becomes necessary.
|
||||
|
||||
WARNING: You should completely back up all of your hard disks before
|
||||
proceeding. The installation procedure can completely and irreversibly
|
||||
erase them! If you haven't made backups yet, remove the rescue CD from
|
||||
the drive and press L1-A to get back to the OpenBoot prompt.
|
||||
|
||||
Debian GNU/Linux comes with ABSOLUTELY NO WARRANTY, to the extent permitted
|
||||
by applicable law.
|
||||
|
||||
[ ENTER - Boot install ] [ Type "rescue" - Boot into rescue mode ]
|
|
@ -0,0 +1,51 @@
|
|||
partition=1
|
||||
timeout=600
|
||||
message=/boot/debian.txt
|
||||
default=install
|
||||
append="cdrom ramdisk_size=16384"
|
||||
root=/dev/ram
|
||||
|
||||
### sparc64 boot images
|
||||
image[sun4u]=/boot/2.6/sparc64
|
||||
label=install
|
||||
initrd=/boot/2.6/initrd.gz
|
||||
image[sun4u]=/boot/sparc64
|
||||
label=install24
|
||||
initrd=/boot/initrd.gz
|
||||
|
||||
# sparc64 expert boots
|
||||
image[sun4u]=/boot/2.6/sparc64
|
||||
label=expert
|
||||
initrd=/boot/2.6/initrd.gz
|
||||
append="debconf/priority=low"
|
||||
image[sun4u]=/boot/sparc64
|
||||
label=expert24
|
||||
initrd=/boot/initrd.gz
|
||||
append="debconf/priority=low"
|
||||
|
||||
# sparc64 rescue boots
|
||||
image[sun4u]=/boot/2.6/sparc64
|
||||
label=rescue
|
||||
initrd=/boot/2.6/initrd.gz
|
||||
append="rescue/enable=true"
|
||||
image[sun4u]=/boot/sparc64
|
||||
label=rescue24
|
||||
initrd=/boot/initrd.gz
|
||||
append="rescue/enable=true"
|
||||
|
||||
### sparc32 boot images
|
||||
image[sun4c,sun4d,sun4m]=/boot/sparc32
|
||||
label=install
|
||||
initrd=/boot/initrd.gz
|
||||
|
||||
# sparc32 expert boots
|
||||
image[sun4c,sun4d,sun4m]=/boot/sparc32
|
||||
label=expert
|
||||
initrd=/boot/initrd.gz
|
||||
append="debconf/priority=low"
|
||||
|
||||
# sparc32 rescue boots
|
||||
image[sun4c,sun4d,sun4m]=/boot/sparc32
|
||||
label=rescue
|
||||
initrd=/boot/initrd.gz
|
||||
append="rescue/enable=true"
|
|
@ -0,0 +1,3 @@
|
|||
choose-mirror
|
||||
netcfg
|
||||
ethdetect
|
|
@ -0,0 +1,2 @@
|
|||
netcfg
|
||||
ethdetect
|
|
@ -0,0 +1,2 @@
|
|||
netcfg
|
||||
ethdetect
|
|
@ -0,0 +1 @@
|
|||
apt-mirror-setup
|
|
@ -0,0 +1,23 @@
|
|||
Welcome to Debian GNU/Linux ${DEBIAN_VERSION}!
|
||||
|
||||
This is a Debian installation ${MEDIA_TYPE},
|
||||
built on ${BUILD_DATE}.
|
||||
|
||||
The default option is 'install'. For maximum
|
||||
control, you can use the 'expert' option.
|
||||
|
||||
If the system fails to boot at all (the typical
|
||||
symptom is a white screen which doesn't go away),
|
||||
use 'install video=ofonly' or 'expert video=ofonly'.
|
||||
|
||||
The plain options are for the powerpc family of
|
||||
processors (from 601 to G4). The *64 options are for
|
||||
64bit powerpc processors, which include the IBM
|
||||
Power3, Power4, Power5, ... boxes, as well as the
|
||||
Apple G5 boxes. Press the tab key for a list of
|
||||
options, or type 'help' for help.
|
||||
|
||||
************************************
|
||||
If in doubt, just choose 'install', and if that
|
||||
doesn't work, try 'install video=ofonly'.
|
||||
************************************
|
|
@ -0,0 +1,64 @@
|
|||
<CHRP-BOOT>
|
||||
<COMPATIBLE>
|
||||
MacRISC MacRISC3 MacRISC4
|
||||
</COMPATIBLE>
|
||||
<DESCRIPTION>
|
||||
GNU/Linux PPC bootloader
|
||||
</DESCRIPTION>
|
||||
<BOOT-SCRIPT>
|
||||
" screen" output
|
||||
load-base release-load-area
|
||||
boot cd:,\install\yaboot
|
||||
</BOOT-SCRIPT>
|
||||
<OS-BADGE-ICONS>
|
||||
1010
|
||||
000000000000F8FEACF6000000000000
|
||||
0000000000F5FFFFFEFEF50000000000
|
||||
00000000002BFAFEFAFCF70000000000
|
||||
0000000000F65D5857812B0000000000
|
||||
0000000000F5350B2F88560000000000
|
||||
0000000000F6335708F8FE0000000000
|
||||
00000000005600F600F5FD8100000000
|
||||
00000000F9F8000000F5FAFFF8000000
|
||||
000000008100F5F50000F6FEFE000000
|
||||
000000F8F700F500F50000FCFFF70000
|
||||
00000088F70000F50000F5FCFF2B0000
|
||||
0000002F582A00F5000008ADE02C0000
|
||||
00090B0A35A62B0000002D3B350A0000
|
||||
000A0A0B0B3BF60000505E0B0A0B0A00
|
||||
002E350B0B2F87FAFCF45F0B2E090000
|
||||
00000007335FF82BF72B575907000000
|
||||
000000000000ACFFFF81000000000000
|
||||
000000000081FFFFFFFF810000000000
|
||||
0000000000FBFFFFFFFFAC0000000000
|
||||
000000000081DFDFDFFFFB0000000000
|
||||
000000000081DD5F83FFFD0000000000
|
||||
000000000081DDDF5EACFF0000000000
|
||||
0000000000FDF981F981FFFF00000000
|
||||
00000000FFACF9F9F981FFFFAC000000
|
||||
00000000FFF98181F9F981FFFF000000
|
||||
000000ACACF981F981F9F9FFFFAC0000
|
||||
000000FFACF9F981F9F981FFFFFB0000
|
||||
00000083DFFBF981F9F95EFFFFFC0000
|
||||
005F5F5FDDFFFBF9F9F983DDDD5F0000
|
||||
005F5F5F5FDD81F9F9E7DF5F5F5F5F00
|
||||
0083DD5F5F83FFFFFFFFDF5F835F0000
|
||||
000000FBDDDFACFBACFBDFDFFB000000
|
||||
000000000000FFFFFFFF000000000000
|
||||
0000000000FFFFFFFFFFFF0000000000
|
||||
0000000000FFFFFFFFFFFF0000000000
|
||||
0000000000FFFFFFFFFFFF0000000000
|
||||
0000000000FFFFFFFFFFFF0000000000
|
||||
0000000000FFFFFFFFFFFF0000000000
|
||||
0000000000FFFFFFFFFFFFFF00000000
|
||||
00000000FFFFFFFFFFFFFFFFFF000000
|
||||
00000000FFFFFFFFFFFFFFFFFF000000
|
||||
000000FFFFFFFFFFFFFFFFFFFFFF0000
|
||||
000000FFFFFFFFFFFFFFFFFFFFFF0000
|
||||
000000FFFFFFFFFFFFFFFFFFFFFF0000
|
||||
00FFFFFFFFFFFFFFFFFFFFFFFFFF0000
|
||||
00FFFFFFFFFFFFFFFFFFFFFFFFFFFF00
|
||||
00FFFFFFFFFFFFFFFFFFFFFFFFFF0000
|
||||
000000FFFFFFFFFFFFFFFFFFFF000000
|
||||
</OS-BADGE-ICONS>
|
||||
</CHRP-BOOT>
|
|
@ -0,0 +1,43 @@
|
|||
## This yaboot.conf is for CD booting only, do not use as reference.
|
||||
## Debian GNU/Linux PowerPC (CODENAME)
|
||||
|
||||
# It is important not to have a comma after cd:
|
||||
# Let's disable this one for now, as it breaks on IBM 64bit boxes,
|
||||
# Not sure if it is ok on powermacs, but yaboot should be able to
|
||||
# parse that from chosen/bootpath.
|
||||
# device=cd:
|
||||
default=install
|
||||
|
||||
# FIXME: will this be the correct path?
|
||||
message=/install/boot.msg
|
||||
|
||||
# PowerPC subarch
|
||||
image=/install/powerpc/vmlinux
|
||||
label=install
|
||||
initrd=/install/powerpc/initrd.gz
|
||||
append="devfs=mount,dall init=/linuxrc --"
|
||||
initrd-size=10240
|
||||
read-only
|
||||
|
||||
image=/install/powerpc/vmlinux
|
||||
label=expert
|
||||
initrd=/install/powerpc/initrd.gz
|
||||
append="DEBCONF_PRIORITY=low devfs=mount,dall init=/linuxrc --"
|
||||
initrd-size=10240
|
||||
read-only
|
||||
|
||||
# PowerPC 64bit subarch
|
||||
image=/install/powerpc64/vmlinux
|
||||
label=install64
|
||||
initrd=/install/powerpc64/initrd.gz
|
||||
append="devfs=mount,dall init=/linuxrc --"
|
||||
initrd-size=10240
|
||||
read-only
|
||||
|
||||
image=/install/powerpc64/vmlinux
|
||||
label=expert64
|
||||
initrd=/install/powerpc64/initrd.gz
|
||||
append="DEBCONF_PRIORITY=low devfs=mount,dall init=/linuxrc --"
|
||||
initrd-size=10240
|
||||
read-only
|
||||
|
|
@ -0,0 +1,12 @@
|
|||
# ext. xlate creator type comment
|
||||
.hqx Ascii 'BnHx' 'TEXT' "BinHex file"
|
||||
.sit Raw 'SIT!' 'SITD' "StuffIT Expander"
|
||||
.mov Raw 'TVOD' 'MooV' "QuickTime Movie"
|
||||
.deb Raw 'Debn' 'bina' "Debian package"
|
||||
.bin Raw 'ddsk' 'DDim' "Floppy or ramdisk image"
|
||||
.img Raw 'ddsk' 'DDim' "Floppy or ramdisk image"
|
||||
.b Raw 'UNIX' 'tbxi' "bootstrap"
|
||||
yaboot Raw 'UNIX' 'boot' "bootstrap"
|
||||
vmlinux Raw 'UNIX' 'boot' "bootstrap"
|
||||
.conf Raw 'UNIX' 'conf' "bootstrap"
|
||||
* Ascii '????' '????' "Text file"
|
After Width: | Height: | Size: 294 B |
After Width: | Height: | Size: 266 B |
After Width: | Height: | Size: 280 B |
After Width: | Height: | Size: 290 B |
After Width: | Height: | Size: 8.2 KiB |
After Width: | Height: | Size: 3.9 KiB |
After Width: | Height: | Size: 353 B |
After Width: | Height: | Size: 299 B |
After Width: | Height: | Size: 321 B |
After Width: | Height: | Size: 344 B |
|
@ -0,0 +1,809 @@
|
|||
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
|
||||
<HTML lang="en">
|
||||
<HEAD>
|
||||
<META http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
|
||||
<TITLE>Debian GNU/Linux -- The Universal Operating System</TITLE>
|
||||
<META NAME="Description" CONTENT="Debian GNU/Linux is a free distribution of the GNU/Linux operating system. It is maintained and updated through the work of many users who volunteer their time and effort.">
|
||||
<META NAME="Keywords" CONTENT="debian, GNU, linux, unix, open source, free, DFSG">
|
||||
<META NAME="Language" CONTENT="English">
|
||||
<meta name="Author" content="J.A. Bezemer, costar@panic.et.tudelft.nl">
|
||||
</HEAD>
|
||||
<BODY text="#000000" bgcolor="#FFFFFF" link="#0000FF" vlink="#800080" alink="#FF0000">
|
||||
|
||||
|
||||
<!-- The HTML and TEXT file are NOT the actual source code... -->
|
||||
<!-- For that, see http://cdimage.debian.org/ch32.html -->
|
||||
#if 0
|
||||
If you read THIS, you're viewing the actual source file ;-)
|
||||
#endif
|
||||
|
||||
#undef i386
|
||||
#undef alpha
|
||||
#undef powerpc
|
||||
#undef ppc
|
||||
#undef sparc
|
||||
#undef ultrasparc
|
||||
#undef m68k
|
||||
#undef arm
|
||||
#undef binary
|
||||
#undef bin
|
||||
#undef source
|
||||
#undef src
|
||||
|
||||
#if OUTPUTtext
|
||||
#define href nothing
|
||||
#endif
|
||||
|
||||
#include <README.diskdefines>
|
||||
|
||||
|
||||
#if OUTPUThtml
|
||||
<div align=right>
|
||||
(<a href="README.txt">Text version</a>)
|
||||
</div>
|
||||
<TABLE border="0" cellpadding="3" cellspacing="0" align="center" summary="">
|
||||
<TR>
|
||||
<TD>
|
||||
<IMG src="pics/logo-50.jpg" border="0" hspace="0" vspace="0" alt=""
|
||||
width="50" height="61"></A>
|
||||
<IMG src="pics/debian.jpg" border="0" hspace="0" vspace="0"
|
||||
alt="Debian" width="179" height="61">
|
||||
</TD>
|
||||
</TR>
|
||||
</TABLE>
|
||||
#endif
|
||||
#if OUTPUTtext
|
||||
<div align=right>
|
||||
(HTML version in README.html)
|
||||
</div>
|
||||
#endif
|
||||
|
||||
|
||||
<TABLE bgcolor="#DF0451" border="0" cellpadding="0" cellspacing="0"
|
||||
width="100%" summary="">
|
||||
<TR>
|
||||
<TD valign="top">
|
||||
<img src="pics/red-upperleft.png" align="left" border="0" hspace="0"
|
||||
vspace="0" alt="" width="15" height="16">
|
||||
</TD>
|
||||
<TD rowspan="2" align="center">
|
||||
|
||||
<CENTER>
|
||||
<TABLE border="0" cellpadding="2" cellspacing="0" align="center">
|
||||
<TR><TD bgcolor="#000084">
|
||||
<CENTER><FONT COLOR="#FFFFFF" FACE="helvetica,arial"><B>
|
||||
#if 0
|
||||
Debian GNU/Linux 2.2 "Potato" - Official i386 Binary-1 CD
|
||||
#endif
|
||||
DISKNAME CD
|
||||
</B></FONT></CENTER>
|
||||
</TD><TR>
|
||||
</TABLE>
|
||||
</CENTER>
|
||||
|
||||
</TD>
|
||||
<TD valign="top">
|
||||
<img src="pics/red-upperright.png" align="right" border="0" hspace="0"
|
||||
vspace="0" alt="" width="16" height="16">
|
||||
</TD>
|
||||
</TR>
|
||||
<TR>
|
||||
<TD valign="bottom">
|
||||
<img src="pics/red-lowerleft.png" align="left" border="0" hspace="0"
|
||||
vspace="0" alt="" width="16" height="16">
|
||||
</TD>
|
||||
<TD valign="bottom">
|
||||
<img src="pics/red-lowerright.png" align="right" border="0" hspace="0"
|
||||
vspace="0" alt="" width="15" height="16">
|
||||
</TD>
|
||||
</TR>
|
||||
</TABLE>
|
||||
|
||||
<TABLE border="0" cellpadding="2" cellspacing="0" width="100%" summary="">
|
||||
<TR>
|
||||
<TD></TD>
|
||||
</TR>
|
||||
</TABLE>
|
||||
|
||||
|
||||
<TABLE border="0" cellpadding="0" cellspacing="0" width="100%" summary="">
|
||||
<TR>
|
||||
<TD colspan="3" valign="top" width="20%" bgcolor="#BBDDFF">
|
||||
<img src="pics/blue-upperleft.png" align="left" border="0"
|
||||
hspace="0" vspace="0" alt="" width="16" height="16">
|
||||
<img src="pics/blue-upperright.png" align="right" border="0"
|
||||
hspace="0" vspace="0" alt="" width="16" height="16">
|
||||
</TD>
|
||||
</TR>
|
||||
<TR>
|
||||
<TD bgcolor="#BBDDFF"> </TD>
|
||||
|
||||
<TD valign="TOP" bgcolor="#BBDDFF">
|
||||
|
||||
<FONT face="Arial,Helvetica">
|
||||
|
||||
#if OUTPUThtml
|
||||
<P><B><A href="http://www.debian.org/">Debian homepage</A></B></P>
|
||||
#endif
|
||||
|
||||
<BR>
|
||||
<P>
|
||||
|
||||
#if OUTPUTtext
|
||||
<BR>
|
||||
CONTENTS:
|
||||
<BR>
|
||||
<BR>
|
||||
<UL>
|
||||
#endif
|
||||
|
||||
#if OUTPUTtext
|
||||
<LI>
|
||||
#endif
|
||||
|
||||
<A href="#intro">Intro</A>
|
||||
<P>
|
||||
|
||||
#if OUTPUTtext
|
||||
</LI><LI>
|
||||
#endif
|
||||
|
||||
<A href="#thiscd">About This CD</A>
|
||||
<P>
|
||||
|
||||
#if OUTPUTtext
|
||||
</LI><LI>
|
||||
#endif
|
||||
|
||||
<A href="#install">Installing</A>
|
||||
<P>
|
||||
|
||||
#if OUTPUTtext
|
||||
</LI><LI>
|
||||
#endif
|
||||
|
||||
#if ARCHi386 || ARCHalpha || ARCHm68k || ARCHsparc
|
||||
<A href="#upgrade">Upgrading</A>
|
||||
<P>
|
||||
|
||||
#if OUTPUTtext
|
||||
</LI><LI>
|
||||
#endif
|
||||
#endif
|
||||
|
||||
#ifndef UNOFFEXTRAS
|
||||
<A href="#lastmin">Last-Minute Notes</A>
|
||||
<P>
|
||||
|
||||
#if OUTPUTtext
|
||||
</LI><LI>
|
||||
#endif
|
||||
#endif
|
||||
|
||||
#if TYPEbinary
|
||||
<A href="#apt">Using CDs with Dselect and Apt</A>
|
||||
<P>
|
||||
|
||||
#if OUTPUTtext
|
||||
</LI><LI>
|
||||
#endif
|
||||
#endif
|
||||
|
||||
#ifndef UNOFFEXTRAS
|
||||
<A href="#nonfree">Non-free/Non-US</A>
|
||||
<P>
|
||||
|
||||
#if OUTPUTtext
|
||||
</LI><LI>
|
||||
#endif
|
||||
#endif
|
||||
|
||||
#ifndef UNOFFEXTRAS
|
||||
<A href="#cdmanuf">CD Manufacturers</A>
|
||||
<P>
|
||||
|
||||
#if OUTPUTtext
|
||||
</LI><LI>
|
||||
#endif
|
||||
#endif
|
||||
|
||||
<A href="#other">More Information</A>
|
||||
|
||||
<P>
|
||||
|
||||
#if OUTPUThtml
|
||||
<P>
|
||||
<A href=".">Browse this CD-ROM</A></P>
|
||||
<P>
|
||||
<tt> </tt>
|
||||
</P>
|
||||
#endif
|
||||
|
||||
|
||||
</FONT>
|
||||
|
||||
#if OUTPUTtext
|
||||
</LI>
|
||||
</UL>
|
||||
#endif
|
||||
|
||||
|
||||
</TD>
|
||||
<TD bgcolor="#BBDDFF"> </TD>
|
||||
<TD> </TD>
|
||||
|
||||
<TD valign="TOP" width="80%">
|
||||
|
||||
<CENTER>
|
||||
<FONT SIZE="+2"><B><I>
|
||||
Welcome to the exciting world of
|
||||
</I></B></FONT>
|
||||
<BR>
|
||||
<FONT SIZE="+3"><B><I>
|
||||
Debian GNU/Linux!
|
||||
</I></B></FONT>
|
||||
</CENTER>
|
||||
|
||||
<A name="intro">
|
||||
<P><H2>
|
||||
Intro
|
||||
#if OUTPUTtext
|
||||
<BR>
|
||||
=====
|
||||
#endif
|
||||
</H2>
|
||||
</a>
|
||||
|
||||
This is one of the CD-ROMs of the
|
||||
<a href="http://www.debian.org/">Debian GNU/Linux</a>
|
||||
distribution. Debian is a
|
||||
very extensive collection of software. But it is more. It is a complete
|
||||
Operating System (OS) for your computer. And it is
|
||||
<A href="http://www.debian.org/intro/free">free</A>
|
||||
(as in "freedom").
|
||||
<P>
|
||||
An operating system is the set of basic programs
|
||||
and utilities that make your computer run. At the core of an operating
|
||||
system is the kernel. The kernel is the most fundamental program on the
|
||||
computer, which does all the basic housekeeping and lets you start other
|
||||
programs.
|
||||
Debian is kernel independent. It currently uses the
|
||||
<A href="http://www.linux.org/">Linux</A> kernel but work is
|
||||
in progress to provide Debian for other kernels, using
|
||||
<A href="http://www.gnu.org/software/hurd/hurd.html">the Hurd</A>.
|
||||
Most of the basic operating system tools
|
||||
come from the <a href="http://www.gnu.org/">GNU project</A>; hence the name
|
||||
GNU/Linux.
|
||||
<P>
|
||||
|
||||
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
|
||||
#if OUTPUTtext
|
||||
(http://www.debian.org/ports)
|
||||
#endif
|
||||
for more information.
|
||||
<P>
|
||||
|
||||
#if OUTPUTtext
|
||||
Read more at <P>
|
||||
http://www.debian.org/intro/about
|
||||
#endif
|
||||
#if OUTPUThtml
|
||||
<A href="http://www.debian.org/intro/about">Read more...</A>
|
||||
#endif
|
||||
|
||||
<A name="thiscd">
|
||||
#if OUTPUTtext
|
||||
<P> <P><H2>
|
||||
#endif
|
||||
#if OUTPUThtml
|
||||
<P><HR><P><H2>
|
||||
#endif
|
||||
About This CD
|
||||
#if OUTPUTtext
|
||||
<BR>
|
||||
=============
|
||||
#endif
|
||||
</H2>
|
||||
</a>
|
||||
|
||||
This CD-ROM is labeled
|
||||
<P>
|
||||
<tt>
|
||||
DISKNAME
|
||||
</tt>
|
||||
<P>
|
||||
#ifndef UNOFFEXTRAS
|
||||
which means that this CD is number DISKNUM of totally TOTALNUM CDs containing
|
||||
#if TYPEbinary
|
||||
programs ("binaries") for `ARCH' computers.
|
||||
<P>
|
||||
The programs on the Binary CDs are ordered by popularity. The Binary-1 CD
|
||||
contains the most popular programs and the installation tools; it is possible
|
||||
to install and run Debian with only the Binary-1 CD. The other CDs, up to
|
||||
Binary-TOTALNUM, contain mostly special-interest programs.
|
||||
#endif
|
||||
#if TYPEsource
|
||||
the source code of programs in the Debian OS.
|
||||
<P>
|
||||
The source packages on the Source CDs are ordered by popularity, like
|
||||
the programs on the Binary CDs. This means that the source code of the
|
||||
programs on the Binary-DISKNUM CD can most likely be found on this CD
|
||||
(though there may be some variation due to size issues).
|
||||
#endif
|
||||
#else
|
||||
#include <unoffextrascd.html.in>
|
||||
#endif
|
||||
|
||||
<A name="install">
|
||||
#if OUTPUTtext
|
||||
<P> <P><H2>
|
||||
#endif
|
||||
#if OUTPUThtml
|
||||
<P><HR><P><H2>
|
||||
#endif
|
||||
Installing
|
||||
#if OUTPUTtext
|
||||
<BR>
|
||||
==========
|
||||
#endif
|
||||
</H2>
|
||||
</a>
|
||||
|
||||
#if DISKNUM1 && TYPEbinary
|
||||
|
||||
Because Debian is a complete Operating System, the installation procedure
|
||||
may seem a bit unusual. You can install Debian GNU/Linux either
|
||||
<i>next to</i> your current OS, or as <i>only</i> OS on your computer.
|
||||
|
||||
<P>
|
||||
Read the <i>Installation Manual</i>, on this CD at
|
||||
<P>
|
||||
<tt>
|
||||
<A href="install/doc/install.en.html">/install/doc/install.en.html</a> </tt>
|
||||
(English version).
|
||||
<P>
|
||||
Translations of the <i>Installation Manual</i>, and plain-text and PDF
|
||||
versions, are also available in the
|
||||
<P>
|
||||
<tt>
|
||||
<A href="install/doc/">/install/doc</a></tt>
|
||||
<P>
|
||||
directory, along with various other documents.
|
||||
<P>
|
||||
Programs and other files that are needed for the installation can be found on
|
||||
this CD under
|
||||
<P>
|
||||
<tt>
|
||||
<A href=%%""dists/potato/main/disks-ARCH/%%"">/dists/potato/main/disks-ARCH</a>
|
||||
</tt>
|
||||
|
||||
#if ARCHi386 || ARCHalpha || ARCHpowerpc || ARCHsparc
|
||||
<P>
|
||||
For the impatient ones:
|
||||
#endif
|
||||
|
||||
#if ARCHi386 || ARCHalpha || ARCHsparc
|
||||
you can start the installation program easily by booting off this CD-ROM.
|
||||
Note that not all (esp. older) systems support this.
|
||||
<P>
|
||||
#endif
|
||||
|
||||
#if ARCHi386 || ARCHpowerpc
|
||||
#if ARCHi386
|
||||
You can also
|
||||
#else
|
||||
you can
|
||||
#endif
|
||||
examine the
|
||||
<P>
|
||||
<tt>
|
||||
<a href="install/">/install</a>
|
||||
</tt>
|
||||
<P>
|
||||
directory; you might be able to start the installation system directly
|
||||
from there.
|
||||
#endif
|
||||
|
||||
#else
|
||||
The installation tools of the Debian Operating System are located on the
|
||||
Binary-1 CD.
|
||||
See the README on that CD for more info.
|
||||
#endif
|
||||
|
||||
#if ARCHi386 || ARCHalpha || ARCHm68k || ARCHsparc
|
||||
<A name="upgrade">
|
||||
#if OUTPUTtext
|
||||
<P> <P><H2>
|
||||
#endif
|
||||
#if OUTPUThtml
|
||||
<P><HR><P><H2>
|
||||
#endif
|
||||
Upgrading
|
||||
#if OUTPUTtext
|
||||
<BR>
|
||||
=========
|
||||
#endif
|
||||
</H2>
|
||||
</a>
|
||||
|
||||
#if DISKNUM1 && TYPEbinary
|
||||
|
||||
If you are already running an older version of the Debian GNU/Linux
|
||||
Operating System, you may want to upgrade to version 2.2.
|
||||
<P>
|
||||
Upgrading procedures, and things needed for the upgrade, can be found on
|
||||
this CD in the
|
||||
<P>
|
||||
<tt>
|
||||
<A href="upgrade/">/upgrade</a>
|
||||
</tt>
|
||||
<P>
|
||||
directory.
|
||||
|
||||
#else
|
||||
Procedures describing the upgrade from an older version of the Debian
|
||||
Operating System are also located on the Binary-1 CD.
|
||||
See the README on that CD for more info.
|
||||
#endif
|
||||
#endif
|
||||
|
||||
#ifndef UNOFFEXTRAS
|
||||
<A name="lastmin">
|
||||
#if OUTPUTtext
|
||||
<P> <P><H2>
|
||||
#endif
|
||||
#if OUTPUThtml
|
||||
<P><HR><P><H2>
|
||||
#endif
|
||||
Last-Minute Notes
|
||||
#if OUTPUTtext
|
||||
<BR>
|
||||
=================
|
||||
#endif
|
||||
</H2>
|
||||
</a>
|
||||
|
||||
<UL>
|
||||
|
||||
<LI>
|
||||
It is possible to run a Debian GNU/Linux 2.2 system with a new Linux kernel
|
||||
version 2.4.x. For that, you may need to upgrade one or more software
|
||||
packages to a newer version than available on this CD. Read
|
||||
<a href="http://www.fs.tum.de/~bunk/kernel-24.html">http://www.fs.tum.de/~bunk/kernel-24.html</a>
|
||||
for more information.
|
||||
<BR>
|
||||
Note that Debian does not officially recommend running a Linux kernel 2.4.x
|
||||
at this moment.
|
||||
<BR>
|
||||
</LI>
|
||||
|
||||
<LI>
|
||||
The K Desktop Environment (KDE) version 2 was not finished when Debian 2.2
|
||||
was released, and is therefore not included. However, KDE2 packages
|
||||
for Debian 2.2 are available for download at
|
||||
<a href="http://kde.debian.net/">http://kde.debian.net</a> .
|
||||
<BR>
|
||||
</LI>
|
||||
|
||||
<LI>
|
||||
At this moment, there are no Debian 2.2 packages available of the recently
|
||||
released version 4.0 of XFree86 (the open-source implementation of the X Window
|
||||
System). If you really need to run XFree86 4, you have to (partially)
|
||||
upgrade your system to the "testing" or "unstable"
|
||||
distribution.
|
||||
<BR>
|
||||
</LI>
|
||||
|
||||
#if 0
|
||||
<LI>
|
||||
The Linux kernel version 2.2.15 on these CDs has been patched
|
||||
to correct the <tt>seteuid</tt> problem with the fix from 2.2.16.
|
||||
<!-- http://www.debian.org/Lists-Archives/debian-release-0006/msg00011.html -->
|
||||
|
||||
<BR>
|
||||
</LI>
|
||||
#endif
|
||||
|
||||
<LI>
|
||||
More last-minutes notes for this CD may be available on
|
||||
<a href="http://www.debian.org/CD/releases/">http://www.debian.org/CD/releases/</a>
|
||||
</LI>
|
||||
|
||||
</UL>
|
||||
#endif
|
||||
|
||||
#if TYPEbinary
|
||||
<A name="apt">
|
||||
#if OUTPUTtext
|
||||
<P> <P><H2>
|
||||
#endif
|
||||
#if OUTPUThtml
|
||||
<P><HR><P><H2>
|
||||
#endif
|
||||
Using CDs with Dselect and Apt
|
||||
#if OUTPUTtext
|
||||
<BR>
|
||||
==============================
|
||||
#endif
|
||||
</H2>
|
||||
</a>
|
||||
|
||||
After installing or upgrading, Debian's packaging system can use CD-ROMs,
|
||||
local collections, or networked servers (FTP, HTTP) to automatically
|
||||
install software from (<tt>.deb</tt> <i>packages</i>). This is done
|
||||
preferably with the `apt' and `dselect' programs. If you do not already
|
||||
know how to setup these, here is a brief explanation.
|
||||
<P>
|
||||
|
||||
#define CDROMreadme 1
|
||||
#include "apt-setup.html.in"
|
||||
|
||||
<P>
|
||||
|
||||
Once this is done, you can install packages from the commandline using
|
||||
<tt>apt-get</tt>. For example, if you want to install the packages
|
||||
`commprog' and `maxgame', you can give the command
|
||||
<P>
|
||||
<tt>
|
||||
apt-get install commprog maxgame
|
||||
</tt>
|
||||
<P>
|
||||
Note that you don't have to enter the complete path, or the
|
||||
`<tt>.deb</tt>' extension. `Apt' will figure this out itself.
|
||||
|
||||
<P>
|
||||
|
||||
`<tt>Dselect</tt>' is also able to use `apt' to fetch the packages. To set
|
||||
up `<tt>dselect</tt>', choose [A]ccess in the main menu, and then select
|
||||
`apt'. The <tt>sources.list</tt> file should be okay already, so don't let
|
||||
the program make a new one. Then, after an [U]pdate, the configuration is
|
||||
ready. You can just keep using [S]elect and [I]nstall to install packages.
|
||||
<P>
|
||||
See <tt>dselect</tt>'s online help screens for more information (use the
|
||||
`<tt>?</tt>' key).
|
||||
|
||||
#endif
|
||||
|
||||
|
||||
#ifndef UNOFFEXTRAS
|
||||
<A name="nonfree">
|
||||
#if OUTPUTtext
|
||||
<P> <P><H2>
|
||||
#endif
|
||||
#if OUTPUThtml
|
||||
<P><HR><P><H2>
|
||||
#endif
|
||||
Non-free and Non-US
|
||||
#if OUTPUTtext
|
||||
<BR>
|
||||
===================
|
||||
#endif
|
||||
</H2>
|
||||
</a>
|
||||
|
||||
The package sections `non-free' and `non-US' contain packages that either
|
||||
have a restrictive license, or can't be exported from the US (like `pgp'
|
||||
or `ssh'). It may well be that this CD does not contain (all of) these
|
||||
packages. You can get them from our FTP/HTTP mirror sites.
|
||||
|
||||
<P>
|
||||
`Non-free' packages are on our "regular" mirrors, listed in
|
||||
<a href="README.mirrors.html">README.mirrors.html</a> on this CD, or on
|
||||
<a href="http://www.debian.org/distrib/ftplist">http://www.debian.org/distrib/ftplist</a> ("Full list of mirrors").
|
||||
|
||||
<P>
|
||||
`Non-US' packages are on special mirrors outside the US, listed in
|
||||
<a href="README.non-US">README.non-US</a> on this CD, or on
|
||||
<a href="http://www.debian.org/misc/README.non-US">http://www.debian.org/misc/README.non-US</a>.
|
||||
|
||||
<P>
|
||||
Note that you <i>are</i> allowed to <i>import</i> non-US packages into the US.
|
||||
#endif
|
||||
|
||||
#ifndef UNOFFEXTRAS
|
||||
<A name="cdmanuf">
|
||||
#if OUTPUTtext
|
||||
<P> <P><H2>
|
||||
#endif
|
||||
#if OUTPUThtml
|
||||
<P><HR><P><H2>
|
||||
#endif
|
||||
CD Manufacturers
|
||||
#if OUTPUTtext
|
||||
<BR>
|
||||
================
|
||||
#endif
|
||||
</H2>
|
||||
</a>
|
||||
|
||||
You are completely free to manufacture and (re-)distribute CD-ROMs of the
|
||||
Debian GNU/Linux Operating System, like this one. There is no charge from
|
||||
us (but of course donations are always welcome).
|
||||
|
||||
<P>
|
||||
|
||||
For all needed information, and contact addresses, please refer to
|
||||
<P>
|
||||
<tt>
|
||||
<a href="http://www.debian.org/CD/">http://www.debian.org/CD/</a>
|
||||
</tt>
|
||||
#endif
|
||||
|
||||
<A name="other">
|
||||
#if OUTPUTtext
|
||||
<P> <P><H2>
|
||||
#endif
|
||||
#if OUTPUThtml
|
||||
<P><HR><P><H2>
|
||||
#endif
|
||||
More Information
|
||||
#if OUTPUTtext
|
||||
<BR>
|
||||
================
|
||||
#endif
|
||||
</H2>
|
||||
</a>
|
||||
|
||||
#if DISKNUM1 && TYPEbinary
|
||||
|
||||
There is much more information present on this CD. Besides the already
|
||||
mentioned installation and upgrading procedures, this is the most
|
||||
interesting: <P>
|
||||
|
||||
<UL>
|
||||
<LI>
|
||||
|
||||
#if OUTPUTtext
|
||||
/doc/FAQ
|
||||
|
||||
#endif
|
||||
<A href="doc/FAQ/">Debian FAQ</a>
|
||||
|
||||
</LI>
|
||||
<LI>
|
||||
|
||||
#if OUTPUTtext
|
||||
/doc/constitution.txt
|
||||
|
||||
#endif
|
||||
<A href="doc/constitution.txt">The Debian Constitution</a>
|
||||
|
||||
</LI>
|
||||
<LI>
|
||||
|
||||
#if OUTPUTtext
|
||||
/doc/debian-manifesto
|
||||
|
||||
#endif
|
||||
<A href="doc/debian-manifesto">The Debian Manifesto</a>
|
||||
|
||||
</LI>
|
||||
<LI>
|
||||
|
||||
#if OUTPUTtext
|
||||
/doc/social-contract.txt
|
||||
|
||||
#endif
|
||||
<A href="doc/social-contract.txt">Debian's Social Contract</a>
|
||||
|
||||
</LI>
|
||||
<LI>
|
||||
|
||||
#if OUTPUTtext
|
||||
/doc/bug-reporting.txt
|
||||
|
||||
#endif
|
||||
<A href="doc/bug-reporting.txt">Bug reporting instructions</a>
|
||||
|
||||
</LI>
|
||||
</UL>
|
||||
|
||||
#else
|
||||
|
||||
The Binary-1 CD contains much more information about various aspects
|
||||
of the Debian Operating System and the Debian organization.
|
||||
See the README on that CD for more info.
|
||||
|
||||
#endif
|
||||
|
||||
<P>
|
||||
Also on the Internet are many resources. To name a few:
|
||||
<P>
|
||||
|
||||
<UL>
|
||||
<LI>
|
||||
|
||||
#if OUTPUTtext
|
||||
http://www.debian.org
|
||||
|
||||
#endif
|
||||
<A href="http://www.debian.org/">The Debian homepage</a>
|
||||
|
||||
</LI>
|
||||
<LI>
|
||||
|
||||
#if OUTPUTtext
|
||||
http://www.debian.org/doc
|
||||
|
||||
#endif
|
||||
<A href="http://www.debian.org/doc/">Debian Documentation</a>
|
||||
|
||||
</LI>
|
||||
<LI>
|
||||
|
||||
#if OUTPUTtext
|
||||
http://www.debian.org/support
|
||||
|
||||
#endif
|
||||
<A href="http://www.debian.org/support">Debian User Support</a>
|
||||
|
||||
</LI>
|
||||
<LI>
|
||||
|
||||
#if OUTPUTtext
|
||||
http://www.linuxdoc.org
|
||||
|
||||
#endif
|
||||
<A href="http://www.linuxdoc.org/">The Linux Documentation Project</a>
|
||||
|
||||
</LI>
|
||||
<LI>
|
||||
|
||||
#if OUTPUTtext
|
||||
http://www.linux.org
|
||||
|
||||
#endif
|
||||
<A href="http://www.linux.org/">General Linux homepage</a>
|
||||
|
||||
</LI>
|
||||
</UL>
|
||||
|
||||
<P>
|
||||
|
||||
<DIV align="center">
|
||||
|
||||
#if OUTPUTtext
|
||||
<br>
|
||||
<br>
|
||||
#endif
|
||||
#if OUTPUThtml
|
||||
<HR>
|
||||
#endif
|
||||
|
||||
<SMALL>See the Debian
|
||||
<A href="http://www.debian.org/contact">contact page</A>
|
||||
|
||||
#if OUTPUTtext
|
||||
(http://www.debian.org/contact)
|
||||
#endif
|
||||
|
||||
for information on contacting us.
|
||||
</SMALL><P>
|
||||
<SMALL>
|
||||
|
||||
Last Modified: Wed Apr 18 19:09:34 CEST 2001
|
||||
|
||||
<BR></SMALL>
|
||||
</DIV>
|
||||
|
||||
</TD>
|
||||
</TR>
|
||||
<TR>
|
||||
<TD colspan="3" valign="bottom" width="20%" bgcolor="#BBDDFF">
|
||||
<img src="pics/blue-lowerleft.png" align="left" border="0"
|
||||
hspace="0" vspace="0" alt="" width="17" height="16">
|
||||
<img src="pics/blue-lowerright.png" align="right" border="0"
|
||||
hspace="0" vspace="0" alt="" width="16" height="16">
|
||||
</TD>
|
||||
</TR>
|
||||
</TABLE>
|
||||
|
||||
</BODY>
|
||||
</HTML>
|
|
@ -0,0 +1,256 @@
|
|||
|
||||
First of all, comment out every line of <tt>/etc/apt/sources.list</tt> by
|
||||
placing a hash sign (`<tt>#</tt>') in front of it (if it isn't already
|
||||
there).
|
||||
|
||||
<P>
|
||||
|
||||
Then you need to add new "<tt>deb</tt>" lines describing the location(s)
|
||||
where apt will get the new packages from. You can add "<tt>deb</tt>" lines
|
||||
for a packages mirror on a local harddisk, and/or FTP/HTTP mirrors, and/or
|
||||
(a set of) CD-ROMs. `Apt' will consider all packages that can be found
|
||||
via any "<tt>deb</tt>" line, and use the one with the highest version
|
||||
number, giving priority to the first mentioned lines. (So, in case of
|
||||
multiple mirror locations, you'd typically first name a local harddisk,
|
||||
then CD-ROMs, and finally FTP/HTTP mirrors.)
|
||||
|
||||
<P>
|
||||
<UL>
|
||||
<LI>
|
||||
For an archive on a local harddisk, that for example has these directories,
|
||||
|
||||
#if OUTPUTtext
|
||||
<PRE>
|
||||
|
||||
/var/ftp/debian/dists/potato/main/binary-ARCH/...
|
||||
/var/ftp/debian/dists/potato/contrib/binary-ARCH/...
|
||||
--------------- ------ |\
|
||||
\________ \_ | \___
|
||||
add: \ \ | \
|
||||
--------------- ------ | \
|
||||
deb file:/var/ftp/debian potato main contrib
|
||||
|
||||
</PRE>
|
||||
#endif
|
||||
#if OUTPUThtml
|
||||
<PRE>
|
||||
/var/ftp/debian/dists/potato/main/binary-ARCH/...
|
||||
/var/ftp/debian/dists/potato/contrib/binary-ARCH/...
|
||||
--------------- ------ |\
|
||||
\________ \_ | \___
|
||||
add: \ \ | \
|
||||
--------------- ------ | \
|
||||
deb file:/var/ftp/debian potato main contrib
|
||||
</PRE>
|
||||
#endif
|
||||
|
||||
As shown, the `<tt>dists</tt>' is added implicitly, and the 3rd
|
||||
and following arguments are used to expand the path into multiple
|
||||
directories.
|
||||
|
||||
<BR> <BR>
|
||||
|
||||
If you have a complete mirror that also has non-free and non-US, you
|
||||
typically have to add lines like these:
|
||||
|
||||
<BR> <BR>
|
||||
|
||||
<tt>
|
||||
deb file:/var/ftp/debian potato main contrib non-free <BR>
|
||||
|
||||
deb file:/var/ftp/debian-non-US potato/non-US main contrib non-free
|
||||
</tt>
|
||||
|
||||
<BR> <BR>
|
||||
|
||||
If you don't have such a structure, other description lines are
|
||||
possible, see the <tt>sources.list</tt>
|
||||
#if MANPAGEseebelow
|
||||
manpage (see below).
|
||||
#else
|
||||
manpage.
|
||||
#endif
|
||||
|
||||
</LI>
|
||||
<BR> <BR>
|
||||
<LI>
|
||||
|
||||
FTP and HTTP packages mirror addresses can be found on
|
||||
|
||||
#if CDROMreadme
|
||||
#if OUTPUTtext
|
||||
this CD in README.mirrors.txt, or on
|
||||
#endif
|
||||
#if OUTPUThtml
|
||||
this CD in <a href="README.mirrors.html">README.mirrors.html</a>, or on
|
||||
#endif
|
||||
#endif
|
||||
|
||||
#if OUTPUTtext
|
||||
http://www.debian.org/distrib/ftplist,
|
||||
#endif
|
||||
#if OUTPUThtml
|
||||
<a href="http://www.debian.org/distrib/ftplist">http://www.debian.org/distrib/ftplist</a>,
|
||||
#endif
|
||||
look at the "Full list of mirrors".
|
||||
|
||||
<BR> <BR>
|
||||
|
||||
If the mirror has these directories:
|
||||
|
||||
#if OUTPUTtext
|
||||
<PRE>
|
||||
|
||||
ftp://some-server/debian/dists/potato/main/binary-ARCH/...
|
||||
ftp://some-server/debian/dists/potato/contrib/binary-ARCH/...
|
||||
------------------------ ------ | |
|
||||
\___ / | |
|
||||
add: \ / | |
|
||||
------------------------ ------ | |
|
||||
deb ftp://some-server/debian potato main contrib
|
||||
|
||||
</PRE>
|
||||
#endif
|
||||
#if OUTPUThtml
|
||||
<PRE>
|
||||
ftp://some-server/debian/dists/potato/main/binary-ARCH/...
|
||||
ftp://some-server/debian/dists/potato/contrib/binary-ARCH/...
|
||||
------------------------ ------ | |
|
||||
\___ / | |
|
||||
add: \ / | |
|
||||
------------------------ ------ | |
|
||||
deb ftp://some-server/debian potato main contrib
|
||||
</PRE>
|
||||
#endif
|
||||
|
||||
As shown, the `<tt>dists</tt>' is added implicitly, and the 3rd
|
||||
and following arguments are used to expand the path into multiple
|
||||
directories.
|
||||
|
||||
<BR> <BR>
|
||||
|
||||
If you use a complete mirror that also has non-free and non-US, you
|
||||
typically have to add lines like these:
|
||||
|
||||
<BR> <BR>
|
||||
|
||||
<tt>
|
||||
deb ftp://some-server/debian potato main contrib non-free <BR>
|
||||
|
||||
deb ftp://some-server/debian-non-US potato/non-US main contrib non-free
|
||||
</tt>
|
||||
|
||||
<BR> <BR>
|
||||
|
||||
If the mirror doesn't have such a structure, other description lines are
|
||||
possible, see the <tt>sources.list</tt>
|
||||
#if MANPAGEseebelow
|
||||
manpage (see below).
|
||||
#else
|
||||
manpage.
|
||||
#endif
|
||||
|
||||
#if UPGRADING
|
||||
<BR> <BR>
|
||||
|
||||
NOTE: if you're using the static versions of `apt' and `dpkg' from this
|
||||
directory, the hostname-lookup is "broken" (which is one reason to just
|
||||
use slink's `apt'). The solution is to simply put the mirrors' IP address
|
||||
in the "<tt>deb</tt>" line. (Hint: "<tt>nslookup some-server</tt>")
|
||||
#endif
|
||||
|
||||
</LI>
|
||||
<BR> <BR>
|
||||
<LI>
|
||||
|
||||
If you use (one or more) CD-ROMs, do _not_ add any lines to sources.list
|
||||
manually.
|
||||
|
||||
<BR> <BR>
|
||||
|
||||
Instead, first make sure there is a line in <tt>/etc/fstab</tt> that
|
||||
connects the <tt>/cdrom</tt> mount point with your CD-ROM drive (the
|
||||
exact `<tt>/cdrom</tt>' mount point is "required" for apt). For example,
|
||||
if
|
||||
#if ARCHi386
|
||||
<tt>/dev/hdc</tt>
|
||||
#else
|
||||
<tt>/dev/scd0</tt>
|
||||
#endif
|
||||
is your CD-ROM drive, <tt>/etc/fstab</tt> should
|
||||
contain a line
|
||||
|
||||
#if ARCHi386
|
||||
#if OUTPUTtext
|
||||
<PRE>
|
||||
|
||||
/dev/hdc /cdrom auto defaults,noauto,ro 0 0
|
||||
|
||||
</PRE>
|
||||
#endif
|
||||
#if OUTPUThtml
|
||||
<PRE>
|
||||
/dev/hdc /cdrom auto defaults,noauto,ro 0 0
|
||||
</PRE>
|
||||
#endif
|
||||
#else
|
||||
#if OUTPUTtext
|
||||
<PRE>
|
||||
|
||||
/dev/scd0 /cdrom auto defaults,noauto,ro 0 0
|
||||
|
||||
</PRE>
|
||||
#endif
|
||||
#if OUTPUThtml
|
||||
<PRE>
|
||||
/dev/scd0 /cdrom auto defaults,noauto,ro 0 0
|
||||
</PRE>
|
||||
#endif
|
||||
#endif
|
||||
|
||||
To test this, insert a CD-ROM and give commands
|
||||
|
||||
<BR> <BR>
|
||||
|
||||
<tt> mount /cdrom</tt><BR>
|
||||
<tt> ls -alF /cdrom </tt>
|
||||
(this should show the CD-ROM's root directory)<BR>
|
||||
<tt> umount /cdrom</tt>
|
||||
|
||||
<BR> <BR>
|
||||
|
||||
Then, use the command
|
||||
|
||||
<BR> <BR>
|
||||
|
||||
<tt>
|
||||
apt-cdrom add
|
||||
</tt>
|
||||
|
||||
<BR> <BR>
|
||||
|
||||
to add the data of each CD-ROM to apt's internal database.
|
||||
This command will ask for one CD-ROM per run, and mount/unmount the
|
||||
CD-ROM automatically. You should repeat this command for all 2.2 `Binary'
|
||||
CD-ROMs you have.
|
||||
|
||||
#if UPGRADING
|
||||
(`Source' CD-ROMs can be added as well, but only with the
|
||||
latest version of `apt' from this directory, and they are not needed for
|
||||
the upgrade anyway.)
|
||||
#endif
|
||||
|
||||
</LI>
|
||||
</UL>
|
||||
<P>
|
||||
|
||||
When the <tt>sources.list</tt> is correct,
|
||||
the final step of the preparation is to update apt's internal database
|
||||
with the command
|
||||
|
||||
<P>
|
||||
|
||||
<tt>
|
||||
apt-get update
|
||||
</tt>
|
||||
|
|
@ -0,0 +1,23 @@
|
|||
## This yaboot.conf is for CD booting only, do not use as reference.
|
||||
## Debian GNU/Linux PowerPC (CODENAME)
|
||||
|
||||
init-message="Debian GNU/Linux PowerPC (CODENAME)"
|
||||
|
||||
# It is important not to have a comma after cd:
|
||||
device=cd:
|
||||
timeout=100
|
||||
|
||||
# potato needs \\ kludge because potato's yaboot is anchient broken crap
|
||||
image=\\install\\powermac\\vmlinux
|
||||
label=debian
|
||||
initrd=\\install\\powermac\\root.bin
|
||||
initrd-size=8192
|
||||
read-only
|
||||
|
||||
# some machines have wonky framebuffer support
|
||||
image=\\install\\powermac\\vmlinux
|
||||
label=debian-novideo
|
||||
initrd=\\install\\powermac\\root.bin
|
||||
initrd-size=8192
|
||||
append="video=ofonly"
|
||||
read-only
|
|
@ -0,0 +1,693 @@
|
|||
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
|
||||
<html lang="en">
|
||||
<head>
|
||||
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
|
||||
<title>Debian GNU/Linux -- The Universal Operating System</title>
|
||||
<meta name="Description" content="Debian GNU/Linux is a free distribution of the GNU/Linux operating system. It is maintained and updated through the work of many users who volunteer their time and effort.">
|
||||
<meta name="Keywords" content="debian, GNU, linux, unix, open source, free, DFSG">
|
||||
<meta name="Language" content="English">
|
||||
<meta name="Author" content="J.A. Bezemer, debian-boot@lists.debian.org">
|
||||
<link rev="made" href="mailto:debian-boot@lists.debian.org">
|
||||
</head>
|
||||
<body text="#000000" bgcolor="#FFFFFF" link="#0000FF" vlink="#800080" alink="#FF0000">
|
||||
|
||||
<!-- The HTML and TEXT file are NOT the actual source code. -->
|
||||
<!-- For that, see http://svn.debian.org/wsvn/debian-cd -->
|
||||
#if 0
|
||||
If you read THIS, you're viewing the actual source file ;-)
|
||||
#endif
|
||||
|
||||
#undef i386
|
||||
#undef amd64
|
||||
#undef alpha
|
||||
#undef powerpc
|
||||
#undef ppc
|
||||
#undef sparc
|
||||
#undef ultrasparc
|
||||
#undef m68k
|
||||
#undef arm
|
||||
#undef binary
|
||||
#undef bin
|
||||
#undef source
|
||||
#undef src
|
||||
|
||||
#if OUTPUTtext
|
||||
#define href nothing
|
||||
#endif
|
||||
|
||||
#include <README.diskdefines>
|
||||
|
||||
|
||||
#if OUTPUThtml
|
||||
<div align=right>
|
||||
(<a href="README.txt">Text version</a>)
|
||||
</div>
|
||||
<table border="0" cellpadding="3" cellspacing="0" align="center" summary="">
|
||||
<tr>
|
||||
<td>
|
||||
<img src="pics/logo-50.jpg" border="0" hspace="0" vspace="0" alt="" width="50" height="61">
|
||||
<img src="pics/debian.jpg" border="0" hspace="0" vspace="0" alt="Debian" width="179" height="61">
|
||||
</td>
|
||||
</tr>
|
||||
</table>
|
||||
#endif
|
||||
#if OUTPUTtext
|
||||
<div align=right>
|
||||
(HTML version in README.html)
|
||||
</div>
|
||||
#endif
|
||||
|
||||
|
||||
<table bgcolor="#DF0451" border="0" cellpadding="0" cellspacing="0"
|
||||
width="100%" summary="">
|
||||
<tr>
|
||||
<td valign="top">
|
||||
<img src="pics/red-upperleft.png" align="left" border="0" hspace="0"
|
||||
vspace="0" alt="" width="15" height="16">
|
||||
</td>
|
||||
<td rowspan="2" align="center">
|
||||
|
||||
<table align="center" border="0" cellpadding="2" cellspacing="0">
|
||||
<tr><td bgcolor="#000084">
|
||||
<div align="center"><font color="#FFFFFF" face="helvetica,arial"><B>
|
||||
#if 0
|
||||
Debian GNU/Linux 2.2 "Potato" - Official i386 Binary-1 CD
|
||||
#endif
|
||||
DISKNAME CD
|
||||
</B></font></div>
|
||||
</td></tr>
|
||||
</table>
|
||||
|
||||
</td>
|
||||
<td valign="top">
|
||||
<img src="pics/red-upperright.png" align="right" border="0" hspace="0"
|
||||
vspace="0" alt="" width="16" height="16">
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td valign="bottom">
|
||||
<img src="pics/red-lowerleft.png" align="left" border="0" hspace="0"
|
||||
vspace="0" alt="" width="16" height="16">
|
||||
</td>
|
||||
<td valign="bottom">
|
||||
<img src="pics/red-lowerright.png" align="right" border="0" hspace="0"
|
||||
vspace="0" alt="" width="15" height="16">
|
||||
</td>
|
||||
</tr>
|
||||
</table>
|
||||
|
||||
<table border="0" cellpadding="2" cellspacing="0" width="100%" summary="">
|
||||
<tr>
|
||||
<td></td>
|
||||
</tr>
|
||||
</table>
|
||||
|
||||
|
||||
<table border="0" cellpadding="0" cellspacing="0" width="100%" summary="">
|
||||
<tr>
|
||||
<td colspan="3" valign="top" width="20%" bgcolor="#BBDDFF">
|
||||
<img src="pics/blue-upperleft.png" align="left" border="0"
|
||||
hspace="0" vspace="0" alt="" width="16" height="16">
|
||||
<img src="pics/blue-upperright.png" align="right" border="0"
|
||||
hspace="0" vspace="0" alt="" width="16" height="16">
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td bgcolor="#BBDDFF"> </td>
|
||||
|
||||
<td valign="TOP" bgcolor="#BBDDFF">
|
||||
|
||||
<font face="Arial,Helvetica">
|
||||
|
||||
#if OUTPUThtml
|
||||
<P><B><A href="http://www.debian.org/">Debian home page</A></B></P>
|
||||
#endif
|
||||
|
||||
<br>
|
||||
<P>
|
||||
|
||||
#if OUTPUTtext
|
||||
<br>
|
||||
CONTENTS:
|
||||
<br>
|
||||
<br>
|
||||
<UL>
|
||||
#endif
|
||||
|
||||
#if OUTPUTtext
|
||||
<LI>
|
||||
#endif
|
||||
|
||||
<A href="#intro">Intro</A>
|
||||
<P>
|
||||
|
||||
#if OUTPUTtext
|
||||
</LI><LI>
|
||||
#endif
|
||||
|
||||
<A href="#thiscd">About This CD</A>
|
||||
<P>
|
||||
|
||||
#if OUTPUTtext
|
||||
</LI><LI>
|
||||
#endif
|
||||
|
||||
<A href="#install">Installing</A>
|
||||
<P>
|
||||
|
||||
#if OUTPUTtext
|
||||
</LI><LI>
|
||||
#endif
|
||||
|
||||
#ifndef UNOFFEXTRAS
|
||||
<A href="#lastmin">Last-Minute Notes</A>
|
||||
<P>
|
||||
|
||||
#if OUTPUTtext
|
||||
</LI><LI>
|
||||
#endif
|
||||
#endif
|
||||
|
||||
#if TYPEbinary
|
||||
<A href="#apt">Using CDs with apt</A>
|
||||
<P>
|
||||
|
||||
#if OUTPUTtext
|
||||
</LI><LI>
|
||||
#endif
|
||||
#endif
|
||||
|
||||
#ifndef UNOFFEXTRAS
|
||||
<A href="#cdmanuf">CD Manufacturers</A>
|
||||
<P>
|
||||
|
||||
#if OUTPUTtext
|
||||
</LI><LI>
|
||||
#endif
|
||||
#endif
|
||||
|
||||
<A href="#other">More Information</A>
|
||||
|
||||
<P>
|
||||
|
||||
#if OUTPUThtml
|
||||
<P>
|
||||
<A href=".">Browse this CD-ROM</A></P>
|
||||
<P>
|
||||
<tt> </tt>
|
||||
</P>
|
||||
#endif
|
||||
|
||||
|
||||
</font>
|
||||
|
||||
#if OUTPUTtext
|
||||
</LI>
|
||||
</UL>
|
||||
#endif
|
||||
|
||||
|
||||
</td>
|
||||
<td bgcolor="#BBDDFF"> </td>
|
||||
<td> </td>
|
||||
|
||||
<td valign="TOP" width="80%">
|
||||
|
||||
<div align="center">
|
||||
<big><big><B><I>
|
||||
Welcome to the exciting world of
|
||||
</I></B></big></big>
|
||||
<br>
|
||||
<big><big><big><B><I>
|
||||
Debian GNU/Linux!
|
||||
</I></B></big></big></big>
|
||||
</div>
|
||||
|
||||
<P><H2><A name="intro">
|
||||
Intro
|
||||
#if OUTPUTtext
|
||||
<br>
|
||||
=====
|
||||
#endif
|
||||
</H2>
|
||||
</a>
|
||||
<p>
|
||||
This is one of the CD-ROMs of the
|
||||
<a href="http://www.debian.org/">Debian GNU/Linux</a>
|
||||
distribution. Debian is a
|
||||
very extensive collection of software. But it is more. It is a complete
|
||||
Operating System (OS) for your computer. And it is
|
||||
<A href="http://www.debian.org/intro/free">free</A>
|
||||
(as in "freedom").
|
||||
<P>
|
||||
An operating system is the set of basic programs
|
||||
and utilities that make your computer run. At the core of an operating
|
||||
system is the kernel. The kernel is the most fundamental program on the
|
||||
computer, which does all the basic housekeeping and lets you start other
|
||||
programs.
|
||||
Debian is kernel independent. It currently uses the
|
||||
<A href="http://www.linux.org/">Linux</A> kernel but work is
|
||||
in progress to provide Debian for other kernels, using
|
||||
<A href="http://www.gnu.org/software/hurd/hurd.html">the Hurd</A>.
|
||||
Most of the basic operating system tools
|
||||
come from the <a href="http://www.gnu.org/">GNU project</A>; hence the name
|
||||
GNU/Linux.
|
||||
<P>
|
||||
|
||||
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
|
||||
#if OUTPUTtext
|
||||
(http://www.debian.org/ports)
|
||||
#endif
|
||||
for more information.
|
||||
<P>
|
||||
|
||||
#if OUTPUTtext
|
||||
Read more at <P>
|
||||
http://www.debian.org/intro/about
|
||||
#endif
|
||||
#if OUTPUThtml
|
||||
<A href="http://www.debian.org/intro/about">Read more...</A>
|
||||
#endif
|
||||
|
||||
#if OUTPUTtext
|
||||
<P> <P><H2><A name="thiscd">
|
||||
#endif
|
||||
#if OUTPUThtml
|
||||
<P><HR><P><H2><A name="thiscd">
|
||||
#endif
|
||||
About This CD
|
||||
#if OUTPUTtext
|
||||
<br>
|
||||
=============
|
||||
#endif
|
||||
</H2>
|
||||
</a>
|
||||
<p>
|
||||
This CD-ROM is labeled
|
||||
<P>
|
||||
<tt>
|
||||
DISKNAME
|
||||
</tt>
|
||||
<P>
|
||||
#ifndef UNOFFEXTRAS
|
||||
which means that this CD is number DISKNUM of TOTALNUM CDs containing
|
||||
#if TYPEbinary
|
||||
programs ("binaries") for `ARCH' computers.
|
||||
<P>
|
||||
The programs on the Binary CDs are ordered by popularity. The Binary-1 CD
|
||||
contains the most popular programs and the installation tools; it is possible
|
||||
to install and run Debian with only the Binary-1 CD. The other CDs, up to
|
||||
Binary-TOTALNUM, contain mostly special-interest programs.
|
||||
<p>
|
||||
#if OMIT_RELEASE_NOTES
|
||||
The Release Notes for "sarge" are available on the <A
|
||||
href="http://www.debian.org/releases/sarge/releasenotes">Debian web
|
||||
site</A>.
|
||||
#else
|
||||
#if DISKNUM == 1
|
||||
The Release Notes for Debian GNU/Linux "sarge" are included on this CD
|
||||
in <A href=%%""doc/release-notes/%%"">/doc/release-notes/</a>, in
|
||||
several languages. Additional translations and updated versions for
|
||||
the Release Notes may be available from the <A
|
||||
href="http://www.debian.org/releases/sarge/releasenotes">Debian web
|
||||
site</A>.
|
||||
#else
|
||||
See the first CD in this set for the "sarge" Release Notes.
|
||||
#endif
|
||||
#endif
|
||||
#endif
|
||||
#if TYPEsource
|
||||
the source code of programs in the Debian OS.
|
||||
<P>
|
||||
The source packages on the Source CDs are ordered by popularity, like
|
||||
the programs on the Binary CDs. This means that the source code of the
|
||||
programs on the Binary-DISKNUM CD can most likely be found on this CD
|
||||
(though there may be some variation due to size issues).
|
||||
#endif
|
||||
#else
|
||||
#include <unoffextrascd.html.in>
|
||||
#endif
|
||||
|
||||
|
||||
#if OUTPUTtext
|
||||
<P> <P><H2><A name="install">
|
||||
#endif
|
||||
#if OUTPUThtml
|
||||
<P><HR><P><H2><A name="install">
|
||||
#endif
|
||||
Installing
|
||||
#if OUTPUTtext
|
||||
<br>
|
||||
==========
|
||||
#endif
|
||||
</H2>
|
||||
</a>
|
||||
<p>
|
||||
#if TYPEbinary
|
||||
|
||||
Because Debian is a complete Operating System, the installation procedure
|
||||
may seem a bit unusual. You can install Debian GNU/Linux either
|
||||
<i>alongside</i> your current OS, or as the <i>only</i> OS on your computer.
|
||||
#if OMIT_MANUAL
|
||||
<P>
|
||||
An <b>Installation Guide</b> for this CD is available from
|
||||
<A href="http://www.debian.org/releases/sarge/installmanual">the Debian web site</a>.
|
||||
#else
|
||||
<P>
|
||||
An <b>Installation Guide</b> is included on this CD at
|
||||
<P>
|
||||
<tt>
|
||||
<A href="doc/install/manual/en/index.html">doc/install/manual/en/index.html</a> (English version)</tt>
|
||||
<P>
|
||||
Several translations of the Installation Guide are included on this CD in
|
||||
the <tt><A href="doc">doc/</a></tt> directory, along with various other documents.
|
||||
<br>
|
||||
Note: additional translations, other formats (like PDF and TXT) and updated
|
||||
versions for the Installation Guide are available from
|
||||
<A href="http://www.debian.org/releases/sarge/installmanual">the Debian web site</a>.
|
||||
#endif
|
||||
<P>
|
||||
Programs and other files that are needed for the installation can be found on
|
||||
this CD under
|
||||
<P>
|
||||
<tt>
|
||||
<A href=%%""tools/%%"">/tools/</a>
|
||||
</tt>
|
||||
and
|
||||
<tt>
|
||||
<A href=%%""install/floppy/%%"">/install/floppy/</a>
|
||||
</tt>
|
||||
|
||||
#if ARCHi386 || ARCHamd64 || ARCHalpha || ARCHpowerpc || ARCHsparc
|
||||
<P>
|
||||
For the impatient ones:
|
||||
#endif
|
||||
|
||||
#if ARCHi386 || ARCHalpha || ARCHsparc
|
||||
you can start the installation program easily by booting off this CD-ROM.
|
||||
Note that not all (esp. older) systems support this.
|
||||
<P>
|
||||
#endif
|
||||
|
||||
#if ARCHi386 || ARCHamd64 || ARCHpowerpc
|
||||
#if ARCHi386
|
||||
You can also
|
||||
#else
|
||||
you can
|
||||
#endif
|
||||
examine the
|
||||
<P>
|
||||
<tt>
|
||||
<a href="install/">/install</a>
|
||||
</tt>
|
||||
<P>
|
||||
directory; you might be able to start the installation system directly
|
||||
from there.
|
||||
#endif
|
||||
|
||||
#else
|
||||
The installation tools of the Debian Operating System are located on the
|
||||
Binary-1 CD.
|
||||
See the README on that CD for more info.
|
||||
#endif
|
||||
|
||||
#ifndef UNOFFEXTRAS
|
||||
#if OUTPUTtext
|
||||
<P> <P><H2><A name="lastmin">
|
||||
#endif
|
||||
#if OUTPUThtml
|
||||
<P><HR><P><H2><A name="lastmin">
|
||||
#endif
|
||||
Last-Minute Notes
|
||||
#if OUTPUTtext
|
||||
<br>
|
||||
=================
|
||||
#endif
|
||||
</H2>
|
||||
</a>
|
||||
<p>
|
||||
<UL>
|
||||
|
||||
<LI>
|
||||
You should keep in mind that this is an unofficial CD of the current
|
||||
development version of the Debian system. This means that all sorts of
|
||||
bugs may be present anywhere in the system.
|
||||
|
||||
<br>
|
||||
</LI>
|
||||
|
||||
#if 0
|
||||
-------- This can't be an official image, so also no official notes.
|
||||
<LI>
|
||||
Last-minutes notes for this CD may be available on
|
||||
<a href="http://www.debian.org/CD/releases/">http://www.debian.org/CD/releases/</a>
|
||||
</LI>
|
||||
#endif
|
||||
|
||||
</UL>
|
||||
#endif
|
||||
|
||||
#if TYPEbinary
|
||||
#if OUTPUTtext
|
||||
<P> <P><H2><A name="apt">
|
||||
#endif
|
||||
#if OUTPUThtml
|
||||
<P><HR><P><H2><A name="apt">
|
||||
#endif
|
||||
Using Apt
|
||||
#if OUTPUTtext
|
||||
<br>
|
||||
=============
|
||||
#endif
|
||||
</H2>
|
||||
</a>
|
||||
<p>
|
||||
After installing or upgrading, Debian's packaging system can use CD-ROMs,
|
||||
local collections, or networked servers (FTP, HTTP) to automatically
|
||||
install software from (<tt>.deb</tt> <i>packages</i>). This is done
|
||||
preferably with the `apt' and `aptitude' programs.
|
||||
|
||||
<P>
|
||||
|
||||
You can install packages from the commandline using
|
||||
<tt>apt-get</tt>. For example, if you want to install the packages
|
||||
`commprog' and `maxgame', you can give the command
|
||||
<P>
|
||||
<tt>
|
||||
apt-get install commprog maxgame
|
||||
</tt>
|
||||
<P>
|
||||
Note that you don't have to enter the complete path, or the
|
||||
`<tt>.deb</tt>' extension. `Apt' will figure this out itself.
|
||||
<P>
|
||||
Or use aptitude for a full screen interactive selection of available
|
||||
Debian packages.
|
||||
|
||||
#endif
|
||||
|
||||
|
||||
#ifndef UNOFFEXTRAS
|
||||
#if OUTPUTtext
|
||||
<P> <P><H2><A name="cdmanuf">
|
||||
#endif
|
||||
#if OUTPUThtml
|
||||
<P><HR><P><H2><A name="cdmanuf">
|
||||
#endif
|
||||
CD Manufacturers
|
||||
#if OUTPUTtext
|
||||
<br>
|
||||
================
|
||||
#endif
|
||||
</H2>
|
||||
</a>
|
||||
<p>
|
||||
You are completely free to manufacture and re-distribute CD-ROMs of the
|
||||
Debian GNU/Linux Operating System, like this one. There is no charge from
|
||||
us (but of course donations are always welcome).
|
||||
|
||||
<P>
|
||||
|
||||
For all needed information and contact addresses, please refer to
|
||||
<P>
|
||||
<tt>
|
||||
<a href="http://www.debian.org/CD/">http://www.debian.org/CD/</a>
|
||||
</tt>
|
||||
#endif
|
||||
|
||||
#if OUTPUTtext
|
||||
<P> <P><H2><A name="other">
|
||||
#endif
|
||||
#if OUTPUThtml
|
||||
<P><HR><P><H2><A name="other">
|
||||
#endif
|
||||
More Information
|
||||
#if OUTPUTtext
|
||||
<br>
|
||||
================
|
||||
#endif
|
||||
</H2>
|
||||
</a>
|
||||
<p>
|
||||
#if DISKNUM1 && TYPEbinary
|
||||
|
||||
There is much more information present on this CD. Besides the already
|
||||
mentioned installation and upgrading procedures, this is the most
|
||||
interesting: <P>
|
||||
|
||||
<UL>
|
||||
<LI>
|
||||
|
||||
#if OUTPUTtext
|
||||
/doc/FAQ
|
||||
|
||||
#endif
|
||||
<A href="doc/FAQ/">Debian FAQ</a>
|
||||
|
||||
</LI>
|
||||
<LI>
|
||||
|
||||
#if OUTPUTtext
|
||||
/doc/constitution.txt
|
||||
|
||||
#endif
|
||||
<A href="doc/constitution.txt">The Debian Constitution</a>
|
||||
|
||||
</LI>
|
||||
<LI>
|
||||
|
||||
#if OUTPUTtext
|
||||
/doc/debian-manifesto
|
||||
|
||||
#endif
|
||||
<A href="doc/debian-manifesto">The Debian Manifesto</a>
|
||||
|
||||
</LI>
|
||||
<LI>
|
||||
|
||||
#if OUTPUTtext
|
||||
/doc/social-contract.txt
|
||||
|
||||
#endif
|
||||
<A href="doc/social-contract.txt">Debian's Social Contract</a>
|
||||
|
||||
</LI>
|
||||
<LI>
|
||||
|
||||
#if OUTPUTtext
|
||||
/doc/bug-reporting.txt
|
||||
|
||||
#endif
|
||||
<A href="doc/bug-reporting.txt">Bug reporting instructions</a>
|
||||
|
||||
</LI>
|
||||
</UL>
|
||||
|
||||
#else
|
||||
|
||||
The Binary-1 CD contains much more information about various aspects
|
||||
of the Debian Operating System and the Debian organization.
|
||||
See the README on that CD for more info.
|
||||
|
||||
#endif
|
||||
|
||||
<P>
|
||||
Also on the Internet are many resources. To name a few:
|
||||
<P>
|
||||
|
||||
<UL>
|
||||
<LI>
|
||||
|
||||
#if OUTPUTtext
|
||||
http://www.debian.org
|
||||
|
||||
#endif
|
||||
<A href="http://www.debian.org/">The Debian homepage</a>
|
||||
|
||||
</LI>
|
||||
<LI>
|
||||
|
||||
#if OUTPUTtext
|
||||
http://www.debian.org/doc
|
||||
|
||||
#endif
|
||||
<A href="http://www.debian.org/doc/">Debian Documentation</a>
|
||||
|
||||
</LI>
|
||||
<LI>
|
||||
|
||||
#if OUTPUTtext
|
||||
http://www.debian.org/support
|
||||
|
||||
#endif
|
||||
<A href="http://www.debian.org/support">Debian User Support</a>
|
||||
|
||||
</LI>
|
||||
<LI>
|
||||
|
||||
#if OUTPUTtext
|
||||
http://www.tldp.org
|
||||
|
||||
#endif
|
||||
<A href="http://www.tldp.org/">The Linux Documentation Project</a>
|
||||
|
||||
</LI>
|
||||
<LI>
|
||||
|
||||
#if OUTPUTtext
|
||||
http://www.linux.org
|
||||
|
||||
#endif
|
||||
<A href="http://www.linux.org/">General Linux homepage</a>
|
||||
|
||||
</LI>
|
||||
</UL>
|
||||
|
||||
<P>
|
||||
|
||||
<DIV align="center">
|
||||
|
||||
#if OUTPUTtext
|
||||
<br>
|
||||
<br>
|
||||
#endif
|
||||
#if OUTPUThtml
|
||||
<HR>
|
||||
#endif
|
||||
|
||||
<SMALL>See the Debian
|
||||
<A href="http://www.debian.org/contact">contact page</A>
|
||||
|
||||
#if OUTPUTtext
|
||||
(http://www.debian.org/contact)
|
||||
#endif
|
||||
|
||||
for information on contacting us.
|
||||
</SMALL><P>
|
||||
<SMALL>
|
||||
|
||||
Last Modified: Sat Mar 20 12:30:45 EST 2004
|
||||
|
||||
<br></SMALL>
|
||||
</DIV>
|
||||
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td colspan="3" valign="bottom" width="20%" bgcolor="#BBDDFF">
|
||||
<img src="pics/blue-lowerleft.png" align="left" border="0"
|
||||
hspace="0" vspace="0" alt="" width="17" height="16">
|
||||
<img src="pics/blue-lowerright.png" align="right" border="0"
|
||||
hspace="0" vspace="0" alt="" width="16" height="16">
|
||||
</td>
|
||||
</tr>
|
||||
</table>
|
||||
|
||||
</body>
|
||||
</html>
|
|
@ -0,0 +1,43 @@
|
|||
About the Smart Boot Manager image
|
||||
----------------------------------
|
||||
|
||||
The file `sbm.bin' that is available in this directory may be useful
|
||||
to you if you are not able to directly boot the first CD because your
|
||||
BIOS may be too old and may not support ISOLINUX.
|
||||
|
||||
Then, instead of booting on the CD directly, you create a Smart Boot
|
||||
Manager floppy image by using the sbm.bin disk image. You can create this
|
||||
floppy with rawrite (under DOS) or with dd (under Linux). Now you can
|
||||
boot on this floppy disk and it will detect your CDROM and let you boot
|
||||
on it bypassing any BIOS limitation.
|
||||
|
||||
What is SBM ?
|
||||
|
||||
Smart Boot Manager or briefly SmartBtmgr (SBM), is an OS independent
|
||||
Boot Manager - a program that is loaded by the bios before any
|
||||
operating system and allows you to choose which operating system to
|
||||
boot.
|
||||
|
||||
SBM is included in Debian in two ways, the package bmconf allows us to
|
||||
install and configure an old version of SBM and sbm wich is the latest
|
||||
version of SBM with an installer.
|
||||
|
||||
What's the use of SBM on the CD then ?
|
||||
|
||||
SBM includes an IDE driver that allows us to boot the cds even on
|
||||
machines with a BIOS that wouldn't support booting from CD, provided our
|
||||
CDROM is an IDE one, that is, so you can make a SBM floppy and boot from
|
||||
it and then tell it to boot from your CDROM.
|
||||
|
||||
Also, there are some cases where the BIOS would allow booting from the CD
|
||||
but isolinux fails to boot from there, in this case you can either boot
|
||||
using a CD other than the first, as the others don't use isolinux, or you
|
||||
can make a SBM floppy and boot from this floppy and then tell SBM to boot
|
||||
your CDROM.
|
||||
|
||||
How do you make a SBM floppy ?
|
||||
|
||||
If you have SBM installed on a box you can run sbminst. Otherwise you can
|
||||
put the sbm.bin floppy image that we provide with our cds onto a floppy
|
||||
just like you would do with a rescue image.
|
||||
|
|
@ -0,0 +1,4 @@
|
|||
choose-mirror
|
||||
netcfg
|
||||
ethdetect
|
||||
fdisk-udeb
|
|
@ -0,0 +1,3 @@
|
|||
netcfg
|
||||
ethdetect
|
||||
fdisk-udeb
|
|
@ -0,0 +1,3 @@
|
|||
netcfg
|
||||
ethdetect
|
||||
fdisk-udeb
|
|
@ -0,0 +1,16 @@
|
|||
# AMD64 needed some updated/newer/patched source files compared to the
|
||||
# rest of the sarge release. Source packages listed here are grabbed from the
|
||||
# list at http://amd64.debian.net/docs/package_changes.txt
|
||||
#
|
||||
syslinux
|
||||
linux86
|
||||
gnupg
|
||||
base-config
|
||||
choose-mirror
|
||||
libtool1.4
|
||||
# fdisk-udeb
|
||||
util-linux
|
||||
# hdparm-udeb
|
||||
hdparm
|
||||
# libc6-udeb
|
||||
glibc
|
|
@ -0,0 +1,5 @@
|
|||
choose-mirror
|
||||
netcfg
|
||||
ethdetect
|
||||
pcmcia-cs-udeb
|
||||
wireless-tools-udeb
|
|
@ -0,0 +1,4 @@
|
|||
netcfg
|
||||
ethdetect
|
||||
pcmcia-cs-udeb
|
||||
wireless-tools-udeb
|
|
@ -0,0 +1,4 @@
|
|||
netcfg
|
||||
ethdetect
|
||||
pcmcia-cs-udeb
|
||||
wireless-tools-udeb
|
|
@ -0,0 +1,3 @@
|
|||
choose-mirror
|
||||
netcfg
|
||||
ethdetect
|
|
@ -0,0 +1,2 @@
|
|||
netcfg
|
||||
ethdetect
|
|
@ -0,0 +1,2 @@
|
|||
netcfg
|
||||
ethdetect
|
|
@ -0,0 +1,19 @@
|
|||
# DECstations with R4000 CPU
|
||||
label=linux-kn04
|
||||
append="initrd=/boot/initrd.gz ramdisk_size=8192"
|
||||
image=/boot/vmlinux-r4k-kn04
|
||||
|
||||
# DECstations with R4000 CPU, expert mode
|
||||
label=expert-kn04
|
||||
append="DEBCONF_PRIORITY=low initrd=/boot/initrd.gz ramdisk_size=8192"
|
||||
image=/boot/vmlinux-r4k-kn04
|
||||
|
||||
# DECstations with R3000 CPU
|
||||
label=linux-kn02
|
||||
append="initrd=/boot/initrd.gz ramdisk_size=8192"
|
||||
image=/boot/vmlinux-r3k-kn02
|
||||
|
||||
# DECstations with R3000 CPU, expert mode
|
||||
label=expert-kn02
|
||||
append="DEBCONF_PRIORITY=low initrd=/boot/initrd.gz ramdisk_size=8192"
|
||||
image=/boot/vmlinux-r3k-kn02
|
|
@ -0,0 +1,92 @@
|
|||
# These udebs build the d-i cdrom initrd. As such, there is no reason
|
||||
# to keep another copy of them on the CD in udeb form.
|
||||
#
|
||||
# This duplicates data found in the file build/pkg-lists/kernel, in d-i svn
|
||||
kernel-image-*
|
||||
# build/pkg-lists/base in d-i svn
|
||||
rootskel
|
||||
main-menu
|
||||
cdebconf-udeb
|
||||
udpkg
|
||||
anna
|
||||
di-utils-shell
|
||||
di-utils-reboot
|
||||
lowmemcheck
|
||||
# build/pkg-lists/cdrom/common, in d-i svn (also included in the
|
||||
# root+cd-drivers floppies)
|
||||
busybox-cvs-udeb
|
||||
rootskel-locale
|
||||
languagechooser
|
||||
countrychooser
|
||||
iso-3166-udeb
|
||||
hw-detect
|
||||
cdrom-detect
|
||||
cdrom-retriever
|
||||
load-cdrom
|
||||
cdrom-checker
|
||||
bogl-bterm-udeb
|
||||
di-utils-terminfo
|
||||
cdebconf-priority
|
||||
cdebconf-newt-udeb
|
||||
usb-discover
|
||||
preseed-common
|
||||
initrd-preseed
|
||||
file-preseed
|
||||
nano-udeb
|
||||
floppy-retriever
|
||||
libfribidi0-udeb
|
||||
# Already on the initrd, thanks to library reduction.
|
||||
libdebconfclient0-udeb
|
||||
# A reduced version is on the initrd. Nothing currently needs the full
|
||||
# version.
|
||||
slang1a-utf8-udeb
|
||||
# These udebs are only useful in building the boot floppy image.
|
||||
busybox-cvs-floppy-udeb
|
||||
di-utils-bootfloppy
|
||||
rootskel-bootfloppy
|
||||
# Until someone gets the gtk cdebconf frontend going, all this is not worth
|
||||
# including.
|
||||
cdebconf-gtk-udeb
|
||||
fontconfig-udeb
|
||||
libatk1.0-udeb
|
||||
libdirectfb-0.9-19-udeb
|
||||
libexpat1-udeb
|
||||
libfreetype6-udeb
|
||||
libglib2.0-udeb
|
||||
libgtk+2.0-directfb0-udeb
|
||||
libpango1.0-udeb
|
||||
libpng12-0-udeb
|
||||
ttf-freefont-udeb
|
||||
# This udeb is not in good shape and is largely supersceded by
|
||||
# cdebconf-newt-udeb
|
||||
cdebconf-slang-udeb
|
||||
# We're currently using busybox's own shell, and do not need this one.
|
||||
dash-udeb
|
||||
# These dhcp clients are not the currently preferred one.
|
||||
dhcp3-client-udeb
|
||||
pump-udeb
|
||||
# This package is only useful in the d-i-demo.
|
||||
di-utils-exit-installer
|
||||
# No need for these loaders.
|
||||
load-installer
|
||||
download-installer
|
||||
load-floppy
|
||||
# Only useful in the hd-media initrd.
|
||||
iso-scan
|
||||
load-iso
|
||||
# We're using busybox's modutils these days.
|
||||
modutils-basic
|
||||
modutils-full
|
||||
# Nothing currently depends on this, and it seems not useful on its own.
|
||||
reiserfsprogs-udeb
|
||||
# These are not really needed, the regular netcfg subsumes them.
|
||||
netcfg-static
|
||||
netcfg-dhcp
|
||||
# skolelinux stuff, not for the stock CDs
|
||||
debian-edu-install-udeb
|
||||
debian-edu-profile-udeb
|
||||
# If needed, will be on the initrd already.
|
||||
module-init-tools-udeb
|
||||
rescue-check
|
||||
# Not used yet. When it is, will go in the initrd.
|
||||
localechooser
|
|
@ -0,0 +1,35 @@
|
|||
# These udebs are in the d-i cdrom initrd and the hd-media initrd.
|
||||
# As such, there is no reason to keep another copy of them on the CD
|
||||
# in udeb form.
|
||||
isa-pnp-modules-*
|
||||
socket-modules-*
|
||||
console-keymaps-at
|
||||
console-keymaps-usb
|
||||
discover-data-udeb
|
||||
discover-udeb
|
||||
discover1-data-udeb
|
||||
discover1-udeb
|
||||
fat-modules-*
|
||||
cdrom-core-modules-*
|
||||
cdrom-modules-*
|
||||
ide-modules-*
|
||||
ide-core-modules-*
|
||||
input-modules-*
|
||||
fb-modules-*
|
||||
kbd-chooser
|
||||
usb-modules-*
|
||||
usb-storage-modules-*
|
||||
scsi-core-modules-*
|
||||
# Not needed with the 2.6 kernel on amd64.
|
||||
userdevfs
|
||||
# The speakup kernel modules are not useful unless the access images are
|
||||
# provided.
|
||||
*-speakup-di
|
||||
# These packages are for the old partitioning system, and should not be
|
||||
# included as they confuse users.
|
||||
# Note that partconf-find-partitions is used by lvmcfg-utils, so is not
|
||||
# excluded likewise, partconf-mkfstab is used by autopartkit.
|
||||
partconf
|
||||
partitioner
|
||||
# This is obsolete.
|
||||
discover2-data-udeb
|
|
@ -0,0 +1,27 @@
|
|||
# These udebs are in the d-i cdrom initrd and the cd-drivers+root floppies.
|
||||
# As such, there is no reason to keep another copy of them on the CD
|
||||
# in udeb form.
|
||||
isa-pnp-modules-*
|
||||
socket-modules-*
|
||||
console-keymaps-at
|
||||
console-keymaps-usb
|
||||
floppy-modules-*
|
||||
discover-data-udeb
|
||||
discover-udeb
|
||||
discover1-data-udeb
|
||||
discover1-udeb
|
||||
cdrom-core-modules-*
|
||||
cdrom-modules-*
|
||||
ide-modules-*
|
||||
ide-core-modules-*
|
||||
input-modules-*
|
||||
fb-modules-*
|
||||
kbd-chooser
|
||||
usb-modules-*
|
||||
usb-storage-modules-*
|
||||
scsi-core-modules-*
|
||||
# Not needed with the 2.4 kernel on i386.
|
||||
userdevfs
|
||||
# The speakup kernel modules are not useful unless the access images are
|
||||
# provided.
|
||||
*-speakup-di
|
|
@ -0,0 +1,30 @@
|
|||
# These udebs build the d-i cdrom initrd. As such, there is no reason
|
||||
# to keep another copy of them on the CD in udeb form.
|
||||
#
|
||||
# This duplicates data found in the file build/pkg-lists/cdrom/powerpc,
|
||||
# in d-i Subversion.
|
||||
|
||||
cdrom-core-modules-*
|
||||
console-keymaps-at
|
||||
console-keymaps-usb
|
||||
discover-data-udeb
|
||||
discover-udeb
|
||||
discover1-data-udeb
|
||||
discover1-udeb
|
||||
eject-udeb
|
||||
firewire-core-modules-*
|
||||
fs-common-modules-*
|
||||
ide-modules-*
|
||||
input-modules-*
|
||||
kbd-chooser
|
||||
pcmcia-cs-udeb
|
||||
pcmcia-modules-*
|
||||
pcmcia-storage-modules-*
|
||||
scsi-common-modules-*
|
||||
scsi-core-modules-*
|
||||
scsi-modules-*
|
||||
socket-modules-*
|
||||
usb-modules-*
|
||||
usb-storage-modules-*
|
||||
# Not needed with the 2.4 kernel on powerpc.
|
||||
userdevfs
|
|
@ -0,0 +1,3 @@
|
|||
choose-mirror
|
||||
netcfg
|
||||
ethdetect
|
|
@ -0,0 +1,2 @@
|
|||
netcfg
|
||||
ethdetect
|