Commit d9598ee6 authored by Raphaël Hertzog's avatar Raphaël Hertzog
Browse files

Imported Upstream version 3.0.1

parent 3ad59c75
......@@ -303,7 +303,7 @@ Set_defaults ()
esac
# Setting templates
if [ -n "${LIVE_BUID}" ]
if [ -n "${LIVE_BUILD}" ]
then
LB_TEMPLATES="${LB_TEMPLATES:-${LIVE_BUILD}/templates}"
else
......@@ -624,6 +624,7 @@ Set_defaults ()
remove-python-py \
remove-temporary-files \
remove-udev-persistent-rules \
remove-systemd-machine-id \
update-apt-file-cache \
update-apt-xapian-index \
update-glx-alternative \
......@@ -830,7 +831,7 @@ Set_defaults ()
;;
*)
LB_BINARY_FILESYSTEM="${LB_BINARY_FILESYSTEM:-fat16}"
LB_BINARY_FILESYSTEM="${LB_BINARY_FILESYSTEM:-fat32}"
;;
esac
......@@ -1140,21 +1141,6 @@ Set_defaults ()
# Setting net tarball
LB_NET_TARBALL="${LB_NET_TARBALL:-true}"
# Setting syslinux theme package
case "${LB_MODE}" in
progress-linux)
LB_SYSLINUX_THEME="${LB_SYSLINUX_THEME:-progress-standard}"
;;
ubuntu)
LB_SYSLINUX_THEME="${LB_SYSLINUX_THEME:-ubuntu-oneiric}"
;;
*)
LB_SYSLINUX_THEME="${LB_SYSLINUX_THEME:-live-build}"
;;
esac
# Setting firmware option
case "${LB_MODE}" in
ubuntu)
......
......@@ -9,8 +9,8 @@
# Debian releases
RELEASE_squeeze="6.0.6"
RELEASE_wheezy="7.0~b2"
RELEASE_squeeze="6.0.7"
RELEASE_wheezy="7.0.0"
RELEASE_jessie="8"
RELEASE_sid="unstable"
......
#!/bin/sh
## live-build(7) - System Build Scripts
## Copyright (C) 2006-2012 Daniel Baumann <daniel@debian.org>
## Copyright (C) 2006-2013 Daniel Baumann <daniel@debian.org>
##
## This program comes with ABSOLUTELY NO WARRANTY; for details see COPYING.
## This is free software, and you are welcome to redistribute it
......@@ -35,7 +35,9 @@ do
then
for _FILE in po/${_LANGUAGE}/*.po
do
sed -i -e "s|^msgstr .*.2012\"$|msgstr \"${DAY}.${MONTH}.${YEAR}\"|g" "${_FILE}"
sed -i -e "s|^msgstr .*.2013-.*$|msgstr \"${DAY}.${MONTH}.${YEAR}\"|g" \
-e "s|^msgstr .*.2013\"$|msgstr \"${DAY}.${MONTH}.${YEAR}\"|g" \
"${_FILE}"
done
fi
done
......@@ -45,6 +47,8 @@ if ls po/pt_BR/*.po > /dev/null 2>&1
then
for _FILE in po/pt_BR/*.po
do
sed -i -e "s|^msgstr .*-2012\"$|msgstr \"${DAY}-${MONTH}-${YEAR}\"|g" "${_FILE}"
sed -i -e "s|^msgstr .*.2013-.*$|msgstr \"${DAY}-${MONTH}-${YEAR}\"|g" \
-e "s|^msgstr .*-2013\"$|msgstr \"${DAY}-${MONTH}-${YEAR}\"|g" \
"${_FILE}"
done
fi
.\"*******************************************************************
.\"
.\" This file was generated with po4a. Translate the source file.
.\"
.\"*******************************************************************
.TH LIVE\-BUILD 1 2013\-01\-02 3.0~b5\-1 "Debian Live Project"
.SH NAME
\fBlb\fP \- wrapper for live\-build programs
.SH SYNOPSIS
\fBlb\fP COMMAND [COMMAND_OPTIONS]
.PP
\fBlb\fP [\fIlive\-build\ options\fP]
.SH DESCRIPTION
\fBlb\fP is a high\-level command (porcelain) of \fIlive\-build\fP(7), the Debian
Live tool suite.
.PP
.\" FIXME
.SH OPTIONS
\fBlb\fP has no specific options but understands all generic live\-build
options. See \fIlive\-build\fP(7) for a complete list of all generic live\-build
options.
.SH FILES
.IP \fBnone\fP 4
.SH "SEE ALSO"
\fIlive\-build\fP(7)
.PP
This program is a part of live\-build.
.SH HOMEPAGE
More information about live\-build and the Debian Live project can be found
on the homepage at <\fIhttp://live.debian.net/\fP> and in the manual at
<\fIhttp://live.debian.net/manual/\fP>.
.SH BUGS
Bugs can be reported by submitting a bugreport for the live\-build package in
the Debian Bug Tracking System at <\fIhttp://bugs.debian.org/\fP> or by
writing a mail to the Debian Live mailing list at
<\fIdebian\-live@lists.debian.org\fP>.
.SH AUTHOR
live\-build was written by Daniel Baumann <\fIdaniel@debian.org\fP> for
the Debian project.
.\"*******************************************************************
.\"
.\" This file was generated with po4a. Translate the source file.
.\"
.\"*******************************************************************
.TH LIVE\-BUILD 1 2013\-01\-02 3.0~b5\-1 "Debian Live Project"
.SH NAME
\fBlb binary\fP \- Complete the binary stage
.SH SYNOPSIS
\fBlb binary\fP [\fIlive\-build options\fP]
.SH DESCRIPTION
\fBlb binary\fP is a high\-level command (porcelain) of \fIlive\-build\fP(7), the
Debian Live tool suite.
.PP
\fBlb binary\fP calls all necessary live\-build programs in the correct order to
complete the binary stage.
.SH OPTIONS
\fBlb binary\fP has no specific options but understands all generic live\-build
options. See \fIlive\-build\fP(7) for a complete list of all generic live\-build
options.
.SH FILES
.IP \fBnone\fP 4
.SH "SEE ALSO"
\fIlive\-build\fP(7)
.PP
This program is a part of live\-build.
.SH HOMEPAGE
More information about live\-build and the Debian Live project can be found
on the homepage at <\fIhttp://live.debian.net/\fP> and in the manual at
<\fIhttp://live.debian.net/manual/\fP>.
.SH BUGS
Bugs can be reported by submitting a bugreport for the live\-build package in
the Debian Bug Tracking System at <\fIhttp://bugs.debian.org/\fP> or by
writing a mail to the Debian Live mailing list at
<\fIdebian\-live@lists.debian.org\fP>.
.SH AUTHOR
live\-build was written by Daniel Baumann <\fIdaniel@debian.org\fP> for
the Debian project.
.\"*******************************************************************
.\"
.\" This file was generated with po4a. Translate the source file.
.\"
.\"*******************************************************************
.TH LIVE\-BUILD 1 2013\-01\-02 3.0~b5\-1 "Debian Live Project"
.SH NAME
\fBlb bootstrap\fP \- Complete the bootstrap stage
.SH SYNOPSIS
\fBlb bootstrap\fP [\fIlive\-build options\fP]
.SH DESCRIPTION
\fBlb bootstrap\fP is a high\-level command (porcelain) of \fIlive\-build\fP(7), the
Debian Live tool suite.
.PP
\fBlb bootstrap\fP calls all necessary live\-build programs in the correct order
to complete the bootstrap stage.
.SH OPTIONS
\fBlb bootstrap\fP has no specific options but understands all generic
live\-build options. See \fIlive\-build\fP(7) for a complete list of all generic
live\-build options.
.SH FILES
.IP \fBnone\fP 4
.SH "SEE ALSO"
\fIlive\-build\fP(7)
.PP
This program is a part of live\-build.
.SH HOMEPAGE
More information about live\-build and the Debian Live project can be found
on the homepage at <\fIhttp://live.debian.net/\fP> and in the manual at
<\fIhttp://live.debian.net/manual/\fP>.
.SH BUGS
Bugs can be reported by submitting a bugreport for the live\-build package in
the Debian Bug Tracking System at <\fIhttp://bugs.debian.org/\fP> or by
writing a mail to the Debian Live mailing list at
<\fIdebian\-live@lists.debian.org\fP>.
.SH AUTHOR
live\-build was written by Daniel Baumann <\fIdaniel@debian.org\fP> for
the Debian project.
.\"*******************************************************************
.\"
.\" This file was generated with po4a. Translate the source file.
.\"
.\"*******************************************************************
.TH LIVE\-BUILD 1 2013\-01\-02 3.0~b5\-1 "Debian Live Project"
.SH NAME
\fBlb build\fP \- Complete the bootstrap, chroot, binary, and source stages
.SH SYNOPSIS
\fBlb build\fP [\fIlive\-build options\fP]
.SH DESCRIPTION
\fBlb build\fP is a high\-level command (porcelain) of \fIlive\-build\fP(7), the
Debian Live tool suite.
.PP
\fBlb build\fP calls all necessary live\-build programs in the correct order to
complete the bootstrap, chroot, binary, and source stages.
.SH OPTIONS
\fBlb build\fP has no specific options but understands all generic live\-build
options. See \fIlive\-build\fP(7) for a complete list of all generic live\-build
options.
.SH FILES
.\" FIXME
.IP \fBauto/build\fP 4
.\" FIXME
.SH "SEE ALSO"
\fIlive\-build\fP(7)
.PP
This program is a part of live\-build.
.SH HOMEPAGE
More information about live\-build and the Debian Live project can be found
on the homepage at <\fIhttp://live.debian.net/\fP> and in the manual at
<\fIhttp://live.debian.net/manual/\fP>.
.SH BUGS
Bugs can be reported by submitting a bugreport for the live\-build package in
the Debian Bug Tracking System at <\fIhttp://bugs.debian.org/\fP> or by
writing a mail to the Debian Live mailing list at
<\fIdebian\-live@lists.debian.org\fP>.
.SH AUTHOR
live\-build was written by Daniel Baumann <\fIdaniel@debian.org\fP> for
the Debian project.
.\"*******************************************************************
.\"
.\" This file was generated with po4a. Translate the source file.
.\"
.\"*******************************************************************
.TH LIVE\-BUILD 1 2013\-01\-02 3.0~b5\-1 "Debian Live Project"
.SH NAME
\fBlb chroot\fP \- Complete the chroot stage
.SH SYNOPSIS
\fBlb chroot\fP [\fIlive\-build options\fP]
.SH DESCRIPTION
\fBlb chroot\fP is a high\-level command (porcelain) of \fIlive\-build\fP(7), the
Debian Live tool suite.
.PP
\fBlb chroot\fP calls all necessary live\-build programs in the correct order to
complete the chroot stage.
.SH OPTIONS
\fBlb chroot\fP has no specific options but understands all generic live\-build
options. See \fIlive\-build\fP(7) for a complete list of all generic live\-build
options.
.SH FILES
.IP \fBnone\fP 4
.SH "SEE ALSO"
\fIlive\-build\fP(7)
.PP
This program is a part of live\-build.
.SH HOMEPAGE
More information about live\-build and the Debian Live project can be found
on the homepage at <\fIhttp://live.debian.net/\fP> and in the manual at
<\fIhttp://live.debian.net/manual/\fP>.
.SH BUGS
Bugs can be reported by submitting a bugreport for the live\-build package in
the Debian Bug Tracking System at <\fIhttp://bugs.debian.org/\fP> or by
writing a mail to the Debian Live mailing list at
<\fIdebian\-live@lists.debian.org\fP>.
.SH AUTHOR
live\-build was written by Daniel Baumann <\fIdaniel@debian.org\fP> for
the Debian project.
.\"*******************************************************************
.\"
.\" This file was generated with po4a. Translate the source file.
.\"
.\"*******************************************************************
.TH LIVE\-BUILD 1 2013\-01\-02 3.0~b5\-1 "Debian Live Project"
.SH NAME
\fBlb clean\fP \- Clean build directory
.SH SYNOPSIS
\fBlb clean\fP [\fIlive\-build options\fP]
.SH DESCRIPTION
\fBlb clean\fP is a high\-level command (porcelain) of \fIlive\-build\fP(7), the
Debian Live tool suite.
.PP
.\" FIXME
.\" FIXME
\fBlb clean\fP is responsible for cleaning up after a system is built. It
removes the build directories, and removes some other files including stage
files, and any detritus left behind by other live\-build commands.
.SH OPTIONS
In addition to its specific options \fBlb clean\fP understands all generic
live\-build options. See \fIlive\-build\fP(7) for a complete list of all generic
live\-build options.
.PP
.\" FIXME
.IP \fB\-\-all\fP 4
removes chroot, binary, stage, and source. The cache directory is kept. This
is the default operation and will be performed if no argument is given.
.IP \fB\-\-cache\fP 4
removes the cache directories.
.IP \fB\-\-chroot\fP 4
unmounts and removes the chroot directory.
.IP \fB\-\-binary\fP 4
removes all binary related caches, files, directories, and stages files.
.IP \fB\-\-purge\fP 4
removes everything, including all caches. The config directory is kept.
.IP \fB\-\-remove\fP 4
removes everything, including package cache but not stage cache. The config
directory is kept.
.IP \fB\-\-stage\fP 4
removes all stage files.
.IP \fB\-\-source\fP 4
.\" FIXME
removes all source related caches, files, directories, and stage files.
.SH FILES
.\" FIXME
.IP \fBauto/clean\fP 4
.\" FIXME
.SH "SEE ALSO"
\fIlive\-build\fP(7)
.PP
This program is a part of live\-build.
.SH HOMEPAGE
More information about live\-build and the Debian Live project can be found
on the homepage at <\fIhttp://live.debian.net/\fP> and in the manual at
<\fIhttp://live.debian.net/manual/\fP>.
.SH BUGS
Bugs can be reported by submitting a bugreport for the live\-build package in
the Debian Bug Tracking System at <\fIhttp://bugs.debian.org/\fP> or by
writing a mail to the Debian Live mailing list at
<\fIdebian\-live@lists.debian.org\fP>.
.SH AUTHOR
live\-build was written by Daniel Baumann <\fIdaniel@debian.org\fP> for
the Debian project.
This diff is collapsed.
.\"*******************************************************************
.\"
.\" This file was generated with po4a. Translate the source file.
.\"
.\"*******************************************************************
.TH LIVE\-BUILD 1 2013\-01\-02 3.0~b5\-1 "Debian Live Project"
.SH NAME
\fBlb source\fP \- Complete the source stage
.SH SYNOPSIS
\fBlb source\fP [\fIlive\-build options\fP]
.SH DESCRIPTION
\fBlb source\fP is a high\-level command (porcelain) of \fIlive\-build\fP(7), the
Debian Live tool suite.
.PP
\fBlb source\fP calls all necessary live\-build programs in the correct order to
complete the source stage.
.SH OPTIONS
\fBlb source\fP has no specific options but understands all generic live\-build
options. See \fIlive\-build\fP(7) for a complete list of all generic live\-build
options.
.SH FILES
.IP \fBnone\fP 4
.SH "SEE ALSO"
\fIlive\-build\fP(7)
.PP
This program is a part of live\-build.
.SH HOMEPAGE
More information about live\-build and the Debian Live project can be found
on the homepage at <\fIhttp://live.debian.net/\fP> and in the manual at
<\fIhttp://live.debian.net/manual/\fP>.
.SH BUGS
Bugs can be reported by submitting a bugreport for the live\-build package in
the Debian Bug Tracking System at <\fIhttp://bugs.debian.org/\fP> or by
writing a mail to the Debian Live mailing list at
<\fIdebian\-live@lists.debian.org\fP>.
.SH AUTHOR
live\-build was written by Daniel Baumann <\fIdaniel@debian.org\fP> for
the Debian project.
.\"*******************************************************************
.\"
.\" This file was generated with po4a. Translate the source file.
.\"
.\"*******************************************************************
.TH LIVE\-BUILD 1 2013\-01\-02 3.0~b5\-1 "Debian Live Project"
.SH NAME
\fBlb testroot\fP \- Ensure that a system is built as root
.SH SYNOPSIS
\fBlb testroot\fP [\fIlive\-build options\fP]
.SH DESCRIPTION
\fBlb testroot\fP is a high\-level command (porcelain) of \fIlive\-build\fP(7), the
Debian Live tool suite.
.PP
.\" FIXME
\fBlb testroot\fP simply checks to see if you are root. If not, it exits with
an error. Debian Live images must currently be built as real root.
.PP
.\" FIXME
Note: Support for using \fIfakeroot\fP(1) and \fIsudo\fP(8) internally in
live\-build itself is still experimental, however, calling a helper yourself
with sudo is safe.
.SH OPTIONS
\fBlb testroot\fP has no specific options but understands all generic
live\-build options. See \fIlive\-build\fP(7) for a complete list of all generic
live\-build options.
.SH FILES
.IP \fBnone\fP 4
.SH "SEE ALSO"
\fIlive\-build\fP(7)
.PP
This program is a part of live\-build.
.SH HOMEPAGE
More information about live\-build and the Debian Live project can be found
on the homepage at <\fIhttp://live.debian.net/\fP> and in the manual at
<\fIhttp://live.debian.net/manual/\fP>.
.SH BUGS
Bugs can be reported by submitting a bugreport for the live\-build package in
the Debian Bug Tracking System at <\fIhttp://bugs.debian.org/\fP> or by
writing a mail to the Debian Live mailing list at
<\fIdebian\-live@lists.debian.org\fP>.
.SH AUTHOR
live\-build was written by Daniel Baumann <\fIdaniel@debian.org\fP> for
the Debian project.
.\"*******************************************************************
.\"
.\" This file was generated with po4a. Translate the source file.
.\"
.\"*******************************************************************
.TH LIVE\-BUILD 7 2013\-01\-02 3.0~b5\-1 "Debian Live Project"
.SH NAME
\fBlive\-build\fP \- the Debian Live tool suite
.SH SYNOPSIS
.\" FIXME
.\" FIXME
\fBlb \fP\fICOMMAND\fP [\fB\-h|\-\-help\fP] [\fB\-u|\-\-usage\fP] [\fB\-v|\-\-version\fP]
[\fB\-\-breakpoints\fP] [\fB\-\-conffile\fP] [\fB\-\-debug\fP] [\fB\-\-force\fP] [\fB\-\-quiet\fP]
[\fB\-\-verbose\fP]
.SH DESCRIPTION
.\" FIXME
live\-build is a set of scripts to build Debian Live system images. The idea
behind live\-build is a tool suite that uses a configuration directory to
completely automate and customize all aspects of building a Live image.
.PP
The \fICOMMAND\fP is a name of a live\-build command (see below).
.PP
.\" FIXME
More documentation about how to use live\-build is available in the
individual manpages for each helper and in the manual at
<\fIhttp://live.debian.net/manual/\fP>.
.SH OPTIONS
.\" FIXME
.SS "Shared live\-build options"
The following command line options are supported by all live\-build programs.
.IP "\fB\-h, \-\-help\fP" 4
display help and exit.
.IP "\fB\-u, \-\-usage\fP" 4
show usage and exit.
.IP "\fB\-v, \-\-version\fP" 4
output version information and exit.
.SS "Common live\-build options"
The following command line options are supported by most live\-build
programs. See the man page of each program for a complete explanation of
what each option does.
.IP \fB\-\-breakpoints\fP 4
run with breakpoints.
.IP \fB\-\-conffile\fP 4
use custom configuration file.
.IP \fB\-\-debug\fP 4
show debug information.
.IP \fB\-\-force\fP 4
force helper execution, even if stage file exists.
.IP \fB\-\-quiet\fP 4
be quiet.
.IP \fB\-\-verbose\fP 4
.\" FIXME
be verbose.
.SH "LIVE\-BUILD COMMANDS"
.\" FIXME
We divide live\-build into high level ("porcelain") commands and low level
("plumbing") commands.
.PP
.\" FIXME
Here is the complete list of all available live\-build commands. See their
man pages for additional documentation.
.SH "HIGH\-LEVEL COMMANDS (PORCELAIN)"
.\" FIXME
We separate the porcelain commands into the main commands and some ancillary
user utilities.
.SS "Main porcelain commands"
.IP \fBlb_config\fP(1) 4
create configuration for live\-build
.IP \fBlb_bootstrap\fP(1) 4
create the first stage by bootstrapping a basic debian system
.IP \fBlb_chroot\fP(1) 4
create the second stage by customizing the chroot
.IP \fBlb_binary\fP(1) 4
create the third stage by generating a binary image
.IP \fBlb_source\fP(1) 4
create the optional fourth stage by generating a source image
.IP \fBlb_clean\fP(1) 4
clean up system build directories
.SS "Ancillary Commands"
.IP \fBlb\fP(1) 4
generic live\-build wrapper
.IP \fBlb_build\fP(1) 4
alias for all stages
.IP \fBlb_local\fP(1) 4
helper for using a local live\-build
.IP \fBlb_testroot\fP(1) 4
.\" FIXME
ensure that a system is built as root
.SH "LOW\-LEVEL COMMANDS (PLUMBING)"
.\" FIXME
The actual work of live\-build is implemented in the low\-level commands,
called plumbing. They are not supposed to be used by end users, they should
stick with porcelains as they ensure that all the different plumbing
commands are executed in the right order. However, if you intend to reuse
live\-build commands in your own scripts, then the plumbings might be of
interest for you.
.PP
Note that the interface (set of options and the semantics) to these
low\-level commands are meant to be a lot more stable than Porcelain level
commands. The interface to Porcelain commands on the other hand are subject
to change in order to improve the end user experience.
.SS "Bootstrap commands"
.IP \fBlb_bootstrap_cache\fP(1) 4
cache bootstrap stage
.IP \fBlb_bootstrap_cdebootstrap\fP(1) 4
bootstrap a Debian system with cdebootstrap(1)
.IP \fBlb_bootstrap_debootstrap\fP(1) 4
bootstrap a Debian system with debootstrap(8)
.SS "Chroot commands"
.IP \fBlb_chroot_apt\fP(1) 4
manage /etc/apt/apt.conf
.IP \fBlb_chroot_cache\fP(1) 4
cache chroot stage
.IP \fBlb_chroot_debianchroot\fP(1) 4
manage /etc/debian_chroot
.IP \fBlb_chroot_devpts\fP(1) 4
mount /dev/pts
.IP \fBlb_chroot_dpkg\fP(1) 4
manage /sbin/dpkg
.IP \fBlb_chroot_hacks\fP(1) 4
execute hacks in chroot
.IP \fBlb_chroot_hostname\fP(1) 4
manage /bin/hostname
.IP \fBlb_chroot_hosts\fP(1) 4
manage /etc/hosts
.IP \fBlb_chroot_install\-packages\fP(1) 4