Commit bfeee4e6 authored by Daniel Baumann's avatar Daniel Baumann
Browse files

Adding upstream version 4.0~a5.

parent 406bcf6d
......@@ -21,7 +21,7 @@ Set_defaults ()
# Setting system type
LB_SYSTEM="${LB_SYSTEM:-live}"
# Setting mode (currently: debian, emdebian, progress-linux, ubuntu and kubuntu)
# Setting mode (currently: debian, emdebian, progress-linux, and ubuntu)
if [ -x /usr/bin/lsb_release ]
then
_DISTRIBUTOR="$(lsb_release -is | tr [A-Z] [a-z])"
......@@ -54,7 +54,7 @@ Set_defaults ()
LB_DERIVATIVE="true"
;;
ubuntu|kubuntu)
ubuntu)
LB_DISTRIBUTION="${LB_DISTRIBUTION:-precise}"
LB_DERIVATIVE="false"
;;
......@@ -171,7 +171,7 @@ Set_defaults ()
case "${LB_SYSTEM}" in
live)
case "${LB_MODE}" in
ubuntu|kubuntu)
ubuntu)
LB_INITRAMFS="${LB_INITRAMFS:-casper}"
;;
......@@ -190,7 +190,7 @@ Set_defaults ()
# Setting initsystem
case "${LB_MODE}" in
ubuntu|kubuntu)
ubuntu)
case "${LB_INITRAMFS}" in
live-boot)
LB_INITSYSTEM="${LB_INITSYSTEM:-upstart}"
......@@ -281,14 +281,6 @@ Set_defaults ()
;;
esac
# Setting includes
if [ -n "${LIVE_BUID}" ]
then
LB_INCLUDES="${LB_INCLUDES:-${LIVE_BUILD}/includes}"
else
LB_INCLUDES="${LB_INCLUDES:-/usr/share/live/build/includes}"
fi
# Setting templates
if [ -n "${LIVE_BUID}" ]
then
......@@ -352,7 +344,7 @@ Set_defaults ()
LB_MIRROR_BOOTSTRAP="${LB_MIRROR_BOOTSTRAP:-http://cdn.archive.progress-linux.org/progress/}"
;;
ubuntu|kubuntu)
ubuntu)
case "${LB_ARCHITECTURES}" in
amd64|i386)
LB_MIRROR_BOOTSTRAP="${LB_MIRROR_BOOTSTRAP:-http://archive.ubuntu.com/ubuntu/}"
......@@ -387,7 +379,7 @@ Set_defaults ()
LB_MIRROR_CHROOT_SECURITY="${LB_MIRROR_CHROOT_SECURITY:-${LB_MIRROR_CHROOT}}"
;;
ubuntu|kubuntu)
ubuntu)
case "${LB_ARCHITECTURES}" in
amd64|i386)
LB_MIRROR_CHROOT_SECURITY="${LB_MIRROR_CHROOT_SECURITY:-http://security.ubuntu.com/ubuntu/}"
......@@ -409,7 +401,7 @@ Set_defaults ()
LB_MIRROR_CHROOT_UPDATES="${LB_MIRROR_CHROOT_UPDATES:-${LB_MIRROR_CHROOT}}"
;;
ubuntu|kubuntu)
ubuntu)
case "${LB_ARCHITECTURES}" in
amd64|i386)
LB_MIRROR_CHROOT_UPDATES="${LB_MIRROR_CHROOT_UPDATES:-http://archive.ubuntu.com/ubuntu/}"
......@@ -463,7 +455,7 @@ Set_defaults ()
LB_PARENT_MIRROR_BINARY="${LB_PARENT_MIRROR_BINARY:-${LB_MIRROR_BINARY}}"
;;
ubuntu|kubuntu)
ubuntu)
case "${LB_ARCHITECTURES}" in
amd64|i386)
LB_MIRROR_BINARY="${LB_MIRROR_BINARY:-http://archive.ubuntu.com/ubuntu/}"
......@@ -495,7 +487,7 @@ Set_defaults ()
LB_MIRROR_BINARY_SECURITY="${LB_MIRROR_BINARY_SECURITY:-${LB_MIRROR_CHROOT}}"
;;
ubuntu|kubuntu)
ubuntu)
case "${LB_ARCHITECTURES}" in
amd64|i386)
LB_MIRROR_BINARY_SECURITY="${LB_MIRROR_BINARY_SECURITY:-http://security.ubuntu.com/ubuntu/}"
......@@ -522,7 +514,7 @@ Set_defaults ()
LB_MIRROR_BINARY_UPDATES="${LB_MIRROR_BINARY_UPDATES:-${LB_MIRROR_BINARY}}"
;;
ubuntu|kubuntu)
ubuntu)
case "${LB_ARCHITECTURES}" in
amd64|i386)
LB_MIRROR_BINARY_UPDATES="${LB_MIRROR_BINARY_UPDATES:-http://archive.ubuntu.com/ubuntu/}"
......@@ -577,7 +569,7 @@ Set_defaults ()
LB_PARENT_ARCHIVE_AREAS="${LB_PARENT_ARCHIVE_AREAS:-${LB_ARCHIVE_AREAS}}"
;;
ubuntu|kubuntu)
ubuntu)
LB_ARCHIVE_AREAS="${LB_ARCHIVE_AREAS:-main restricted}"
LB_PARENT_ARCHIVE_AREAS="${LB_PARENT_ARCHIVE_AREAS:-${LB_ARCHIVE_AREAS}}"
;;
......@@ -600,41 +592,30 @@ Set_defaults ()
LB_UNION_FILESYSTEM="${LB_UNION_FILESYSTEM:-aufs}"
# Setting distribution hooks
case "${LB_MODE}" in
*)
LB_CHROOT_HOOKS="${LB_CHROOT_HOOKS:-update-apt-file-cache \
update-apt-xapian-index \
update-mlocate-database \
remove-dbus-machine-id \
remove-openssh-server-host-keys \
remove-python-py \
remove-udev-persistent-rules \
remove-linux-image-backups \
remove-mdadm-configuration \
remote-adjtime-configuration}"
;;
kubuntu)
LB_CHROOT_HOOKS="${LB_CHROOT_HOOKS:-update-apt-file-cache \
update-apt-xapian-index \
update-mlocate-database \
remove-dbus-machine-id \
remove-gnome-icon-cache \
remove-openssh-server-host-keys \
remove-python-py \
remove-udev-persistent-rules \
remove-linux-image-backups \
remove-mdadm-configuration \
remove-adjtime-configuration}"
;;
esac
LB_CHROOT_HOOKS="${LB_CHROOT_HOOKS:-disable-kexec-tools \
remove-adjtime-configuration \
remove-apt-sources-lists \
remove-backup-files \
remove-dbus-machine-id \
remove-gnome-icon-cache \
remove-log-files \
remove-mdadm-configuration \
remove-openssh-server-host-keys \
remove-python-py \
remove-temporary-files \
remove-udev-persistent-rules \
update-apt-file-cache \
update-apt-xapian-index \
update-glx-alternative \
update-mlocate-database \
update-nvidia-alternative}"
# Setting interactive shell/X11/Xnest
LB_INTERACTIVE="${LB_INTERACTIVE:-false}"
# Setting keyring packages
case "${LB_MODE}" in
ubuntu|kubuntu)
ubuntu)
LB_KEYRING_PACKAGES="${LB_KEYRING_PACKAGES:-ubuntu-keyring}"
;;
......@@ -647,7 +628,7 @@ Set_defaults ()
case "${LB_ARCHITECTURES}" in
armel)
case "${LB_MODE}" in
ubuntu|kubuntu)
ubuntu)
LB_LINUX_FLAVOURS="${LB_LINUX_FLAVOURS:-omap}"
;;
*)
......@@ -666,7 +647,7 @@ Set_defaults ()
amd64)
case "${LB_MODE}" in
ubuntu|kubuntu)
ubuntu)
LB_LINUX_FLAVOURS="${LB_LINUX_FLAVOURS:-generic}"
;;
......@@ -682,7 +663,7 @@ Set_defaults ()
LB_LINUX_FLAVOURS="${LB_LINUX_FLAVOURS:-686-pae}"
;;
ubuntu|kubuntu)
ubuntu)
case "${LB_DISTRIBUTION}" in
precise)
LB_LINUX_FLAVOURS="${LB_LINUX_FLAVOURS:-generic-pae}"
......@@ -720,7 +701,7 @@ Set_defaults ()
exit 1
;;
ubuntu|kubuntu)
ubuntu)
LB_LINUX_FLAVOURS="${LB_LINUX_FLAVOURS:-powerpc-smp powerpc64-smp e500 powerpc-e500mc}"
;;
......@@ -732,7 +713,7 @@ Set_defaults ()
s390)
case "${LB_MODE}" in
progress-linux|ubuntu|kubuntu)
progress-linux|ubuntu)
Echo_error "Architecture ${LB_ARCHITECTURES} not supported in the ${LB_MODE} mode."
exit 1
;;
......@@ -764,7 +745,7 @@ Set_defaults ()
# Set linux packages
case "${LB_MODE}" in
ubuntu|kubuntu)
ubuntu)
LB_LINUX_PACKAGES="${LB_LINUX_PACKAGES:-linux}"
;;
......@@ -927,7 +908,7 @@ Set_defaults ()
hdd*)
case "${LB_MODE}" in
ubuntu|kubuntu)
ubuntu)
if [ "${LB_DEBIAN_INSTALLER}" = "live" ]
then
_LB_BOOTAPPEND_PRESEED="file=/cdrom/install/${LB_DEBIAN_INSTALLER_PRESEEDFILE}"
......@@ -983,10 +964,6 @@ Set_defaults ()
ubuntu)
LB_ISO_APPLICATION="${LB_ISO_APPLICATION:-Ubuntu Live}"
;;
kubuntu)
LB_ISO_APPLICATION="${LB_ISO_APPLICATION:-Kubuntu Live}"
;;
esac
# Set iso preparer
......@@ -1020,10 +997,6 @@ Set_defaults ()
ubuntu)
LB_HDD_LABEL="${LB_HDD_LABEL:-UBUNTU}"
;;
kubuntu)
LB_HDD_LABEL="${LB_HDD_LABEL:-KUBUNTU}"
;;
esac
# Setting hdd size
......@@ -1046,10 +1019,6 @@ Set_defaults ()
ubuntu)
LB_ISO_VOLUME="${LB_ISO_VOLUME:-Ubuntu ${LB_DISTRIBUTION} \$(date +%Y%m%d-%H:%M)}"
;;
kubuntu)
LB_ISO_VOLUME="${LB_ISO_VOLUME:-Ubuntu ${LB_DISTRIBUTION} \$(date +%Y%m%d-%H:%M)}"
;;
esac
# Setting memtest option
......@@ -1057,7 +1026,7 @@ Set_defaults ()
# Setting loadlin option
case "${LB_MODE}" in
progress-linux|ubuntu|kubuntu)
progress-linux|ubuntu)
;;
......@@ -1081,7 +1050,7 @@ Set_defaults ()
# Setting win32-loader option
case "${LB_MODE}" in
progress-linux|ubuntu|kubuntu)
progress-linux|ubuntu)
;;
......@@ -1180,20 +1149,24 @@ Check_defaults ()
# except when bootstrapping the functions/defaults etc.).
CURRENT_CONFIG_VERSION="$(echo ${LB_CONFIG_VERSION} | awk -F. '{ print $1 }')"
if [ ${CURRENT_CONFIG_VERSION} -ge 5 ]
then
Echo_error "This config tree is too new for this version of live-build (${VERSION})."
Echo_error "Aborting build, please get a new version of live-build."
exit 1
elif [ ${CURRENT_CONFIG_VERSION} -eq 3 ]
if [ ${CURRENT_CONFIG_VERSION} -ne 4 ]
then
Echo_error "This config tree is too old for this version of live-build (${VERSION})."
Echo_error "Aborting build, please regenerate the config tree."
exit 1
else
Echo_warning "This config tree does not specify a format version or has an unknown version number."
Echo_warning "Continuing build, but it could lead to errors or different results. Please regenerate the config tree."
if [ ${CURRENT_CONFIG_VERSION} -ge 5 ]
then
Echo_error "This config tree is too new for this version of live-build (${VERSION})."
Echo_error "Aborting build, please get a new version of live-build."
exit 1
elif [ ${CURRENT_CONFIG_VERSION} -le 3 ]
then
Echo_error "This config tree is too old for this version of live-build (${VERSION})."
Echo_error "Aborting build, please regenerate the config tree."
exit 1
else
Echo_warning "This config tree does not specify a format version or has an unknown version number."
Echo_warning "Continuing build, but it could lead to errors or different results. Please regenerate the config tree."
fi
fi
fi
......
......@@ -3,7 +3,7 @@
.\" This file was generated with po4a. Translate the source file.
.\"
.\"*******************************************************************
.TH LIVE\-BUILD 1 2012\-12\-16 4.0~a4\-1 "Debian Live Project"
.TH LIVE\-BUILD 1 2012\-12\-17 4.0~a5\-1 "Debian Live Project"
.SH NAME
\fBlb\fP \- wrapper for live\-build programs
......
......@@ -3,7 +3,7 @@
.\" This file was generated with po4a. Translate the source file.
.\"
.\"*******************************************************************
.TH LIVE\-BUILD 1 2012\-12\-16 4.0~a4\-1 "Debian Live Project"
.TH LIVE\-BUILD 1 2012\-12\-17 4.0~a5\-1 "Debian Live Project"
.SH NAME
\fBlb binary\fP \- Complete the binary stage
......
......@@ -3,7 +3,7 @@
.\" This file was generated with po4a. Translate the source file.
.\"
.\"*******************************************************************
.TH LIVE\-BUILD 1 2012\-12\-16 4.0~a4\-1 "Debian Live Project"
.TH LIVE\-BUILD 1 2012\-12\-17 4.0~a5\-1 "Debian Live Project"
.SH NAME
\fBlb bootstrap\fP \- Complete the bootstrap stage
......
......@@ -3,7 +3,7 @@
.\" This file was generated with po4a. Translate the source file.
.\"
.\"*******************************************************************
.TH LIVE\-BUILD 1 2012\-12\-16 4.0~a4\-1 "Debian Live Project"
.TH LIVE\-BUILD 1 2012\-12\-17 4.0~a5\-1 "Debian Live Project"
.SH NAME
\fBlb build\fP \- Complete the bootstrap, chroot, binary, and source stages
......
......@@ -3,7 +3,7 @@
.\" This file was generated with po4a. Translate the source file.
.\"
.\"*******************************************************************
.TH LIVE\-BUILD 1 2012\-12\-16 4.0~a4\-1 "Debian Live Project"
.TH LIVE\-BUILD 1 2012\-12\-17 4.0~a5\-1 "Debian Live Project"
.SH NAME
\fBlb chroot\fP \- Complete the chroot stage
......
......@@ -3,7 +3,7 @@
.\" This file was generated with po4a. Translate the source file.
.\"
.\"*******************************************************************
.TH LIVE\-BUILD 1 2012\-12\-16 4.0~a4\-1 "Debian Live Project"
.TH LIVE\-BUILD 1 2012\-12\-17 4.0~a5\-1 "Debian Live Project"
.SH NAME
\fBlb clean\fP \- Clean build directory
......
......@@ -3,7 +3,7 @@
.\" This file was generated with po4a. Translate the source file.
.\"
.\"*******************************************************************
.TH LIVE\-BUILD 1 2012\-12\-16 4.0~a4\-1 "Debian Live Project"
.TH LIVE\-BUILD 1 2012\-12\-17 4.0~a5\-1 "Debian Live Project"
.SH NAME
\fBlb config\fP \- Create config directory
......@@ -178,7 +178,7 @@
.br
[\fB\-\-mirror\-debian\-installer\fP \fIURL\fP]
.br
[\fB\-\-mode\fP debian|emdebian|progress\-linux|ubuntu|kubuntu]
[\fB\-\-mode\fP debian|emdebian|progress\-linux|ubuntu]
.br
[\fB\-\-system\fP live|normal]
.br
......
......@@ -3,7 +3,7 @@
.\" This file was generated with po4a. Translate the source file.
.\"
.\"*******************************************************************
.TH LIVE\-BUILD 1 2012\-12\-16 4.0~a4\-1 "Debian Live Project"
.TH LIVE\-BUILD 1 2012\-12\-17 4.0~a5\-1 "Debian Live Project"
.SH NAME
\fBlb source\fP \- Complete the source stage
......
......@@ -3,7 +3,7 @@
.\" This file was generated with po4a. Translate the source file.
.\"
.\"*******************************************************************
.TH LIVE\-BUILD 1 2012\-12\-16 4.0~a4\-1 "Debian Live Project"
.TH LIVE\-BUILD 1 2012\-12\-17 4.0~a5\-1 "Debian Live Project"
.SH NAME
\fBlb testroot\fP \- Ensure that a system is built as root
......
......@@ -3,7 +3,7 @@
.\" This file was generated with po4a. Translate the source file.
.\"
.\"*******************************************************************
.TH LIVE\-BUILD 7 2012\-12\-16 4.0~a4\-1 "Debian Live Project"
.TH LIVE\-BUILD 7 2012\-12\-17 4.0~a5\-1 "Debian Live Project"
.SH NAME
\fBlive\-build\fP \- the Debian Live tool suite
......
.TH LIVE\-BUILD 1 2012\-12\-16 4.0~a4-1 "Debian Live Project"
.TH LIVE\-BUILD 1 2012\-12\-17 4.0~a5-1 "Debian Live Project"
.SH NAME
\fBlb\fR \- wrapper for live\-build programs
......
.TH LIVE\-BUILD 1 2012\-12\-16 4.0~a4-1 "Debian Live Project"
.TH LIVE\-BUILD 1 2012\-12\-17 4.0~a5-1 "Debian Live Project"
.SH NAME
\fBlb binary\fR \- Complete the binary stage
......
.TH LIVE\-BUILD 1 2012\-12\-16 4.0~a4-1 "Debian Live Project"
.TH LIVE\-BUILD 1 2012\-12\-17 4.0~a5-1 "Debian Live Project"
.SH NAME
\fBlb bootstrap\fR \- Complete the bootstrap stage
......
.TH LIVE\-BUILD 1 2012\-12\-16 4.0~a4-1 "Debian Live Project"
.TH LIVE\-BUILD 1 2012\-12\-17 4.0~a5-1 "Debian Live Project"
.SH NAME
\fBlb build\fR \- Complete the bootstrap, chroot, binary, and source stages
......
.TH LIVE\-BUILD 1 2012\-12\-16 4.0~a4-1 "Debian Live Project"
.TH LIVE\-BUILD 1 2012\-12\-17 4.0~a5-1 "Debian Live Project"
.SH NAME
\fBlb chroot\fR \- Complete the chroot stage
......
.TH LIVE\-BUILD 1 2012\-12\-16 4.0~a4-1 "Debian Live Project"
.TH LIVE\-BUILD 1 2012\-12\-17 4.0~a5-1 "Debian Live Project"
.SH NAME
\fBlb clean\fR \- Clean build directory
......
.TH LIVE\-BUILD 1 2012\-12\-16 4.0~a4-1 "Debian Live Project"
.TH LIVE\-BUILD 1 2012\-12\-17 4.0~a5-1 "Debian Live Project"
.SH NAME
\fBlb config\fR \- Create config directory
......@@ -173,7 +173,7 @@
.br
[\fB\-\-mirror\-debian\-installer\fR \fIURL\fR]
.br
[\fB\-\-mode\fR debian|emdebian|progress-linux|ubuntu|kubuntu]
[\fB\-\-mode\fR debian|emdebian|progress-linux|ubuntu]
.br
[\fB\-\-system\fR live|normal]
.br
......
.TH LIVE\-BUILD 1 2012\-12\-16 4.0~a4-1 "Debian Live Project"
.TH LIVE\-BUILD 1 2012\-12\-17 4.0~a5-1 "Debian Live Project"
.SH NAME
\fBlb source\fR \- Complete the source stage
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment