installation-guide-20160121ubuntu4.3/ 0000755 0000000 0000000 00000000000 13317712022 014120 5 ustar installation-guide-20160121ubuntu4.3/README 0000644 0000000 0000000 00000001532 13270077716 015015 0 ustar Here is the new manual. It is in Docbook XML format, which is
becoming the new standard for documentation. The advantages include
more precise tagging, figure and table support, and a very strongly
supported toolchain. There is a fairly brief cheatsheet.xml here which
will probably tell you all you need to know, especially if you've
worked with debiandoc before. The Definitive Guide to DocBook by Norm
Walsh is indispensable for figuring out why your tags don't work the
way you think they should:
http://www.oreilly.com/catalog/docbook/chapter/book/docbook.html
For more information about the manual, see:
http://d-i.alioth.debian.org/manual/
See also the various files in the subdirectory doc.
All help is welcome! Send suggestions to the debian-boot list. Patches
can be submitted against the package installation-guide.
Last update: 09 July 2006
installation-guide-20160121ubuntu4.3/build/ 0000755 0000000 0000000 00000000000 13317712022 015217 5 ustar installation-guide-20160121ubuntu4.3/build/Makefile 0000644 0000000 0000000 00000002571 13270077716 016700 0 ustar TARGETS=$(foreach language,$(languages),$(addprefix $(language).,$(architectures)))
.PHONY: $(TARGETS)
all: $(TARGETS)
$(TARGETS): %:
set -e ; \
target=$@ ; \
lang=$${target%.*} ; \
lang_id="$$(echo $$lang | tr A-Z a-z | sed "s/_/-/")" ; \
arch=$${target#*.} ; \
eval arch_destination=$$destination ; \
echo "Architecture: $$arch" ; \
if [ -n "$$noarchdir" ]; then \
destsuffix="$$lang" ; \
else \
if [ -n "$$web" ] ; then \
destsuffix="$$arch" ; \
else \
destsuffix="$$lang.$$arch" ; \
fi ; \
fi ; \
export destdir=build.out.$$lang.$$arch ; \
export tempdir=build.tmp.$$lang.$$arch ; \
./buildone.sh "$$arch" "$$lang" "$$formats" ; \
mkdir -p "$$arch_destination/$$destsuffix" ; \
for format in $$formats; do \
if [ "$$format" = html ]; then \
mkdir -p "$$arch_destination/$$destsuffix/images" ; \
mv ./$$destdir/html/images/* "$$arch_destination/$$destsuffix/images" ; \
rmdir ./$$destdir/html/images ; \
mv ./$$destdir/html/* "$$arch_destination/$$destsuffix" ; \
else \
# Do not fail because of missing PDF support for some languages \
if [ -n "$$web" ] ; then \
mv ./$$destdir/install.$$lang.$$format "$$arch_destination/$$destsuffix/install.$$format.$$lang_id" 2>/dev/null || true ; \
else \
mv ./$$destdir/install.$$lang.$$format "$$arch_destination/$$destsuffix" 2>/dev/null || true ; \
fi ; \
fi ; \
done ; \
./clear.sh
installation-guide-20160121ubuntu4.3/build/arch-options/ 0000755 0000000 0000000 00000000000 13317712022 017625 5 ustar installation-guide-20160121ubuntu4.3/build/arch-options/amd64 0000644 0000000 0000000 00000001726 13270077716 020505 0 ustar # This file contains architecture specific variables for
# the 'amd64' architecture
# It is sourced by the build scripts
archspec="amd64;any-amd64;x86;any-x86;not-s390;not-powerpc"
arch_archive_mirror="archive.ubuntu.com"
arch_archive_subdir="/ubuntu"
arch_listname="amd64"
arch_porturl="amd64"
# This is coming from the lowmem package
minimum_memory=112
# This is coming from the rootskel package, S60frontend
minimum_memory_gtk=229
# These two options should be set if condition 'smp' is set below
smp_config_section="Processor type and features"
smp_config_option="Symmetric multi-processing support"
# Options below are assembled into one variable 'condition'
# in the build scripts
fdisk="fdisk.txt;cfdisk.txt"
network="supports-tftp;supports-bootp;supports-nfsroot"
boot="bootable-disk;bootable-usb;isohybrid-supported"
frontend="newt"
other="supports-wireless;supports-pcmcia;supports-serial-console;supports-desktop"
smp="smp-alternatives"
goodies="supports-lang-chooser"
installation-guide-20160121ubuntu4.3/build/arch-options/arm64 0000644 0000000 0000000 00000001713 13270077716 020517 0 ustar # This file contains architecture specific variables for
# the 'arm64' architecture
# It is sourced by the build scripts
# Note that we keep "arm" as archspec (and thus also for conditions)
# and also continue to use "arm" for arch-specific XML-files in order
# to minimize impact on translations.
archspec="arm;arm64;not-x86;not-s390;not-powerpc"
arch_archive_mirror="ports.ubuntu.com"
arch_archive_subdir="/ubuntu-ports"
arch_listname="arm"
arch_porturl="arm"
# This is coming from the lowmem package
minimum_memory=31
# These two options should be set if condition 'smp' is set below
smp_config_section="Kernel Features"
smp_config_option="Symmetric Multi-Processing"
# Options below are assembled into one variable 'condition'
# in the build scripts
fdisk="fdisk.txt;cfdisk.txt"
network="supports-tftp;supports-rarp;supports-bootp;supports-nfsroot"
boot=""
frontend="newt;not-gtk"
other="supports-serial-console"
smp="defaults-smp"
goodies="supports-lang-chooser"
installation-guide-20160121ubuntu4.3/build/arch-options/armel 0000644 0000000 0000000 00000001542 13270077716 020666 0 ustar # This file contains architecture specific variables for
# the 'armel' architecture
# It is sourced by the build scripts
# Note that we keep "arm" as archspec (and thus also for conditions)
# and also continue to use "arm" for arch-specific XML-files in order
# to minimize impact on translations.
archspec="arm;armel;not-x86;not-s390;not-powerpc"
arch_listname="arm"
arch_porturl="arm"
# This is coming from the lowmem package
minimum_memory=31
# These two options should be set if condition 'smp' is set below
smp_config_section="N/A"
smp_config_option="N/A"
# Options below are assembled into one variable 'condition'
# in the build scripts
fdisk="fdisk.txt;cfdisk.txt"
network="supports-tftp;supports-rarp;supports-bootp;supports-nfsroot"
boot=""
frontend="newt;not-gtk"
other="supports-serial-console"
smp=""
goodies="supports-lang-chooser"
status="checked"
installation-guide-20160121ubuntu4.3/build/arch-options/armhf 0000644 0000000 0000000 00000001717 13270077716 020667 0 ustar # This file contains architecture specific variables for
# the 'armhf' architecture
# It is sourced by the build scripts
# Note that we keep "arm" as archspec (and thus also for conditions)
# and also continue to use "arm" for arch-specific XML-files in order
# to minimize impact on translations.
archspec="arm;armhf;not-x86;not-s390;not-powerpc"
arch_archive_mirror="ports.ubuntu.com"
arch_archive_subdir="/ubuntu-ports"
arch_listname="arm"
arch_porturl="arm"
# This is coming from the lowmem package
minimum_memory=32
# These two options should be set if condition 'smp' is set below
smp_config_section="Kernel Features"
smp_config_option="Symmetric Multi-Processing"
# Options below are assembled into one variable 'condition'
# in the build scripts
fdisk="fdisk.txt;cfdisk.txt"
network="supports-tftp;supports-rarp;supports-bootp;supports-nfsroot"
boot=""
frontend="newt;not-gtk"
other="supports-serial-console"
smp="smp-alternatives"
goodies="supports-lang-chooser"
installation-guide-20160121ubuntu4.3/build/arch-options/hppa 0000644 0000000 0000000 00000001333 13270077716 020514 0 ustar # This file contains architecture specific variables for
# the 'hppa' architecture
# It is sourced by the build scripts
archspec="hppa;not-x86;not-s390;not-powerpc"
arch_listname="hppa"
arch_porturl="hppa"
# This is coming from the lowmem package
minimum_memory=32
# These two options should be set if condition 'smp' is set below
smp_config_section="Processor type and features"
smp_config_option="Symmetric multi-processing support"
# Options below are assembled into one variable 'condition'
# in the build scripts
fdisk="cfdisk.txt"
network="supports-tftp;supports-bootp;supports-nfsroot"
boot=""
frontend="newt;not-gtk"
other="supports-serial-console"
smp="supports-smp"
goodies="supports-lang-chooser"
status="not-checked"
installation-guide-20160121ubuntu4.3/build/arch-options/hurd 0000644 0000000 0000000 00000000326 13270077716 020527 0 ustar # This file contains os specific variables for the 'hurd' os
# It is sourced by the build scripts
archspec="$archspec;hurd-any"
arch_kernel="Hurd"
arch_parttype="Linux"
kernelversion="1.4"
kernelpackage="gnumach"
installation-guide-20160121ubuntu4.3/build/arch-options/hurd-i386 0000644 0000000 0000000 00000001471 13270077716 021220 0 ustar # This file contains architecture specific variables for
# the 'i386' architecture
# It is sourced by the build scripts
archspec="hurd-i386;any-i386;any-x86;not-x86;not-s390;not-powerpc"
arch_listname="hurd"
arch_porturl="hurd"
# TODO: update
# This is coming from the lowmem package
minimum_memory=128
# This is coming from the rootskel package, S60frontend
minimum_memory_gtk=256
# These two options should be set if condition 'smp' is set below
smp_config_section="N/A"
smp_config_option="N/A"
# Options below are assembled into one variable 'condition'
# in the build scripts
fdisk="fdisk.txt;cfdisk.txt"
network=""
# For Lenny i386 does not have floppy images
#boot="supports-floppy-boot;bootable-disk"
boot="bootable-disk"
frontend="newt"
other=""
smp=""
goodies="supports-lang-chooser"
status="new-arch;not-checked"
installation-guide-20160121ubuntu4.3/build/arch-options/i386 0000644 0000000 0000000 00000002065 13270077716 020260 0 ustar # This file contains architecture specific variables for
# the 'i386' architecture
# It is sourced by the build scripts
archspec="i386;any-i386;x86;any-x86;not-s390;not-powerpc"
arch_archive_mirror="archive.ubuntu.com"
arch_archive_subdir="/ubuntu"
arch_listname="boot"
arch_porturl="i386"
# This is coming from the lowmem package
minimum_memory=80
# This is coming from the rootskel package, S60frontend
minimum_memory_gtk=210
# These two options should be set if condition 'smp' is set below
smp_config_section="Processor type and features"
smp_config_option="Symmetric multi-processing support"
# Options below are assembled into one variable 'condition'
# in the build scripts
fdisk="fdisk.txt;cfdisk.txt"
network="supports-tftp;supports-bootp;supports-nfsroot"
# For Lenny i386 does not have floppy images
#boot="supports-floppy-boot;bootable-disk;bootable-usb"
boot="bootable-disk;bootable-usb;isohybrid-supported"
frontend="newt"
other="supports-wireless;supports-pcmcia;supports-serial-console;supports-desktop"
smp="smp-alternatives"
goodies="supports-lang-chooser"
installation-guide-20160121ubuntu4.3/build/arch-options/ia64 0000644 0000000 0000000 00000001314 13270077716 020326 0 ustar # This file contains architecture specific variables for
# the 'ia64' architecture
# It is sourced by the build scripts
archspec="ia64;not-x86;not-s390;not-powerpc"
arch_listname="ia64"
arch_porturl="ia64"
# TODO: update
# This is coming from the lowmem package
minimum_memory=32
# These two options should be set if condition 'smp' is set below
smp_config_section="General setup"
smp_config_option="SMP support"
# Options below are assembled into one variable 'condition'
# in the build scripts
fdisk="parted.txt;cfdisk.txt"
network="supports-tftp;supports-bootp;supports-nfsroot"
boot=""
frontend="newt;not-gtk"
other="supports-serial-console"
smp="supports-smp"
goodies="supports-lang-chooser"
status="checked"
installation-guide-20160121ubuntu4.3/build/arch-options/kfreebsd 0000644 0000000 0000000 00000000352 13270077716 021351 0 ustar # This file contains os specific variables for the 'kfreebsd' os
# It is sourced by the build scripts
archspec="$archspec;kfreebsd-any"
arch_kernel="kFreeBSD"
arch_parttype="FreeBSD"
kernelversion="10"
kernelpackage="kfreebsd-image"
installation-guide-20160121ubuntu4.3/build/arch-options/kfreebsd-amd64 0000644 0000000 0000000 00000001726 13270077716 022270 0 ustar # This file contains architecture specific variables for
# the 'kfreebsd-amd64' architecture
# It is sourced by the build scripts
archspec="kfreebsd-amd64;any-amd64;any-x86;not-x86;not-s390;not-powerpc"
arch_listname="bsd"
arch_porturl="kfreebsd-gnu"
# This is coming from the lowmem package
minimum_memory=128
# This is coming from the rootskel package, S60frontend
minimum_memory_gtk=224
# These two options should be set if condition 'smp' is set below
# TODO: update
smp_config_section="Processor type and features"
smp_config_option="Symmetric multi-processing support"
# Options below are assembled into one variable 'condition'
# in the build scripts
# TODO: update
fdisk="fdisk.txt;cfdisk.txt"
network="supports-tftp;supports-bootp;supports-nfsroot"
boot="bootable-disk;bootable-usb;isohybrid-unsupported"
frontend="newt;not-gtk"
other="supports-wireless;supports-pcmcia;supports-serial-console"
smp="smp-alternatives"
goodies="supports-lang-chooser"
status="not-checked"
installation-guide-20160121ubuntu4.3/build/arch-options/kfreebsd-i386 0000644 0000000 0000000 00000002074 13270077716 022043 0 ustar # This file contains architecture specific variables for
# the 'kfreebsd-i386' architecture
# It is sourced by the build scripts
archspec="kfreebsd-i386;any-i386;any-x86;not-x86;not-s390;not-powerpc"
arch_listname="bsd"
arch_porturl="kfreebsd-gnu"
# This is coming from the lowmem package
minimum_memory=80
# This is coming from the rootskel package, S60frontend
minimum_memory_gtk=192
# These two options should be set if condition 'smp' is set below
# TODO: update
smp_config_section="Processor type and features"
smp_config_option="Symmetric multi-processing support"
# Options below are assembled into one variable 'condition'
# in the build scripts
# TODO: update
fdisk="fdisk.txt;cfdisk.txt"
network="supports-tftp;supports-bootp;supports-nfsroot"
# For Lenny i386 does not have floppy images
#boot="supports-floppy-boot;bootable-disk;bootable-usb"
boot="bootable-disk;bootable-usb;isohybrid-unsupported"
frontend="newt;not-gtk"
other="supports-wireless;supports-pcmcia;supports-serial-console"
smp="supports-smp-somtimes"
goodies="supports-lang-chooser"
status="not-checked"
installation-guide-20160121ubuntu4.3/build/arch-options/linux 0000644 0000000 0000000 00000000336 13270101171 020704 0 ustar # This file contains os specific variables for the 'linux' os
# It is sourced by the build scripts
archspec="$archspec;linux-any"
arch_kernel="Linux"
arch_parttype="Linux"
kernelversion="4.15"
kernelpackage="linux-image"
installation-guide-20160121ubuntu4.3/build/arch-options/mips 0000644 0000000 0000000 00000001261 13270077716 020534 0 ustar # This file contains architecture specific variables for
# the 'mips' architecture
# It is sourced by the build scripts
archspec="mips;not-x86;not-s390;not-powerpc"
arch_listname="mips"
arch_porturl="mips"
# This is coming from the lowmem package
minimum_memory=33
# These two options should be set if condition 'smp' is set below
smp_config_section="Kernel type"
smp_config_option="Multi-Processing support"
# Options below are assembled into one variable 'condition'
# in the build scripts
fdisk="fdisk.txt;cfdisk.txt"
network="supports-tftp;supports-nfsroot"
boot=""
frontend="newt;not-gtk"
other="supports-serial-console"
smp="supports-smp-sometimes"
goodies=""
status="not-checked"
installation-guide-20160121ubuntu4.3/build/arch-options/mipsel 0000644 0000000 0000000 00000001304 13270077716 021053 0 ustar # This file contains architecture specific variables for
# the 'mipsel' architecture
# It is sourced by the build scripts
archspec="mipsel;not-x86;not-s390;not-powerpc"
arch_listname="mips"
arch_porturl="mips"
# This is coming from the lowmem package
minimum_memory=33
# These two options should be set if condition 'smp' is set below
smp_config_section="Kernel type"
smp_config_option="Multi-Processing support"
# Options below are assembled into one variable 'condition'
# in the build scripts
fdisk="fdisk.txt;cfdisk.txt"
network="supports-tftp;supports-bootp;supports-nfsroot"
boot=""
frontend="newt;not-gtk"
other="supports-serial-console"
smp="supports-smp-sometimes"
goodies=""
status="not-checked"
installation-guide-20160121ubuntu4.3/build/arch-options/powerpc 0000644 0000000 0000000 00000001665 13270077716 021253 0 ustar # This file contains architecture specific variables for
# the 'powerpc' architecture
# It is sourced by the build scripts
archspec="powerpc;not-s390;not-x86"
arch_archive_mirror="ports.ubuntu.com"
arch_archive_subdir="/ubuntu-ports"
arch_listname="powerpc"
arch_porturl="powerpc"
# TODO: update
# This is coming from the lowmem package
minimum_memory=32
# This is coming from the rootskel package, S60frontend
minimum_memory_gtk=170
# These two options should be set if condition 'smp' is set below
smp_config_section="Processor support"
smp_config_option="Symmetric multi-processing support"
# Options below are assembled into one variable 'condition'
# in the build scripts
fdisk="mac-fdisk.txt;cfdisk.txt"
network="supports-tftp;supports-bootp;supports-nfsroot"
boot="bootable-disk"
frontend="newt"
other="supports-wireless;supports-pcmcia;supports-serial-console;supports-desktop"
smp="supports-smp-sometimes"
goodies="supports-lang-chooser"
installation-guide-20160121ubuntu4.3/build/arch-options/ppc64el 0000644 0000000 0000000 00000001564 13270077716 021047 0 ustar # This file contains architecture specific variables for
# the 'ppc64el' architecture
# It is sourced by the build scripts
archspec="ppc64el;not-s390;not-x86"
arch_archive_mirror="ports.ubuntu.com"
arch_archive_subdir="/ubuntu-ports"
arch_listname="powerpc"
arch_porturl="powerpc"
# TODO: update
# This is coming from the lowmem package
minimum_memory=32
# This is coming from the rootskel package, S60frontend
minimum_memory_gtk=170
# These two options should be set if condition 'smp' is set below
smp_config_section="Processor support"
smp_config_option="Symmetric multi-processing support"
# Options below are assembled into one variable 'condition'
# in the build scripts
fdisk="fdisk.txt;cfdisk.txt"
network="supports-tftp;supports-bootp;supports-nfsroot"
boot="bootable-disk"
frontend="newt"
other="supports-serial-console"
smp="defaults-smp"
goodies="supports-lang-chooser"
installation-guide-20160121ubuntu4.3/build/arch-options/s390 0000644 0000000 0000000 00000001227 13270077716 020264 0 ustar # This file contains architecture specific variables for
# the 's390' architecture
# It is sourced by the build scripts
archspec="s390;not-powerpc;not-x86"
arch_listname="s390"
arch_porturl="s390"
# TODO: update
# This is coming from the lowmem package
minimum_memory=20
# These two options should be set if condition 'smp' is set below
smp_config_section="Processor type and features"
smp_config_option="Symmetric multi-processing support"
# Options below are assembled into one variable 'condition'
# in the build scripts
fdisk="fdasd.txt;dasdfmt.txt"
network=""
boot=""
frontend="not-newt;not-gtk"
other=""
smp="defaults-smp"
goodies=""
status="not-checked"
installation-guide-20160121ubuntu4.3/build/arch-options/s390x 0000644 0000000 0000000 00000001602 13270077716 020451 0 ustar # This file contains architecture specific variables for
# the 's390x' architecture
# It is sourced by the build scripts
# Note that we keep "s390" as archspec (and thus also for conditions)
# and also continue to use "s390" for arch-specific XML-files in order
# to minimize impact on translations.
archspec="s390;not-powerpc;not-x86"
arch_archive_mirror="ports.ubuntu.com"
arch_archive_subdir="/ubuntu-ports"
arch_listname="s390"
arch_porturl="s390"
# TODO: update
# This is coming from the lowmem package
minimum_memory=20
# These two options should be set if condition 'smp' is set below
smp_config_section="Processor type and features"
smp_config_option="Symmetric multi-processing support"
# Options below are assembled into one variable 'condition'
# in the build scripts
fdisk="fdasd.txt;dasdfmt.txt"
network=""
boot=""
frontend="not-newt;not-gtk"
other=""
smp="defaults-smp"
goodies=""
installation-guide-20160121ubuntu4.3/build/arch-options/sparc 0000644 0000000 0000000 00000001441 13270077716 020674 0 ustar # This file contains architecture specific variables for
# the 'sparc' architecture
# It is sourced by the build scripts
archspec="sparc;not-x86;not-s390;not-powerpc"
arch_listname="sparc"
arch_porturl="sparc"
# TODO: update
# This is coming from the lowmem package
minimum_memory=32
# These two options should be set if condition 'smp' is set below
smp_config_section="General setup"
smp_config_option="Symmetric multi-processing support"
# Options below are assembled into one variable 'condition'
# in the build scripts
fdisk="fdisk.txt"
network="supports-tftp;supports-rarp;supports-bootp;supports-nfsroot"
boot=""
frontend="newt;not-gtk"
other="supports-serial-console"
# SMP support is described in hardware/supported/sparc.xml
#smp="supports-smp-sometimes"
smp=""
goodies=""
status="checked"
installation-guide-20160121ubuntu4.3/build/build.sh 0000755 0000000 0000000 00000003253 13270077716 016674 0 ustar #!/bin/bash
set -e
[ -r ./po_functions ] || exit 1
. ./po_functions
manual_release=${manual_release:=stretch}
if [ -z "$languages" ]; then
# Buildlist of languages
# Based on list of languages used in official builds
languages="$(cd ../debian; ./getfromlist langlist | tr $'\n' ' ')"
fi
if [ -z "$architectures" ]; then
# Note: this list is no longer being maintained; see debian/archlist instead
architectures="$(cd ../debian; ./getfromlist archlist | tr $'\n' ' ')"
fi
if [ -z "$destination" ]; then
destination="/tmp/manual"
fi
if [ -z "$formats" ]; then
#formats="html pdf ps txt"
formats="html pdf txt"
fi
for arch in $architectures; do
eval arch_destination=$destination
[ -e "$arch_destination" ] || mkdir -p "$arch_destination"
done
if [ "$official_build" ]; then
# Propagate this to children.
export official_build
fi
# Delete any old generated XML files
clear_xml
if [ "$languages" != en ]; then
# We need to merge the XML files for English and update the POT files
export PO_USEBUILD="1"
update_templates
fi
for lang in $languages; do
echo "Language: $lang";
# Update PO files and create XML files
if [ ! -d ../$lang ] && uses_po; then
generate_xml
fi
done
make languages="$languages" architectures="$architectures" destination="${destination//\$/\$\$}" formats="$formats"
PRESEED="../en/appendix/preseed.xml"
if [ -f $PRESEED ] && [ -f preseed.pl ] ; then
for arch in $architectures; do
eval arch_destination=$destination
./preseed.pl -r $manual_release $PRESEED >$arch_destination/example-preseed.txt
done
fi
# Delete temporary PO files and generated XML files
clear_po
clear_xml
installation-guide-20160121ubuntu4.3/build/buildone.sh 0000755 0000000 0000000 00000023732 13303001616 017361 0 ustar #!/bin/sh
if [ "$1" = "--help" ]; then
echo "$0: Generate the Debian Installer Manual in several different formats"
echo "Usage: $0 [arch] [lang] [format]"
echo "[format] may consist of multiple formats provided they are quoted (e.g. \"html pdf\")"
echo "Supported formats: html, ps, pdf, txt, none"
echo "Whereas 'none' leads to a validation only, without any document generation."
exit 0
fi
arch=${1:-amd64}
language=${2:-en}
formats=${3:-html}
lang_id="$(echo $language | tr A-Z a-z | sed "s/_/-/")"
## Configuration
basedir="$(cd "$(dirname $0)"; pwd)"
manual_path="$(echo $basedir | sed "s:/build$::")"
build_path="$manual_path/build"
cd $build_path
stylesheet_dir="$build_path/stylesheets"
stylesheet_profile="$stylesheet_dir/style-profile.xsl"
if [ ! "$web_build" ]; then
stylesheet_html="$stylesheet_dir/style-html.xsl"
else
stylesheet_html="$stylesheet_dir/style-html-web.xsl"
fi
stylesheet_html_single="$stylesheet_dir/style-html-single.xsl"
stylesheet_dsssl="$stylesheet_dir/style-print.dsl"
stylesheet_css="$stylesheet_dir/install.css"
stylesheet_images_dir="$stylesheet_dir/png"
entities_path="$build_path/entities"
source_path="$manual_path/$language"
if [ -z "$destdir" ]; then
destdir="build.out"
fi
if [ -z "$tempdir" ]; then
tempdir="build.tmp"
fi
dynamic="${tempdir}/dynamic.ent"
create_profiled () {
[ -x "`which xsltproc 2>/dev/null`" ] || return 9
echo "Info: creating temporary profiled .xml file..."
if [ ! "$official_build" ]; then
unofficial_build="FIXME;unofficial-build"
else
unofficial_build=""
fi
if [ -z "$manual_release" ]; then
manual_release="stretch"
fi
if [ -z "$manual_target" ]; then
manual_target="for_cd"
fi
# Now we source the profiling information for the selected architecture
[ -f "arch-options/${arch}" ] || {
echo "Error: unknown architecture '$arch'" >&2
return 1
}
. arch-options/$arch
os=`dpkg-architecture -a$arch -qDEB_HOST_ARCH_OS 2> /dev/null`
. arch-options/$os
# Now we source the profiling information for the current language
if [ -f "lang-options/${language}" ]; then
. lang-options/$language
fi
# Join all architecture options into one big variable
condition="$fdisk;$network;$boot;$smp;$frontend;$other;$goodies;$unofficial_build;$status;$manual_release"
# Add language options
condition="$condition;$optional_paras"
# Add build options for the manual
condition="$condition;$unofficial_build;$status;$manual_release;$manual_target"
# Write dynamic non-profilable entities into the file
echo "" > $dynamic
echo "" >> $dynamic
echo "" >> $dynamic
echo "" >> $dynamic
echo "" >> $dynamic
echo "" >> $dynamic
echo "" >> $dynamic
echo "" >> $dynamic
echo "" >> $dynamic
echo "" >> $dynamic
echo "" >> $dynamic
echo "" >> $dynamic
echo "" >> $dynamic
echo "" >> $dynamic
echo "" >> $dynamic
sed "s:##SRCPATH##:$source_path:" templates/docstruct.ent >> $dynamic
sed "s:##LANG##:$language:g" templates/install.xml.template | \
sed "s:##LANG_ID##:$lang_id:g" | \
sed "s:##TEMPDIR##:$tempdir:g" | \
sed "s:##ENTPATH##:$entities_path:g" | \
sed "s:##SRCPATH##:$source_path:" > $tempdir/install.${language}.xml
# Create the profiled xml file
xsltproc \
--xinclude \
--stringparam profile.arch "$archspec" \
--stringparam profile.condition "$condition" \
--output $tempdir/install.${language}.profiled.xml \
$stylesheet_profile \
$tempdir/install.${language}.xml
RET=$?; [ $RET -ne 0 ] && return $RET
return 0
}
create_html () {
echo "Info: creating .html files..."
xsltproc \
--xinclude \
--stringparam base.dir $destdir/html/ \
$stylesheet_html \
$tempdir/install.${language}.profiled.xml 2>&1
RET=$?; [ $RET -ne 0 ] && return $RET
# Copy the custom css stylesheet to the destination directory
cp $stylesheet_css $destdir/html/
mkdir $destdir/html/images
cp $stylesheet_images_dir/* $destdir/html/images
return 0
}
create_text () {
[ -x "`which w3m 2>/dev/null`" ] || return 9
echo "Info: creating temporary .html file..."
xsltproc \
--xinclude \
--output $tempdir/install.${language}.html \
$stylesheet_html_single \
$tempdir/install.${language}.profiled.xml
RET=$?; [ $RET -ne 0 ] && return $RET
# Replace some unprintable characters
sed "s:–:-:g # n-dash
s:—:--:g # m-dash
s:“:\":g # different types of quotes
s:”:\":g
s:„:\":g
s:…:...:g # ellipsis
s:™: (tm):g # trademark" \
$tempdir/install.${language}.html >$tempdir/install.${language}.corr.html
RET=$?; [ $RET -ne 0 ] && return $RET
echo "Info: creating .txt file..."
# Set encoding for output file
case "$language" in
ru) CHARSET=KOI8-R ;;
*) CHARSET=UTF-8 ;;
esac
HOME=$tempdir w3m -dump $tempdir/install.${language}.corr.html \
-o display_charset=$CHARSET \
>$destdir/install.${language}.txt
RET=$?; [ $RET -ne 0 ] && return $RET
return 0
}
create_dvi () {
[ -x "`which openjade 2>/dev/null`" ] || return 9
[ -x "`which jadetex 2>/dev/null`" ] || return 9
# Skip this step if the .dvi file already exists
[ -f "$tempdir/install.${language}.dvi" ] && return
echo "Info: creating temporary .tex file..."
# And use openjade to generate a .tex file
export SP_ENCODING="utf-8"
openjade -t tex \
-b utf-8 \
-o $tempdir/install.${language}.tex \
-d $stylesheet_dsssl \
-V tex-backend declaration/xml.dcl \
$tempdir/install.${language}.profiled.xml
RET=$?; [ $RET -ne 0 ] && return $RET
# some languages need additional macro
case "$language" in
ko)
mv $tempdir/install.${language}.tex \
$tempdir/install.${language}.orig.tex
cat templates/header.${language}.tex \
$tempdir/install.${language}.orig.tex \
> $tempdir/install.${language}.tex
rm $tempdir/install.${language}.orig.tex
;;
esac
echo "Info: creating temporary .dvi file..."
# Next we use jadetex to generate a .dvi file
# This needs three passes to properly generate the index (page numbering)
cd $tempdir
for PASS in 1 2 3 ; do
jadetex install.${language}.tex >/dev/null
RET=$?; [ $RET -ne 0 ] && break
done
cd ..
[ $RET -ne 0 ] && return $RET
return 0
}
create_pdf() {
[ -x "`which dvipdf 2>/dev/null`" ] || return 9
create_dvi
RET=$?; [ $RET -ne 0 ] && return $RET
echo "Info: creating .pdf file..."
( cd $tempdir ; dvipdf install.${language}.dvi )
RET=$?; [ $RET -ne 0 ] && return $RET
mv $tempdir/install.${language}.pdf $destdir/
return 0
}
create_ps() {
[ -x "`which dvips 2>/dev/null`" ] || return 9
create_dvi
RET=$?; [ $RET -ne 0 ] && return $RET
echo "Info: creating .ps file..."
dvips -q $tempdir/install.${language}.dvi
RET=$?; [ $RET -ne 0 ] && return $RET
mv install.${language}.ps $destdir/
return 0
}
## MAINLINE
# Clean old builds
rm -rf $tempdir
rm -rf $destdir
[ -d "$manual_path/$language" ] || {
echo "Error: unknown language '$language'" >&2
exit 1
}
mkdir -p $tempdir
mkdir -p $destdir
# Create profiled XML. This is needed for all output formats.
create_profiled
RET=$?; [ $RET -ne 0 ] && exit 1
BUILD_OK=""
BUILD_FAIL=""
for format in $formats ; do
case "$language" in
el|ja|vi|zh_CN|zh_TW)
if [ "$format" = "pdf" -o "$format" = "ps" ] ; then
echo "Warning: pdf and ps formats are currently not supported for Chinese, Greek, Japanese and Vietnamese"
BUILD_SKIP="$BUILD_SKIP $format"
continue
fi
;;
esac
case $format in
html) create_html;;
ps) create_ps;;
pdf) create_pdf;;
txt) create_text;;
none) echo "Info: validation only";;
*)
echo "Error: format $format unknown or not yet supported!" >&2
exit 1
;;
esac
RET=$?
case $RET in
0)
BUILD_OK="$BUILD_OK $format"
;;
9)
BUILD_FAIL="$BUILD_FAIL $format"
echo "Error: build of $format failed because of missing build dependencies" >&2
if [ "$format" = "pdf" ] ; then
echo "Error: (make sure you have ghostscript, openjade and jadetex installed for PDF builds)" >&2
fi
;;
*)
BUILD_FAIL="$BUILD_FAIL $format"
echo "Error: build of $format failed with error code $RET" >&2
;;
esac
done
# Clean up
rm -r $tempdir
# Evaluate the overall results
[ -n "$BUILD_SKIP" ] && echo "Info: The following formats were skipped:$BUILD_SKIP"
[ -z "$BUILD_FAIL" ] && exit 0 # Build successful for all formats
echo "Warning: The following formats failed to build:$BUILD_FAIL"
[ -n "$BUILD_OK" ] && exit 2 # Build failed for some formats
exit 1 # Build failed for all formats
installation-guide-20160121ubuntu4.3/build/buildweb.sh 0000755 0000000 0000000 00000002656 13270077716 017400 0 ustar #!/bin/sh
set -e
[ -r ./po_functions ] || exit 1
. ./po_functions
manual_release=${manual_release:=stretch}
if [ -z "$languages" ]; then
# Buildlist of languages to be included on the official website
# Based on list of languages used in official builds
languages="$(cd ../debian; ./getfromlist langlist | tr $'\n' ' ')"
fi
if [ -z "$architectures" ]; then
# Based on list of architectures used in official builds
architectures="$(cd ../debian; ./getfromlist archlist | tr $'\n' ' ')"
fi
if [ -z "$destination" ]; then
destination="/tmp/manual"
fi
if [ -z "$formats" ]; then
formats="html pdf txt"
fi
[ -e "$destination" ] || mkdir -p "$destination"
export official_build="1"
export web_build="1"
export manual_target="for_huc"
# Delete any old generated XML files
clear_xml
# We need to merge the XML files for English and update the POT files
export PO_USEBUILD="1"
update_templates
for lang in $languages; do
echo "Language: $lang";
# Update PO files and create XML files
if [ ! -d ../$lang ] && uses_po; then
generate_xml
fi
done
make languages="$languages" architectures="$architectures" destination="$destination" formats="$formats" web=1
PRESEED="../en/appendix/preseed.xml"
if [ -f $PRESEED ] && [ -f preseed.pl ] ; then
./preseed.pl -r $manual_release $PRESEED >$destination/example-preseed.txt
fi
# Delete temporary PO files and generated XML files
clear_po
clear_xml
installation-guide-20160121ubuntu4.3/build/clear.sh 0000755 0000000 0000000 00000000445 13270077716 016663 0 ustar #!/bin/sh
basedir="$(cd "$(dirname $0)"; pwd)"
manual_path="$(echo $basedir | sed "s:/build$::")"
build_path="$manual_path/build"
cd $build_path
if [ -z "$destdir" ]; then
destdir="build.out"
fi
if [ -z "$tempdir" ]; then
tempdir="build.tmp"
fi
rm -rf "$destdir"
rm -rf "$tempdir"
installation-guide-20160121ubuntu4.3/build/entities/ 0000755 0000000 0000000 00000000000 13375103075 017051 5 ustar installation-guide-20160121ubuntu4.3/build/entities/common.ent 0000644 0000000 0000000 00000017755 13316720510 021062 0 ustar
debian-installer">
d-i">
Bionic Beaver">
Documentation not complete, text missing.">
64-bit PC32-bit soft-float ARM32-bit hard-float ARMv764-bit ARMPA-RISC32-bit PCIA-64MipsMipselPowerPC64-bit PowerPC (little-endian)SPARCS/390">
e">
F10">
Enter">
Esc">
Tab">
Yes">
No">
Continue">
Cancel">
Go Back">
61019
5880560147601436105258097580825983459931603455930559553
">
386amd">
installation-guide-20160121ubuntu4.3/build/entities/install-docs.ent 0000644 0000000 0000000 00000003000 13270077716 022154 0 ustar
'>
.../current/md5sum.txt
'>
.../current/riscpc/dinstall.zip'>
'>
'>
.../current/dosutils/loadlin.exe
'>
installation-guide-20160121ubuntu4.3/build/entities/l10n/ 0000755 0000000 0000000 00000000000 13317712022 017615 5 ustar installation-guide-20160121ubuntu4.3/build/entities/l10n/README 0000644 0000000 0000000 00000005452 13270077716 020517 0 ustar INSTRUCTIONS FOR TRANSLATING ENTITIES
=====================================
It is possible to translate entities used in the installation guide.
Note that only a few entities are suitable for translation. Others, for
instance those refering to package names, should not be translated.
There are several reasons for using entities in the manual. One is to
improve consistency and to make it possible to maintain changing data in one
central location; another is to make it easier for derived distributions to
change the branding of the manual.
Given these goals the intention is to increase the use of entities.
This also means that translators preferably should not replace entities by
fixed text. However, the standard set of entities may not be sufficient for
a good translation, for instance because a language needs different
conjugations for a word while in English this is not needed.
Translators are free to add additional entities if they need them for
different conjugations. Try to keep the names of the entities you add
logical. Examples:
xxx-dat (for dative conjugation)
If you feel some text in the English version of the manual could be replaced
by an entity, please send a mail to the debian-i18n list for discussion.
How to translate entities
=========================
- Look up the definition of the entity you want to translate in the relevant
entity file (e.g. ../common.ent) and copy it.
- Add or edit a new file .ent in this directory.
- Add the definition of the entity you want to translate in this file.
- Replace the English text in the entity with your translation. Do *not*
change any xml tags included in the entity.
You can of course also copy the file for another language already in this
directory as a starting point.
Translatable entities
=====================
Please do not translate entities that are not listed below without discussing
this first on the debian-boot list!
Before the release of Etch, it is very unlikely that any new entities will be
added. The infrastructure is mostly being added now to allow a few minor
translations and to have it in place for the next release, Lenny.
- enterkey
- escapekey
- tabkey
- MSG-YES
- MSG-NO
- BTN-CONT
- BTN-CANCEL
- BTN-GOBACK
Some other entities can be localized as well.
- archive-mirror
The default value is http.us.debian.org (see ../urls.ent). You can replace
that by a closer mirror, but make sure that you only use a mirror that
carries *all* architectures!
Note that most mirrors are called _ftp_..debian.org.
Non-translatable entities
=========================
The entities below should _not_ be translated. If you think an entity listed
below is used in a way that it should be translated, this is possably a bug
that should be fixed in the original text rather than a reason to translate it.
- releasename
installation-guide-20160121ubuntu4.3/build/entities/l10n/ca.ent 0000644 0000000 0000000 00000000661 13270077716 020727 0 ustar Sí">
No">
Continua">
Cancel·la">
Vés enrere">
Intro">
Esc">
Tab">
installation-guide-20160121ubuntu4.3/build/entities/l10n/cs.ent 0000644 0000000 0000000 00000000461 13270077716 020747 0 ustar Ano">
Ne">
Pokračovat">
Zrušit">
Jít zpět">
installation-guide-20160121ubuntu4.3/build/entities/l10n/da.ent 0000644 0000000 0000000 00000000100 13270077716 020714 0 ustar
installation-guide-20160121ubuntu4.3/build/entities/l10n/de.ent 0000644 0000000 0000000 00000002037 13270077716 020733 0 ustar Ja">
Nein">
Weiter">
Abbrechen">
Zurück">
Enter">
Esc">
Tab (Tabulator-Taste)">
64-Bit-PC32-Bit Soft-float-ARM32-Bit Hard-float-ARMv764-Bit-ARMPA-RISC32-Bit-PCIA-64MipsMipselPowerPC64-Bit PowerPC (Little-endian)SPARCS/390">
installation-guide-20160121ubuntu4.3/build/entities/l10n/el.ent 0000644 0000000 0000000 00000000000 13270077716 020727 0 ustar installation-guide-20160121ubuntu4.3/build/entities/l10n/en.ent 0000644 0000000 0000000 00000000100 13270077716 020732 0 ustar
installation-guide-20160121ubuntu4.3/build/entities/l10n/es.ent 0000644 0000000 0000000 00000000356 13270077716 020754 0 ustar Sí">
No">
installation-guide-20160121ubuntu4.3/build/entities/l10n/eu.ent 0000644 0000000 0000000 00000000000 13270077716 020740 0 ustar installation-guide-20160121ubuntu4.3/build/entities/l10n/fi.ent 0000644 0000000 0000000 00000000000 13270077716 020725 0 ustar installation-guide-20160121ubuntu4.3/build/entities/l10n/fr.ent 0000644 0000000 0000000 00000001532 13270077716 020751 0 ustar
installateur Debian">
PC 64 bits
ARM 32 bitsARMv7 32 bits avec unité de calcul flottantARM 64 bitPA-RISCPC 32 bitsIA-64MipsMipselPowerPCPowerPC 64 bits (petit boutien)SPARCS/390">
Entrée">
installation-guide-20160121ubuntu4.3/build/entities/l10n/hu.ent 0000644 0000000 0000000 00000000000 13270077716 020743 0 ustar installation-guide-20160121ubuntu4.3/build/entities/l10n/it.ent 0000644 0000000 0000000 00000002215 13270077716 020755 0 ustar Sì">
No">
Continua">
Annulla">
Indietro">
Invio">
installatore Debian">
PC 64 bit
ARMARM 32 bitARMv7 32 bit con unità di calcolo in virgola mobileARM 64 bitPA-RISCPC 32 bitIA-64MipsMipselPowerPCPowerPC 64 bit (little endian)SPARCS/390">
installation-guide-20160121ubuntu4.3/build/entities/l10n/ja.ent 0000644 0000000 0000000 00000000000 13270077716 020721 0 ustar installation-guide-20160121ubuntu4.3/build/entities/l10n/ko.ent 0000644 0000000 0000000 00000000602 13270077716 020750 0 ustar
예">
아니오">
계속">
취소">
뒤로 가기">
installation-guide-20160121ubuntu4.3/build/entities/l10n/nl.ent 0000644 0000000 0000000 00000000453 13270077716 020754 0 ustar Ja">
Nee">
Volgende">
Annuleren">
Terug">
installation-guide-20160121ubuntu4.3/build/entities/l10n/nn.ent 0000644 0000000 0000000 00000000100 13270077716 020743 0 ustar
installation-guide-20160121ubuntu4.3/build/entities/l10n/pt.ent 0000644 0000000 0000000 00000000131 13270077716 020757 0 ustar
installation-guide-20160121ubuntu4.3/build/entities/l10n/pt_BR.ent 0000644 0000000 0000000 00000000447 13270077716 021354 0 ustar Sim">
Não">
OK">
Cancelar">
Voltar">
installation-guide-20160121ubuntu4.3/build/entities/l10n/ro.ent 0000644 0000000 0000000 00000000000 13270077716 020747 0 ustar installation-guide-20160121ubuntu4.3/build/entities/l10n/ru.ent 0000644 0000000 0000000 00000000000 13270077716 020755 0 ustar installation-guide-20160121ubuntu4.3/build/entities/l10n/sv.ent 0000644 0000000 0000000 00000000673 13270077716 020777 0 ustar Ja">
Nej">
Fortsätt">
Avbryt">
Bakåt">
Enter">
installation-guide-20160121ubuntu4.3/build/entities/l10n/tl.ent 0000644 0000000 0000000 00000000000 13270077716 020746 0 ustar installation-guide-20160121ubuntu4.3/build/entities/l10n/vi.ent 0000644 0000000 0000000 00000000051 13270077716 020753 0 ustar Enter">
installation-guide-20160121ubuntu4.3/build/entities/l10n/zh_CN.ent 0000644 0000000 0000000 00000000000 13270077716 021330 0 ustar installation-guide-20160121ubuntu4.3/build/entities/l10n/zh_TW.ent 0000644 0000000 0000000 00000000000 13270077716 021362 0 ustar installation-guide-20160121ubuntu4.3/build/entities/tftp-images.ent 0000644 0000000 0000000 00000011412 13270077716 022006 0 ustar
.../images/netwinder/netboot/
'>
.../images/netwinder/netboot/boot.img
'>
.../images/ixp4xx/network-console/di-nslu2.bin
'>
.../images/iop32x/network-console/n2100.bin
'>
.../images/iop32x/network-console/glantank/
'>
.../images/orion5x/network-console/buffalo/kuroboxpro
'>
.../images/orion5x/network-console/hp/mv2120/netboot.img
'>
.../images/orion5x/network-console/qnap/
'>
.../images/kirkwood/network-console/qnap/
'>
.../images/kirkwood/netboot/marvell/
'>
.../images/kirkwood/network-console/lacie/
'>
.../images/generic/netboot/
'>
.../images/device-tree/
'>
.../images/hd-media/
'>
.../images/netboot/netboot.tar.gz
'>
.../images/u-boot/
'>
.../images/netboot/SD-card-images/
'>
.../images/hd-media/SD-card-images/
'>
&cats-boot-img;
&netwinder-boot-img;
.../current/lifimage.../current/bf2.4/tftpboot.img.../current/compact/tftpboot.img.../current/idepci/tftpboot.img.../current/r4k-ip22/tftpboot.img.../current/tftpimage-r3k-kn02.../current/tftpimage-r4k-kn04.../current/prep/images-1.44/boot.bin.../current/sun4cdm/tftpboot.img.../current/sun4u/tftpboot.img
'>
installation-guide-20160121ubuntu4.3/build/entities/urls.ent 0000644 0000000 0000000 00000033636 13375103075 020561 0 ustar
">
installation-guide-20160121ubuntu4.3/build/lang-options/ 0000755 0000000 0000000 00000000000 13317712022 017631 5 ustar installation-guide-20160121ubuntu4.3/build/lang-options/README 0000644 0000000 0000000 00000003627 13270077716 020535 0 ustar INSTRUCTIONS FOR USING OPTIONAL PARAGRAPHS
==========================================
In some places in the manual paragraphs have been included that are not
included in the generated English version of the manual. They can however
be included _optionally_ in translations.
To include an optional paragraph for your translation, you need to "enable"
it:
- creating a file in this directory with your language code as its name
- add a singe line in this file containing:
optional_paras="condition(s)"
- if you want to enable more than one optional paragraph, separate their
conditions by a semicolon (without a space)
example
-------
optional_paras="about-langteam;gpl-unofficial"
*** PLEASE CHECK THE RESULT AFTER THE MANUAL HAS BEEN BUILT ***
TRANSLATING AN OPTIONAL PARAGRAPH
=================================
In some cases you should replace the full text of the paragraph with your own.
In other cases you may need to translate the English text included in the
paragraph.
If comments are included in the paragraph (to help translation), these should
be deleted.
LIST OF DEFINED OPTIONAL PARAGRAPHS
===================================
Currently the following optional paragraphs have been defined (the first term
is the name of the condition used to activate it):
* about-langteam (en/administrativa/administrativa.xml
Allows to add some info about the translator or translation team, and how
to contact the translator(s).
* translation-status (en/bookinfo.xml)
Allows to add information about the status of the translation and maybe to
request reviews.
* gpl-unofficial (en/appendix/gpl.xml)
*Must* be included if the GPL itself is translated; should *not* be included
if the appendix contains the original (untranslated) English text of the GPL.
Consists of two paragraphs of which the first *should remain in English*.
See http://www.gnu.org/licenses/translations.html for additional information.
installation-guide-20160121ubuntu4.3/build/lang-options/ca 0000644 0000000 0000000 00000000041 13270077716 020146 0 ustar optional_paras="gpl-unofficial"
installation-guide-20160121ubuntu4.3/build/lang-options/de 0000644 0000000 0000000 00000000057 13270077716 020162 0 ustar optional_paras="about-langteam;gpl-unofficial"
installation-guide-20160121ubuntu4.3/build/lang-options/es 0000644 0000000 0000000 00000000102 13270077716 020170 0 ustar optional_paras="translation-status;about-langteam;gpl-unofficial"
installation-guide-20160121ubuntu4.3/build/lang-options/fi 0000644 0000000 0000000 00000000103 13270077716 020160 0 ustar optional_paras="about-langteam;translation-status;gpl-unofficial"
installation-guide-20160121ubuntu4.3/build/lang-options/fr 0000644 0000000 0000000 00000000103 13270077716 020171 0 ustar optional_paras="about-langteam;translation-status;gpl-unofficial"
installation-guide-20160121ubuntu4.3/build/lang-options/hu 0000644 0000000 0000000 00000000102 13270077716 020175 0 ustar optional_paras="about-langteam;translation-status;gpl-unofficial"
installation-guide-20160121ubuntu4.3/build/lang-options/it 0000644 0000000 0000000 00000000102 13270077716 020175 0 ustar optional_paras="about-langteam;translation-status;gpl-unofficial"
installation-guide-20160121ubuntu4.3/build/lang-options/ja 0000644 0000000 0000000 00000000063 13270077716 020161 0 ustar optional_paras="translation-status;about-langteam"
installation-guide-20160121ubuntu4.3/build/lang-options/ko 0000644 0000000 0000000 00000000102 13270077716 020172 0 ustar optional_paras="about-langteam;translation-status;gpl-unofficial"
installation-guide-20160121ubuntu4.3/build/lang-options/nl 0000644 0000000 0000000 00000000044 13270077716 020177 0 ustar optional_paras="translation-status"
installation-guide-20160121ubuntu4.3/build/lang-options/pt 0000644 0000000 0000000 00000000062 13270077716 020211 0 ustar optional_paras="bookinfo-langteam;gpl-unofficial"
installation-guide-20160121ubuntu4.3/build/lang-options/pt_BR 0000644 0000000 0000000 00000000102 13270077716 020567 0 ustar optional_paras="about-langteam;translation-status;gpl-unofficial"
installation-guide-20160121ubuntu4.3/build/lang-options/sv 0000644 0000000 0000000 00000000063 13270077716 020217 0 ustar optional_paras="translation-status;gpl-unofficial"
installation-guide-20160121ubuntu4.3/build/lang-options/vi 0000644 0000000 0000000 00000000102 13270077716 020177 0 ustar optional_paras="about-langteam;translation-status;gpl-unofficial"
installation-guide-20160121ubuntu4.3/build/lang-options/zh_CN 0000644 0000000 0000000 00000000102 13270077716 020562 0 ustar optional_paras="about-langteam;translation-status;gpl-unofficial"
installation-guide-20160121ubuntu4.3/build/po_functions 0000644 0000000 0000000 00000002261 13270077716 017665 0 ustar # Routines used to build manual translations from po-files
update_templates () {
echo "Generating integrated XML files and POT files"
bash -c "cd .. ; ./scripts/merge_xml en"
RET=$?; [ $RET -ne 0 ] && exit 1 || true
bash -c "cd .. ; ./scripts/update_pot"
RET=$?; [ $RET -ne 0 ] && exit 1 || true
}
# Check whether language uses PO files for translation
uses_po () {
if [ -d "../po/$lang" ] ; then
if [ -d "../$lang/" ] && svn info "../$lang" >/dev/null 2>&1 ; then
echo "Warning: both PO files and XML files are present; ignoring PO files"
else
return 0
fi
fi
return 1
}
generate_xml () {
sh -c "cd ..; ./scripts/update_po $lang"
RET=$?; [ $RET -ne 0 ] && return $RET || true
sh -c "cd ..; ./scripts/create_xml $lang 2>&1 | grep -v 'found empty tag para'"
RET=$?; [ $RET -ne 0 ] && return $RET || true
echo "Info: generation of XML files complete"
return 0
}
clear_xml () {
for lang in $languages; do
if [ -d ../po/$lang ] && [ -d ../$lang/ ] && ! svn info ../$lang/ >/dev/null 2>&1 ; then
rm -rf ../$lang
fi
done
}
clear_po () {
rm -rf ./build.po
}
installation-guide-20160121ubuntu4.3/build/preseed.pl 0000755 0000000 0000000 00000013720 13316735032 017216 0 ustar #!/usr/bin/perl -w
# Script parses the XML file for the appendix on preseeding and extracts
# example snippts to form the raw preseed example file. Section titles are
# added as headers.
# The script will include all text between tags that have
# the attribute 'role="example"' set, except if a 'condition' attribute is
# in force that does not match the specified release or if an 'arch' attribute
# is in force that does not match the specified architecture.
# Define module to use
use HTML::Parser();
use Getopt::Std;
local %tagstatus;
local %example;
local %ignore;
local $prevtag = '';
local $titletag;
local $settitle = 0;
$example{'print'} = 0;
$example{'in_sect'} = 0;
$example{'first'} = 1;
$example{'new'} = 0;
getopts('hda:r:') || die "Unknown command line arguments! Try $0 -h\n";
use vars qw($opt_h $opt_d $opt_a $opt_r);
if ($opt_h) {
print <
Options:
-h display this help information
-d debug mode
-a architecture for which to generate the example
(default: i386)
-r release for which to generate the example (required)
END
exit 0;
}
die "Must specify release for which to generate example.\n" if ! $opt_r;
my $xmlfile = shift;
die "Must specify XML file to parse!\n" if ! $xmlfile;
die "Specified XML file \"$xmlfile\" not found.\n" if ! -f $xmlfile;
my $arch = $opt_a ? "$opt_a" : "i386";
my $arch_os = $arch =~ "-" ? ($arch =~ s/-.*//r) : "linux";
my $arch_cpu = $arch =~ "-" ? ($arch =~ s/.*-//r) : $arch;
my $release = $opt_r;
# Create instance
$p = HTML::Parser->new(
start_h => [\&start_rtn, 'tagname, text, attr'],
text_h => [\&text_rtn, 'text'],
end_h => [\&end_rtn, 'tagname']);
# Start parsing the specified file
$p->parse_file($xmlfile);
# Replace entities in examples
# FIXME: should maybe be extracted from entity definition
sub replace_entities {
my $text = shift;
$text =~ s/&archive-mirror;/archive.ubuntu.com/g;
$text =~ s/&releasename;/$release/g;
$text =~ s/&arch-title;/$arch/g;
$text =~ s/&kernelpackage;/linux-image/g;
$text =~ s/&kernelversion;/4.15/g;
$text =~ s/>/>/g;
$text =~ s/</{condition} ) {
print STDERR "Condition: $attr->{condition}\n" if $opt_d;
if ( $attr->{condition} ne $release ) {
$ignore{'tag'} = $tagname;
$ignore{'depth'} = $tagstatus{$tagname}{'count'};
print STDERR "Start ignore because of condition" if $opt_d;
}
}
if ( exists $attr->{arch} ) {
my $req_arch = $attr->{arch};
print STDERR "Architecture: $req_arch\n" if $opt_d;
# x86 is an alias for i386 or amd64
if ( $req_arch =~ "x86" and ($arch_cpu eq "i386" or $arch_cpu eq "amd64") ) {
# replace with the one we prefer
$req_arch =~ s/x86/$arch_cpu/;
}
if ( $req_arch ne $arch and $req_arch ne "any-".$arch_cpu and $req_arch ne $arch_os."-any" ) {
$ignore{'tag'} = $tagname;
$ignore{'depth'} = $tagstatus{$tagname}{'count'};
print STDERR "Start ignore because of architecture" if $opt_d;
}
}
}
}
# Assumes that is the first tag after a section tag
if ( $prevtag =~ /sect1|sect2|sect3/ ) {
$settitle = ( $tagname eq 'title' );
$titletag = $prevtag;
$example{'in_sect'} = 0;
}
$prevtag = $tagname;
if ( $tagname eq 'informalexample' && ! exists $ignore{'tag'} ) {
if ( exists $attr->{role} && $attr->{role} eq "example" ) {
$example{'print'} = 1;
$example{'new'} = 1;
}
}
}
# Execute when text is encountered
sub text_rtn {
my ($text) = @_;
if ( $settitle ) {
# Clean leading and trailing whitespace for titles
$text =~ s/^[[:space:]]*//;
$text =~ s/[[:space:]]*$//;
$text = replace_entities($text);
$tagstatus{$titletag}{'title'} = $text;
$settitle = 0;
}
if ( $example{'print'} && ! exists $ignore{'tag'} ) {
# Print section headers
for ($s=1; $s<=3; $s++) {
my $sect="sect$s";
if ( $tagstatus{$sect}{'title'} ) {
print "\n" if ( $s == 1 && ! $example{'first'} );
for ( $i = 1; $i <= 5 - $s; $i++ ) { print "#"; };
print " $tagstatus{$sect}{'title'}\n";
delete $tagstatus{$sect}{'title'};
}
}
# Clean leading whitespace
if ( $example{'new'} ) {
$text =~ s/^[[:space:]]*//;
}
$text = replace_entities($text);
print "$text";
$example{'first'} = 0;
$example{'new'} = 0;
$example{'in_sect'} = 1;
}
}
# Execute when the end tag is encountered
sub end_rtn {
my ($tagname) = @_;
print STDERR "\nEnd: $tagname\n" if $opt_d;
# Set of tags must match what's in start_rtn
if ( $tagname =~ /appendix|sect1|sect2|sect3|para|informalexample|phrase/ ) {
my $ts = $tagstatus{$tagname}{'count'};
$tagstatus{$tagname}{'count'} -= 1;
print STDERR "$tagname $tagstatus{$tagname}{'count'}\n" if $opt_d;
die "Invalid XML file: negative count for tag <$tagname>!\n" if $tagstatus{$tagname}{'count'} < 0;
if ( exists $ignore{'tag'} ) {
if ( $ignore{'tag'} eq $tagname && $ignore{'depth'} == $ts ) {
delete $ignore{'tag'};
}
return
}
}
if ( $tagname eq 'informalexample' ) {
$example{'print'} = 0;
}
if ( $tagname =~ /appendix|sect1|sect2|sect3|para/ ) {
delete $tagstatus{$tagname}{'title'} if exists $tagstatus{$tagname}{'title'};
if ( $example{'in_sect'} ) {
print "\n";
$example{'in_sect'} = 0;
}
}
}
installation-guide-20160121ubuntu4.3/build/stylesheets/ 0000755 0000000 0000000 00000000000 13317712022 017573 5 ustar installation-guide-20160121ubuntu4.3/build/stylesheets/image-sources/ 0000755 0000000 0000000 00000000000 13317712022 022336 5 ustar installation-guide-20160121ubuntu4.3/build/stylesheets/image-sources/caution.svg 0000644 0000000 0000000 00000017535 13270077716 024550 0 ustar
installation-guide-20160121ubuntu4.3/build/stylesheets/image-sources/next.svg 0000644 0000000 0000000 00000016567 13270077716 024070 0 ustar
installation-guide-20160121ubuntu4.3/build/stylesheets/image-sources/prev.svg 0000644 0000000 0000000 00000066563 13270077716 024067 0 ustar
installation-guide-20160121ubuntu4.3/build/stylesheets/image-sources/up.svg 0000644 0000000 0000000 00000017424 13270077716 023527 0 ustar
installation-guide-20160121ubuntu4.3/build/stylesheets/install.css 0000644 0000000 0000000 00000010452 13270077716 021771 0 ustar /* Cascading stylesheet for the Debian Installer Installation Guide */
/* global style of the page */
body {
background-color: #EEEEEE;
border: 40px solid #EEEEEE;
margin: 0;
padding: 0 10px;
font-family: "liberation sans", "Myriad ", "Bitstream Vera Sans", "Lucida Grande", "Luxi Sans", "Trebuchet MS", helvetica, verdana, arial, sans-serif;
line-height: 1.2em;
}
@media (max-width: 5in), (max-device-width: 5in){
body {
border: 0px;
padding: 0px;
}
}
body > div.book, body > div.article, body > div.set, body > div.preface, body > div.chapter, body > div.section, body > div.appendix, body > div.part, div.sect1 {
margin-top: 0;
padding: 2em 6em 6em;
}
body > div.book, body > div.article, body > div.set, body > div.preface, body > div.chapter, body > div.section, body > div.appendix, body > div.part, div.sect1 {
padding: 2em;
}
body > div.book, body > div.article, body > div.set, body > div.preface, body > div.chapter, body > div.section, body > div.appendix, body > div.part, body > div.index, div.sect1 {
background-color: #FFFFFF;
margin: 40px auto 4em;
padding: 1px 40px 20px 30px;
}
@media (max-width: 1024px) {
body > div.book, body > div.article, body > div.set, body > div.preface, body > div.chapter, body > div.section, body > div.appendix, body > div.part, body > div.index, div.sect1 {
max-width: 45em;
}
}
@media (min-width: 1025px) {
body > div.book, body > div.article, body > div.set, body > div.preface, body > div.chapter, body > div.section, body > div.appendix, body > div.part, body > div.index, div.sect1 {
max-width: 70em;
}
}
@media (max-width: 5in), (max-device-width: 5in){
body > div.book, body > div.article, body > div.set, body > div.preface, body > div.chapter, body > div.section, body > div.appendix, body > div.part, body > div.index, div.sect1 {
max-width: 100%;
}
}
hr {
border-top: 1px dotted #808080;
margin: 0;
}
a:link {
color: #0035C7;
text-decoration: none;
}
a:visited {
color: #00207A;
text-decoration: none;
}
a:link:hover {
color: #00207A;
text-decoration: underline;
}
code {
font-family: "liberation mono","bitstream vera mono","dejavu mono",monospace;
font-weight: bold;
word-wrap: break-word;
}
h1 {
color: #C70036;
line-height: 1.1em;
}
h2, h3, h4, h5, h6 {
color: #C70036;
}
@media (max-width: 5in), (max-device-width: 5in){
dl, dt, dd {
margin-left: 0.25em;
}
ul {
padding-left: 1.5em;
}
}
/* for first page */
.book > .titlepage h1.title {
text-align: center;
}
.titlepage h1.title {
text-align: left;
}
.authorgroup div {
text-align: center;
}
/* for table of contents */
@media (max-width: 5in), (max-device-width: 5in){
.toc dl, .toc dt, .toc dd {
margin-top: 0.5em;
margin-bottom: 0.5em;
}
}
/* table in content */
.informaltable table, .table-contents table {
border-collapse: collapse;
}
.informaltable table th, .table-contents table th {
background-color: #C70036;
border: 1px solid black;
padding: 0.2em 0.5em 0.2em 0.5em;
}
.informaltable table td, .table-contents table td {
border: 1px solid black;
padding: 0.2em 0.5em 0.2em 0.5em;
}
.informaltable table th:hover, .table-contents table th:hover {
color: white;
}
/* Terminal examples */
pre.screen {
-moz-tab-size: 4;
background-color: #F5F5F5;
border-radius: 11px 11px 11px 11px;
border-style: none;
box-shadow: 0 2px 5px #AAAAAA inset;
color: #000000;
display: block;
font-family: "liberation mono","bitstream vera mono","dejavu mono",monospace;
font-size: 0.9em;
margin-bottom: 1em;
padding: 0.5em 1em;
page-break-inside: avoid;
white-space: pre-wrap;
word-wrap: break-word;
}
/* Navigation elements */
.navheader a, .navfooter a {
opacity: 0.50;
transition: opacity 0.15s ease-in-out;
}
.navheader a:hover, .navfooter a:hover {
opacity: 1;
}
@media (max-width: 5in), (max-device-width: 5in){
.navfooter > table {
font-size: 0;
}
}
/* Infos blocks */
.important, .caution, .note {
margin-left: 2em;
margin-right: 2em;
}
@media (max-width: 5in), (max-device-width: 5in){
.important, .caution, .note {
margin-left: 0.5em;
margin-right: 0.5em;
}
}
installation-guide-20160121ubuntu4.3/build/stylesheets/png/ 0000755 0000000 0000000 00000000000 13317712022 020357 5 ustar installation-guide-20160121ubuntu4.3/build/stylesheets/png/caution.png 0000644 0000000 0000000 00000003122 13270077716 022541 0 ustar PNG
IHDR B sBIT|d pHYs Y_ tEXtSoftware www.inkscape.org< tEXtAuthor Jakub Steiner/ ItEXtCopyright Public Domain http://creativecommons.org/licenses/publicdomain/Y ZIDATHlSUǿn9ae@&La
DĀ0Є(b!SQq0ۀM6ƺmھϲu'9{{?{-#"Y͚x[OLOHH61@moo?p47
q=y՚,X>>66 r>`0BqwO9^c,+cYsӪ^nbb:WK
|sEUnJ֖:Q:+1@`L)߫{^]y8
YmL)4+#(̸ZQJee,s` !3+۴vu+أU3'~k{ ":XPBt1GDM|?#&p|ں
(( LMS[ %Kkr4jv0:LU%X TXE[O 049* ȝPac¤G[,I@WF@p=XLEsvE@c MAL},c2>1Pc Xq59 G-4 Îo+
n x0$B`PrĘ,K
*t7Z.a? Iv(6"/N(%\^~ ׇ@P\BpRx$'+ AV.@V~( k
w:D06d(YGP
74մP<#O&*v;0.W^+ḬEia&0 8aKSxYw7py/#ꁬ"8F
GI9t|"O[}偮P[ǻ< ,:uB+wDžLݕEȟcT @Dx{]O6x*g
=r(.]ur2gV5GM6