diff --git a/Makefile b/Makefile index 7ac672d..d79c79a 100644 --- a/Makefile +++ b/Makefile @@ -4,7 +4,7 @@ LANGUAGES = $(shell cd manpages/po && ls) -SCRIPTS = bin/* frontends/cgi/live-build-cgi frontends/cgi/live-build-cgi.cron functions/* examples/auto/* examples/hooks/* scripts/*.sh scripts/*/* share/bin/* share/hooks/* +SCRIPTS = frontend/cli/* frontend/cgi/live-build-cgi frontend/cgi/live-build-cgi.cron functions/* examples/auto/* examples/hooks/* scripts/*.sh scripts/*/* share/bin/* share/hooks/* all: build @@ -40,19 +40,19 @@ install: # Installing shared data mkdir -p $(DESTDIR)/usr/share/live/build - cp -r frontends/cgi data functions templates VERSION $(DESTDIR)/usr/share/live/build + cp -r frontend/cgi data functions templates VERSION $(DESTDIR)/usr/share/live/build cp -r share/* $(DESTDIR)/usr/share/live/build # Installing executables mkdir -p $(DESTDIR)/usr/bin - cp -a bin/* $(DESTDIR)/usr/bin + cp -a frontend/cli/* $(DESTDIR)/usr/bin mkdir -p $(DESTDIR)/usr/lib/live cp -a scripts/* $(DESTDIR)/usr/lib/live # Installing documentation mkdir -p $(DESTDIR)/usr/share/doc/live-build - cp -r COPYING docs/* examples $(DESTDIR)/usr/share/doc/live-build + cp -r COPYING examples $(DESTDIR)/usr/share/doc/live-build # Installing manpages for MANPAGE in manpages/en/*; \ diff --git a/VERSION b/VERSION index 803e8b1..032a24b 100644 --- a/VERSION +++ b/VERSION @@ -1 +1 @@ -3.0.5-1 +4.0.3-1 diff --git a/bin/lb b/bin/lb deleted file mode 100755 index d79a62c..0000000 --- a/bin/lb +++ /dev/null @@ -1,80 +0,0 @@ -#!/bin/sh - -## live-build(7) - System Build Scripts -## Copyright (C) 2006-2013 Daniel Baumann -## -## This program comes with ABSOLUTELY NO WARRANTY; for details see COPYING. -## This is free software, and you are welcome to redistribute it -## under certain conditions; see COPYING for details. - - -set -e - -# Including common functions -[ -e "${LIVE_BUILD}/scripts/build.sh" ] && . "${LIVE_BUILD}/scripts/build.sh" || . /usr/lib/live/build.sh - -# Setting static variables -DESCRIPTION="$(Echo 'utility to build Debian Live systems')" -HELP="FIXME" -USAGE="FIXME" - -case "${1}" in - -h|--help) - if [ -x "$(which man 2>/dev/null)" ] - then - man lb - exit 0 - else - ${0} --usage - exit 0 - fi - ;; - - ""|-u|--usage) - Usage - ;; - - -v|--version) - echo "${VERSION}" - exit 0 - ;; - - *) - COMMAND="${1}" - shift - - ENV="" - - for _FILE in config/environment config/environment.binary - do - if [ -e "${_FILE}" ] - then - ENV="${ENV} $(grep -v '^#' ${_FILE})" - fi - done - - if [ -x "${LIVE_BUILD}/scripts/build/${COMMAND}" ] - then - # User has live-build copied locally in the system - SCRIPT="${LIVE_BUILD}/scripts/build/${COMMAND}" - elif [ -x "local/live-build/scripts/build/${COMMAND}" ] - then - # User has live-build embedded in the config - SCRIPT="local/live-build/scripts/build/${COMMAND}" - elif [ -x /usr/lib/live/build/${COMMAND} ] - then - # User has live-build installed in the system - SCRIPT=/usr/lib/live/build/"${COMMAND}" - elif [ -x "$(which ${COMMAND} 2>/dev/null)" ] - then - # User has live-build commands in path - SCRIPT="${COMMAND}" - else - Echo_error "no such script: ${COMMAND}" - exit 1 - fi - - Echo "[%s] %s" "$(date +'%F %T')" "lb ${COMMAND} $(echo ${@})" - ${ENV} exec "${SCRIPT}" "${@}" - ;; -esac diff --git a/bin/live-build b/bin/live-build deleted file mode 100755 index 4f27762..0000000 --- a/bin/live-build +++ /dev/null @@ -1,38 +0,0 @@ -#!/bin/sh - -## live-build(7) - System Build Scripts -## Copyright (C) 2006-2013 Daniel Baumann -## -## This program is free software: you can redistribute it and/or modify -## it under the terms of the GNU General Public License as published by -## the Free Software Foundation, either version 3 of the License, or -## (at your option) any later version. -## -## This program is distributed in the hope that it will be useful, -## but WITHOUT ANY WARRANTY; without even the implied warranty of -## MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -## GNU General Public License for more details. -## -## You should have received a copy of the GNU General Public License -## along with this program. If not, see . -## -## The complete text of the GNU General Public License -## can be found in /usr/share/common-licenses/GPL-3 file. - - -set -e - -# Including common functions -[ -e "${LIVE_BUILD}/scripts/build.sh" ] && . "${LIVE_BUILD}/scripts/build.sh" || . /usr/lib/live/build.sh - -if [ -x "$(which man 2>/dev/null)" ] -then - man live-build - exit 0 -else - Echo "live-build contains the scripts to build a Debian Live system from a configuration directory." - echo - Echo "An introduction to live-build can be found in the live-build(7) manpage." - - exit 0 -fi diff --git a/data/debian-cd/hardy b/data/debian-cd/hardy deleted file mode 120000 index 5cb6e60..0000000 --- a/data/debian-cd/hardy +++ /dev/null @@ -1 +0,0 @@ -maverick \ No newline at end of file diff --git a/data/debian-cd/jessie b/data/debian-cd/jessie new file mode 120000 index 0000000..20f08b4 --- /dev/null +++ b/data/debian-cd/jessie @@ -0,0 +1 @@ +squeeze \ No newline at end of file diff --git a/data/debian-cd/oneiric b/data/debian-cd/oneiric deleted file mode 120000 index 5cb6e60..0000000 --- a/data/debian-cd/oneiric +++ /dev/null @@ -1 +0,0 @@ -maverick \ No newline at end of file diff --git a/docs/AUTHORS b/docs/AUTHORS deleted file mode 100644 index 1d63e47..0000000 --- a/docs/AUTHORS +++ /dev/null @@ -1,9 +0,0 @@ -Main Author: - - * Daniel Baumann - -Main Contributors: - - * Chris Lamb - * Otavio Salvador - * Richard Nelson diff --git a/docs/CREDITS b/docs/CREDITS deleted file mode 100644 index e38e2ee..0000000 --- a/docs/CREDITS +++ /dev/null @@ -1,64 +0,0 @@ -Patches (alphabetical order): - - * Alex Owen - * An-Cheng Huang - * Antonio Amorim - * Antonio Terceiro - * Bas Wijnen - * Ben Armstrong - * Cedric Lucantis - * Chris Lamb - * Cody A.W. Somerville - * Cyril Brulebois - * David Madore - * Erwan Le Gall - * Fathi Boudra - * Franklin Piat - * Frederic Daniel Luc Lehobey - * Guerkan Senguen - * Hadar Weiss - * Inigo Tejedor Arrondo - * Jason D. Clinton - * Jean Pierre LeJacq - * Jesse Hathaway - * Justin Pryzby - * Kai Hendry - * Kel Modderman - * Maarten ter Huurne - * Marcelo D. Re - * Marco Amadori - * Markus Bauer - * Mathieu Geli - * Otavio Salvador - * Peter Holik - * Peter Skogstroem - * Rene Merou - * Richard Nelson - * Scott Edwards - * Sebastian Raveau - * Thomas Lange - * Tiago Bortoletto Vaz - * Trent Buck - * Tzafrir Cohen - * Vladimir Stavrinov - -Donations (alphabetical order): - - * Gracie - -Special thanks (alphabetical order): - - * Ben Armstrong for his IRC support and tremendous work on - documentation. - * Jason D. Clinton for his work on netboot type. - * Otavio Salvador for his QA patches. - * Richard Nelson for live-webhelper. - * Sebastian Raveau for his work on encryption - support. - * Scott Edwards for his work on d-i/g-i integration. - * Michael Dorrington for distracting Luk Claes on DebConf 7, - so that Luk couldn't disturb me all the time and I could finally do some - work. - -...and countless other people showed up on the #debian-live IRC channel since -February 2006: thanks for all your help, ideas, and wishes. diff --git a/docs/ChangeLog b/docs/ChangeLog deleted file mode 100644 index 0b7f087..0000000 --- a/docs/ChangeLog +++ /dev/null @@ -1,1560 +0,0 @@ -commit 4217cf64597aa81b82a8c8e6a79fee1381e06aa3 -Author: Daniel Baumann - - Re-enabling live-initscripts and live-webhelper. - - examples/cron/snapshots.sh | 2 +- - 1 files changed, 1 insertions(+), 1 deletions(-) - -commit c4bb536877d822570176d462a45d3497de05a01b -Author: Daniel Baumann - - Respecting LH_QUIET for genisoimage/mkisofs calls, thanks to Justin Pryzby . - - helpers/lh_binary_iso | 5 +++++ - helpers/lh_source_iso | 5 +++++ - 2 files changed, 10 insertions(+), 0 deletions(-) - -commit a019b98615f9edd154f48337f45656fbc86cd181 -Author: Daniel Baumann - - Respecting LH_QUIET for wget calls, thanks to Justin Pryzby . - - helpers/lh_binary_debian-installer | 19 ++++++++++++------- - 1 files changed, 12 insertions(+), 7 deletions(-) - -commit 09faf3f24b1d24394071fc651685436a269c37a4 -Author: Daniel Baumann - - Handling case when memtest is disabled. - - helpers/lh_source_debian | 5 ++++- - 1 files changed, 4 insertions(+), 1 deletions(-) - -commit f3706cd7f2fa293fed28523c760715967a7ae2e1 -Author: Daniel Baumann - - Adding check for 'none', not just 'disabled'. - - helpers/lh_binary_memtest | 2 +- - 1 files changed, 1 insertions(+), 1 deletions(-) - -commit 793f620b2dd2687f1c1cbb2db6b2eb65ed63275b -Author: Daniel Baumann - - Restoring file permissions. - - 0 files changed, 0 insertions(+), 0 deletions(-) - -commit 4b52adb6f77b855ac9e6f63de187ae6ecba3602e -Author: Daniel Baumann - - Adding local udeb_exclude file functionality. - - helpers/lh_binary_debian-installer | 6 ++++++ - helpers/lh_config | 1 + - 2 files changed, 7 insertions(+), 0 deletions(-) - -commit fbae06c4262ee01d22af51b9720470a87a1e571b -Author: Daniel Baumann - - Fixing typing error in lh_binary_syslinux, thanks to Jean Pierre LeJacq (Closes: #443099). - - debian/changelog | 2 ++ - helpers/lh_binary_syslinux | 2 +- - 2 files changed, 3 insertions(+), 1 deletions(-) - -commit 9ceced95c4a101b632d2b40cb0716338b223faeb -Author: Daniel Baumann - - Adding preinst to take care about package upgrades with respect to directories that are symlinks now (Closes: #442408, #442922). - - debian/changelog | 4 +++- - debian/preinst | 40 ++++++++++++++++++++++++++++++++++++++++ - 2 files changed, 43 insertions(+), 1 deletions(-) - -commit 4d06f0aa2b3a3f8a300b8a45310e1b7b5748c4a3 -Author: Daniel Baumann - - Adding contrib/graph-helpers/*. - - contrib/graph-helpers.py | 74 -------------------------------- - contrib/graph-helpers/graph-helpers.py | 74 ++++++++++++++++++++++++++++++++ - debian/copyright | 23 +++++++++- - 3 files changed, 95 insertions(+), 76 deletions(-) - -commit 39d4c50fc75166d6d8f43126a079e5497e7ff089 -Author: Daniel Baumann - - Added graph-helpers.py from Chris Lamb . - - contrib/graph-helpers.py | 74 ++++++++++++++++++++++++++++++++++++++++++++++ - 1 files changed, 74 insertions(+), 0 deletions(-) - -commit 5e759644a47983d74338d46904106b552153c446 -Author: Daniel Baumann - - Passing live bootappends to debian-installer. - - functions/defaults.sh | 2 +- - helpers/lh_config | 16 ++++++++-------- - 2 files changed, 9 insertions(+), 9 deletions(-) - -commit f64d4d2c3124043b9039a38d9c1f037e923c3297 -Author: Daniel Baumann - - Preparing live-helper 1.0~a29-1. - - Makefile | 6 +++--- - debian/changelog | 6 ++++++ - functions/common.sh | 2 +- - manpages/lh_binary.de.1 | 2 +- - manpages/lh_binary.en.1 | 2 +- - manpages/lh_bootstrap.de.1 | 2 +- - manpages/lh_bootstrap.en.1 | 2 +- - manpages/lh_bootstrap_cdebootstrap.de.1 | 2 +- - manpages/lh_bootstrap_cdebootstrap.en.1 | 2 +- - manpages/lh_bootstrap_debootstrap.de.1 | 2 +- - manpages/lh_bootstrap_debootstrap.en.1 | 2 +- - manpages/lh_build.de.1 | 2 +- - manpages/lh_build.en.1 | 2 +- - manpages/lh_chroot.de.1 | 2 +- - manpages/lh_chroot.en.1 | 2 +- - manpages/lh_clean.de.1 | 2 +- - manpages/lh_clean.en.1 | 2 +- - manpages/lh_config.de.1 | 2 +- - manpages/lh_config.en.1 | 2 +- - manpages/lh_source.de.1 | 2 +- - manpages/lh_source.en.1 | 2 +- - manpages/lh_testroot.de.1 | 2 +- - manpages/lh_testroot.en.1 | 2 +- - manpages/live-helper.de.7 | 2 +- - manpages/live-helper.en.7 | 2 +- - 25 files changed, 32 insertions(+), 26 deletions(-) - -commit 7d5c33610881beee30fea2dc162d21f9e7436039 -Author: Daniel Baumann - - Releasing live-helper 1.0~a28-1. - - debian/changelog | 2 +- - docs/ChangeLog | 286 ++++++++++++++++++++++++++++++++++++++++++++++++++++++ - 2 files changed, 287 insertions(+), 1 deletions(-) - -commit f6d46179dfb64ace95c6cdec6a5b910d9106a7e7 -Author: Daniel Baumann - - Making binary hooks executable in case the are not. - - helpers/lh_binary_local-hooks | 6 ++++++ - 1 files changed, 6 insertions(+), 0 deletions(-) - -commit f36f7d499ad7ba96a66977ae5e8955fb6b74128e -Author: Daniel Baumann - - Do not remove pkgsel anymore. - - helpers/lh_binary_debian-installer | 2 -- - 1 files changed, 0 insertions(+), 2 deletions(-) - -commit 2b817e2b897f6db20e81fcd52e40f90bcda16237 -Author: Daniel Baumann - - Fixed wrong sed call. - - helpers/lh_binary_syslinux | 4 ++-- - 1 files changed, 2 insertions(+), 2 deletions(-) - -commit 1db91d83b0d0311c07d8f96023e850efdb44f7eb -Author: Daniel Baumann - - Do not create symlinks on usb-hdd images. - - helpers/lh_binary_debian-installer | 5 ++++- - 1 files changed, 4 insertions(+), 1 deletions(-) - -commit ed5bb2e1870d68a8d6318933d9fe6ca2f1d9069c -Author: Daniel Baumann - - Adding LH_BOOTAPPEND_INSTALL. - - functions/defaults.sh | 1 + - helpers/lh_binary_grub | 4 ++-- - helpers/lh_binary_syslinux | 8 ++++---- - helpers/lh_binary_yaboot | 4 ++-- - helpers/lh_config | 12 +++++++++++- - 5 files changed, 20 insertions(+), 9 deletions(-) - -commit 851d21e47455408a300ce8c527e3805f2e039e64 -Author: Daniel Baumann - - Renaming LH_BOOTAPPEND to LH_BOOTAPPEND_LIVE. - - functions/defaults.sh | 2 +- - helpers/lh_binary_grub | 18 +++++++++--------- - helpers/lh_binary_syslinux | 28 ++++++++++++++-------------- - helpers/lh_binary_yaboot | 20 ++++++++++---------- - helpers/lh_config | 12 ++++++------ - 5 files changed, 40 insertions(+), 40 deletions(-) - -commit 26961cb572225683e29e03176698447b58b19bc4 -Author: Daniel Baumann - - Making local udebs/local debs architecture aware. - - helpers/lh_binary_debian-installer | 8 ++++---- - 1 files changed, 4 insertions(+), 4 deletions(-) - -commit caeb8b9d72f691833691f193102537fe6c146422 -Author: Daniel Baumann - - Setting default distribution to lenny. - - functions/defaults.sh | 6 +++++- - 1 files changed, 5 insertions(+), 1 deletions(-) - -commit 20aad4c211bb423d714a38728ffccea5757840a2 -Author: Daniel Baumann - - Removing both required local and d-i udebs when using live-installer. - - helpers/lh_binary_debian-installer | 6 ++++++ - 1 files changed, 6 insertions(+), 0 deletions(-) - -commit c338316ee23fbf687fc4554765c24887cee2fd1a -Author: Daniel Baumann - - Added forgotten path to bootstrap-base removal. - - helpers/lh_binary_debian-installer | 2 +- - 1 files changed, 1 insertions(+), 1 deletions(-) - -commit 789677ab838dc589ef954ff4745609e22d9d6d6e -Author: Daniel Baumann - - Simplifying debian-installer download. - - helpers/lh_binary_debian-installer | 22 ++++------------------ - 1 files changed, 4 insertions(+), 18 deletions(-) - -commit 0e4a03132a9cb16779d41022ff9f518694295ab6 -Author: Daniel Baumann - - Adding support for live-installer. - - helpers/lh_binary_debian-installer | 8 +++++++- - helpers/lh_binary_disk | 12 ++++++------ - 2 files changed, 13 insertions(+), 7 deletions(-) - -commit 117d1ef02c09404d595a27023e86765841909398 -Author: Daniel Baumann - - Polishing and updating with recent news. - - docs/NEWS | 28 +++++++++++++++++----------- - 1 files changed, 17 insertions(+), 11 deletions(-) - -commit 173bd27953afd4020f2ac5700b147e41af727735 -Author: Daniel Baumann - - Temporarily disabling extended options, they seem to make problems and need testing. - - templates/syslinux/common/syslinux.cfg | 16 ++++++++-------- - 1 files changed, 8 insertions(+), 8 deletions(-) - -commit 508cf68252a5253ba40fcaa0dc46a3ffffc3dbfa -Author: Daniel Baumann - - Adding Rene Merou . - - docs/CREDITS | 1 + - 1 files changed, 1 insertions(+), 0 deletions(-) - -commit 7c25acdfc10c851bc30ccafc273a71113758f175 -Author: Daniel Baumann - - Added Spanish syslinux templates translation from Rene Merou . - - templates/syslinux/es/boot.txt | 3 +++ - templates/syslinux/es/f1.txt.install | 25 +++++++++++++++++++++++++ - templates/syslinux/es/f1.txt.live | 25 +++++++++++++++++++++++++ - templates/syslinux/es/f10.txt | 23 +++++++++++++++++++++++ - templates/syslinux/es/f2.txt.install | 23 +++++++++++++++++++++++ - templates/syslinux/es/f2.txt.live | 23 +++++++++++++++++++++++ - templates/syslinux/es/f3.txt.install | 23 +++++++++++++++++++++++ - templates/syslinux/es/f3.txt.install.g-i | 23 +++++++++++++++++++++++ - templates/syslinux/es/f3.txt.live | 23 +++++++++++++++++++++++ - templates/syslinux/es/f4.txt.install | 23 +++++++++++++++++++++++ - templates/syslinux/es/f4.txt.install.g-i | 23 +++++++++++++++++++++++ - templates/syslinux/es/f4.txt.live | 23 +++++++++++++++++++++++ - templates/syslinux/es/f5.txt | 23 +++++++++++++++++++++++ - templates/syslinux/es/f6.txt | 23 +++++++++++++++++++++++ - templates/syslinux/es/f7.txt | 23 +++++++++++++++++++++++ - templates/syslinux/es/f8.txt.install | 23 +++++++++++++++++++++++ - templates/syslinux/es/f8.txt.live | 23 +++++++++++++++++++++++ - templates/syslinux/es/f9.txt.install | 23 +++++++++++++++++++++++ - templates/syslinux/es/f9.txt.live | 23 +++++++++++++++++++++++ - 19 files changed, 421 insertions(+), 0 deletions(-) - -commit 8407eb17e393c18ce76afe3fc3d48a5128c22344 -Author: Daniel Baumann - - Added Catalan syslinux templates translation from Rene Merou . - - templates/syslinux/ca/boot.txt | 3 +++ - templates/syslinux/ca/f1.txt.install | 25 +++++++++++++++++++++++++ - templates/syslinux/ca/f1.txt.live | 25 +++++++++++++++++++++++++ - templates/syslinux/ca/f10.txt | 23 +++++++++++++++++++++++ - templates/syslinux/ca/f2.txt.install | 23 +++++++++++++++++++++++ - templates/syslinux/ca/f2.txt.live | 23 +++++++++++++++++++++++ - templates/syslinux/ca/f3.txt.install | 23 +++++++++++++++++++++++ - templates/syslinux/ca/f3.txt.install.g-i | 23 +++++++++++++++++++++++ - templates/syslinux/ca/f3.txt.live | 23 +++++++++++++++++++++++ - templates/syslinux/ca/f4.txt.install | 23 +++++++++++++++++++++++ - templates/syslinux/ca/f4.txt.install.g-i | 25 +++++++++++++++++++++++++ - templates/syslinux/ca/f4.txt.live | 23 +++++++++++++++++++++++ - templates/syslinux/ca/f5.txt | 23 +++++++++++++++++++++++ - templates/syslinux/ca/f6.txt | 23 +++++++++++++++++++++++ - templates/syslinux/ca/f7.txt | 23 +++++++++++++++++++++++ - templates/syslinux/ca/f8.txt.install | 23 +++++++++++++++++++++++ - templates/syslinux/ca/f8.txt.live | 23 +++++++++++++++++++++++ - templates/syslinux/ca/f9.txt.install | 23 +++++++++++++++++++++++ - templates/syslinux/ca/f9.txt.live | 23 +++++++++++++++++++++++ - 19 files changed, 423 insertions(+), 0 deletions(-) - -commit 78450950715061a76a7f3bc02bb5bc4b6d21545e -Author: Daniel Baumann - - Setting default language to 'en'. - - functions/defaults.sh | 2 +- - templates/syslinux/common/syslinux.cfg | 36 ++++++++++++++++++++++++++++++ - templates/syslinux/en/boot.txt | 3 ++ - templates/syslinux/en/f1.txt.install | 25 ++++++++++++++++++++ - templates/syslinux/en/f1.txt.live | 25 ++++++++++++++++++++ - templates/syslinux/en/f10.txt | 23 +++++++++++++++++++ - templates/syslinux/en/f2.txt.install | 23 +++++++++++++++++++ - templates/syslinux/en/f2.txt.live | 23 +++++++++++++++++++ - templates/syslinux/en/f3.txt.install | 23 +++++++++++++++++++ - templates/syslinux/en/f3.txt.install.g-i | 23 +++++++++++++++++++ - templates/syslinux/en/f3.txt.live | 23 +++++++++++++++++++ - templates/syslinux/en/f4.txt.install | 23 +++++++++++++++++++ - templates/syslinux/en/f4.txt.install.g-i | 23 +++++++++++++++++++ - templates/syslinux/en/f4.txt.live | 23 +++++++++++++++++++ - templates/syslinux/en/f5.txt | 23 +++++++++++++++++++ - templates/syslinux/en/f6.txt | 23 +++++++++++++++++++ - templates/syslinux/en/f7.txt | 23 +++++++++++++++++++ - templates/syslinux/en/f8.txt.install | 23 +++++++++++++++++++ - templates/syslinux/en/f8.txt.live | 23 +++++++++++++++++++ - templates/syslinux/en/f9.txt.install | 23 +++++++++++++++++++ - templates/syslinux/en/f9.txt.live | 23 +++++++++++++++++++ - 21 files changed, 458 insertions(+), 1 deletions(-) - -commit 3fddecbe0eab7d49fb67800bec436d9caa72dfa5 -Author: Daniel Baumann - - Supporting localized syslinux templates based on LH_LANGUAGE. - - helpers/lh_binary_syslinux | 9 +++++-- - templates/syslinux/boot.txt | 3 -- - templates/syslinux/common/splash.rle | Bin 0 -> 10489 bytes - templates/syslinux/f1.txt.install | 25 ---------------------- - templates/syslinux/f1.txt.live | 25 ---------------------- - templates/syslinux/f10.txt | 23 --------------------- - templates/syslinux/f2.txt.install | 23 --------------------- - templates/syslinux/f2.txt.live | 23 --------------------- - templates/syslinux/f3.txt.install | 23 --------------------- - templates/syslinux/f3.txt.install.g-i | 23 --------------------- - templates/syslinux/f3.txt.live | 23 --------------------- - templates/syslinux/f4.txt.install | 23 --------------------- - templates/syslinux/f4.txt.install.g-i | 23 --------------------- - templates/syslinux/f4.txt.live | 23 --------------------- - templates/syslinux/f5.txt | 23 --------------------- - templates/syslinux/f6.txt | 23 --------------------- - templates/syslinux/f7.txt | 23 --------------------- - templates/syslinux/f8.txt.install | 23 --------------------- - templates/syslinux/f8.txt.live | 23 --------------------- - templates/syslinux/f9.txt.install | 23 --------------------- - templates/syslinux/f9.txt.live | 23 --------------------- - templates/syslinux/splash.rle | Bin 10489 -> 0 bytes - templates/syslinux/syslinux.cfg | 36 --------------------------------- - 23 files changed, 6 insertions(+), 460 deletions(-) - -commit 1956c132a8bac04cd3a025f60acdadb8fa9dd668 -Author: Daniel Baumann - - Adding forgotten cp call. - - helpers/lh_binary_disk | 2 +- - 1 files changed, 1 insertions(+), 1 deletions(-) - -commit f4af8492a6738f873237802e5dd2005e3ca5bab2 -Author: Daniel Baumann - - Removing cruft from debian-cd templates. - - templates/syslinux/f7.txt | 2 +- - templates/syslinux/f8.txt.install | 2 +- - templates/syslinux/f8.txt.live | 2 +- - templates/syslinux/f9.txt.install | 2 +- - templates/syslinux/f9.txt.live | 2 +- - 5 files changed, 5 insertions(+), 5 deletions(-) - -commit 9ec9d931e7809058a4d35991c07af1057d7db875 -Author: Daniel Baumann - - Using new Homepage field now. - - debian/control | 3 +-- - 1 files changed, 1 insertions(+), 2 deletions(-) - -commit 9da34f5a3bbd3eaa4ea9f1f91d8a8748ce94f068 -Author: Daniel Baumann - - Adding Marco Amadori . - - docs/CREDITS | 1 + - 1 files changed, 1 insertions(+), 0 deletions(-) - -commit 83fc7ca480fb36e40e21dad7c892ec92cf8c3679 -Author: Daniel Baumann - - Downgrading Ubuntu minimal requirements from gutsy to feisty. - - functions/defaults.sh | 4 ++-- - 1 files changed, 2 insertions(+), 2 deletions(-) - -commit 23c269f3afba1449f2ff6352bf9504fbdba582f8 -Author: Daniel Baumann - - Simplyfing LH_BASE calls. - - helpers/lh_binary_debian-installer | 6 +++--- - 1 files changed, 3 insertions(+), 3 deletions(-) - -commit 16b85ffe14a24a693cfdafa2d100f96d5d65cf0a -Author: Daniel Baumann - - Using udeb_include files from debian-cd. - - helpers/lh_binary_disk | 28 +++------------------------- - 1 files changed, 3 insertions(+), 25 deletions(-) - -commit e9ed48833fee3e9232917282f0af88d39bca673e -Author: Daniel Baumann - - Using Debian terminology for images of unreleased suites. - - functions/releases.sh | 4 ++-- - helpers/lh_binary_disk | 5 +++++ - 2 files changed, 7 insertions(+), 2 deletions(-) - -commit 6c45ff08704bd84fd7c45b294e843c642cc17a16 -Author: Daniel Baumann - - Setting debian-installer default flavour to netinst. - - helpers/lh_binary_debian-installer | 2 +- - helpers/lh_binary_disk | 2 +- - 2 files changed, 2 insertions(+), 2 deletions(-) - -commit 04f8e669b49da796863e2f548620ee5f15494b2d -Author: Daniel Baumann - - Adding forgotten handling of default case. - - helpers/lh_clean | 11 +++++++++-- - 1 files changed, 9 insertions(+), 2 deletions(-) - -commit 9f59f16c7c1da6cd227fa47897dc76bf8004cb8e -Author: Daniel Baumann - - Only removing old packages if they exist. - - examples/cron/snapshots.sh | 11 +++++++---- - 1 files changed, 7 insertions(+), 4 deletions(-) - -commit 471b32c6821eea5d1a73c62c16eb31defe9c0895 -Author: Daniel Baumann - - Fixing typing error. - - debian/control | 4 ++-- - 1 files changed, 2 insertions(+), 2 deletions(-) - -commit fbd4861b2347b024caa54af443b18ca1c6646a31 -Author: Daniel Baumann - - Preparing live-helper 1.0~a28-1. - - Makefile | 6 +++--- - debian/changelog | 6 ++++++ - functions/common.sh | 2 +- - manpages/lh_binary.de.1 | 2 +- - manpages/lh_binary.en.1 | 2 +- - manpages/lh_bootstrap.de.1 | 2 +- - manpages/lh_bootstrap.en.1 | 2 +- - manpages/lh_bootstrap_cdebootstrap.de.1 | 2 +- - manpages/lh_bootstrap_cdebootstrap.en.1 | 2 +- - manpages/lh_bootstrap_debootstrap.de.1 | 2 +- - manpages/lh_bootstrap_debootstrap.en.1 | 2 +- - manpages/lh_build.de.1 | 2 +- - manpages/lh_build.en.1 | 2 +- - manpages/lh_chroot.de.1 | 2 +- - manpages/lh_chroot.en.1 | 2 +- - manpages/lh_clean.de.1 | 2 +- - manpages/lh_clean.en.1 | 2 +- - manpages/lh_config.de.1 | 2 +- - manpages/lh_config.en.1 | 2 +- - manpages/lh_source.de.1 | 2 +- - manpages/lh_source.en.1 | 2 +- - manpages/lh_testroot.de.1 | 2 +- - manpages/lh_testroot.en.1 | 2 +- - manpages/live-helper.de.7 | 2 +- - manpages/live-helper.en.7 | 2 +- - 25 files changed, 32 insertions(+), 26 deletions(-) -2007-09-09 Daniel Baumann - - * functions/defaults.sh: - - Fixing typing error. - * data/debian-cd: - - Merging debian-cd 3.0.3 data files. - * functions/defaults.sh, helpers/lh_config: - - Adding debian-installer daily images option. - * helpers/lh_binary_debian-installer: - - Reworking debian-installer flavours and urls. - - Failing when no bootstrap package cache. - * helpers/lh_binary_disk: - - Reworking disk information. - * helpers/lh_bootstrap_cache: - - Creating bootstrap stagefile when restoring cache. - * helpers/lh_bootstrap_cache, lh_chroot_cache: - - Refactoring stage caching. - * helpers/lh_clean: - - Removing cache/stages_bootstrap restore. - * lists/devel-live: - - Moving from svn to git. - * Uploading 1.0~a27-1. - -2007-09-04 Daniel Baumann - - * helpers/lh_chroot_cache: - - Added forgotten creation of the stagefile as mentioned by - Peter Holik . - -2007-09-04 Daniel Baumann - - * helpers/lh_binary_syslinux, lh_config: - - Applied fixes from Peter Holik . - * helpers/lh_chroot_local-packages: - - Added check for actual packages as mentioned by Peter Holik - . - * helpers/lh_bootstrap_cache: - - Added forgotten creation of the stagefile as mentioned by - Peter Holik . - * Uploading 1.0~a26-1. - -2007-08-28 Daniel Baumann - - * functions/defaults.sh: - - Prefering debootstrap over cdebootstrap. - * helpers/lh_chroot_local-packages: - - Only copy packages matching the build-architecture. This way, you - can store local packages for different architectures in the very - same config directory. - * Uploading 1.0~a25-1. - -2007-08-28 Daniel Baumann - - * helpers/lh_clean: - - Accepting more than one parameter at the same time. - * Uploading 1.0~a24-1. - -2007-08-14 Daniel Baumann - - * helpers/*: - - Added --conffile to all helpers. - * manpages/lh_config.de.1, lh_config.en.1: - - Added. - * Uploading 1.0~a23-1. - -2007-08-13 Daniel Baumann - - * helpers/lh_binary_memtest: - - Improved grub workaround. - -2007-08-12 Daniel Baumann - - * helpers/lh_chroot_dpkg: - - Added. - -2007-08-12 Daniel Baumann - - * Uploaded 1.0~a22-1. - -2007-08-08 Daniel Baumann - - * functions/lh_chroot_hacks: - - Remove resume partition configuration in initramfs on etch. - -2007-08-07 Daniel Baumann - - * functions/defaults.sh: - - Added auto mode for LH_INITRAMFS. - -2007-08-05 Daniel Baumann - - * functions/defaults.sh: - - Added debian-edu mode. - * lists/knoppix, knoppix-dvd: - - Added. - -2007-08-05 Mathieu Geli - - * lists/studio, studio-gnome, studio-kde, studio-xfce: - - Added. - -2007-08-04 Daniel Baumann - - * functions/*, helpers/*: - - Renaming LIVE_* variables to LH_*. - * excamples/cron/*: - - Updated to make-live removal. - * helpers/lh_binary_chroot: - - Exit earlier when rootfs was cached. - * helpers/lh_binary_debian-installer, lh_binary_includes: - - Fixed some bashisms. - * helpers/lh_binary_grub, lh_binary_syslinux, lh_binary_yaboot: - - Workaround from matth over /bin/echo to avoid wrong expansion - of entries when using dash (Closes: #431748). - * helpers/lh_chroot_hostname: - - Installing fake hostname, less intrusive approach for the build - system (Closes: #435699). - * helpers/lh_config: - - Added argument handling. - * helpers/lh_losetup: - - Simplified and corrected to make it actually work. - * helpers/lh_source: - - Not using 'echo -e' anymore. - * helpers/make-live: - - Replaced with a dummy: make-live is deprecated now, use lh_config - and lh_build instead. - -2007-08-03 Daniel Baumann - - * helpers/lh_chroot_apt: - - Updated configuration of recommends handling for apt. - -2007-07-29 Daniel Baumann - - * functions/packages.sh: - - Using dpkg-query to check for packages when building in chroot, - and on systems where dpkg-query is available. - * functions/stagefile.sh: - - Added missing NAME. - * Uploaded 1.0~a21-1. - -2007-07-28 Daniel Baumann - - * functions/chroot.sh: - - Added XORG_CONFIG="custom" to chroot call in order to disable - xserver-xorg.postinst (Closes: #430566). - * helpers/lh_binary_usb-hdd: - - Fixes for binary non-chroot build. - -2007-07-27 Daniel Baumann - - * Makefile, debian/postinst, prerm: - - Added alternatives handling for includes and templates. - * examples/hooks/*: - - Cleaned up. - * helpers/lh_chroot_preseed: - - Process flavour specific preseeds, if available, dropping - LIVE_PRESEED. - * helpers/lh_chroot_local-preseed: - - Added. - * templates/syslinux: - - Added installer specific templates. - - Renamebled additional boot targets (localboot). - * Uploaded 1.0~a20-1. - -2007-07-24 Mathieu Geli - - * helpers/make-live: - - synced usage message and getopts parsing (Closes and extends - #434481). - -2007-07-19 Daniel Baumann - - * functions/defaults.sh, package.sh, helpers/lh_config, lh_binary_*: - - Added support for non-chrooted build. - - Added caching of deb packages on this stage too. - * helpers/lh_binary_grub: - - Added forgotten destdir for default entries. - * helpers/lh_binary_memtest: - - Added workaround for grub inside chroot when installing memtest as - suggested by Vladimir Stavrinov . - * helpers/lh_binary_rootfs: - - Updated squashfs-tools package check. - * helpers/lh_binary_syslinux: - - Using etch workaround for long filenames in syslinux on all - distributions. - * Uploaded 1.0~a19-1. - -2007-07-15 Daniel Baumann - - * examples/cron/manpages.sh, examples/hooks/win32-loader.sh: - - Added. - -2007-07-15 Otavio Salvador - - * functions/templates.sh: - - Changed whole code to export TEMPLATES for the item beeing - checked. - * helpers/lh_binary_grub, helpers/lh_binary_syslinux, - helpers/lh_binary_yaboot: - - Changed code to use the new TEMPLATES variable and avoid - hardcoding the path. - -2007-07-14 Daniel Baumann - - * helpers/lh_binary_debian-installer: - - Addded 'live' mode. - - Fixed a minor typo. - * helpers/lh_binary_includes: - - Moved copying of parameters.txt to lh_binary_linux-image. - - Moved parameters.txt.* to live-initramfs and data/casper. - -2007-07-12 Daniel Baumann - - * helpers/lh_binary_grub, lh_binary_syslinux: - - Also respect local menu.lst and syslinux.cfg. - * helpers/lh_binary_syslinux: - - Cleaned up netboot specific parts as suggested by - Vladimir Stavrinov . - * helpers/lh_binary_linux-image: - - Skip vmlinuz/initrd symlinks. - * helpers/lh_chroot_hacks: - - Setting correct permissions user home directory in case of includes. - * helpers/make-live: - - Fixed typo in variable name. - * lists/rescue: - - Added aide and tripwire. - * Uploaded 1.0~a18-1. - -2007-07-09 Chris Lamb - - * functions/chroot.sh, functions/defaults.sh: - - Altered LH_DEBCONF_NOWARNINGS so that it accepts "enabled/disabled" - as well as "yes/no" for consistency. - -2007-07-09 Daniel Baumann - - * functions/architecture.sh, helpers/lh_binary_debian-installer, - lh_binary_grub, lh_binary_linux-image, lh_binary_memtest, - lh_binary_syslinux, lh_binary_yaboot: - - Simplified multi-arch checks/overrides. - * helpers/lh_binary_grub, lh_binary_syslinux, lh_binary_yaboot: - - Added priority=critical for auto/autogui boot labels. - -2007-07-07 Daniel Baumann - - * helpers/lh_binary_chroot: - - Going back to full copy instead of hardlinks. - * helpers/lh_binary_debian-installer: - - Added architectures for daily images. - * helpers/lh_binary_grub: - - Refactored. - * helpers/lh_binary_grub, lh_binary_syslinux, lh_binary_yaboot: - - Added 'quiet' for everything newer than etch. - * helpers/lh_binary_hacks: - - Merged into lh_binary_includes. - * helpers/lh_chroot_hacks: - - Added removal of some build-system influenced files. - - Cleaned up a bit. - * helpers/lh_chroot_localization: - - Fixed typo. - - Added k3b and gwenview. - * helpers/lh_chroot_sysvrc: - - Renamed to lh_chroot_sysv-rc. - * hooks/mini, minimal: - - Using apt-get autoremove. - * lists/devel-live: - - Added. - -2007-07-06 Otavio Salvador - - * helpers/lh_binary_rootfs: - - Fix parameters to allow the removal of kernels inside of - squashfs. - -2007-07-05 Otavio Salvador - - * helpers/lh_binary_rootfs: - - Fix inverted logic error to detect when exclude the kernel - from the squashfs image. - -2007-07-04 Otavio Salvador - - * helpers/lh_binary_hacks: - - Do not fail if binary/parameters.txt.${LH_INITRAMFS} doesn't - exists. - * hooks/mini, hooks/minimal: - - Do not fail if the package isn't installed. - -2007-07-04 Daniel Baumann - - * functions/defaults.sh: - - Added architecture handling to mirror defaults. - * helpers/lh_binary_hacks, - includes/includes/sid/live/parameters.txt.casper, - parameters.txt.live-initramfs: - - Added. - -2007-07-02 Otavio Salvador - - * helpers/lh_binary_syslinux: - - Fix paths for kernel and initrd image loading. - -2007-07-02 Daniel Baumann - - * helpers/lh_binary_grub: - - Also respect splash.xpm and not just splash.xpm.gz as local grub - splash images. - -2007-07-01 Daniel Baumann - - * helpers/lh_binary_debian-installer: - - Added caching of udebs. - * functions/defaults.sh, helpers/lh_binary_grub, lh_binary_syslinux, - lh_binary_grub, lh_config: - - Added support for aufs. - * Uploaded 1.0~a17-1. - -2007-06-30 Daniel Baumann - - * functions/releases.sh, helpers/lh_binary_disk, lh_source_disk, - lh_chroot_hostname: - - Added. - -2007-06-29 Daniel Baumann - - * helpers/lh_binary_syslinux: - - Fixed damaged memtest entry. - - Corrected code style. - - Added NUMBER initaliazation to fixed wrong numbering when in compat - mode. - - Fixed bug with isolinux.cfg fuckup if flavours are in this order: - 686 686-bigmem. - * helpers/lh_binary_grub, lh_binary_linux-image, lh_binary_memtest, - lh_binary_syslinux: - - Added compat mode for casper/live directories. - * helpers/lh_binary_manifest, lh_binary_md5sum, lh_source_mdsum: - - Added introductional text to the generated file. - * helpers/lh_binary_manifest: - - Only create the correct manifest file for the respective initramfs. - * helpers/lh_binary_disk, lh_source_disk: - - Added. - -2007-06-27 Otavio Salvador - - * helpers/lh_binary_syslinux: - - Added new methods (syslinux_live_entry and syslinux_di_entry) and - change whole code to use them making it much easier to read and - modify. - * functions/arch.sh: - - Added. - * helpers/lh_binary_grub, lh_binary_syslinux, lh_binary_yaboot: - - Use the new Check_architecture method to avoid duplicated code. - * functions/templates.sh: - - Added. - * helpers/lh_binary_grub, helpers/lh_binary_syslinux, - helpers/lh_binary_yaboot: - - Use the new Check_templates method to avoid duplicated code. - -2007-06-25 Daniel Baumann - - * helpers/lh_binary_local-hooks: - - Added. - * helpers/lh_chroot_linux-image: - - Caching downloaded packages. - * examples/hooks/qemu-launcher.sh: - - Added. - * Uploaded 1.0~a16-1. - -2007-06-18 Chris Lamb - - * helpers/lh_chroot_packageslists, lh_chroot_local-packageslists: - - Added support for '#' pragma to include other list files. - * functions/packagelists.sh: - - Added. - * lists/*: - - Translated existing lists to be include-based, added a few missing - lists. - -2007-06-18 Daniel Baumann - - * helpers/*: - - All cache operations use hardlinks now. - -2007-06-16 Daniel Baumann - - * helpers/lh_bootstrap_clone, lh_bootstrap_copy: - - Added. - * helpers/lh_binary_live-installer: - - Added. - * Uploaded 1.0~a15-1. - -2007-06-10 Daniel Baumann - - * helpers/*: - - Excluding lenny from the syslinux workarounds as syslinux 3.36 did - migrate into testing. - * helpers/lh_bootstrap_cache, lh_chroot_cache: - - Fixed typos which made caching fail on rebuilds. - * helpers/lh_clean: - - Added unmount of binfmt on clean. - * helpers/lh_binary_usb-hdd: - - Including script to write grub to the loop device from Thomas Lange - . - -2007-06-10 Daniel Baumann - - * helpers/lh_binary_grub, lh_binary_rootfs, lh_binary_yaboot, - lh_binary_syslinux: - - Fixed some typos as found by Peter Holik . - * manpages/live-helper.en.7: - - Fixed typo. - * helpers/lh_bootstrap_cache, lh_chroot_cache: - - Added. - * Uploaded 1.0~a14-1. - -2007-06-08 Daniel Baumann - - * helpers/make-live: - - Adjusted reading of configuration to match the previously renamed - files. - -2007-06-04 Daniel Baumann - - * helpers/lh_binary_hdd, lh_source_hdd: - - Renamed to lh_binary_tar and lh_source_tar. - * helpers/lh_source_generic: - - Removed. - -2007-06-03 Daniel Baumann - - * Uploaded 1.0~a13-1. - -2007-06-02 Otavio Salvador - - * helpers/lh_chroot_preseed: - - Use {Check,Install,Remove}_package to handle debconf dependency. - * Add support to specify the apt/aptitude pipeline depth. - -2007-06-02 Daniel Baumann - - * Applied patches from Otavio Salvador : - - Add support to override helpers base directory - - Use LIVE_BOOTSTRAP_CONFIG instead of LIVE_DISTRIBUTION_CONFIG. - - Add support to specify the keyring to be used while bootstraping. - - Add lh_chroot_preseed helper. - -2007-05-28 Daniel Baumann - - * helpers/*: - - Added initial P: messages. - - Removed some bashisms. - - Added some of the proposed cleanups from Trent Buck - . - * lists/mini, minimal: - - Removed, already pulled in with live-initramfs depends. - -2007-05-27 Daniel Baumann - - * helpers/lh_binary_rootfs: - - Added check for config/binary_rootfs/squashfs.sort for passing a - sorting list to mksquashfs. - -2007-05-26 Daniel Baumann - - * lists/rescue: - - Updated with suggestions from Inigo Tejedor Arrondo - - * Uploaded 1.0~a12-1. - -2007-05-25 Daniel Baumann - - * functions/defaults.sh: - - Updated check for LH_BOOTSTRAP on ubuntu. - * helpers/lh_binary_iso, lh_source_iso: - - Added configuration support for ISO application, preparer and - publisher field. - -2007-05-24 Daniel Baumann - - * helpers/lh_binary_syslinux: - - Added dedicated directory handling for syslinux (>= 3.36) on usb. - * helpers/lh_binary_debian-installer, lh_binary_linux-image, - lh_binary_memtest, lh_binary_syslinux: - - Added legacy support for syslinux (<< 3.36). - * Uploaded 1.0~a11-1. - -2007-05-18 Daniel Baumann - - * helpers/*: - - Renamed LIVE_KERNEL_FLAVOUR to LIVE_LINUX_FLAVOURS. - - Renamed LIVE_KERNEL_PACKAGES to LIVE_LINUX_PACKAGES. - - Renamed LIVE_BINARY_IMAGE to LIVE_BINARY_IMAGES. - - Renamed LIVE_SOURCE_IMAGE to LIVE_SOURCE_IMAGES. - - Renamed LIVE_FILESYSTEM to LIVE_CHROOT_FILESYSTEM. - - Renamed LIVE_SERVER_ADDRESS to LIVE_NET_SERVER. - - Renamed LIVE_SERVER_PATH to LIVE_NET_PATH. - * Uploaded 1.0~a10-1. - -2007-05-18 Mathieu Geli - - * examples/hooks/* - - Added new hooks for non-free/contrib drivers - Intel : ipw3945, ipw2100, ipw2200 - Nvidia : nvidia-legacy - Ralink : rt2x00, rt2570 - - Changed behavior of beryl hook: autostart beryl - if video driver allows it (minimal detection based on glxinfo) - -2007-05-17 Daniel Baumann - - * helpers/lh_binary_md5sum, lh_source,md5sum: - - Fixed accidentally inclusion of md5sum.txt itself into - binary/md5sum.txt. - -2007-05-16 Daniel Baumann - - * helpers/*: - - Added check for local includes and templates. - - Renamed LH_APT_GENERIC to LIVE_BINARY_INDICES. - - Renamed lh_binary_localincludes to lh_binary_local-includes. - - Renamed lh_chroot_localhooks to lh_chroot_local-hooks. - - Renamed lh_chroot_localincludes to lh_chroot_local-includes. - - Renamed lh_chroot_localpackages to lh_chroot_local-packages. - - Renamed lh_chroot_localpackageslists to - lh_chroot_local-packageslists. - - Renamed lh_source_download to lh_source_debian. - - Renamed lh_source_config to lh_source_debian-live. - -2007-05-09 Daniel Baumann - - * helpers/*: - - Renamed LH_MIRROR*_BUILD to LH_MIRROR*_BOOTSTRAP. - - Renamed LH_MIRROR*_IMAGE to LH_MIRROR*_BINARY. - * helpers/lh_chroot_sources: - - Added aptitude overwrite for untrusted sources. - - Changed checks for *.build/*.image to *.bootstrap/*.binary. - -2007-05-08 Daniel Baumann - - * helpers/*: - - Renamed lh_binary_linuximage to lh_binary_linux-image. - - Renamed lh_chroot_linuximage to lh_chroot_linux-image. - * helpers/lh_bootstrap_cdebootstrap, lh_bootstrap_debootstrap: - - Added missing cache directory when only caching stages. - * helpers/lh_binary_debian-installer, lh_binary_linux-image, - lh_binary_memtest: - - Changed kernel installation directories. - -2007-05-07 Daniel Baumann - - * examples/snapshot-build.sh, live-snapshot.sources.list: - - Added. - * helpers/lh_binary_rootfs: - - Fixed wrong order of squashfs options. - -2007-05-06 Daniel Baumann - - * templates/syslinux: - - Updated again. - * helpers/lh_config: - - Fixed overwriting of LH_* options. - * helpers/lh_binary_includes: - - Fixed a quoting typo. - - Working arround symlinks on usb-hdd binary images. - * Uploaded 1.0~a9-1. - -2007-04-31 Daniel Baumann - - * helpers/*: - - Added LH_INITRAMFS. - - Splitted config/image into config/binary and config/source. - * Uploaded 1.0~a8-1. - -2007-04-26 Daniel Baumann - - * helpers/*: - - Implemented paranoid caching with LIVE_CACHE_INDICES, - LIVE_CACHE_PACKAGES and LIVE_CACHE_STAGES. This allows to build - images offline from the cache. - -2007-04-25 Daniel Baumann - - * helpers/lh_binary_usb, lh_source_usb: - - In preparation of adding support for usb-zip images, the usb binary - type is renamed to usb-hdd. - -2007-04-24 Daniel Baumann - - * functions/stagefile.sh: - - Requite_stagefile can require more than one stage. - * helpers/lh_binary_debian-installer: - - Added. - -2007-04-23 Daniel Baumann - - * helpers/lh_binary_includes, lh_binary_usb, lh_source_usb: - - Added workaround for vfat limitations. - -2007-04-23 Daniel Baumann - - * Makefile: - - Added simple test rule. - * functions/*, helpers/*: - - Added LH_ROOT_COMMAND to support sudo. - * functions/package.sh: - - Added. Helper dependencies in-chroot can now be handled by - functions. - * helpers/make-live: - - Added trap to unmount proc and sys on exit and failure. - * Uploaded 1.0~a7-1. - -2007-04-22 Daniel Baumann - - * functions/defaults.sh: - - In ubuntu mode, setting default sections to main restricted. - * helpers/lh_binary_grub: - - Making copy call of grub arch independent. - * helpers/lh_chroot_sources: - - In debian mode, checking for non-sid rather than if-etch. - - Fixed wrong Ubuntu security URL. - -2007-04-20 Daniel Baumann - - * helpers/lh_binary_rootfs, lh_binary_iso: - - Added mksquashfs/genisoimage quiet/verbose options. - -2007-04-19 Daniel Baumann - - * helpers/lh_binary_grub, lh_binary_syslinux: - - Added check for splash in config directory. - -2007-04-18 Daniel Baumann - - * debian/cron.daily, default: - - Added. - * doc/BUGS, DOWNLOAD: - - Added. - * examples/edu.sources.list, fai.sources.list: - - Added. - * manpages/*: - - Added language suffix. - - Added German translations. - -2007-04-17 Daniel Baumann - - * helpers/lh_chroot_hooks: - - Also check for tasks specific hooks, not just for package lists. - * helpers/lh_chroot_tasks: - - Allowing to use either aptitude or tasksel. - * hooks/kde-desktop: - - Added. - * manpages/lh_build.1, lh_source.1: - - Added. - -2007-04-16 Daniel Baumann - - * functions/defaults.sh: - - Using lsb_release, if existing, to set default mode to ubuntu on - ubuntu systems. - - Moved desktop task to the end, so that gdm doesn't take - gnome-session as default. - * helpers/lh_chroot_hooks: - - Added simple --hooks for easy testing. - * Uploaded 1.0~a6-1. - -2007-04-15 Daniel Baumann - - * functions/defaults.sh: - - Set LH_APT to apt-get when using mini or minimal. - * helpers/lh_chroot_sources: - - Excluding comments from local sources lists. - * helpers/lh_bootstrap_cdebootstrap: - - Removing imported configuration files by cdebootstrap. - -2007-04-13 Daniel Baumann - - * Moved examples from /usr/share/doc to /usr/share/live-helper. - * examples/bpo.sources.list: - - Added. - * functions/defaults.sh: - - Setting LH_GENISOIMAGE on ubuntu to legacy mkisofs. - * helpers/lh_clean: - - Added missing removal of generic source. - -2007-04-12 Daniel Baumann - - * helpers/lh_config, make-live: - - Adding --config. - * helpers/lh_binary_memtester86: - - Renamed to lh_binary_memtest, made more generic. - * functions/defaults.sh: - - Setting default distribution to etch until 2.6.20 has setteled in - unstable. - -2007-04-11 Daniel Baumann - - * Merging from sidux fllbuilder 1.0.4: - - functions/chroot: Added LH_DEBCONF_NOWARNINGS. - - helpers/lh_chroot_linuximage: Added additional options to - kernel-img.conf. - - helpers/lh_chroot_proc: Made binfmt umount conditional. - * contrib/grub-splash/*, templates/grub/splash.xpm.gz: - - Added. - * helpers/lh_binary_grub, lh_binary_syslinux: - - Added failsafe kernel entries. - * helpers/lh_chroot_apt: - - Using apt.conf.d also for apt, not just for aptitude. - - Minor code cleanup. - * helpers/lh_source_*: - - Minor code cleanup. - * helpers/lh_source_download: - - Added LIVE_BOOTLOADER to the list of source packages. - * contrib/grub-splash/*, templates/grub/splash.xpm.gz: - - Added. - -2007-04-10 Daniel Baumann - - * helpers/lh_binary_includes, includes/*: - - Redone. - -2007-04-09 Daniel Baumann - - * helpers/lh_binary_yaboot, templates/yaboot: - - Added. - -2007-04-09 Daniel Baumann - - * helpers/lh_config, make-live, functions/defaults.sh: - - Added mode to distinguish between Debian and Ubuntu. - * helpers/lh_chroot_sources: - - Added check for LIVE_MIRROR_BUILD* to be equal to - LIVE_MIRROR_IMAGE*. - * Uploaded 1.0~a5-1. - -2007-04-08 Daniel Baumann - - * helpers/lh_binary_net: - - Added check for namespace collision with LIVE_SERVER_PATH. - * helpers/lh_binary_grub: - - Added functionality for usb|hdd images. - -2007-04-07 Daniel Baumann - - * helpers/lh_chroot_sources: - - Moved check for local source lists from - config/sources.lists.{build,image} to - config/chroot_sources/*.{build,image}. - - Added check for local gpg keys in - config/chroot_sources/*.{build,image}.gpg. - - Added check for local keyring packages in - config/chroot_sources/*.deb. - - Added LIVE_KEYRING_PACKAGES. - -2007-04-06 Daniel Baumann - - * functions/breakpoints.sh, helpers/*: - - Added initial breakpoints. - * functions/chroot.sh: - - Adding /usr/local to path. - * functions/lockfile.sh: - - Added additional signals to the trap. - * helpers/lh_binary_includes: - - Respect LIVE_INCLUDES=none. - * manpages/*: - - Updated. - -2007-04-05 Daniel Baumann - - * helpers/lh_binary_grub, templates/grub/menu.lst: - - Added splash functionality. - * Uploaded 1.0~a4-1. - -2007-04-03 Daniel Baumann - - * helpers/lh_binary_grub, lh_binary_grub: - - Added check for LIVE_TEMPLATES to be existing. - * helpers/lh_binary_includes: - - Added check for LIVE_INCLUDES to be existing. - -2007-04-02 Daniel Baumann - - * functions/*, helpers/*: - - Merged LIVE_SYSLINUX and LIVE_GRUB into LIVE_BOOTLOADER. - * helpers/lh_binary_iso: - - Added exclude for the bootloader from the iso image content. - -2007-04-01 Daniel Baumann - - * helper/lh_binary_grub: - - Added. - -2007-03-30 Daniel Baumann - - * helper/lh_chroot_localincludes: - - Fixed wrong path for hook removal. - -2007-03-29 Daniel Baumann - - * functions/common.sh, echo.sh: - - Added. - * doc/README, helpers/lh_source, manpages/lh_binary.1, live-helper.7: - - Added forgotten helpers. - * doc/FAQ: - - Added. - * lists/mini, minimal: - - Added --yes to apt call to make them non-interactive. - * manpages/lh_chroot.1: - - Added. - -2007-03-28 Daniel Baumann - - * helpers/lh_bootstrap_cdebootstrap, lh_bootstrap_debootstrap: - - Added --debug, --quiet, and --verbose. - -2007-03-27 Daniel Baumann - - * helpers/lh_binary_linuximage, lh_binary_memtest86: - - Added missing Read_conffiles to fix foreign architecture builds. - -2007-03-26 Daniel Baumann - - * helpers/lh_bootstrap_cdebootstrap, lh_bootstrap_debootstrap, - lh_clean: - - Added routine to cache bootstrapped chroot as suggested by Kai - Hendry . - * helpers/lh_chroot_rootfs: - - Fixed typo in net type. - * lists/gnome*, kde*, standard-x11, xfce*: - - Added menu. - -2007-03-26 Daniel Baumann - - * functions/defaults.sh: - - Fixed handling of desktop list variable loop. - * Uploaded 1.0~a3-1. - -2007-03-25 Daniel Baumann - - * functions/*, helpers/*: - - Renamed LIVE_FLAVOUR to LIVE_BOOTSTRAP_FLAVOUR. - - Renamed LIVE_PACKAGES_LIST to LIVE_PACKAGES_LISTS. - * functions/cache.sh: - - Added. - * helpers/lh_bootstrap_cdebootstrap: - - Added removal of cdebootstrap-helper-diverts. - * helpers/lh_binary_chroot: - - Added. - * helpers/lh_binary_rootfs: - - Moved filesystem routines into chroot. - * helpers/lh_chroot_localization, lh_chroot_localpackages, - lh_chroot_localpackageslists, lh_chroot_packages, - lh_chroot_packageslists, lh_chroot_tasks: - - Added check for LH_CACHE. - * helpers/lh_chroot_apt: - - Removing old apt.conf if existing as suggested by Ben Armstrong - . - * helpers/lh_chroot_hacks: - - Added check for already installed smbfs. - - Added check for already configured initramfs.conf as suggested by - Ben Armstrong . - * helpers/lh_chroot_interactive: - - Added. - * helpers/lh_chroot_tasks: - - Added routine for LH_APT=apt. - * lists/minimal-net: - - Minimized. - -2007-03-24 Daniel Baumann - - * functions/*, helpers/*, hooks/*: - - Added GPL blurb. - * functions/arguments.sh, helpers/*: - - Added common arguments. - * functions/arguments.sh, stagefile.sh, helpers/*, - manpages/live-helper.7: - - Added --force option. - * functions/defaults.sh, helpers/lh_binary_syslinux, lh_config, - make-live: - - Added LIVE_USERNAME and LIVE_HOSTNAME. - * helpers/lh_binary_linuximage, lh_binary_memtest86, - lh_binary_syslinux: - - Moved kernel directory to live. - * helpers/lh_clean: - - Added purge. - -2007-03-23 Daniel Baumann - - * helpers/make-live: - - Calling Arguments twice to catch case with non-default root. - -2007-03-22 Daniel Baumann - - * functions/default.sh, helpers/*: - - Renamed lh_chroot_packageslist to lh_chroot_packageslists and - lh_chroot_localpackageslist to lh_chroot_localpackageslists - * helpers/lh_binary_includes: - - Using LIVE_INCLUDES now. - * helpers/lh_chroot_apt: - - Added LH_APT_SECURE. - * helpers/lh_chroot_linuximage: - - Added check for LIVE_KERNEL_PACKGES=none to allow kernel packages as - local packages. - -2007-03-21 Daniel Baumann - - * helpers/lh_binary_hdd, lh_binary_iso, lh_binary_net, lh_binary_usb: - - Checking earlier if there is something todo. - * helpers/lh_binary_linuximage, lh_binary_syslinux, - lh_chroot_linuximage, templates/syslinux/isolinux.cfg: - - Extended to support multiple kernels at once. - * helpers/lh_binary_includes, lh_binary_localincludes, - lh_chroot_localincludes: - - Replaced path with variable as suggested Kai Hendry . - * helpers/lh_source_md5sum: - - Added. - * helpers/make-live: - - Added short options in ARGUMENTS. - * functions/defaults.sh, helpers/*: - - Renamed LIVE_KERNEL to LIVE_KERNEL_FLAVOUR. - - Renamed LIVE_MIRROR_LOCAL to LIVE_MIRROR_BUILD and - LIVE_MIRROR_GENERIC to LIVE_MIRROR_IMAGE. - -2007-03-20 Daniel Baumann - - * helpers/make-live: - - Fixed typo in ARGUMENTS. - -2007-03-19 Daniel Baumann - - * lists/gnome*, kde*, standard-x11, xfce*: - - Added alsa-base, alsa-oss, alsa-utils, and discover. - -2007-03-19 Daniel Baumann - - * Uploaded 1.0~a2-1. - -2007-03-18 Daniel Baumann - - * functions/defaults.sh: - - Quoted date call in LIVE_ISO_VOLUME. - * manpages/lh_clean.1: - - Added. - -2007-03-17 Daniel Baumann - - * functions/defaults.sh, helpers/*: - - Renamed LIVE_MIRROR to LIVE_MIRROR_LOCAL and LIVE_MIRROR_SECURITY - to LIVE_MIRROR_LOCAL_SECURITY. - * doc/examples/beryl-hook.sh: - - Added, submitted by Inigo Tejedor Arrondo . - * helpers/lh_config, make-live: - - Added check for newconfig to prevent overwriting of non-specified - options to default values. - * helpers/lh_chroot_localhooks: - - Added basename where needed. - * helpers/lh_chroot_sources: - - Added check for local sources.list in config for custom - repositories. - - Replaced security check for etch with check for not-unstable. - * manpages/lh_binary.1, lh_bootstrap.1, lh_bootstrap_cdebootstrap.1, - lh_bootstrap_debootstrap.1, lh_testroot.1: - - Added. - * templates/syslinux/pxlinux.cfg: - - Fixed path. - -2007-03-16 Daniel Baumann - - * helpers/lh_binary_usb: Corrected stagefile creation. - -2007-03-15 Daniel Baumann - - * Makefile: - - Replaced helper uninstall routine with a less intrusive one. - * doc/NEWS: - - Updated. - * functions/conffile.sh: - - Beautified. - * functions/defaults.sh: - - Added LH_LOSETUP. - * functions/lockfile.sh: - - Beautified. - * helpers/*: - - Allowing apt-get, not just apt in LH_APT. - * helpers/lh_config: - - Added check for existing configuration. - * helpers/lh_binary_md5sum: - - Removed legacy code. - * helpers/lh_binary_manifest: - - Added creation of packages.txt. - * helpers/lh_binary_usb, lh_source_usb: - - Replaced loop device node workaround with a better one. - * helpers/lh_chroot_hooks, lh_chroot_localhooks: - - Fixed executable check. - * helpers/lh_source_config: - - Added. - * helpers/lh_source_download: - - Separeted debian sources and debian-live configuration into - different directories. - - Added live-helper to the sources. - * helpers/lh_source_generic, lh_source_iso, lh_source_usb, - lh_source_net: - - Removed annyoing warning when sources are disabled. - * helpers/lh_source_net: - - Beautified. - * helpers/make-live: - - Fixed typo in ARGUMENTS. - - Moved help, usage, version into functions. - - Removed build pre-option. - * manpages/live-helper.7: - - Added. - * templates/syslinux/f10.txt: - - Added note about Debian Live project. - -2007-03-14 Daniel Baumann - - * functions/defaults.sh, helpers/*: - - Converted LIVE_ROOT to directory, not full path. - * functions/*, helpers/*: - - Replaced LIVE_CHROOT with directory name. - * functions/conffile.sh: - - Added warning if CONFFILE is not readable. - * helpers/lh_chroot_localization: - - Completed check for koffice. - * helpers/lh_source_download: - - Fixed typo in old source removal. - -2007-03-14 Daniel Baumann - - * helpers/lh_chroot_hacks: - - Added removal of udev persistent-net rule. - * Uploaded 1.0~a1-3. - -2007-03-14 Daniel Baumann - - * functions/defaults.sh: - - Fixed setting of LIVE_SYSVINIT. - * helpers/lh_chroot_sysvinit: - - Changed check for LIVE_SYSVINIT from disabled to enabled. - * Uploaded 1.0~a1-2. - -2007-03-12 Daniel Baumann - - * Rewritten live-package. - * Uploaded 1.0~a1-1. diff --git a/docs/ChangeLog.live-package b/docs/ChangeLog.live-package deleted file mode 100644 index 03dba64..0000000 --- a/docs/ChangeLog.live-package +++ /dev/null @@ -1,474 +0,0 @@ -2007-03-10 Daniel Baumann - - * Added knoppix and knoppix-dvd package lists. - -2007-03-09 Daniel Baumann - - * Getting free loopdevice from inside the chroot, not outside. - -2007-03-09 Daniel Baumann - - * Added kbd to all !minimal lists. - * Uploaded 0.99.25. - -2007-03-08 Otavio Salvador - - * helpers/lh_configapt: Fix aptitude configuration to really avoid - recommended packages to get installed. - * src/scripts/02defaults.sh: Export LIVE_ISOLINUX_SPLASH. - -2007-03-04 Daniel Baumann - - * Replaced removal of kernel on minimal flavours with excludes on the - mksquashfs call. - * Added LIVE_INCLUDE_CHROOT to the manual exported variables as reported - by Mathieu Geli . - * Exported CODENAME_* manually as reported by Cédric Lucantis - . - * Fixed typo s/aptiude/aptitude/ as reported by Kai Hendry - . - * Uploaded 0.99.24. - -2007-02-22 Daniel Baumann - - * Added xresprobe to all x11 lists. - -2007-02-22 Daniel Baumann - - * Applied patches from Otavio Salvador : - - add and cleanup variable exporting in defaults. - - add LIVE_BOOTSTRAP_CONFIG to lh_debootstrap. - * Uploaded 0.99.23. - -2007-02-21 Daniel Baumann - - * Added gnome-junior, kde-junior and xfce-junior lists. - * Uploaded 0.99.22. - -2007-02-19 Daniel Baumann - - * Fixed manifest. - -2007-02-15 Daniel Baumann - - * Applied patch from Sebastian Raveau to - add support for filesystem images encrypted with loop-aes. - -2007-02-13 Daniel Baumann - - * Broken out scripts into modularized lh_* subscripts. - -2007-02-12 Daniel Baumann - - * Added some code as suggested by Alex Owen to - check if the depends (syslinux, memtest etc.) are intentionally - installed in the chroot, and hence, don't remove them. - * Moved some depends into the chroot. - * Uploaded 0.99.21. - -2007-02-11 Daniel Baumann - - * Added mini flavour. - -2007-02-10 Daniel Baumann - - * Added legacy code for genisoimage. - * Uploaded 0.99.20. - -2007-02-09 Daniel Baumann - - * Added usb type. - -2007-02-08 Daniel Baumann - - * Added desktop task to the *-desktop flavours. - -2007-02-07 Daniel Baumann - - * Extended cron job a bit. - * Fixed manual pruning in minimal flavour as suggested by Bas Wijnen - - -2007-02-02 Daniel Baumann - - * Added "--without-daemons". - -2007-02-01 Daniel Baumann - - * Added "--tasks". - * Added desktop-base to all desktop package lists. - -2007-01-31 Daniel Baumann - - * Changed vars in autobuilding script to be able to source - make-live.conf. - * Uploaded 0.99.19. - -2007-01-30 Daniel Baumann - - * Added cron job for autobuilding images. - -2007-01-25 Daniel Baumann - - * Added additional pruning to minimal flavour. - * Using interactive frontend while processing --hook. - * Uploaded 0.99.18. - -2007-01-24 Daniel Baumann - - * Applied patches from Otavio Salvador : - - adding "--keyring" flag. - - adding LIVE_DISK_VOLUME. - - adding start-stop-daemon wrapper to avoid daemons to be started. - - adding workaround to prevent binfmt locking /proc. - - adding LIVE_ISOLINUX_SPLASH. - * Uploaded 0.99.17. - -2007-01-19 Daniel Baumann - - * Replacing mkisofs with genisoimage. - -2007-01-18 Daniel Baumann - - * Cleanups. - * Uploaded 0.99.16. - -2007-01-16 Daniel Baumann - - * Switched default distribution back to unstable, as unstable is usable - again from the kernel point of view. - * Added file to the minimal package list. - * Uploaded 0.99.15. - -2007-01-04 Daniel Baumann - - * Added workaround for new xorg packages by including - xserver-xorg-input-all and xserver-xorg-video-all in all X11 package - lists. See #405639 for more information. - * Added xdebconfigurator to all X11 package lists. - * Adding workaround for initrd backup files. - -2006-11-06 Daniel Baumann - - * Uploaded 0.99.14. - -2006-11-05 Daniel Baumann - - * Applied patch from Markus Bauer : - - fixing script sourcing to exclude files in .svn - -2006-11-03 Daniel Baumann - - * Fixed typo in the policy-rc.d hack. - -2006-11-02 Daniel Baumann - - * Using aptitude instead of apt-get. - * Added '--with-recommends' and '--without-recommends'. - -2006-11-01 Daniel Baumann - - * Fixed regression when using -d ${CODENAME} wrt/ kernel packages. - -2006-10-30 Daniel Baumann - - * Uploaded 0.99.13. - -2006-10-29 Daniel Baumann - - * Added minimal-net flavour. - -2006-10-28 Daniel Baumann - - * Added console-common to standard selection. - -2006-10-27 Daniel Baumann - - * Added patch from Otavio Salvador : - - fixing preseeding error-handling. - -2006-10-26 Daniel Baumann - - * Added gnustep package selection based on the suggestion of - Guerkan Senguen . - -2006-10-25 Daniel Baumann - - * Applied patch from Marcelo D. Re : - - skip deb-src source-list entries when building images with - --without-source. - * Applied patches from Otavio Salvador : - - adding '--bootstrap-config' to support cdebootstraps - '--suite-config'. - - allowing override of ${BASE}. - - adjust sourcing of scripts, so that only the real scripts are - sourced and not other (backup) files. - - allowing override of kernel-packages. - * Reverted mangling of LIVE_DISTRIBUTION for sources.list generation. - -2006-10-23 Daniel Baumann - - * Uploaded 0.99.12. - -2006-10-18 Daniel Baumann - - * Autodetecting proxy now. - -2006-10-16 Daniel Baumann - - * Readded and slightly changed --clone and --preseed. - * Uploaded 0.99.11. - -2006-10-09 Daniel Baumann - - * Cleanups. - * Uploaded 0.99.10. - -2006-10-02 Daniel Baumann - - * Uploaded 0.99.9. - -2006-10-01 Daniel Baumann - - * Added multiple repositories. - * Using LIVE_PROXY_* also for bootstraping. - -2006-09-27 Daniel Baumann - - * Changing manpage section. - -2006-09-26 Daniel Baumann - - * Added default flavour hooks. - * minimal flavour does not install debian-archive-keyring to save space. - * Adjusted network patch. - -2006-09-25 Daniel Baumann - - * Removed now unused initramfs-tools hack. - * Simplified xorg check based on distribution rather than version. - * Added fix from Bas Wijnen for space handling in - arguments. - * Fixed package list handling similar to the fix suggested by Alex Owen - . - * Uploaded 0.99.8. - -2006-09-24 Marco Amadori - - * 13hack.sh: initramfs-tools hack, check added for xorg. - -2006-09-18 Daniel Baumann - - * Uploaded 0.99.7. - -2006-09-15 Daniel Baumann - - * Added eject to minimal package selection. - -2006-09-14 Daniel Baumann - - * Adjustements for linux 2.6.17 testing propagation. - -2006-09-11 Daniel Baumann - - * Uploaded 0.99.6. - -2006-09-08 Marco Amadori - - * 23net.sh: Fixed binary missing directory creation. - * templates/iso: Moved common files to templates/common. - -2006-09-07 Daniel Baumann - - * Minor cleanups. - * Fixed dist target. - -2006-09-06 Marco Amadori - - * 14chroot.sh, main.sh: Added manifest support. - * 23net.sh: Added 2 variables for basenames to ease readability. - * main.sh, 02default.sh: Modified Usage() uses. - -2006-09-04 Daniel Baumann - - * Uploaded 0.99.5. - -2006-09-03 Daniel Baumann - - * Added dist parameter to easily pull images for live.debian.net. - * Added "--output" to specify the image name prefix. - * Exclude iso templates for minimal flavour. - -2006-09-02 Daniel Baumann - - * Added experimental as distribution. - * Added source image generation. - * Using dpkg instead of dpkg-architecture, removed dpkg-dev dependency. - -2006-08-31 Daniel Baumann - - * Added "--disable-generic-indices" and "--enable-generic-indices". - * Fixed i18n lists. - * Rewritten all lists, comments are now possible. - * Lists must be now explicitly given with --package-list, no longer as - last argument of the make-live call. - * Setting default sources.list while the image generation, restoring - customized ones afterwards. - -2006-08-30 Daniel Baumann - - * Cleanups: - - moved 14patch_packages.sh to 13hack.sh. - - simplified 13hack.sh. - -2006-08-29 Marco Amadori - - * pxelinux.cfg: Updated to right defaults, first cifs then nfs or - select your favorite way. Rationale: /dev/nfs is for kernel - discovering, not for initramfs discover, casper will be just fine - with "netboot". - * 13chroot.sh, 14patch_packages.sh: Added a simple system for patching - packages, mainly for xserver-xorg so far. - -2006-08-28 Daniel Baumann - - * Updated documentation. - * Added patch from Alex Owen to update - pxelinux.cfg for NFS root in casper. - * Uploaded 0.99.4. - -2006-08-27 Daniel Baumann - - * Cleanups. - -2006-08-27 Marco Amadori - - * Added sysv init blocking policy. - -2006-08-22 Daniel Baumann - - * Reorganised sources. - * Added staging support. - * Cleaned up parameter names. - * testing is now supported. - -2006-08-21 Daniel Baumann - - * Uploaded 0.99.3. - -2006-08-02 Marco Amadori - - * Rewrote netboot support. - * Added support for pure directory rootfs images. - -2006-07-31 Daniel Baumann - - * Uploaded 0.99.2. - -2006-07-28 Daniel Baumann - - * Added DEBIAN_FRONTEND to chroots(), now completely non-interactive. - * Fixed wrong chroot patch. - -2006-07-27 Marco Amadori - - * Changed amd64 kernel naming scheme. - -2006-07-24 Daniel Baumann - - * Uploaded 0.99.1. - -2006-07-19 Daniel Baumann - - * Bugfixes. - -2006-07-18 Daniel Baumann - - * Added iso templates. - -2006-07-17 Daniel Baumann - - * Added chroot to 01-patch.sh. - * Added "--logfile". - * Uploaded 0.99. - -2006-07-01 Daniel Baumann - - * Added "--flavour". - -2006-06-28 Daniel Baumann - - * Added "--debug" and "--verbose". - -2006-06-23 Daniel Baumann - - * Rewritten manpages. - -2006-06-19 Marco Amadori - - * Added "--templates" options. - * Fixed some typos. - -2006-06-15 Daniel Baumann - - * General fixes. - -2006-06-18 Marco Amadori - - * Added "-a|--architecture" and "-p|--package-list" options. - * Reworked how lists works. - -2006-06-15 Daniel Baumann - - * General cleanup. - -2006-06-14 Marco Amadori - - * Re-added "-f|--filesystem". - -2006-06-12 Marco Amadori - - * Added "--conffile", "--preseed", "--clone", and "--rootfs" options. - -2006-06-12 Daniel Baumann - - * Added new splash.rle. - * Added memtest86+. - * Added "--distribution", and "--section" options. - * Moved /etc/default/make-live to /etc/make-live.conf. - -2006-06-11 Marco Amadori - - * Added handling of md5sums. - -2006-06-09 Marco Amadori - - * Added splashy support. - * Added ext2 rootfs support. - * Added external hook and path support. - * Swiched to getopt. - -2006-06-02 Daniel Baumann - - * Added patch from Jason D. Clinton : - - Added netboot flavour. - - Thanks to SafeDesk Solutions . - -2006-06-01 Daniel Baumann - - * Moved syslinux inside the chroot. - -2006-05-31 Daniel Baumann - - * Added kde-*i18n and standard-i18n lists. - -2006-05-28 Daniel Baumann - - * Added patch from Frederic Lehobey : - - Added locales to LIVE_PACKAGES. - - Added LIVE_MIRROR_KEY, LIVE_REPOSITORY, LIVE_REPOSITORY_KEY, and - LIVE_BOOTAPPEND. - -2006-05-27 Daniel Baumann - - * Initial release. diff --git a/docs/ChangeLog.live-webhelper b/docs/ChangeLog.live-webhelper deleted file mode 100644 index b6e3df7..0000000 --- a/docs/ChangeLog.live-webhelper +++ /dev/null @@ -1,182 +0,0 @@ -commit 1f4cf146edbd72a2d61ac2e60324d392569c9f24 -Author: Daniel Baumann -Date: Wed Oct 14 13:35:25 2009 +0200 - - Updating vcs fields. - -commit d1ab019de29691407e3bde1af2ff5efe9a284380 -Author: Richard Nelson -Date: Wed May 27 09:42:55 2009 -0500 - - Update quoting on variables for safety. - -commit 601b25634d291706fc477342b712554a54c42016 -Author: Richard Nelson -Date: Sat Mar 14 22:19:41 2009 -0500 - - update copyright years - -commit fed4e5adfd49b339bec16b0338b73f9f90ca40ce -Author: Richard Nelson -Date: Sat Mar 14 21:47:27 2009 -0500 - - Set lenny as defualt build - -commit 083a14f46cc1298b33908991dea145cf4ec7415d -Author: Richard Nelson -Date: Sun Nov 30 16:41:15 2008 -0600 - - Bug fix on usb-hdd builds. - -commit 7742576d3a9b84807c6456007ad3bc0147ca3024 -Author: Richard Nelson -Date: Thu Nov 27 22:44:51 2008 -0600 - - Remove -x flag left on cron during debug operations. - -commit 6817dca69fd0c53578c1e14c9c5333d5be94419d -Author: Richard Nelson -Date: Thu Nov 27 22:42:58 2008 -0600 - - Update to start using more live-helper functions. - -commit 649fc3a0fac8eae1b8a239a9ba250e89f4b89dfd -Author: Richard Nelson -Date: Wed Nov 26 22:13:57 2008 -0600 - - Update Copyright (C) to 2007-2008 - -commit 5449c921111b2f300006cc41d7b6582270959a82 -Author: Daniel Baumann -Date: Fri Nov 7 18:08:01 2008 +0100 - - Replacing obsolete dh_clean -k with dh_prep. - -commit cd7a4a353ae652a45057da5726467e23401be52d -Author: Richard Nelson -Date: Tue Nov 4 18:40:06 2008 -0600 - - Bug fix on custom bootstrap and custom binary. - -commit fc227fc32f06ba8e5af8c9ebdcd147f98790b6ea -Author: Richard Nelson -Date: Thu Oct 2 17:24:37 2008 -0500 - - Bug fix in netboot server and path. - -commit 446a99439bfee38c89615e1e24bb4729b2223e9e -Author: Richard Nelson -Date: Mon Sep 8 21:39:37 2008 -0500 - - Include common functions from live-helper for code reuse. - -commit 359e51591318966e97128b00bff38c62d07c6827 -Author: Richard Nelson -Date: Mon Sep 8 21:35:52 2008 -0500 - - Added test for unmounting devpts-live. - -commit 3fdcc59654986d57f014b6c6721b2a3abde2f722 -Author: Richard Nelson -Date: Mon Sep 8 21:29:41 2008 -0500 - - Local variable prefix with _ on VAR i.e. _VAR - -commit 4bbf10e31754f290d3aa0e158a45d09316487544 -Author: Richard Nelson -Date: Mon Sep 8 16:12:22 2008 -0500 - - Local variable LH_ removal/cleanup. - -commit 472a6a0825656fbc16f4df6cb19bb16e1df8605f -Author: Richard Nelson -Date: Mon Sep 8 16:02:36 2008 -0500 - - Minor local variable confusion for LH_ prefix cleanup. - -commit df23442fca1c727dd43ca1ea464b277e3617cb0f -Author: Richard Nelson -Date: Mon Sep 8 15:59:08 2008 -0500 - - Upgrade variables to have the LH_ prefix for LH_* variable, to work with the current live-helper version. - -commit f00e0cb212e0c84268e099ca35ca386982e4d82b -Author: Daniel Baumann -Date: Sun Sep 7 21:57:51 2008 +0200 - - Removing currently unused Upstream-Depends field in control. - -commit 4c85494fa2907a54dd99eaf17816a4d403ddb5bc -Author: Daniel Baumann -Date: Sun Sep 7 21:57:41 2008 +0200 - - Updating vcs fields in control file. - -commit eaf87ebd9f828740430cc60d3e9f201d88c67c25 -Author: Daniel Baumann -Date: Thu Aug 28 23:40:35 2008 +0200 - - Setting project email address to the new debian-live@lists.debian.org. - -commit 6fbca8e14be271dc62988d5555bba9f453ddbaa7 -Author: Daniel Baumann -Date: Wed Apr 23 18:50:17 2008 +0200 - - Updating Richards email address. - -commit 25e1e7bc4f6a095aaf248a80aeaa3795f4a3e3a9 -Author: Daniel Baumann -Date: Tue Oct 30 11:04:42 2007 +0100 - - Correcting vcs fields. - -commit c49d9ff77bd5be73d5367fd567a9e39fccf78410 -Author: Daniel Baumann -Date: Wed Oct 3 09:11:29 2007 +0200 - - Fixing wrong homepage field. - -commit 8e01ba16a737d04a0367ecf1d4f3d7f80437fe97 -Author: Daniel Baumann -Date: Sun Sep 23 16:04:04 2007 +0200 - - Using new Homepage field now. - -commit 49ca83a4d57051b2b4b4b950178063c6df25e222 -Author: Daniel Baumann -Date: Sun Sep 23 16:04:04 2007 +0200 - - Adding Upstream-Depends field. - -commit 39a9d3e82c71451734f0d4ddb630b67c9d55541a -Author: Daniel Baumann -Date: Sun Sep 23 16:04:04 2007 +0200 - - Moving from svn to git. - -commit 7e823babbe815bdf520becbfd6f4ccec814aa7e2 -Author: Daniel Baumann -Date: Sun Sep 23 16:04:03 2007 +0200 - - Removing not uploaded versions. - -commit 46e8777246485a15fc6d5a202a361662f4e724b5 -Author: Daniel Baumann -Date: Sun Sep 23 16:03:52 2007 +0200 - - Adding live-webhelper trunk 20070911. - -2007-07-19 Daniel Baumann - - * Introducing build modes. - -2007-07-14 Daniel Baumann - - * scripts/cgi: - - Quick fix in EMAIL. - -2007-06-04 Daniel Baumann - - * templates/form.html: - - Set default source image to 'generic'. - * Starting live-webhelper. diff --git a/examples/gitignore b/examples/gitignore index dbf1c23..2f15679 100644 --- a/examples/gitignore +++ b/examples/gitignore @@ -5,6 +5,7 @@ binary*.contents binary*.packages binary*.zsync +live-image-* .build/ build.log @@ -13,12 +14,15 @@ chroot/ chroot.packages.* +chroot.files config/binary config/bootstrap config/chroot config/common config/source + +config/build source/ source*.iso diff --git a/examples/hooks/minimal.chroot b/examples/hooks/minimal.chroot deleted file mode 100755 index 5a9a8d6..0000000 --- a/examples/hooks/minimal.chroot +++ /dev/null @@ -1,33 +0,0 @@ -#!/bin/sh - -## live-build(7) - System Build Scripts -## Copyright (C) 2006-2013 Daniel Baumann -## -## This program comes with ABSOLUTELY NO WARRANTY; for details see COPYING. -## This is free software, and you are welcome to redistribute it -## under certain conditions; see COPYING for details. - - -set -e - -# Removing unused packages -for PACKAGE in apt-utils aptitude man-db manpages info wget -do - if ! apt-get remove --purge --yes "${PACKAGE}" - then - echo "WARNING: ${PACKAGE} isn't installed" - fi -done - -apt-get autoremove --yes || true - -# Removing unused files -find . -name *~ -print0 | xargs -0 rm -f - -rm -rf /var/cache/man/* - -# Truncating logs -for FILE in $(find /var/log/ -type f) -do - : > ${FILE} -done diff --git a/examples/hooks/minimal.hook.chroot b/examples/hooks/minimal.hook.chroot new file mode 100755 index 0000000..7192257 --- /dev/null +++ b/examples/hooks/minimal.hook.chroot @@ -0,0 +1,33 @@ +#!/bin/sh + +## live-build(7) - System Build Scripts +## Copyright (C) 2006-2014 Daniel Baumann +## +## This program comes with ABSOLUTELY NO WARRANTY; for details see COPYING. +## This is free software, and you are welcome to redistribute it +## under certain conditions; see COPYING for details. + + +set -e + +# Removing unused packages +for PACKAGE in apt-utils aptitude man-db manpages info wget +do + if ! apt-get remove --purge --yes "${PACKAGE}" + then + echo "WARNING: ${PACKAGE} isn't installed" + fi +done + +apt-get autoremove --yes || true + +# Removing unused files +find . -name *~ -print0 | xargs -0 rm -f + +rm -rf /var/cache/man/* + +# Truncating logs +for FILE in $(find /var/log/ -type f) +do + : > ${FILE} +done diff --git a/examples/hooks/stripped.chroot b/examples/hooks/stripped.chroot deleted file mode 100755 index 9ebe5bc..0000000 --- a/examples/hooks/stripped.chroot +++ /dev/null @@ -1,52 +0,0 @@ -#!/bin/sh - -## live-build(7) - System Build Scripts -## Copyright (C) 2006-2013 Daniel Baumann -## -## This program comes with ABSOLUTELY NO WARRANTY; for details see COPYING. -## This is free software, and you are welcome to redistribute it -## under certain conditions; see COPYING for details. - - -set -e - -# WARNING: Using this hook will result in a stripped system, means, -# it may very well be possible that other packages are depending -# on certain files that get removed here. -# Therefore, this hooks is merely an inspiration for what could be -# removed and not a generic nor recommendet solution to get the -# image filesize down. In any event, using this hook can lead to -# unforseen bugs and breakages in other packages and you should -# be prepared to find and fix it for your own images. - -# Removing unused packages -for PACKAGE in apt-utils aptitude man-db manpages info wget dselect -do - if ! apt-get remove --purge --yes "${PACKAGE}" - then - echo "WARNING: ${PACKAGE} isn't installed" - fi -done - -apt-get autoremove --yes || true - -# Removing unused files -find . -name *~ -print0 | xargs -0 rm -f - -rm -rf /usr/include/* -#rm -rf /usr/share/groff/* -rm -rf /usr/share/doc/* -rm -rf /usr/share/locale/* -rm -rf /usr/share/man/* -rm -rf /usr/share/i18n/* -rm -rf /usr/share/info/* -rm -rf /usr/share/lintian/* -rm -rf /usr/share/linda/* -rm -rf /usr/share/zoneinfo/* -rm -rf /var/cache/man/* - -# Truncating logs -for FILE in $(find /var/log/ -type f) -do - : > ${FILE} -done diff --git a/examples/hooks/stripped.hook.chroot b/examples/hooks/stripped.hook.chroot new file mode 100755 index 0000000..2946403 --- /dev/null +++ b/examples/hooks/stripped.hook.chroot @@ -0,0 +1,52 @@ +#!/bin/sh + +## live-build(7) - System Build Scripts +## Copyright (C) 2006-2014 Daniel Baumann +## +## This program comes with ABSOLUTELY NO WARRANTY; for details see COPYING. +## This is free software, and you are welcome to redistribute it +## under certain conditions; see COPYING for details. + + +set -e + +# WARNING: Using this hook will result in a stripped system, means, +# it may very well be possible that other packages are depending +# on certain files that get removed here. +# Therefore, this hooks is merely an inspiration for what could be +# removed and not a generic nor recommendet solution to get the +# image filesize down. In any event, using this hook can lead to +# unforseen bugs and breakages in other packages and you should +# be prepared to find and fix it for your own images. + +# Removing unused packages +for PACKAGE in apt-utils aptitude man-db manpages info wget dselect +do + if ! apt-get remove --purge --yes "${PACKAGE}" + then + echo "WARNING: ${PACKAGE} isn't installed" + fi +done + +apt-get autoremove --yes || true + +# Removing unused files +find . -name *~ -print0 | xargs -0 rm -f + +rm -rf /usr/include/* +#rm -rf /usr/share/groff/* +rm -rf /usr/share/doc/* +rm -rf /usr/share/locale/* +rm -rf /usr/share/man/* +rm -rf /usr/share/i18n/* +rm -rf /usr/share/info/* +rm -rf /usr/share/lintian/* +rm -rf /usr/share/linda/* +rm -rf /usr/share/zoneinfo/* +rm -rf /var/cache/man/* + +# Truncating logs +for FILE in $(find /var/log/ -type f) +do + : > ${FILE} +done diff --git a/frontend/cgi/Makefile b/frontend/cgi/Makefile new file mode 100644 index 0000000..8ac08dd --- /dev/null +++ b/frontend/cgi/Makefile @@ -0,0 +1,21 @@ +# Makefile + +install: + install -D -m 0755 live-build-cgi $(DESTDIR)/usr/lib/cgi-bin/live-build + install -D -m 0755 live-build-cgi.cron $(DESTDIR)/etc/cron.hourly/live-build-cgi + install -D -m 0644 live-build-cgi.crontab $(DESTDIR)/etc/cron.d/live-build-cgi + install -D -m 0644 live-build-cgi.default $(DESTDIR)/etc/default/live-build-cgi + install -D -m 0644 live-build-cgi.logrotate $(DESTDIR)/etc/logrotate.d/live-build-cgi + + install -d -m 0755 $(DESTDIR)/var/log + touch $(DESTDIR)/var/log/live + chown www-data:www-data $(DESTDIR)/var/log/live + +uninstall: + rm -f $(DESTDIR)/usr/lib/cgi-bin/live-build + rm -f $(DESTDIR)/etc/cron.d/live-build-cgi + rm -f $(DESTDIR)/etc/cron.hourly/live-build-cgi + rm -f $(DESTDIR)/etc/default/live-build-cgi + rm -f $(DESTDIR)/etc/logrotate.d/live-build-cgi + +reinstall: uninstall install diff --git a/frontend/cgi/live-build-cgi b/frontend/cgi/live-build-cgi new file mode 100755 index 0000000..c2b56ce --- /dev/null +++ b/frontend/cgi/live-build-cgi @@ -0,0 +1,220 @@ +#!/bin/sh + +## live-build(7) - System Build Scripts +## Copyright (C) 2006-2014 Daniel Baumann +## +## This program comes with ABSOLUTELY NO WARRANTY; for details see COPYING. +## This is free software, and you are welcome to redistribute it +## under certain conditions; see COPYING for details. + + +# Including common functions +. /usr/lib/live/build.sh + +# Reading defaults +if [ -r /etc/default/live-build-cgi ] +then + . /etc/default/live-build-cgi +else + echo "E: /etc/default/live-build-cgi missing" + exit 1 +fi + +_HOSTNAME="$(hostname -f)" + +# Turn on debug if true +if [ "${_DEBUG}" = "true" ] +then + set -x +fi + +# Sending http header +echo "Content-type: text/html" +echo + +# If we are passed something then read it in. +if [ "$REQUEST_METHOD" = "POST" ] && [ "$CONTENT_LENGTH" -gt 0 ] +then + #QUERY_STRING=`cat /dev/stdin` + QUERY_STRING=$(cat /dev/stdin) + #read -n $CONTENT_LENGTH POST_DATA <&0 +fi + +# Translate parameters +QUERY_STRING=$(echo "${POST_DATA}" | sed -e 's/%2F/\//g' -e 's/+/ /g' -e 's/%3B/;/g' -e 's/%7E/~/g' -e 's/%3A/:/g' -e 's/%40/@/g' -e 's/%3D/=/g' -e 's/%2B/+/g') +# Debug the filtering string +# echo ${QUERY_STRING} + + +# Sending html header +cat "${_TEMPLATES}"/header.html + +# CGI +if [ -z "${QUERY_STRING}" ] +then + # Sending html form + sed -e "s/VERSION/${VERSION}/" \ + -e "s/DATE/`date +%Y%m%d-%H:%M`/" \ + "${_TEMPLATES}"/form.html +else + # Converting spaces: sed 's/+/ /g' + # Converting '@': sed 's/%40/@/g' + # Converting ':': sed 's/%3A/:/g' + # Converting ';': sed 's/%3B/\;/g' + # Converting '/': sed 's/%2F/\//g' + # Converting '~': sed 's/%7E/\~/g' + # Converting '=': sed 's/%3D/=/g' + # Converting '+': sed 's/%2B/+/g' + + # Email + _EMAIL=$(echo "${QUERY_STRING}" | grep -oE '(^|[?&])email=[-0-9a-zA-Z._@]+' | cut -f 2 -d '=' | head -n1) + + # CGI Packages List + _LB_CGIPACKAGES=$(echo "${QUERY_STRING}" | grep -oE '(^|[?&])cgipackages=[-0-9a-zA-Z. _+]+' | cut -f 2 -d '=' | head -n1) + + # CGI Config for git + _LB_CONFIG=$(echo "${QUERY_STRING}" | grep -oE '(^|[?&])config=[-a-z]+' | cut -f 2 -d '=' | head -n1) + + # Standard options + LIVE_IMAGE_TYPE=$(echo "${QUERY_STRING}" | grep -oE '(^|[?&])binary_images=[-a-z]+' | cut -f 2 -d '=' | head -n1) + LB_DISTRIBUTION=$(echo "${QUERY_STRING}" | grep -oE '(^|[?&])distribution=[a-z]+' | cut -f 2 -d '=' | head -n1) + LB_APT=$(echo "${QUERY_STRING}" | grep -oE '(^|[?&])apt=[a-u]+' | cut -f 2 -d '=' | head -n1) + + # Advanced bootstrap options + LIVE_IMAGE_ARCHITECTURE=$(echo "${QUERY_STRING}" | grep -oE '(^|[?&])architectures=[0-9a-z]+' | cut -f 2 -d '=' | head -n1) + LIVE_IMAGE_ARCHIVE_AREAS=$(echo "${QUERY_STRING}" | grep -oE '(^|[?&])archive_areas=[a-z]+' | cut -f 2 -d '=' | head -n1) + + # Advanced chroot options + LB_CHROOT_FILESYSTEM=$(echo "${QUERY_STRING}" | grep -oE '(^|[?&])chroot_filesystem=[0-9a-z]+' | cut -f 2 -d '=' | head -n1) + LB_LINUX_FLAVOURS=$(echo "${QUERY_STRING}" | grep -oE '(^|[?&])linux_flavours=[-0-9a-z]+' | cut -f 2 -d '=' | head -n1) + LB_SECURITY=$(echo "${QUERY_STRING}" | grep -oE '(^|[?&])security=[a-z]+' | cut -f 2 -d '=' | head -n1) + + # Advanced binary options + LB_APT_INDICES=$(echo "${QUERY_STRING}" | grep -oE '(^|[?&])apt_indices=[a-z]+' | cut -f 2 -d '=' | head -n1) + LB_BOOTAPPEND_INSTALL=$(echo "${QUERY_STRING}" | grep -oE '(^|[?&])bootappend_install=[-0-9a-zA-Z. _+=:/]+' | cut -f2- -d '=' | head -n1) + LB_BOOTAPPEND_LIVE=$(echo "${QUERY_STRING}" | grep -oE '(^|[?&])bootappend_live=[-0-9a-zA-Z. _+=:/]+' | cut -f2- -d '=' | head -n1) + LB_BOOTLOADER=$(echo "${QUERY_STRING}" | grep -oE '(^|[?&])bootloader=[a-z]+' | cut -f 2 -d '=' | head -n1) + LB_DEBIAN_INSTALLER=$(echo "${QUERY_STRING}" | grep -oE '(^|[?&])debian_installer=[a-z]+' | cut -f 2 -d '=' | head -n1) + LB_ISO_APPLICATION=$(echo "${QUERY_STRING}" | grep -oE '(^|[?&])iso_application=[-0-9a-zA-Z. ~;:/_]+' | cut -f 2 -d '=' | head -n1) + LB_ISO_PREPARER=$(echo "${QUERY_STRING}" | grep -oE '(^|[?&])iso_preparer=[-0-9a-zA-Z. ~;:/_]+' | cut -f 2 -d '=' | head -n1) + LB_ISO_PUBLISHER=$(echo "${QUERY_STRING}" | grep -oE '(^|[?&])iso_publisher=[-0-9a-zA-Z. ~;:/_@]+' | cut -f 2 -d '=' | head -n1) + LB_ISO_VOLUME=$(echo "${QUERY_STRING}" | grep -oE '(^|[?&])iso_volume=[-0-9a-zA-Z. ~;:/_]+' | cut -f 2 -d '=' | head -n1) + LB_MEMTEST=$(echo "${QUERY_STRING}" | grep -oE '(^|[?&])memtest=[0-9a-z+]+' | cut -f 2 -d '=' | head -n1) + LB_NET_ROOT_PATH=$(echo "${QUERY_STRING}" | grep -oE '(^|[?&])net_path=[-0-9a-zA-Z._/]+' | cut -f 2 -d '=' | head -n1) + LB_NET_ROOT_SERVER=$(echo "${QUERY_STRING}" | grep -oE '(^|[?&])net_server=[0-9.]+' | cut -f 2 -d '=' | head -n1) + + # Advanced source options + LB_SOURCE=$(echo "${QUERY_STRING}" | grep -oE '(^|[?&])source=[a-z]+' | cut -f 2 -d '=' | head -n1) + LB_SOURCE_IMAGES=$(echo "${QUERY_STRING}" | grep -oE '(^|[?&])source_images=[a-z]+' | cut -f 2 -d '=' | head -n1) + + # FIXME: filter invalid options + unset QUERY_STRING + + if [ -z "${_EMAIL}" ] + then + echo "

Error: No email address specified.

" + + sed -e "s/VERSION/${VERSION}/" \ + -e "s/DATE/`date +%Y%m%d-%H:%M`/" \ + "${_TEMPLATES}"/form.html + + exit + fi + + # Getting build identifier + _BUILD=$(date +%Y%m%d.%H%M%S.%N) + + # Getting number of builds pending. + _QUEUENUM=$(ls "${_TEMPDIR}"/*.build | wc -l) + + #echo "${QUERY_STRING}" + # Sending html confirmation + # Note: On each string remember to use a delimeter that is not in the string. + sed -e "s/BUILD/${_BUILD}/g" \ + -e "s/EMAIL/${_EMAIL}/" \ + -e "s/QUEUENUM/${_QUEUENUM}/" \ + -e "s/LIVE_IMAGE_TYPE/${LIVE_IMAGE_TYPE}/" \ + -e "s/LB_DISTRIBUTION/${LB_DISTRIBUTION}/" \ + -e "s#_LB_CONFIG#${_LB_CONFIG}#" \ + -e "s/LB_APT_INDICES/${LB_APT_INDICES}/" \ + -e "s/LB_APT/${LB_APT}/" \ + -e "s/_LB_CGIPACKAGES/${_LB_CGIPACKAGES}/" \ + -e "s/LIVE_IMAGE_ARCHITECTURE/${LIVE_IMAGE_ARCHITECTURE}/" \ + -e "s/LIVE_IMAGE_ARCHIVE_AREAS/${LIVE_IMAGE_ARCHIVE_AREAS}/" \ + -e "s/LB_CHROOT_FILESYSTEM/${LB_CHROOT_FILESYSTEM}/" \ + -e "s/LB_LINUX_FLAVOURS/${LB_LINUX_FLAVOURS}/" \ + -e "s/LB_SECURITY/${LB_SECURITY}/" \ + -e "s#LB_BOOTAPPEND_INSTALL#${LB_BOOTAPPEND_INSTALL}#" \ + -e "s#LB_BOOTAPPEND_LIVE#${LB_BOOTAPPEND_LIVE}#" \ + -e "s/LB_BOOTLOADER/${LB_BOOTLOADER}/" \ + -e "s/LB_DEBIAN_INSTALLER/${LB_DEBIAN_INSTALLER}/" \ + -e "s#LB_ISO_APPLICATION#${LB_ISO_APPLICATION}#" \ + -e "s#LB_ISO_PREPARER#${LB_ISO_PREPARER}#" \ + -e "s#LB_ISO_PUBLISHER#${LB_ISO_PUBLISHER}#" \ + -e "s#LB_ISO_VOLUME#${LB_ISO_VOLUME}#" \ + -e "s/LB_MEMTEST/${LB_MEMTEST}/" \ + -e "s#LB_NET_ROOT_PATH#${LB_NET_ROOT_PATH}#" \ + -e "s/LB_NET_ROOT_SERVER/${LB_NET_ROOT_SERVER}/" \ + -e "s#SERVER#${_SERVER}#g" \ + -e "s/LB_SOURCE_IMAGES/${LB_SOURCE_IMAGES}/" \ + -e "s/LB_SOURCE/${LB_SOURCE}/" \ + "${_TEMPLATES}"/build.html + + # Creating temporary directory + mkdir -p "${_TEMPDIR}" + +# Writing build file +cat > "${_TEMPDIR}"/"${_BUILD}".build << EOF +# live-build-cgi "${VERSION}" build file +# `date -R` + +_BUILD="${_BUILD}" +_EMAIL="${_EMAIL}" + +REMOTE_ADDR="${REMOTE_ADDR}" + +# CGI Packages List +_LB_CGIPACKAGES="${_LB_CGIPACKAGES}" + +# CGI Config for git +_LB_CONFIG="${_LB_CONFIG}" + +# Standard options +LIVE_IMAGE_TYPE="${LIVE_IMAGE_TYPE}" +LB_DISTRIBUTION="${LB_DISTRIBUTION}" +LB_APT="${LB_APT}" + +# Advanced bootstrap options +LIVE_IMAGE_ARCHITECTURE="${LIVE_IMAGE_ARCHITECTURE}" +LIVE_IMAGE_ARCHIVE_AREAS="${LIVE_IMAGE_ARCHIVE_AREAS}" + +# Advanced chroot options +LB_CHROOT_FILESYSTEM="${LB_CHROOT_FILESYSTEM}" +LB_LINUX_FLAVOURS="${LB_LINUX_FLAVOURS}" +LB_SECURITY="${LB_SECURITY}" + +# Advanced binary options +LB_APT_INDICES="${LB_APT_INDICES}" +LB_BOOTAPPEND_INSTALL="${LB_BOOTAPPEND_INSTALL}" +LB_BOOTAPPEND_LIVE="${LB_BOOTAPPEND_LIVE}" +LB_BOOTLOADER="${LB_BOOTLOADER}" +LB_DEBIAN_INSTALLER="${LB_DEBIAN_INSTALLER}" +LB_ISO_APPLICATION="${LB_ISO_APPLICATION}" +LB_ISO_PREPARER="${LB_ISO_PREPARER}" +LB_ISO_PUBLISHER="${LB_ISO_PUBLISHER}" +LB_ISO_VOLUME="${LB_ISO_VOLUME}" +LB_MEMTEST="${LB_MEMTEST}" +LB_NET_ROOT_PATH="${LB_NET_ROOT_PATH}" +LB_NET_ROOT_SERVER="${LB_NET_ROOT_SERVER}" + +# Advanced source options +LB_SOURCE_IMAGES="${LB_SOURCE_IMAGES}" +LB_SOURCE="${LB_SOURCE}" + +EOF + + echo "$(date +%b\ %d\ %H:%M:%S) ${_HOSTNAME} live-build-cgi: add web build (${_BUILD}) from ${REMOTE_ADDR}." >> /var/log/live/live-build-request + echo "$(date +%b\ %d\ %H:%M:%S) ${_HOSTNAME} live-build-cgi: options ${_BUILD} |email ${_EMAIL}|binary_images ${LIVE_IMAGE_TYPE}|distribution ${LB_DISTRIBUTION}|config ${_LB_CONFIG}|apt ${LB_APT}|cgipackages ${_LB_CGIPACKAGES}|architectures ${LIVE_IMAGE_ARCHITECTURE}|archive_areas ${LIVE_IMAGE_ARCHIVE_AREAS}|chroot_filesystem ${LB_CHROOT_FILESYSTEM}|linux_flavours ${LB_LINUX_FLAVOURS}|security ${LB_SECURITY}|apt_indices ${LB_APT_INDICES}|bootappend_install ${LB_BOOTAPPEND_INSTALL}|bootappend_live ${LB_BOOTAPPEND_LIVE}|bootloader ${LB_BOOTLOADER}|debian_installer ${LB_DEBIAN_INSTALLER}|iso_application ${LB_ISO_APPLICATION}|iso_preparer ${LB_ISO_PREPARER}|iso_publisher ${LB_ISO_PUBLISHER}|iso_volume ${LB_ISO_VOLUME}|memtest ${LB_MEMTEST}|net_path ${LB_NET_ROOT_PATH}|net_server ${LB_NET_ROOT_SERVER}|source_images ${LB_SOURCE_IMAGES}|sources ${LB_SOURCE}" >> /var/log/live/live-build-request +fi + +sed -e "s/VERSION/${VERSION}/" "${_TEMPLATES}"/footer.html diff --git a/frontend/cgi/live-build-cgi.cron b/frontend/cgi/live-build-cgi.cron new file mode 100755 index 0000000..b5e81c6 --- /dev/null +++ b/frontend/cgi/live-build-cgi.cron @@ -0,0 +1,200 @@ +#!/bin/sh + +## live-build(7) - System Build Scripts +## Copyright (C) 2006-2014 Daniel Baumann +## +## This program comes with ABSOLUTELY NO WARRANTY; for details see COPYING. +## This is free software, and you are welcome to redistribute it +## under certain conditions; see COPYING for details. + +# Including common functions +. /usr/lib/live/build.sh + +# Reading defaults +if [ -r /etc/default/live-build-cgi ] +then + . /etc/default/live-build-cgi +else + echo "E: /etc/default/live-build-cgi missing" + exit 1 +fi + +# Exit if disabled +if [ "${_WEBBUILD}" != "true" ] +then + exit 0 +fi + +_HOSTNAME="$(hostname -f)" + +# Turn on debug if true +if [ "${_DEBUG}" = "true" ] +then + set -x +fi + +# Locknum sets the lock enumeration for multiple instances of l-b-cgi +_LOCKNUM="$(expr 1 + $(expr $(date +%M) % ${_INSTANCES}))" + +# Checking lock file +if [ -f /var/lock/live-build-cgi-${_LOCKNUM}.lock ] +then + echo "E: live-build-cgi instance ${_LOCKNUM} already/still running." + exit 1 +fi + +# Creating lock trap +trap "test -f /var/lock/live-build-cgi-${_LOCKNUM}.lock && rm -f /var/lock/live-build-cgi-${_LOCKNUM}.lock; exit 0" 0 1 2 3 9 15 + +# Creating lock file +touch /var/lock/live-build-cgi-${_LOCKNUM}.lock + +# Cleanup old builds: cron should be run at least once per hour to take effect +if ls "${_DESTDIR}"/`date -d yesterday +%Y%m%d.%H`* > /dev/null 2>&1 +then + rm -rf "${_DESTDIR}"/`date -d yesterday +%Y%m%d.%H`* + + echo "`date +%b\ %d\ %H:%M:%S` ${_HOSTNAME} live-build-cgi: remove web build (`date -d yesterday +%Y%m%d.%H`*)." >> /var/log/live/live-build +fi + +# Ok from here spin through the live-build-cgi files we have waiting to build +#if ls "${_TEMPDIR}"/*.build > /dev/null 2>&1 +if Find_files ${_TEMPDIR}/*.build +then + _FILE=$(ls "${_TEMPDIR}"/*.build | sort | head -1) + # Pull in variables from the build file. + . "${_FILE}" + + # Drop out some build data for information if something goes wrong. + echo "`date +%b\ %d\ %H:%M:%S` ${_HOSTNAME} live-build-cgi: begin web build (${_BUILD})." >> /var/log/live/live-build + + # Clone the git config to target build directory + git clone ${_LB_GIT} "${_TEMPDIR}"/"${_BUILD}" >> /var/log/live/live-build + _ERRORGIT="${?}" + + # Moving build file to the tempdir and remove from submission area. + mv "${_TEMPDIR}"/"${_BUILD}".build "${_TEMPDIR}"/"${_BUILD}"/ + + # Sanity check to default to something since we are going to build from git clone. + if [ -z "${_LB_CONFIG}" ] + then + _LB_CONFIG="standard" + fi + + # Now set a variable for the correct build path + _BUILD_PATH="${_TEMPDIR}/${_BUILD}/images/${_LB_CONFIG}" + + _DATE_START="`date -R`" + echo "Begin live-build-cgi: ${_DATE_START}" > "${_BUILD_PATH}"/log + echo "Info live-build-cgi: Config tree cloned from ${_LB_GIT} for build ${_BUILD}" >> "${_BUILD_PATH}"/log + + # Creating directory for the config/package-lists + mkdir -p "${_BUILD_PATH}"/config/package-lists + + # Add cgipackages.list.chroot + if [ -n "${_LB_CGIPACKAGES}" ] + then + echo "${_LB_CGIPACKAGES}" > "${_BUILD_PATH}"/config/package-lists/cgipackages.list.chroot + fi + + # Generating config here + if [ "${_ERRORGIT}" -eq "0" ] + then + cd "${_BUILD_PATH}" + # Do config with git and stack on config file params to build + lb config ${_CGI_CONFIG_APPEND} --apt "${LB_APT}" --distribution "${LB_DISTRIBUTION}" --binary-images "${LB_BINARY_IMAGES}" --architectures "${LIVE_IMAGE_ARCHITECTURE}" --archive-areas "${LIVE_IMAGE_ARCHIVE_AREAS}" --chroot-filesystem "${LB_CHROOT_FILESYSTEM}" --linux-flavours "${LB_LINUX_FLAVOURS}" --security "${LB_SECURITY}" --apt-indices "${LB_APT_INDICES}" --bootappend-install "${LB_BOOTAPPEND_INSTALL}" --bootappend-live "${LB_BOOTAPPEND_LIVE}" --bootloader "${LB_BOOTLOADER}" --debian-installer "${LB_DEBIAN_INSTALLER}" --iso-application "${LB_ISO_APPLICATION}" --iso-preparer "${LB_ISO_PREPARER}" --iso-publisher "${LB_ISO_PUBLISHER}" --iso-volume "${LB_ISO_VOLUME}" --memtest "${LB_MEMTEST}" --net-root-path "${LB_NET_ROOT_PATH}" --net-root-server "${LB_NET_ROOT_SERVER}" --source-images "${LB_SOURCE_IMAGES}" --source "${LB_SOURCE}" + _ERRORCONFIG="${?}" + else + echo "Config stage skipped. The git clone produced an error: ${_ERRORGIT}" >> "${_BUILD_PATH}"/log + fi + + # Run build if config went ok + if [ "${_ERRORCONFIG}" -eq "0" ] + then + # We need to finish script. + set +e + lb build noauto >> "${_BUILD_PATH}"/log 2>&1 + _ERRORBUILD="${?}" + else + echo "Build stage skipped. Config produced an error: ${_ERRORCONFIG}" >> "${_BUILD_PATH}"/log + fi + + _DATE_END="`date -R`" + echo "End: ${_DATE_END}" >> "${_BUILD_PATH}"/log + + # Creating image directory + mkdir -p "${_DESTDIR}"/"${_BUILD}" + + # Creating mail and logging. + if [ "${_ERRORGIT}" -eq "0" ] && [ "${_ERRORCONFIG}" -eq "0" ] && [ "${_ERRORBUILD}" -eq "0" ] + then + _STATUS="maybe-successful" + echo "${REMOTE_ADDR} - - `date +[%d/%b/%Y:%H:%m:%S\ %z]` \"${_BUILD} ${LIVE_IMAGE_ARCHITECTURE}/${LB_DISTRIBUTION}/${_LB_CGIPACKAGES}\" 200 - \"-\" \"\"">>/var/log/live/live-build-cgi-status + else + _STATUS="maybe-failed" + echo "${REMOTE_ADDR} - - `date +[%d/%b/%Y:%H:%m:%S\ %z]` \"${_BUILD} ${LIVE_IMAGE_ARCHITECTURE}/${LB_DISTRIBUTION}/${_LB_CGIPACKAGES}\" 404 - \"-\" \"\"">>/var/log/live/live-build-cgi-status + fi + + sed -e "s/BUILD/${_BUILD}/g" \ + -e "s/EMAIL/${_EMAIL}/" \ + -e "s/VERSION/${VERSION}/" \ + -e "s/DATE_START/${_DATE_START}/" \ + -e "s/DATE_END/${_DATE_END}/" \ + -e "s/STATUS/${_STATUS}/" \ + -e "s#SERVER#${_SERVER}#" \ + "${_TEMPLATES}"/mail.txt > "${_DESTDIR}"/"${_BUILD}"/mail + +cat >> "${_DESTDIR}"/"${_BUILD}"/mail << EOF + +--- + +Here's a list of all build-options that were used to build your image: + +EOF + + cat "${_TEMPDIR}"/"${_BUILD}"/"${_BUILD}".build >> "${_DESTDIR}"/"${_BUILD}"/mail + + # Moving live-image-* files + if Find_files ${_BUILD_PATH}/live-image-* + then + mv "${_BUILD_PATH}"/live-image-* "${_DESTDIR}"/"${_BUILD}" + fi + + # Moving build + mv "${_TEMPDIR}"/"${_BUILD}"/"${_BUILD}".build "${_DESTDIR}"/"${_BUILD}"/build + + # Moving log + mv "${_BUILD_PATH}"/log "${_DESTDIR}"/"${_BUILD}" + + # Generating md5sum + cd "${_DESTDIR}"/"${_BUILD}" + md5sum * > md5sum + cd "${OLDPWD}" + + # Sending mail + cat "${_DESTDIR}"/"${_BUILD}"/mail | /usr/sbin/sendmail -t + + # Unmounting devpts-live + #if ls "${_TEMPDIR}"/"${_BUILD}"/chroot/dev/pts/* > /dev/null 2>&1 + if Find_files ${_BUILD_PATH}/chroot/dev/pts/* + then + umount "${_BUILD_PATH}"/chroot/dev/pts + fi + + # Unmounting proc + if [ -f "${_BUILD_PATH}"/chroot/proc/version ] + then + umount "${_BUILD_PATH}"/chroot/proc + fi + + # Unmounting sysfs + if [ -d "${_BUILD_PATH}"/chroot/sys/kernel ] + then + umount "${_BUILD_PATH}"/chroot/sys + fi + + # Removing build directory + rm -rf "${_TEMPDIR}"/"${_BUILD}" + + echo "`date +%b\ %d\ %H:%M:%S` ${_HOSTNAME} live-build-cgi: end web build (${_BUILD}: ${_STATUS})." >> /var/log/live/live-build +fi diff --git a/frontend/cgi/live-build-cgi.crontab b/frontend/cgi/live-build-cgi.crontab new file mode 100644 index 0000000..1bf7a81 --- /dev/null +++ b/frontend/cgi/live-build-cgi.crontab @@ -0,0 +1,7 @@ +# /etc/crontab - system-wide crontab + +SHELL=/bin/sh +PATH=/usr/local/sbin:/usr/local/bin:/sbin:/bin:/usr/sbin:/usr/bin + +# m h dom mon dow user command +*/1 * * * * root /etc/cron.hourly/live-build-cgi > /dev/null 2>&1 diff --git a/frontend/cgi/live-build-cgi.default b/frontend/cgi/live-build-cgi.default new file mode 100644 index 0000000..c7e26bc --- /dev/null +++ b/frontend/cgi/live-build-cgi.default @@ -0,0 +1,19 @@ +# Defaults for /etc/cron.daily/live-build-cgi + +_WEBBUILD="false" + +_MODE="debian" + +_DEBUG="false" + +_INSTANCES="1" + +_DESTDIR="/srv/debian-live/build/www" +_TEMPLATES="/usr/share/live/build/templates/cgi/${_MODE}" +_TEMPDIR="/srv/debian-live/build/tmp" + +_SERVER="http://live-systems.org/build" + +_LB_GIT="git://live-systems.org/git/live-images.git" + +_CGI_CONFIG_APPEND="" diff --git a/frontend/cgi/live-build-cgi.logrotate b/frontend/cgi/live-build-cgi.logrotate new file mode 100644 index 0000000..75d89a9 --- /dev/null +++ b/frontend/cgi/live-build-cgi.logrotate @@ -0,0 +1,11 @@ +# /etc/logrotate.d/live-build + +/var/log/live +{ + compress + copytruncate + missingok + monthly + notifempty + rotate 24 +} diff --git a/frontend/cli/lb b/frontend/cli/lb new file mode 100755 index 0000000..63e46a9 --- /dev/null +++ b/frontend/cli/lb @@ -0,0 +1,90 @@ +#!/bin/sh + +## live-build(7) - System Build Scripts +## Copyright (C) 2006-2014 Daniel Baumann +## +## This program comes with ABSOLUTELY NO WARRANTY; for details see COPYING. +## This is free software, and you are welcome to redistribute it +## under certain conditions; see COPYING for details. + + +set -e + +# Including common functions +[ -e "${LIVE_BUILD}/scripts/build.sh" ] && . "${LIVE_BUILD}/scripts/build.sh" || . /usr/lib/live/build.sh + +# Setting static variables +DESCRIPTION="$(Echo 'utility to build live systems')" +HELP="FIXME" +USAGE="FIXME" + +case "${1}" in + -h|--help) + if [ -x "$(which man 2>/dev/null)" ] + then + man lb + exit 0 + else + ${0} --usage + exit 0 + fi + ;; + + ""|-u|--usage) + Usage + ;; + + -v|--version) + echo "${VERSION}" + exit 0 + ;; + + *) + COMMAND="${1}" + shift + + ENV="" + + if [ "${COMMAND}" != "config" ] + then + # Checking user account + if [ "$(id -u)" -ne "0" ] + then + Echo_error "need root privileges" + exit 1 + fi + fi + + for _FILE in config/environment config/environment.binary + do + if [ -e "${_FILE}" ] + then + ENV="${ENV} $(grep -v '^#' ${_FILE})" + fi + done + + if [ -x "${LIVE_BUILD}/scripts/build/${COMMAND}" ] + then + # User has live-build copied locally in the system + SCRIPT="${LIVE_BUILD}/scripts/build/${COMMAND}" + elif [ -x "local/live-build/scripts/build/${COMMAND}" ] + then + # User has live-build copied locally in the config + SCRIPT="local/live-build/scripts/build/${COMMAND}" + elif [ -x /usr/lib/live/build/${COMMAND} ] + then + # User has live-build installed in the system + SCRIPT=/usr/lib/live/build/"${COMMAND}" + elif [ -x "$(which ${COMMAND} 2>/dev/null)" ] + then + # User has live-build commands in path + SCRIPT="${COMMAND}" + else + Echo_error "no such script: ${COMMAND}" + exit 1 + fi + + Echo "[%s] %s" "$(date +'%F %T')" "lb ${COMMAND} $(echo ${@})" + ${ENV} exec "${SCRIPT}" "${@}" + ;; +esac diff --git a/frontend/cli/live-build b/frontend/cli/live-build new file mode 100755 index 0000000..d6defab --- /dev/null +++ b/frontend/cli/live-build @@ -0,0 +1,37 @@ +#!/bin/sh + +## live-build(7) - System Build Scripts +## Copyright (C) 2006-2014 Daniel Baumann +## +## This program is free software: you can redistribute it and/or modify +## it under the terms of the GNU General Public License as published by +## the Free Software Foundation, either version 3 of the License, or +## (at your option) any later version. +## +## This program is distributed in the hope that it will be useful, +## but WITHOUT ANY WARRANTY; without even the implied warranty of +## MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +## GNU General Public License for more details. +## +## You should have received a copy of the GNU General Public License +## along with this program. If not, see . +## +## The complete text of the GNU General Public License +## can be found in /usr/share/common-licenses/GPL-3 file. + + +set -e + +if [ -x "$(which man 2>/dev/null)" ] +then + man live-build +else + +cat << EOF +live-build contains the scripts to build a live system from a configuration +directory. + +An introduction to live-build can be found in the live-build(7) manpage. +EOF + +fi diff --git a/frontends/cgi/Makefile b/frontends/cgi/Makefile deleted file mode 100644 index 8ac08dd..0000000 --- a/frontends/cgi/Makefile +++ /dev/null @@ -1,21 +0,0 @@ -# Makefile - -install: - install -D -m 0755 live-build-cgi $(DESTDIR)/usr/lib/cgi-bin/live-build - install -D -m 0755 live-build-cgi.cron $(DESTDIR)/etc/cron.hourly/live-build-cgi - install -D -m 0644 live-build-cgi.crontab $(DESTDIR)/etc/cron.d/live-build-cgi - install -D -m 0644 live-build-cgi.default $(DESTDIR)/etc/default/live-build-cgi - install -D -m 0644 live-build-cgi.logrotate $(DESTDIR)/etc/logrotate.d/live-build-cgi - - install -d -m 0755 $(DESTDIR)/var/log - touch $(DESTDIR)/var/log/live - chown www-data:www-data $(DESTDIR)/var/log/live - -uninstall: - rm -f $(DESTDIR)/usr/lib/cgi-bin/live-build - rm -f $(DESTDIR)/etc/cron.d/live-build-cgi - rm -f $(DESTDIR)/etc/cron.hourly/live-build-cgi - rm -f $(DESTDIR)/etc/default/live-build-cgi - rm -f $(DESTDIR)/etc/logrotate.d/live-build-cgi - -reinstall: uninstall install diff --git a/frontends/cgi/live-build-cgi b/frontends/cgi/live-build-cgi deleted file mode 100755 index 69f839b..0000000 --- a/frontends/cgi/live-build-cgi +++ /dev/null @@ -1,211 +0,0 @@ -#!/bin/sh - -## live-build(7) - System Build Scripts -## Copyright (C) 2006-2013 Daniel Baumann -## -## This program comes with ABSOLUTELY NO WARRANTY; for details see COPYING. -## This is free software, and you are welcome to redistribute it -## under certain conditions; see COPYING for details. - - -# Including common functions -. /usr/lib/live/build.sh - -# Reading defaults -if [ -r /etc/default/live-build-cgi ] -then - . /etc/default/live-build-cgi -else - echo "E: /etc/default/live-build-cgi missing" - exit 1 -fi - -_HOSTNAME="$(hostname -f)" - -# Turn on debug if true -if [ "${_DEBUG}" = "true" ] -then - set -x -fi - -# Sending http header -echo "Content-type: text/html" -echo - -#QUERY_STRING=`cat /dev/stdin` -QUERY_STRING=$(cat /dev/stdin) -# Translate parameters -QUERY_STRING=$(echo "${QUERY_STRING}" | sed -e 's/%2F/\//g' -e 's/+/ /g' -e 's/%3B/;/g' -e 's/%7E/~/g' -e 's/%3A/:/g' -e 's/%40/@/g' -e 's/%3D/=/g' -e 's/%2B/+/g') -# Debug the filtering string -# echo ${QUERY_STRING} - - -# Sending html header -cat "${_TEMPLATES}"/header.html - -# CGI -if [ -z "${QUERY_STRING}" ] -then - # Sending html form - sed -e "s/VERSION/${VERSION}/" \ - -e "s/DATE/`date +%Y%m%d-%H:%M`/" \ - "${_TEMPLATES}"/form.html -else - # Converting spaces: sed 's/+/ /g' - # Converting '@': sed 's/%40/@/g' - # Converting ':': sed 's/%3A/:/g' - # Converting ';': sed 's/%3B/\;/g' - # Converting '/': sed 's/%2F/\//g' - # Converting '~': sed 's/%7E/\~/g' - # Converting '=': sed 's/%3D/=/g' - # Converting '+': sed 's/%2B/+/g' - - # Email - _EMAIL=$(echo "${QUERY_STRING}" | grep -oE '(^|[?&])email=[-0-9a-zA-Z._@]+' | cut -f 2 -d '=' | head -n1) - - # CGI Packages List - _LB_CGIPACKAGES=$(echo "${QUERY_STRING}" | grep -oE '(^|[?&])cgipackages=[-0-9a-zA-Z. _+]+' | cut -f 2 -d '=' | head -n1) - - # CGI Config for git - _LB_CONFIG=$(echo "${QUERY_STRING}" | grep -oE '(^|[?&])config=[-a-z]+' | cut -f 2 -d '=' | head -n1) - - # Standard options - LB_BINARY_IMAGES=$(echo "${QUERY_STRING}" | grep -oE '(^|[?&])binary_images=[-a-z]+' | cut -f 2 -d '=' | head -n1) - LB_DISTRIBUTION=$(echo "${QUERY_STRING}" | grep -oE '(^|[?&])distribution=[a-z]+' | cut -f 2 -d '=' | head -n1) - - # Advanced bootstrap options - LB_ARCHITECTURES=$(echo "${QUERY_STRING}" | grep -oE '(^|[?&])architectures=[0-9a-z]+' | cut -f 2 -d '=' | head -n1) - LB_ARCHIVE_AREAS=$(echo "${QUERY_STRING}" | grep -oE '(^|[?&])archive_areas=[a-z]+' | cut -f 2 -d '=' | head -n1) - - # Advanced chroot options - LB_CHROOT_FILESYSTEM=$(echo "${QUERY_STRING}" | grep -oE '(^|[?&])chroot_filesystem=[0-9a-z]+' | cut -f 2 -d '=' | head -n1) - LB_LINUX_FLAVOURS=$(echo "${QUERY_STRING}" | grep -oE '(^|[?&])linux_flavours=[-0-9a-z]+' | cut -f 2 -d '=' | head -n1) - LB_SECURITY=$(echo "${QUERY_STRING}" | grep -oE '(^|[?&])security=[a-z]+' | cut -f 2 -d '=' | head -n1) - - # Advanced binary options - LB_APT_INDICES=$(echo "${QUERY_STRING}" | grep -oE '(^|[?&])apt_indices=[a-z]+' | cut -f 2 -d '=' | head -n1) - LB_BOOTAPPEND_INSTALL=$(echo "${QUERY_STRING}" | grep -oE '(^|[?&])bootappend_install=[-0-9a-zA-Z. _+=:/]+' | cut -f2- -d '=' | head -n1) - LB_BOOTAPPEND_LIVE=$(echo "${QUERY_STRING}" | grep -oE '(^|[?&])bootappend_live=[-0-9a-zA-Z. _+=:/]+' | cut -f2- -d '=' | head -n1) - LB_BOOTLOADER=$(echo "${QUERY_STRING}" | grep -oE '(^|[?&])bootloader=[a-z]+' | cut -f 2 -d '=' | head -n1) - LB_DEBIAN_INSTALLER=$(echo "${QUERY_STRING}" | grep -oE '(^|[?&])debian_installer=[a-z]+' | cut -f 2 -d '=' | head -n1) - LB_ISO_APPLICATION=$(echo "${QUERY_STRING}" | grep -oE '(^|[?&])iso_application=[-0-9a-zA-Z. ~;:/_]+' | cut -f 2 -d '=' | head -n1) - LB_ISO_PREPARER=$(echo "${QUERY_STRING}" | grep -oE '(^|[?&])iso_preparer=[-0-9a-zA-Z. ~;:/_]+' | cut -f 2 -d '=' | head -n1) - LB_ISO_PUBLISHER=$(echo "${QUERY_STRING}" | grep -oE '(^|[?&])iso_publisher=[-0-9a-zA-Z. ~;:/_@]+' | cut -f 2 -d '=' | head -n1) - LB_ISO_VOLUME=$(echo "${QUERY_STRING}" | grep -oE '(^|[?&])iso_volume=[-0-9a-zA-Z. ~;:/_]+' | cut -f 2 -d '=' | head -n1) - LB_MEMTEST=$(echo "${QUERY_STRING}" | grep -oE '(^|[?&])memtest=[0-9a-z+]+' | cut -f 2 -d '=' | head -n1) - LB_NET_ROOT_PATH=$(echo "${QUERY_STRING}" | grep -oE '(^|[?&])net_path=[-0-9a-zA-Z._/]+' | cut -f 2 -d '=' | head -n1) - LB_NET_ROOT_SERVER=$(echo "${QUERY_STRING}" | grep -oE '(^|[?&])net_server=[0-9.]+' | cut -f 2 -d '=' | head -n1) - - # Advanced source options - LB_SOURCE=$(echo "${QUERY_STRING}" | grep -oE '(^|[?&])source=[a-z]+' | cut -f 2 -d '=' | head -n1) - LB_SOURCE_IMAGES=$(echo "${QUERY_STRING}" | grep -oE '(^|[?&])source_images=[a-z]+' | cut -f 2 -d '=' | head -n1) - - # FIXME: filter invalid options - unset QUERY_STRING - - if [ -z "${_EMAIL}" ] - then - echo "

Error: No email address specified.

" - - sed -e "s/VERSION/${VERSION}/" \ - -e "s/DATE/`date +%Y%m%d-%H:%M`/" \ - "${_TEMPLATES}"/form.html - - exit - fi - - # Getting build identifier - _BUILD=$(date +%Y%m%d.%H%M%S.%N) - - # Getting number of builds pending. - _QUEUENUM=$(ls "${_TEMPDIR}"/*.build | wc -l) - - #echo "${QUERY_STRING}" - # Sending html confirmation - # Note: On each string remember to use a delimeter that is not in the string. - sed -e "s/BUILD/${_BUILD}/g" \ - -e "s/EMAIL/${_EMAIL}/" \ - -e "s/QUEUENUM/${_QUEUENUM}/" \ - -e "s/LB_BINARY_IMAGES/${LB_BINARY_IMAGES}/" \ - -e "s/LB_DISTRIBUTION/${LB_DISTRIBUTION}/" \ - -e "s#_LB_CONFIG#${_LB_CONFIG}#" \ - -e "s/_LB_CGIPACKAGES/${_LB_CGIPACKAGES}/" \ - -e "s/LB_ARCHITECTURES/${LB_ARCHITECTURES}/" \ - -e "s/LB_ARCHIVE_AREAS/${LB_ARCHIVE_AREAS}/" \ - -e "s/LB_CHROOT_FILESYSTEM/${LB_CHROOT_FILESYSTEM}/" \ - -e "s/LB_LINUX_FLAVOURS/${LB_LINUX_FLAVOURS}/" \ - -e "s/LB_SECURITY/${LB_SECURITY}/" \ - -e "s/LB_APT_INDICES/${LB_APT_INDICES}/" \ - -e "s#LB_BOOTAPPEND_INSTALL#${LB_BOOTAPPEND_INSTALL}#" \ - -e "s#LB_BOOTAPPEND_LIVE#${LB_BOOTAPPEND_LIVE}#" \ - -e "s/LB_BOOTLOADER/${LB_BOOTLOADER}/" \ - -e "s/LB_DEBIAN_INSTALLER/${LB_DEBIAN_INSTALLER}/" \ - -e "s#LB_ISO_APPLICATION#${LB_ISO_APPLICATION}#" \ - -e "s#LB_ISO_PREPARER#${LB_ISO_PREPARER}#" \ - -e "s#LB_ISO_PUBLISHER#${LB_ISO_PUBLISHER}#" \ - -e "s#LB_ISO_VOLUME#${LB_ISO_VOLUME}#" \ - -e "s/LB_MEMTEST/${LB_MEMTEST}/" \ - -e "s#LB_NET_ROOT_PATH#${LB_NET_ROOT_PATH}#" \ - -e "s/LB_NET_ROOT_SERVER/${LB_NET_ROOT_SERVER}/" \ - -e "s#SERVER#${_SERVER}#g" \ - -e "s/LB_SOURCE_IMAGES/${LB_SOURCE_IMAGES}/" \ - -e "s/LB_SOURCE/${LB_SOURCE}/" \ - "${_TEMPLATES}"/build.html - - # Creating temporary directory - mkdir -p "${_TEMPDIR}" - -# Writing build file -cat > "${_TEMPDIR}"/"${_BUILD}".build << EOF -# live-build-cgi "${VERSION}" build file -# `date -R` - -_BUILD="${_BUILD}" -_EMAIL="${_EMAIL}" - -REMOTE_ADDR="${REMOTE_ADDR}" - -# CGI Packages List -_LB_CGIPACKAGES="${_LB_CGIPACKAGES}" - -# CGI Config for git -_LB_CONFIG="${_LB_CONFIG}" - -# Standard options -LB_BINARY_IMAGES="${LB_BINARY_IMAGES}" -LB_DISTRIBUTION="${LB_DISTRIBUTION}" - -# Advanced bootstrap options -LB_ARCHITECTURES="${LB_ARCHITECTURES}" -LB_ARCHIVE_AREAS="${LB_ARCHIVE_AREAS}" - -# Advanced chroot options -LB_CHROOT_FILESYSTEM="${LB_CHROOT_FILESYSTEM}" -LB_LINUX_FLAVOURS="${LB_LINUX_FLAVOURS}" -LB_SECURITY="${LB_SECURITY}" - -# Advanced binary options -LB_APT_INDICES="${LB_APT_INDICES}" -LB_BOOTAPPEND_INSTALL="${LB_BOOTAPPEND_INSTALL}" -LB_BOOTAPPEND_LIVE="${LB_BOOTAPPEND_LIVE}" -LB_BOOTLOADER="${LB_BOOTLOADER}" -LB_DEBIAN_INSTALLER="${LB_DEBIAN_INSTALLER}" -LB_ISO_APPLICATION="${LB_ISO_APPLICATION}" -LB_ISO_PREPARER="${LB_ISO_PREPARER}" -LB_ISO_PUBLISHER="${LB_ISO_PUBLISHER}" -LB_ISO_VOLUME="${LB_ISO_VOLUME}" -LB_MEMTEST="${LB_MEMTEST}" -LB_NET_ROOT_PATH="${LB_NET_ROOT_PATH}" -LB_NET_ROOT_SERVER="${LB_NET_ROOT_SERVER}" - -# Advanced source options -LB_SOURCE_IMAGES="${LB_SOURCE_IMAGES}" -LB_SOURCE="${LB_SOURCE}" - -EOF - - echo "$(date +%b\ %d\ %H:%M:%S) ${_HOSTNAME} live-build-cgi: add web build (${_BUILD}) from ${REMOTE_ADDR}." >> /var/log/live - echo "$(date +%b\ %d\ %H:%M:%S) ${_HOSTNAME} live-build-cgi: options ${_BUILD} |email ${_EMAIL}|binary_images ${LB_BINARY_IMAGES}|distribution ${LB_DISTRIBUTION}|config ${_LB_CONFIG}|cgipackages ${_LB_CGIPACKAGES}|architectures ${LB_ARCHITECTURES}|archive_areas ${LB_ARCHIVE_AREAS}|chroot_filesystem ${LB_CHROOT_FILESYSTEM}|linux_flavours ${LB_LINUX_FLAVOURS}|security ${LB_SECURITY}|apt_indices ${LB_APT_INDICES}|bootappend_install ${LB_BOOTAPPEND_INSTALL}|bootappend_live ${LB_BOOTAPPEND_LIVE}|bootloader ${LB_BOOTLOADER}|debian_installer ${LB_DEBIAN_INSTALLER}|iso_application ${LB_ISO_APPLICATION}|iso_preparer ${LB_ISO_PREPARER}|iso_publisher ${LB_ISO_PUBLISHER}|iso_volume ${LB_ISO_VOLUME}|memtest ${LB_MEMTEST}|net_path ${LB_NET_ROOT_PATH}|net_server ${LB_NET_ROOT_SERVER}|source_images ${LB_SOURCE_IMAGES}|sources ${LB_SOURCE}" >> /var/log/live -fi - -sed -e "s/VERSION/${VERSION}/" "${_TEMPLATES}"/footer.html diff --git a/frontends/cgi/live-build-cgi.cron b/frontends/cgi/live-build-cgi.cron deleted file mode 100755 index d21e6c0..0000000 --- a/frontends/cgi/live-build-cgi.cron +++ /dev/null @@ -1,202 +0,0 @@ -#!/bin/sh - -## live-build(7) - System Build Scripts -## Copyright (C) 2006-2013 Daniel Baumann -## -## This program comes with ABSOLUTELY NO WARRANTY; for details see COPYING. -## This is free software, and you are welcome to redistribute it -## under certain conditions; see COPYING for details. - -# Including common functions -. /usr/lib/live/build.sh - -# Reading defaults -if [ -r /etc/default/live-build-cgi ] -then - . /etc/default/live-build-cgi -else - echo "E: /etc/default/live-build-cgi missing" - exit 1 -fi - -# Exit if disabled -if [ "${_WEBBUILD}" != "true" ] -then - exit 0 -fi - -_HOSTNAME="$(hostname -f)" - -# Turn on debug if true -if [ "${_DEBUG}" = "true" ] -then - set -x -fi - -# Checking lock file -if [ -f /var/lock/live-build-cgi.lock ] -then - echo "E: live-build-cgi already/still running." - exit 1 -fi - -# Creating lock trap -trap "test -f /var/lock/live-build-cgi.lock && rm -f /var/lock/live-build-cgi.lock; exit 0" 0 1 2 3 9 15 - -# Creating lock file -touch /var/lock/live-build-cgi.lock - -# Cleanup old builds: cron should be run at least once per hour to take effect -if ls "${_DESTDIR}"/`date -d yesterday +%Y%m%d.%H`* > /dev/null 2>&1 -then - rm -rf "${_DESTDIR}"/`date -d yesterday +%Y%m%d.%H`* - - echo "`date +%b\ %d\ %H:%M:%S` ${_HOSTNAME} live-build-cgi: remove web build (`date -d yesterday +%Y%m%d.%H`*)." >> /var/log/live -fi - -# Ok from here spin through the live-build-cgi files we have waiting to build -#if ls "${_TEMPDIR}"/*.build > /dev/null 2>&1 -if Find_files ${_TEMPDIR}/*.build -then - for _FILE in "${_TEMPDIR}"/*.build - do - # Pull in variables from the build file. - . "${_FILE}" - - # Drop out some build data for information if something goes wrong. - echo "`date +%b\ %d\ %H:%M:%S` ${_HOSTNAME} live-build-cgi: begin web build (${_BUILD})." >> /var/log/live - - # Clone the git config to target build directory - git clone ${_LB_GIT} "${_TEMPDIR}"/"${_BUILD}" >> /var/log/live - _ERRORGIT="${?}" - - # Sanity check to default to something since we are going to build from git clone. - if [ -z "${_LB_CONFIG}" ] - then - _LB_CONFIG="standard" - fi - - # Now set a variable for the correct build path - _BUILD_PATH="${_TEMPDIR}/${_BUILD}/images/${_LB_CONFIG}" - - _DATE_START="`date -R`" - echo "Begin live-build-cgi: ${_DATE_START}" > "${_BUILD_PATH}"/log - echo "Info live-build-cgi: Config tree cloned from ${_LB_GIT} for build ${_BUILD}" >> "${_BUILD_PATH}"/log - - # Creating directory for the config/package-lists - mkdir -p "${_BUILD_PATH}"/config/package-lists - - # Add cgipackages.list.chroot - if [ -n "${_LB_CGIPACKAGES}" ] - then - echo "${_LB_CGIPACKAGES}" > "${_BUILD_PATH}"/config/package-lists/cgipackages.list.chroot - fi - - # Generating config here - if [ "${_ERRORGIT}" -eq "0" ] - then - cd "${_BUILD_PATH}" - # Do config with git and stack on config file params to build - lb config ${_CGI_CONFIG_APPEND} --distribution "${LB_DISTRIBUTION}" --binary-images "${LB_BINARY_IMAGES}" --architectures "${LB_ARCHITECTURES}" --archive-areas "${LB_ARCHIVE_AREAS}" --chroot-filesystem "${LB_CHROOT_FILESYSTEM}" --linux-flavours "${LB_LINUX_FLAVOURS}" --security "${LB_SECURITY}" --apt-indices "${LB_APT_INDICES}" --bootappend-install "${LB_BOOTAPPEND_INSTALL}" --bootappend-live "${LB_BOOTAPPEND_LIVE}" --bootloader "${LB_BOOTLOADER}" --debian-installer "${LB_DEBIAN_INSTALLER}" --iso-application "${LB_ISO_APPLICATION}" --iso-preparer "${LB_ISO_PREPARER}" --iso-publisher "${LB_ISO_PUBLISHER}" --iso-volume "${LB_ISO_VOLUME}" --memtest "${LB_MEMTEST}" --net-root-path "${LB_NET_ROOT_PATH}" --net-root-server "${LB_NET_ROOT_SERVER}" --source-images "${LB_SOURCE_IMAGES}" --source "${LB_SOURCE}" - _ERRORCONFIG="${?}" - else - echo "Config stage skipped. The git clone produced an error: ${_ERRORGIT}" >> "${_BUILD_PATH}"/log - fi - - # Run build if config went ok - if [ "${_ERRORCONFIG}" -eq "0" ] - then - lb build >> "${_BUILD_PATH}"/log 2>&1 - _ERRORBUILD="${?}" - else - echo "Build stage skipped. Config produced an error: ${_ERRORCONFIG}" >> "${_BUILD_PATH}"/log - fi - - _DATE_END="`date -R`" - echo "End: ${_DATE_END}" >> "${_BUILD_PATH}"/log - - # Creating image directory - mkdir -p "${_DESTDIR}"/"${_BUILD}" - - # Creating mail and logging. - if [ "${_ERRORGIT}" -eq "0" ] && [ "${_ERRORCONFIG}" -eq "0" ] && [ "${_ERRORBUILD}" -eq "0" ] - then - _STATUS="maybe-successful" - echo "${REMOTE_ADDR} - - `date +[%d/%b/%Y:%H:%m:%S\ %z]` \"${_BUILD} ${LB_ARCHITECTURES}/${LB_DISTRIBUTION}/${_LB_CGIPACKAGES}\" 200 - \"-\" \"\"">>/var/log/live-cgi.builds - else - _STATUS="maybe-failed" - echo "${REMOTE_ADDR} - - `date +[%d/%b/%Y:%H:%m:%S\ %z]` \"${_BUILD} ${LB_ARCHITECTURES}/${LB_DISTRIBUTION}/${_LB_CGIPACKAGES}\" 404 - \"-\" \"\"">>/var/log/live-cgi.builds - fi - - sed -e "s/BUILD/${_BUILD}/g" \ - -e "s/EMAIL/${_EMAIL}/" \ - -e "s/VERSION/${VERSION}/" \ - -e "s/DATE_START/${_DATE_START}/" \ - -e "s/DATE_END/${_DATE_END}/" \ - -e "s/STATUS/${_STATUS}/" \ - -e "s#SERVER#${_SERVER}#" \ - "${_TEMPLATES}"/mail.txt > "${_DESTDIR}"/"${_BUILD}"/mail - -cat >> "${_DESTDIR}"/"${_BUILD}"/mail << EOF - ---- - -Here's a list of all build-options that were used to build your image: - -EOF - - cat "${_TEMPDIR}"/"${_BUILD}".build >> "${_DESTDIR}"/"${_BUILD}"/mail - - # Moving binary image - #if ls "${_TEMPDIR}"/"${_BUILD}"/binary*.* > /dev/null 2>&1 - if Find_files ${_BUILD_PATH}/binary*.* - then - mv "${_BUILD_PATH}"/binary*.* "${_DESTDIR}"/"${_BUILD}" - fi - - # Moving source image - #if ls "${_TEMPDIR}"/"${_BUILD}"/source.* > /dev/null 2>&1 - if Find_files ${_BUILD_PATH}/source.* - then - mv "${_BUILD_PATH}"/source.* "${_DESTDIR}"/"${_BUILD}" - fi - - # Moving build - mv "${_TEMPDIR}"/"${_BUILD}".build "${_DESTDIR}"/"${_BUILD}"/build - - # Moving log - mv "${_BUILD_PATH}"/log "${_DESTDIR}"/"${_BUILD}" - - # Generating md5sum - cd "${_DESTDIR}"/"${_BUILD}" - md5sum * > md5sum - cd "${OLDPWD}" - - # Sending mail - cat "${_DESTDIR}"/"${_BUILD}"/mail | /usr/sbin/sendmail -t - - # Unmounting devpts-live - #if ls "${_TEMPDIR}"/"${_BUILD}"/chroot/dev/pts/* > /dev/null 2>&1 - if Find_files ${_BUILD_PATH}/chroot/dev/pts/* - then - umount "${_BUILD_PATH}"/chroot/dev/pts - fi - - # Unmounting proc - if [ -f "${_BUILD_PATH}"/chroot/proc/version ] - then - umount "${_BUILD_PATH}"/chroot/proc - fi - - # Unmounting sysfs - if [ -d "${_BUILD_PATH}"/chroot/sys/kernel ] - then - umount "${_BUILD_PATH}"/chroot/sys - fi - - # Removing build directory - rm -rf "${_TEMPDIR}"/"${_BUILD}" - - echo "`date +%b\ %d\ %H:%M:%S` ${_HOSTNAME} live-build-cgi: end web build (${_BUILD}: ${_STATUS})." >> /var/log/live - done -fi diff --git a/frontends/cgi/live-build-cgi.crontab b/frontends/cgi/live-build-cgi.crontab deleted file mode 100644 index 1bf7a81..0000000 --- a/frontends/cgi/live-build-cgi.crontab +++ /dev/null @@ -1,7 +0,0 @@ -# /etc/crontab - system-wide crontab - -SHELL=/bin/sh -PATH=/usr/local/sbin:/usr/local/bin:/sbin:/bin:/usr/sbin:/usr/bin - -# m h dom mon dow user command -*/1 * * * * root /etc/cron.hourly/live-build-cgi > /dev/null 2>&1 diff --git a/frontends/cgi/live-build-cgi.default b/frontends/cgi/live-build-cgi.default deleted file mode 100644 index a8ce752..0000000 --- a/frontends/cgi/live-build-cgi.default +++ /dev/null @@ -1,17 +0,0 @@ -# Defaults for /etc/cron.daily/live-build-cgi - -_WEBBUILD="false" - -_MODE="debian" - -_DEBUG="false" - -_DESTDIR="/srv/debian-live/build/www" -_TEMPLATES="/usr/share/live/build/templates/cgi/${_MODE}" -_TEMPDIR="/srv/debian-live/build/tmp" - -_SERVER="http://live.debian.net/build" - -_LB_GIT="git://live-systems.org/git/live-images.git" - -_CGI_CONFIG_APPEND="" diff --git a/frontends/cgi/live-build-cgi.logrotate b/frontends/cgi/live-build-cgi.logrotate deleted file mode 100644 index 75d89a9..0000000 --- a/frontends/cgi/live-build-cgi.logrotate +++ /dev/null @@ -1,11 +0,0 @@ -# /etc/logrotate.d/live-build - -/var/log/live -{ - compress - copytruncate - missingok - monthly - notifempty - rotate 24 -} diff --git a/functions/aliases.sh b/functions/aliases.sh index e6eeccf..33bdbe6 100755 --- a/functions/aliases.sh +++ b/functions/aliases.sh @@ -1,7 +1,7 @@ #!/bin/sh ## live-build(7) - System Build Scripts -## Copyright (C) 2006-2013 Daniel Baumann +## Copyright (C) 2006-2014 Daniel Baumann ## ## This program comes with ABSOLUTELY NO WARRANTY; for details see COPYING. ## This is free software, and you are welcome to redistribute it diff --git a/functions/architectures.sh b/functions/architectures.sh index 474db39..df145c1 100755 --- a/functions/architectures.sh +++ b/functions/architectures.sh @@ -1,7 +1,7 @@ #!/bin/sh ## live-build(7) - System Build Scripts -## Copyright (C) 2006-2013 Daniel Baumann +## Copyright (C) 2006-2014 Daniel Baumann ## ## This program comes with ABSOLUTELY NO WARRANTY; for details see COPYING. ## This is free software, and you are welcome to redistribute it @@ -15,7 +15,7 @@ for ARCHITECTURE in ${ARCHITECTURES} do - if [ "$(echo ${LB_ARCHITECTURES} | grep ${ARCHITECTURE})" ] + if [ "$(echo ${LIVE_IMAGE_ARCHITECTURE} | grep ${ARCHITECTURE})" ] then VALID="true" break @@ -70,7 +70,7 @@ ;; esac - if [ "${LB_ARCHITECTURES}" = "${LB_BOOTSTRAP_QEMU_ARCHITECTURES}" ] + if [ "${LIVE_IMAGE_ARCHITECTURE}" = "${LB_BOOTSTRAP_QEMU_ARCHITECTURES}" ] then if [ ! -e "${LB_BOOTSTRAP_QEMU_STATIC}" ] @@ -93,10 +93,10 @@ Check_multiarchitectures () { - if [ "$(echo ${LB_ARCHITECTURES} | wc -w)" -gt "1" ] + if [ "$(echo ${LIVE_IMAGE_ARCHITECTURE} | wc -w)" -gt "1" ] then # First, only support multiarch on iso - case "${LB_BINARY_IMAGES}" in + case "${LIVE_IMAGE_TYPE}" in iso*) # Assemble multi-arch case "${LB_CURRENT_ARCHITECTURE}" in diff --git a/functions/arguments.sh b/functions/arguments.sh index 04feade..66c73c9 100755 --- a/functions/arguments.sh +++ b/functions/arguments.sh @@ -1,7 +1,7 @@ #!/bin/sh ## live-build(7) - System Build Scripts -## Copyright (C) 2006-2013 Daniel Baumann +## Copyright (C) 2006-2014 Daniel Baumann ## ## This program comes with ABSOLUTELY NO WARRANTY; for details see COPYING. ## This is free software, and you are welcome to redistribute it diff --git a/functions/breakpoints.sh b/functions/breakpoints.sh index cab07b0..f5ba3c4 100755 --- a/functions/breakpoints.sh +++ b/functions/breakpoints.sh @@ -1,7 +1,7 @@ #!/bin/sh ## live-build(7) - System Build Scripts -## Copyright (C) 2006-2013 Daniel Baumann +## Copyright (C) 2006-2014 Daniel Baumann ## ## This program comes with ABSOLUTELY NO WARRANTY; for details see COPYING. ## This is free software, and you are welcome to redistribute it diff --git a/functions/cache.sh b/functions/cache.sh index 0fa93d5..42d45d6 100755 --- a/functions/cache.sh +++ b/functions/cache.sh @@ -1,7 +1,7 @@ #!/bin/sh ## live-build(7) - System Build Scripts -## Copyright (C) 2006-2013 Daniel Baumann +## Copyright (C) 2006-2014 Daniel Baumann ## ## This program comes with ABSOLUTELY NO WARRANTY; for details see COPYING. ## This is free software, and you are welcome to redistribute it @@ -14,7 +14,7 @@ if [ "${LB_CACHE}" = "true" ] && [ "${LB_CACHE_PACKAGES}" = "true" ] then - if [ -d "${DIRECTORY}" ] + if [ -e "${DIRECTORY}" ] then # Restore old cache if [ "$(stat --printf %d ${DIRECTORY})" = "$(stat --printf %d chroot/var/cache/apt/archives)" ] diff --git a/functions/chroot.sh b/functions/chroot.sh index c166fdd..16cd757 100755 --- a/functions/chroot.sh +++ b/functions/chroot.sh @@ -1,7 +1,7 @@ #!/bin/sh ## live-build(7) - System Build Scripts -## Copyright (C) 2006-2013 Daniel Baumann +## Copyright (C) 2006-2014 Daniel Baumann ## ## This program comes with ABSOLUTELY NO WARRANTY; for details see COPYING. ## This is free software, and you are welcome to redistribute it @@ -26,13 +26,7 @@ fi done - if [ "${LB_USE_FAKEROOT}" != "true" ] - then - ${LB_ROOT_COMMAND} ${_LINUX32} chroot "${CHROOT}" /usr/bin/env -i HOME="/root" PATH="/usr/local/sbin:/usr/local/bin:/sbin:/bin:/usr/sbin:/usr/bin" TERM="${TERM}" DEBIAN_FRONTEND="${LB_DEBCONF_FRONTEND}" DEBIAN_PRIORITY="${LB_DEBCONF_PRIORITY}" DEBCONF_NONINTERACTIVE_SEEN="true" DEBCONF_NOWARNINGS="true" ${ENV} ${COMMANDS} - else - # Building with fakeroot/fakechroot - ${LB_ROOT_COMMAND} ${_LINUX32} chroot "${CHROOT}" ${ENV} ${COMMANDS} - fi + ${_LINUX32} chroot "${CHROOT}" /usr/bin/env -i HOME="/root" PATH="/usr/local/sbin:/usr/local/bin:/sbin:/bin:/usr/sbin:/usr/bin" TERM="${TERM}" DEBIAN_FRONTEND="${LB_DEBCONF_FRONTEND}" DEBIAN_PRIORITY="${LB_DEBCONF_PRIORITY}" DEBCONF_NONINTERACTIVE_SEEN="true" DEBCONF_NOWARNINGS="true" ${ENV} ${COMMANDS} return "${?}" } diff --git a/functions/color.sh b/functions/color.sh index 05f877b..8bd3731 100755 --- a/functions/color.sh +++ b/functions/color.sh @@ -1,7 +1,7 @@ #!/bin/sh ## live-build(7) - System Build Scripts -## Copyright (C) 2006-2013 Daniel Baumann +## Copyright (C) 2006-2014 Daniel Baumann ## ## This program comes with ABSOLUTELY NO WARRANTY; for details see COPYING. ## This is free software, and you are welcome to redistribute it diff --git a/functions/common.sh b/functions/common.sh index bb405df..161722b 100755 --- a/functions/common.sh +++ b/functions/common.sh @@ -1,7 +1,7 @@ #!/bin/sh ## live-build(7) - System Build Scripts -## Copyright (C) 2006-2013 Daniel Baumann +## Copyright (C) 2006-2014 Daniel Baumann ## ## This program comes with ABSOLUTELY NO WARRANTY; for details see COPYING. ## This is free software, and you are welcome to redistribute it @@ -12,4 +12,7 @@ VERSION="$(if [ -e ${LIVE_BUILD}/VERSION ]; then cat ${LIVE_BUILD}/VERSION; else cat /usr/share/live/build/VERSION; fi)" CONFIG_VERSION="$(echo ${VERSION} | awk -F- '{ print $1 }')" +# FIXME +LIVE_BUILD_VERSION="${CONFIG_VERSION}" + PATH="${PWD}/local/bin:${PATH}" diff --git a/functions/conffile.sh b/functions/conffile.sh index e2449f9..055c913 100755 --- a/functions/conffile.sh +++ b/functions/conffile.sh @@ -1,7 +1,7 @@ #!/bin/sh ## live-build(7) - System Build Scripts -## Copyright (C) 2006-2013 Daniel Baumann +## Copyright (C) 2006-2014 Daniel Baumann ## ## This program comes with ABSOLUTELY NO WARRANTY; for details see COPYING. ## This is free software, and you are welcome to redistribute it @@ -16,7 +16,7 @@ else for FILE in ${@} do - FILES="${FILES} ${FILE} ${FILE}.${LB_ARCHITECTURES} ${FILE}.${DISTRIBUTION}" + FILES="${FILES} ${FILE} ${FILE}.${LIVE_IMAGE_ARCHITECTURE} ${FILE}.${DISTRIBUTION}" FILES="${FILES} config/$(echo ${PROGRAM} | sed -e 's|^lb_||')" FILES="${FILES} config/$(echo ${PROGRAM} | sed -e 's|^lb_||').${ARCHITECTURE}" FILES="${FILES} config/$(echo ${PROGRAM} | sed -e 's|^lb_||').${DISTRIBUTION}" diff --git a/functions/configuration.sh b/functions/configuration.sh new file mode 100755 index 0000000..cdcc9f2 --- /dev/null +++ b/functions/configuration.sh @@ -0,0 +1,38 @@ +#!/bin/sh + +## live-build(7) - System Build Scripts +## Copyright (C) 2006-2014 Daniel Baumann +## +## This program comes with ABSOLUTELY NO WARRANTY; for details see COPYING. +## This is free software, and you are welcome to redistribute it +## under certain conditions; see COPYING for details. + + +Get_configuration () +{ + _CONFIGURATION_FILE="${1}" + _FIELD_NAME="${2}" + + if [ -e "${_CONFIGURATION_FILE}" ] + then + _FIELD_BODY="$(grep ^${_FIELD_NAME}: ${_CONFIGURATION_FILE} | awk '{ $1=""; print $0 }' | sed -e 's|^ ||')" + fi + + echo ${_FIELD_BODY} +} + +Set_configuration () +{ + _CONFIGURATION_FILE="${1}" + _FIELD_NAME="${2}" + _FIELD_BODY="${3}" + + if grep -qs "^${_FIELD_NAME}:" "${_CONFIGURATION_FILE}" + then + # Update configuration + sed -i -e "s|^${_FIELD_NAME}:.*$|${_FIELD_NAME}: ${_FIELD_BODY}|" "${_CONFIGURATION_FILE}" + else + # Append configuration + echo "${_FIELD_NAME}: ${_FIELD_BODY}" >> "${_CONFIGURATION_FILE}" + fi +} diff --git a/functions/cursor.sh b/functions/cursor.sh index a6851eb..6d1f9c9 100755 --- a/functions/cursor.sh +++ b/functions/cursor.sh @@ -1,7 +1,7 @@ #!/bin/sh ## live-build(7) - System Build Scripts -## Copyright (C) 2006-2013 Daniel Baumann +## Copyright (C) 2006-2014 Daniel Baumann ## ## This program comes with ABSOLUTELY NO WARRANTY; for details see COPYING. ## This is free software, and you are welcome to redistribute it diff --git a/functions/defaults.sh b/functions/defaults.sh index be64a87..feebdee 100755 --- a/functions/defaults.sh +++ b/functions/defaults.sh @@ -1,15 +1,90 @@ #!/bin/sh ## live-build(7) - System Build Scripts -## Copyright (C) 2006-2013 Daniel Baumann +## Copyright (C) 2006-2014 Daniel Baumann ## ## This program comes with ABSOLUTELY NO WARRANTY; for details see COPYING. ## This is free software, and you are welcome to redistribute it ## under certain conditions; see COPYING for details. +New_configuration () +{ + ## Runtime + + # Image: Architecture + if [ -x "/usr/bin/dpkg" ] + then + CURRENT_IMAGE_ARCHITECTURE="$(dpkg --print-architecture)" + else + case "$(uname -m)" in + x86_64) + CURRENT_IMAGE_ARCHITECTURE="amd64" + ;; + + i?86) + CURRENT_IMAGE_ARCHITECTURE="i386" + ;; + + *) + Echo_warning "Unable to determine current architecture, using ${CURRENT_IMAGE_ARCHITECTURE}" + ;; + esac + fi + + + ## Configuration + + # Configuration-Version + LIVE_CONFIGURATION_VERSION="${LIVE_CONFIGURATION_VERSION:-$(Get_configuration config/build Configuration-Version)}" + LIVE_CONFIGURATION_VERSION="${LIVE_CONFIGURATION_VERSION:-${LIVE_BUILD_VERSION}}" + export LIVE_CONFIGURATION_VERSION + + # Image: Name + LIVE_IMAGE_NAME="${LIVE_IMAGE_NAME:-$(Get_configuration config/build Name)}" + LIVE_IMAGE_NAME="${LIVE_IMAGE_NAME:-live-image}" + export LIVE_IMAGE_NAME + + # Image: Architecture (FIXME: Support and default to 'any') + LIVE_IMAGE_ARCHITECTURE="${LIVE_IMAGE_ARCHITECTURE:-$(Get_configuration config/build Architecture)}" + LIVE_IMAGE_ARCHITECTURE="${LIVE_IMAGE_ARCHITECTURE:-${CURRENT_IMAGE_ARCHITECTURE}}" + export LIVE_IMAGE_ARCHITECTURE + + # Image: Archive Areas + LIVE_IMAGE_ARCHIVE_AREAS="${LIVE_IMAGE_ARCHIVE_AREAS:-$(Get_configuration config/build Archive-Areas)}" + + case "${LB_MODE}" in + progress-linux) + LIVE_IMAGE_ARCHIVE_AREAS="${LIVE_IMAGE_ARCHIVE_AREAS:-main contrib non-free}" + ;; + + ubuntu) + LIVE_IMAGE_ARCHIVE_AREAS="${LIVE_IMAGE_ARCHIVE_AREAS:-main restricted}" + ;; + + *) + LIVE_IMAGE_ARCHIVE_AREAS="${LIVE_IMAGE_ARCHIVE_AREAS:-main}" + ;; + esac + + export LIVE_IMAGE_ARCHIVE_AREAS + + # Image: Archive Areas + LIVE_IMAGE_PARENT_ARCHIVE_AREAS="${LIVE_IMAGE_PARENT_ARCHIVE_AREAS:-$(Get_configuration config/build Parent-Archive-Areas)}" + LIVE_IMAGE_PARENT_ARCHIVE_AREAS="${LIVE_IMAGE_PARENT_ARCHIVE_AREAS:-${LIVE_IMAGE_ARCHIVE_AREAS}}" + export LIVE_IMAGE_PARENT_ARCHIVE_AREAS + + # Image: Type + LIVE_IMAGE_TYPE="${LIVE_IMAGE_TYPE:-$(Get_configuration config/build Type)}" + LIVE_IMAGE_TYPE="${LIVE_IMAGE_TYPE:-iso-hybrid}" + export LIVE_IMAGE_TYPE +} + Set_defaults () { + # FIXME + New_configuration + ## config/common if [ -e local/live-build ] @@ -21,10 +96,10 @@ # Setting system type LB_SYSTEM="${LB_SYSTEM:-live}" - # Setting mode (currently: debian, emdebian, progress-linux, and ubuntu) + # Setting mode (currently: debian, progress-linux, and ubuntu) if [ -x /usr/bin/lsb_release ] then - _DISTRIBUTOR="$(lsb_release -is | tr [A-Z] [a-z])" + _DISTRIBUTOR="$(lsb_release -is | tr "[A-Z]" "[a-z]")" case "${_DISTRIBUTOR}" in debian|progress-linux|ubuntu) @@ -55,12 +130,12 @@ ;; ubuntu) - LB_DISTRIBUTION="${LB_DISTRIBUTION:-precise}" + LB_DISTRIBUTION="${LB_DISTRIBUTION:-quantal}" LB_DERIVATIVE="false" ;; *) - LB_DISTRIBUTION="${LB_DISTRIBUTION:-wheezy}" + LB_DISTRIBUTION="${LB_DISTRIBUTION:-jessie}" LB_DERIVATIVE="false" ;; esac @@ -68,11 +143,6 @@ case "${LB_MODE}" in progress-linux) case "${LB_DISTRIBUTION}" in - artax|artax-backports) - LB_PARENT_DISTRIBUTION="${LB_PARENT_DISTRIBUTION:-squeeze}" - LB_PARENT_DEBIAN_INSTALLER_DISTRIBUTION="${LB_PARENT_DEBIAN_INSTALLER_DISTRIBUTION:-${LB_PARENT_DISTRIBUTION}}" - ;; - baureo|baureo-backports) LB_PARENT_DISTRIBUTION="${LB_PARENT_DISTRIBUTION:-wheezy}" LB_PARENT_DEBIAN_INSTALLER_DISTRIBUTION="${LB_PARENT_DEBIAN_INSTALLER_DISTRIBUTION:-${LB_PARENT_DISTRIBUTION}}" @@ -127,7 +197,7 @@ # Setting apt recommends case "${LB_MODE}" in - emdebian|progress-linux) + progress-linux) LB_APT_RECOMMENDS="${LB_APT_RECOMMENDS:-false}" ;; @@ -205,12 +275,12 @@ progress-linux) case "${LB_DISTRIBUTION}" in - artax|artax-backports) + chairon*) + LB_INITSYSTEM="${LB_INITSYSTEM:-systemd}" + ;; + + *) LB_INITSYSTEM="${LB_INITSYSTEM:-sysvinit}" - ;; - - *) - LB_INITSYSTEM="${LB_INITSYSTEM:-systemd}" ;; esac ;; @@ -260,36 +330,16 @@ fi fi - if [ "$(id -u)" = "0" ] - then - # If we are root, disable root command - LB_ROOT_COMMAND="" - else - if [ -x /usr/bin/sudo ] - then - # FIXME: this is false until considered safe - #LB_ROOT_COMMAND="sudo" - LB_ROOT_COMMAND="" - fi - fi - - if [ "${LB_ARCHITECTURE}" = "i386" ] && [ "$(uname -m)" = "x86_64" ] - then + if [ "${LIVE_IMAGE_ARCHITECTURE}" = "i386" ] && [ "${CURRENT_IMAGE_ARCHITECTURE}" = "amd64" ] + then + # Use linux32 when building amd64 images on i386 _LINUX32="linux32" else _LINUX32="" fi # Setting tasksel - case "${LB_PARENT_DISTRIBUTION}" in - squeeze) - LB_TASKSEL="${LB_TASKSEL:-tasksel}" - ;; - - *) - LB_TASKSEL="${LB_TASKSEL:-apt}" - ;; - esac + LB_TASKSEL="${LB_TASKSEL:-apt}" # Setting root directory case "${LB_MODE}" in @@ -320,34 +370,6 @@ ## config/bootstrap - # Setting architecture value - if [ -z "${LB_ARCHITECTURES}" ] - then - if [ -x "/usr/bin/dpkg" ] - then - LB_ARCHITECTURES="$(dpkg --print-architecture)" - else - case "$(uname -m)" in - sparc|powerpc) - LB_ARCHITECTURES="$(uname -m)" - ;; - x86_64) - LB_ARCHITECTURES="amd64" - ;; - *) - if [ -e /lib64 ] - then - LB_ARCHITECTURES="amd64" - else - LB_ARCHITECTURES="i386" - fi - - Echo_warning "Can't determine architecture, assuming ${LB_ARCHITECTURES}" - ;; - esac - fi - fi - # Setting mirror to fetch packages from case "${LB_MODE}" in debian) @@ -355,18 +377,13 @@ LB_PARENT_MIRROR_BOOTSTRAP="${LB_PARENT_MIRROR_BOOTSTRAP:-${LB_MIRROR_BOOTSTRAP}}" ;; - emdebian) - LB_MIRROR_BOOTSTRAP="${LB_MIRROR_BOOTSTRAP:-http://www.emdebian.org/grip/}" - LB_PARENT_MIRROR_BOOTSTRAP="${LB_PARENT_MIRROR_BOOTSTRAP:-${LB_MIRROR_BOOTSTRAP}}" - ;; - progress-linux) LB_PARENT_MIRROR_BOOTSTRAP="${LB_PARENT_MIRROR_BOOTSTRAP:-http://ftp.debian.org/debian/}" LB_MIRROR_BOOTSTRAP="${LB_MIRROR_BOOTSTRAP:-http://cdn.archive.progress-linux.org/packages/}" ;; ubuntu) - case "${LB_ARCHITECTURES}" in + case "${LIVE_IMAGE_ARCHITECTURE}" in amd64|i386) LB_MIRROR_BOOTSTRAP="${LB_MIRROR_BOOTSTRAP:-http://archive.ubuntu.com/ubuntu/}" ;; @@ -390,18 +407,13 @@ LB_PARENT_MIRROR_CHROOT_SECURITY="${LB_PARENT_MIRROR_CHROOT_SECURITY:-${LB_MIRROR_CHROOT_SECURITY}}" ;; - emdebian) - LB_MIRROR_CHROOT_SECURITY="${LB_MIRROR_CHROOT_SECURITY:-none}" - LB_PARENT_MIRROR_CHROOT_SECURITY="${LB_PARENT_MIRROR_CHROOT_SECURITY:-${LB_MIRROR_CHROOT_SECURITY}}" - ;; - progress-linux) LB_PARENT_MIRROR_CHROOT_SECURITY="${LB_PARENT_MIRROR_CHROOT_SECURITY:-http://security.debian.org/}" LB_MIRROR_CHROOT_SECURITY="${LB_MIRROR_CHROOT_SECURITY:-${LB_MIRROR_CHROOT}}" ;; ubuntu) - case "${LB_ARCHITECTURES}" in + case "${LIVE_IMAGE_ARCHITECTURE}" in amd64|i386) LB_MIRROR_CHROOT_SECURITY="${LB_MIRROR_CHROOT_SECURITY:-http://security.ubuntu.com/ubuntu/}" ;; @@ -412,59 +424,6 @@ esac LB_PARENT_MIRROR_CHROOT_SECURITY="${LB_PARENT_MIRROR_CHROOT_SECURITY:-${LB_MIRROR_CHROOT_SECURITY}}" - ;; - esac - - # Setting updates mirror to fetch packages from - case "${LB_MODE}" in - debian|progress-linux) - LB_PARENT_MIRROR_CHROOT_UPDATES="${LB_PARENT_MIRROR_CHROOT_UPDATES:-${LB_PARENT_MIRROR_CHROOT}}" - LB_MIRROR_CHROOT_UPDATES="${LB_MIRROR_CHROOT_UPDATES:-${LB_MIRROR_CHROOT}}" - ;; - - ubuntu) - case "${LB_ARCHITECTURES}" in - amd64|i386) - LB_MIRROR_CHROOT_UPDATES="${LB_MIRROR_CHROOT_UPDATES:-http://archive.ubuntu.com/ubuntu/}" - ;; - - *) - LB_MIRROR_CHROOT_UPDATES="${LB_MIRROR_CHROOT_UPDATES:-http://ports.ubuntu.com/ubuntu-ports/}" - ;; - esac - - LB_PARENT_MIRROR_CHROOT_UPDATES="${LB_PARENT_MIRROR_CHROOT_UPDATES:-${LB_PARENT_MIRROR_CHROOT}}" - ;; - - *) - LB_PARENT_MIRROR_CHROOT_UPDATES="${LB_PARENT_MIRROR_CHROOT_UPDATES:-none}" - LB_MIRROR_CHROOT_UPDATES="${LB_MIRROR_CHROOT_UPDATES:-none}" - ;; - esac - - # Setting backports mirror to fetch packages from - case "${LB_MODE}" in - debian) - case "${LB_DISTRIBUTION}" in - squeeze) - LB_MIRROR_CHROOT_BACKPORTS="${LB_MIRROR_CHROOT_BACKPORTS:-http://backports.debian.org/debian-backports/}" - ;; - - *) - LB_MIRROR_CHROOT_BACKPORTS="${LB_MIRROR_CHROOT_BACKPORTS:-${LB_MIRROR_CHROOT}}" - ;; - esac - - LB_PARENT_MIRROR_CHROOT_BACKPORTS="${LB_PARENT_MIRROR_CHROOT_BACKPORTS:-${LB_MIRROR_CHROOT_BACKPORTS}}" - ;; - - progress-linux) - LB_MIRROR_CHROOT_BACKPORTS="${LB_MIRROR_CHROOT_BACKPORTS:-${LB_MIRROR_CHROOT}}" - ;; - - *) - LB_PARENT_MIRROR_CHROOT_BACKPORTS="${LB_PARENT_MIRROR_CHROOT_BACKPORTS:-none}" - LB_MIRROR_CHROOT_BACKPORTS="${LB_MIRROR_CHROOT_BACKPORTS:-none}" ;; esac @@ -480,13 +439,8 @@ LB_MIRROR_BINARY="${LB_MIRROR_BINARY:-${LB_MIRROR_CHROOT}}" ;; - emdebian) - LB_MIRROR_BINARY="${LB_MIRROR_BINARY:-http://www.emdebian.org/grip/}" - LB_PARENT_MIRROR_BINARY="${LB_PARENT_MIRROR_BINARY:-${LB_MIRROR_BINARY}}" - ;; - - ubuntu) - case "${LB_ARCHITECTURES}" in + ubuntu) + case "${LIVE_IMAGE_ARCHITECTURE}" in amd64|i386) LB_MIRROR_BINARY="${LB_MIRROR_BINARY:-http://archive.ubuntu.com/ubuntu/}" ;; @@ -507,18 +461,13 @@ LB_PARENT_MIRROR_BINARY_SECURITY="${LB_PARENT_MIRROR_BINARY_SECURITY:-${LB_MIRROR_BINARY_SECURITY}}" ;; - emdebian) - LB_MIRROR_BINARY_SECURITY="${LB_MIRROR_BINARY_SECURITY:-none}" - LB_PARENT_MIRROR_BINARY_SECURITY="${LB_PARENT_MIRROR_BINARY_SECURITY:-${LB_MIRROR_BINARY_SECURITY}}" - ;; - progress-linux) LB_PARENT_MIRROR_BINARY_SECURITY="${LB_PARENT_MIRROR_BINARY_SECURITY:-http://security.debian.org/}" LB_MIRROR_BINARY_SECURITY="${LB_MIRROR_BINARY_SECURITY:-${LB_MIRROR_CHROOT}}" ;; ubuntu) - case "${LB_ARCHITECTURES}" in + case "${LIVE_IMAGE_ARCHITECTURE}" in amd64|i386) LB_MIRROR_BINARY_SECURITY="${LB_MIRROR_BINARY_SECURITY:-http://security.ubuntu.com/ubuntu/}" ;; @@ -532,63 +481,6 @@ ;; esac - # Setting updates mirror which ends up in the image - case "${LB_MODE}" in - debian) - LB_MIRROR_BINARY_UPDATES="${LB_MIRROR_BINARY_UPDATES:-${LB_MIRROR_BINARY}}" - LB_PARENT_MIRROR_BINARY_UPDATES="${LB_PARENT_MIRROR_BINARY_UPDATES:-${LB_PARENT_MIRROR_BINARY}}" - ;; - - progress-linux) - LB_PARENT_MIRROR_BINARY_UPDATES="${LB_PARENT_MIRROR_BINARY_UPDATES:-${LB_PARENT_MIRROR_BINARY}}" - LB_MIRROR_BINARY_UPDATES="${LB_MIRROR_BINARY_UPDATES:-${LB_MIRROR_BINARY}}" - ;; - - ubuntu) - case "${LB_ARCHITECTURES}" in - amd64|i386) - LB_MIRROR_BINARY_UPDATES="${LB_MIRROR_BINARY_UPDATES:-http://archive.ubuntu.com/ubuntu/}" - ;; - - *) - LB_MIRROR_BINARY_UPDATES="${LB_MIRROR_BINARY_UPDATES:-http://ports.ubuntu.com/ubuntu-ports/}" - ;; - esac - - LB_PARENT_MIRROR_BINARY_UPDATES="${LB_PARENT_MIRROR_BINARY_UPDATES:-${LB_PARENT_MIRROR_BINARY}}" - ;; - - *) - LB_PARENT_MIRROR_BINARY_UPDATES="${LB_PARENT_MIRROR_BINARY_UPDATES:-none}" - ;; - esac - - # Setting backports mirror which ends up in the image - case "${LB_MODE}" in - debian) - case "${LB_DISTRIBUTION}" in - squeeze) - LB_MIRROR_BINARY_BACKPORTS="${LB_MIRROR_BINARY_BACKPORTS:-http://http.debian.net/debian-backports/}" - ;; - - *) - LB_MIRROR_BINARY_BACKPORTS="${LB_MIRROR_BINARY_BACKPORTS:-${LB_MIRROR_BINARY}}" - ;; - esac - - LB_PARENT_MIRROR_BINARY_BACKPORTS="${LB_PARENT_MIRROR_BINARY_BACKPORTS:-${LB_MIRROR_BINARY_BACKPORTS}}" - ;; - - progress-linux) - LB_MIRROR_BINARY_BACKPORTS="${LB_MIRROR_BINARY_BACKPORTS:-${LB_MIRROR_BINARY}}" - ;; - - *) - LB_PARENT_MIRROR_BINARY_BACKPORTS="${LB_PARENT_MIRROR_BINARY_BACKPORTS:-none}" - LB_MIRROR_BINARY_BACKPORTS="${LB_MIRROR_BINARY_BACKPORTS:-none}" - ;; - esac - case "${LB_MODE}" in progress-linux) LB_PARENT_MIRROR_DEBIAN_INSTALLER="${LB_PARENT_MIRROR_DEBIAN_INSTALLER:-${LB_MIRROR_CHROOT}}" @@ -601,55 +493,14 @@ ;; esac - # Setting archive areas value - case "${LB_MODE}" in - progress-linux) - LB_ARCHIVE_AREAS="${LB_ARCHIVE_AREAS:-main contrib non-free}" - LB_PARENT_ARCHIVE_AREAS="${LB_PARENT_ARCHIVE_AREAS:-${LB_ARCHIVE_AREAS}}" - ;; - - ubuntu) - LB_ARCHIVE_AREAS="${LB_ARCHIVE_AREAS:-main restricted}" - LB_PARENT_ARCHIVE_AREAS="${LB_PARENT_ARCHIVE_AREAS:-${LB_ARCHIVE_AREAS}}" - ;; - - *) - LB_ARCHIVE_AREAS="${LB_ARCHIVE_AREAS:-main}" - LB_PARENT_ARCHIVE_AREAS="${LB_PARENT_ARCHIVE_AREAS:-${LB_ARCHIVE_AREAS}}" - ;; - esac - ## config/chroot # Setting chroot filesystem LB_CHROOT_FILESYSTEM="${LB_CHROOT_FILESYSTEM:-squashfs}" - # Setting whether to expose root filesystem as read only - LB_EXPOSED_ROOT="${LB_EXPOSED_ROOT:-false}" - # Setting union filesystem LB_UNION_FILESYSTEM="${LB_UNION_FILESYSTEM:-aufs}" - # Setting distribution hooks - LB_CHROOT_HOOKS="${LB_CHROOT_HOOKS:-disable-kexec-tools \ - remove-adjtime-configuration \ - 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 \ - remove-systemd-machine-id \ - update-apt-file-cache \ - update-apt-xapian-index \ - update-glx-alternative \ - update-mlocate-database \ - update-nvidia-alternative}" - #remove-apt-sources-lists - # Setting interactive shell/X11/Xnest LB_INTERACTIVE="${LB_INTERACTIVE:-false}" @@ -665,7 +516,7 @@ esac # Setting linux flavour string - case "${LB_ARCHITECTURES}" in + case "${LIVE_IMAGE_ARCHITECTURE}" in armel) case "${LB_MODE}" in ubuntu) @@ -700,15 +551,7 @@ i386) case "${LB_MODE}" in progress-linux) - case "${LB_DISTRIBUTION}" in - artax) - LB_LINUX_FLAVOURS="${LB_LINUX_FLAVOURS:-686}" - ;; - - *) - LB_LINUX_FLAVOURS="${LB_LINUX_FLAVOURS:-686-pae}" - ;; - esac + LB_LINUX_FLAVOURS="${LB_LINUX_FLAVOURS:-686-pae}" ;; ubuntu) @@ -724,15 +567,7 @@ ;; *) - case "${LB_PARENT_DISTRIBUTION}" in - squeeze) - LB_LINUX_FLAVOURS="${LB_LINUX_FLAVOURS:-686 486}" - ;; - - *) - LB_LINUX_FLAVOURS="${LB_LINUX_FLAVOURS:-686-pae 486}" - ;; - esac + LB_LINUX_FLAVOURS="${LB_LINUX_FLAVOURS:-486}" ;; esac ;; @@ -740,7 +575,7 @@ ia64) case "${LB_MODE}" in progress-linux) - Echo_error "Architecture ${LB_ARCHITECTURES} not supported in the ${LB_MODE} mode." + Echo_error "Architecture ${LIVE_IMAGE_ARCHITECTURE} not supported in the ${LB_MODE} mode." exit 1 ;; @@ -753,7 +588,7 @@ powerpc) case "${LB_MODE}" in progress-linux) - Echo_error "Architecture ${LB_ARCHITECTURES} not supported in the ${LB_MODE} mode." + Echo_error "Architecture ${LIVE_IMAGE_ARCHITECTURE} not supported in the ${LB_MODE} mode." exit 1 ;; @@ -767,15 +602,15 @@ esac ;; - s390) + s390x) case "${LB_MODE}" in progress-linux|ubuntu) - Echo_error "Architecture ${LB_ARCHITECTURES} not supported in the ${LB_MODE} mode." + Echo_error "Architecture ${LIVE_IMAGE_ARCHITECTURE} not supported in the ${LB_MODE} mode." exit 1 ;; *) - LB_LINUX_FLAVOURS="${LB_LINUX_FLAVOURS:-s390}" + LB_LINUX_FLAVOURS="${LB_LINUX_FLAVOURS:-s390x}" ;; esac ;; @@ -783,7 +618,7 @@ sparc) case "${LB_MODE}" in progress-linux) - Echo_error "Architecture ${LB_ARCHITECTURES} not supported in the ${LB_MODE} mode." + Echo_error "Architecture ${LIVE_IMAGE_ARCHITECTURE} not supported in the ${LB_MODE} mode." exit 1 ;; @@ -794,7 +629,7 @@ ;; *) - Echo_error "Architecture(s) ${LB_ARCHITECTURES} not yet supported (FIXME)" + Echo_error "Architecture(s) ${LIVE_IMAGE_ARCHITECTURE} not yet supported (FIXME)" exit 1 ;; esac @@ -806,15 +641,7 @@ ;; *) - case "${LB_PARENT_DISTRIBUTION}" in - squeeze) - LB_LINUX_PACKAGES="${LB_LINUX_PACKAGES:-linux-image-2.6}" - ;; - - *) - LB_LINUX_PACKAGES="${LB_LINUX_PACKAGES:-linux-image}" - ;; - esac + LB_LINUX_PACKAGES="${LB_LINUX_PACKAGES:-linux-image}" ;; esac @@ -843,7 +670,7 @@ ## config/binary # Setting image filesystem - case "${LB_ARCHITECTURES}" in + case "${LIVE_IMAGE_ARCHITECTURE}" in sparc) LB_BINARY_FILESYSTEM="${LB_BINARY_FILESYSTEM:-ext4}" ;; @@ -854,13 +681,13 @@ esac # Setting image type - case "${LB_ARCHITECTURES}" in + case "${LIVE_IMAGE_ARCHITECTURE}" in amd64|i386) - LB_BINARY_IMAGES="${LB_BINARY_IMAGES:-iso-hybrid}" - ;; - - *) - LB_BINARY_IMAGES="${LB_BINARY_IMAGES:-iso}" + LIVE_IMAGE_TYPE="${LIVE_IMAGE_TYPE:-iso-hybrid}" + ;; + + *) + LIVE_IMAGE_TYPE="${LIVE_IMAGE_TYPE:-iso}" ;; esac @@ -878,17 +705,9 @@ # Setting bootloader if [ -z "${LB_BOOTLOADER}" ] then - case "${LB_ARCHITECTURES}" in + case "${LIVE_IMAGE_ARCHITECTURE}" in amd64|i386) LB_BOOTLOADER="syslinux" - ;; - - powerpc) - LB_BOOTLOADER="yaboot" - ;; - - sparc) - LB_BOOTLOADER="silo" ;; esac fi @@ -948,8 +767,8 @@ # Setting boot parameters case "${LB_INITRAMFS}" in live-boot) - LB_BOOTAPPEND_LIVE="${LB_BOOTAPPEND_LIVE:-boot=live config quiet splash}" - LB_BOOTAPPEND_LIVE_FAILSAFE="${LB_BOOTAPPEND_LIVE_FAILSAFE:-boot=live config memtest noapic noapm nodma nomce nolapic nomodeset nosmp nosplash vga=normal}" + LB_BOOTAPPEND_LIVE="${LB_BOOTAPPEND_LIVE:-boot=live components quiet splash}" + LB_BOOTAPPEND_LIVE_FAILSAFE="${LB_BOOTAPPEND_LIVE_FAILSAFE:-boot=live components memtest noapic noapm nodma nomce nolapic nomodeset nosmp nosplash vga=normal}" ;; casper) @@ -965,7 +784,7 @@ if [ -n "${LB_DEBIAN_INSTALLER_PRESEEDFILE}" ] then - case "${LB_BINARY_IMAGES}" in + case "${LIVE_IMAGE_TYPE}" in iso*) _LB_BOOTAPPEND_PRESEED="file=/cdrom/install/${LB_DEBIAN_INSTALLER_PRESEEDFILE}" ;; @@ -1017,10 +836,6 @@ LB_ISO_APPLICATION="${LB_ISO_APPLICATION:-Debian Live}" ;; - emdebian) - LB_ISO_APPLICATION="${LB_ISO_APPLICATION:-Emdebian Live}" - ;; - progress-linux) LB_ISO_APPLICATION="${LB_ISO_APPLICATION:-Progress Linux}" ;; @@ -1031,7 +846,7 @@ esac # Set iso preparer - LB_ISO_PREPARER="${LB_ISO_PREPARER:-live-build \$VERSION; http://packages.qa.debian.org/live-build}" + LB_ISO_PREPARER="${LB_ISO_PREPARER:-live-build \$VERSION; http://live-systems.org/devel/live-build}" # Set iso publisher case "${LB_MODE}" in @@ -1040,7 +855,7 @@ ;; *) - LB_ISO_PUBLISHER="${LB_ISO_PUBLISHER:-Debian Live project; http://live.debian.net/; debian-live@lists.debian.org}" + LB_ISO_PUBLISHER="${LB_ISO_PUBLISHER:-Live Systems project; http://live-systems.org/; debian-live@lists.debian.org}" ;; esac @@ -1050,12 +865,8 @@ LB_HDD_LABEL="${LB_HDD_LABEL:-DEBIAN_LIVE}" ;; - emdebian) - LB_HDD_LABEL="${LB_HDD_LABEL:-EMDEBIAN_LIVE}" - ;; - - progress-linux) - LB_HDD_LABEL="${LB_HDD_LABEL:-PROGRESS_$(echo ${LB_DISTRIBUTION} | tr [a-z] [A-Z])}" + progress-linux) + LB_HDD_LABEL="${LB_HDD_LABEL:-PROGRESS_$(echo ${LB_DISTRIBUTION} | tr "[a-z]" "[A-Z]")}" ;; ubuntu) @@ -1064,7 +875,7 @@ esac # Setting hdd size - LB_HDD_SIZE="${LB_HDD_SIZE:-10000}" + LB_HDD_SIZE="${LB_HDD_SIZE:-auto}" # Setting iso volume case "${LB_MODE}" in @@ -1072,10 +883,6 @@ LB_ISO_VOLUME="${LB_ISO_VOLUME:-Debian ${LB_DISTRIBUTION} \$(date +%Y%m%d-%H:%M)}" ;; - emdebian) - LB_ISO_VOLUME="${LB_ISO_VOLUME:-Emdebian ${LB_DISTRIBUTION} \$(date +%Y%m%d-%H:%M)}" - ;; - progress-linux) LB_ISO_VOLUME="${LB_ISO_VOLUME:-Progress ${LB_DISTRIBUTION}}" ;; @@ -1086,7 +893,7 @@ esac # Setting memtest option - LB_MEMTEST="${LB_MEMTEST:-memtest86+}" + LB_MEMTEST="${LB_MEMTEST:-none}" # Setting loadlin option case "${LB_MODE}" in @@ -1095,7 +902,7 @@ ;; *) - case "${LB_ARCHITECTURES}" in + case "${LIVE_IMAGE_ARCHITECTURE}" in amd64|i386) if [ "${LB_DEBIAN_INSTALLER}" != "false" ] then @@ -1119,7 +926,7 @@ ;; *) - case "${LB_ARCHITECTURES}" in + case "${LIVE_IMAGE_ARCHITECTURE}" in amd64|i386) if [ "${LB_DEBIAN_INSTALLER}" != "false" ] then @@ -1182,42 +989,59 @@ # Setting image type LB_SOURCE_IMAGES="${LB_SOURCE_IMAGES:-tar}" - - # Setting fakeroot/fakechroot - LB_USE_FAKEROOT="${LB_USE_FAKEROOT:-false}" } Check_defaults () { - if [ "${LB_CONFIG_VERSION}" ] + if [ -n "${LIVE_BUILD_VERSION}" ] then # We're only checking when we're actually running the checks # that's why the check for emptyness of the version; - # however, as live-build always declares LB_CONFIG_VERSION + # however, as live-build always declares LIVE_BUILD_VERSION # internally, this is safe assumption (no cases where it's unset, # except when bootstrapping the functions/defaults etc.). - CURRENT_CONFIG_VERSION="$(echo ${LB_CONFIG_VERSION} | awk -F. '{ print $1 }')" - - if [ ${CURRENT_CONFIG_VERSION} -ne 3 ] + + CURRENT_CONFIGURATION_VERSION="$(echo ${LIVE_CONFIGURATION_VERSION} | awk -F. ' { print $1 }')" + + if [ -n "${CURRENT_CONFIGURATION_VERSION}" ] then - if [ ${CURRENT_CONFIG_VERSION} -ge 4 ] + CORRECT_VERSION="$(echo ${LIVE_BUILD_VERSION} | awk -F. '{ print $1 }')" + TOO_NEW_VERSION="$((${CORRECT_VERSION} + 1))" + TOO_OLD_VERSION="$((${CORRECT_VERSION} - 1))" + + if [ ${CURRENT_CONFIGURATION_VERSION} -ne ${CORRECT_VERSION} ] 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 2 ] - 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_CONFIGURATION_VERSION} -ge ${TOO_NEW_VERSION} ] + then + Echo_error "This config tree is too new for live-build (${VERSION})." + Echo_error "Aborting build, please update live-build." + + exit 1 + elif [ ${CURRENT_CONFIGURATION_VERSION} -le ${TOO_OLD_VERSION} ] + then + Echo_error "This config tree is too old for live-build (${VERSION})." + Echo_error "Aborting build, please update the configuration." + + exit 1 + else + Echo_warning "This configuration does not specify a version or has a unknown version." + Echo_warning "Continuing build, please correct the configuration." + fi fi fi fi + + case "${LB_BINARY_FILESYSTEM}" in + ntfs) + if [ ! -x "$(which ntfs-3g 2>/dev/null)" ] + then + Echo_error "Using ntfs as the binary filesystem is currently only supported" + Echo_error "if ntfs-3g is installed on the host system." + + exit 1 + fi + ;; + esac if echo ${LB_HDD_LABEL} | grep -qs ' ' then @@ -1237,21 +1061,20 @@ if [ "${LB_BOOTLOADER}" = "syslinux" ] then - # syslinux + fat + # syslinux + fat or ntfs, or extlinux + ext[234] or btrfs case "${LB_BINARY_FILESYSTEM}" in - fat*|ntfs) + fat*|ntfs|ext[234]|btrfs) ;; *) - Echo_warning "You have selected values of LB_BOOTLOADER and LB_BINARY_FILESYSTEM which are incompatible - syslinux only supports FAT and NTFS filesystems." + Echo_warning "You have selected values of LB_BOOTLOADER and LB_BINARY_FILESYSTEM which are incompatible - the syslinux family only support FAT, NTFS, ext[234] or btrfs filesystems." ;; esac fi - case "${LB_BINARY_IMAGES}" in + case "${LIVE_IMAGE_TYPE}" in hdd*) - # grub or yaboot + hdd case "${LB_BOOTLOADER}" in - grub|yaboot) + grub) Echo_error "You have selected a combination of bootloader and image type that is currently not supported by live-build. Please use either another bootloader or a different image type." exit 1 ;; diff --git a/functions/echo.sh b/functions/echo.sh index 8f08d55..3d6f5f8 100755 --- a/functions/echo.sh +++ b/functions/echo.sh @@ -1,7 +1,7 @@ #!/bin/sh ## live-build(7) - System Build Scripts -## Copyright (C) 2006-2013 Daniel Baumann +## Copyright (C) 2006-2014 Daniel Baumann ## ## This program comes with ABSOLUTELY NO WARRANTY; for details see COPYING. ## This is free software, and you are welcome to redistribute it diff --git a/functions/exit.sh b/functions/exit.sh index bde8a2a..36637e6 100755 --- a/functions/exit.sh +++ b/functions/exit.sh @@ -1,7 +1,7 @@ #!/bin/sh ## live-build(7) - System Build Scripts -## Copyright (C) 2006-2013 Daniel Baumann +## Copyright (C) 2006-2014 Daniel Baumann ## ## This program comes with ABSOLUTELY NO WARRANTY; for details see COPYING. ## This is free software, and you are welcome to redistribute it diff --git a/functions/help.sh b/functions/help.sh index 1efd12a..cdec8e2 100755 --- a/functions/help.sh +++ b/functions/help.sh @@ -1,7 +1,7 @@ #!/bin/sh ## live-build(7) - System Build Scripts -## Copyright (C) 2006-2013 Daniel Baumann +## Copyright (C) 2006-2014 Daniel Baumann ## ## This program comes with ABSOLUTELY NO WARRANTY; for details see COPYING. ## This is free software, and you are welcome to redistribute it @@ -31,6 +31,6 @@ echo fi - Echo "Report bugs to Debian Live project ." + Echo "Report bugs to the Live Systems project ." exit 0 } diff --git a/functions/lockfile.sh b/functions/lockfile.sh index 69b56ee..e592518 100755 --- a/functions/lockfile.sh +++ b/functions/lockfile.sh @@ -1,7 +1,7 @@ #!/bin/sh ## live-build(7) - System Build Scripts -## Copyright (C) 2006-2013 Daniel Baumann +## Copyright (C) 2006-2014 Daniel Baumann ## ## This program comes with ABSOLUTELY NO WARRANTY; for details see COPYING. ## This is free software, and you are welcome to redistribute it @@ -14,7 +14,7 @@ if [ -z "${FILE}" ] then - FILE="/var/lock/${PROGRAM}.lock" + FILE=".build/lock" fi # Checking lock file @@ -31,7 +31,7 @@ if [ -z "${FILE}" ] then - FILE="/var/lock/${PROGRAM}.lock" + FILE=".build/lock" fi DIRECTORY="$(dirname ${FILE})" diff --git a/functions/losetup.sh b/functions/losetup.sh index 48c7542..8289c6e 100755 --- a/functions/losetup.sh +++ b/functions/losetup.sh @@ -1,7 +1,7 @@ #!/bin/sh ## live-build(7) - System Build Scripts -## Copyright (C) 2006-2013 Daniel Baumann +## Copyright (C) 2006-2014 Daniel Baumann ## ## This program comes with ABSOLUTELY NO WARRANTY; for details see COPYING. ## This is free software, and you are welcome to redistribute it @@ -23,7 +23,7 @@ # a race condition. We call 'udevadm settle' to help avoid this. if [ -x "$(which udevadm 2>/dev/null)" ] then - ${LB_ROOT_COMMAND} udevadm settle + udevadm settle fi # Loop back devices aren't the most reliable when it comes to writes. @@ -31,7 +31,7 @@ sync sleep 1 - ${LB_ROOT_COMMAND} ${LB_LOSETUP} -d "${DEVICE}" || Lodetach "${DEVICE}" "$(expr ${ATTEMPT} + 1)" + ${LB_LOSETUP} -d "${DEVICE}" || Lodetach "${DEVICE}" "$(expr ${ATTEMPT} + 1)" } Losetup () @@ -40,7 +40,7 @@ FILE="${2}" PARTITION="${3:-1}" - ${LB_ROOT_COMMAND} ${LB_LOSETUP} --read-only "${DEVICE}" "${FILE}" + ${LB_LOSETUP} --read-only "${DEVICE}" "${FILE}" FDISK_OUT="$(${LB_FDISK} -l -u ${DEVICE} 2>&1)" Lodetach "${DEVICE}" @@ -50,14 +50,14 @@ then Echo_message "Mounting %s with offset 0" "${DEVICE}" - ${LB_ROOT_COMMAND} ${LB_LOSETUP} "${DEVICE}" "${FILE}" + ${LB_LOSETUP} "${DEVICE}" "${FILE}" else SECTORS="$(echo "$FDISK_OUT" | sed -ne "s|^$LOOPDEVICE[ *]*\([0-9]*\).*|\1|p")" OFFSET="$(expr ${SECTORS} '*' 512)" Echo_message "Mounting %s with offset %s" "${DEVICE}" "${OFFSET}" - ${LB_ROOT_COMMAND} ${LB_LOSETUP} -o "${OFFSET}" "${DEVICE}" "${FILE}" + ${LB_LOSETUP} -o "${OFFSET}" "${DEVICE}" "${FILE}" fi } @@ -68,7 +68,7 @@ case "${FILESYSTEM}" in ext2|ext3|ext4) - PERCENT="5" + PERCENT="6" ;; *) PERCENT="3" diff --git a/functions/man.sh b/functions/man.sh index 15a357c..8fdf81c 100755 --- a/functions/man.sh +++ b/functions/man.sh @@ -1,7 +1,7 @@ #!/bin/sh ## live-build(7) - System Build Scripts -## Copyright (C) 2006-2013 Daniel Baumann +## Copyright (C) 2006-2014 Daniel Baumann ## ## This program comes with ABSOLUTELY NO WARRANTY; for details see COPYING. ## This is free software, and you are welcome to redistribute it diff --git a/functions/packagelists.sh b/functions/packagelists.sh index 0294aea..8470d9a 100755 --- a/functions/packagelists.sh +++ b/functions/packagelists.sh @@ -1,7 +1,7 @@ #!/bin/sh ## live-build(7) - System Build Scripts -## Copyright (C) 2006-2013 Daniel Baumann +## Copyright (C) 2006-2014 Daniel Baumann ## ## This program comes with ABSOLUTELY NO WARRANTY; for details see COPYING. ## This is free software, and you are welcome to redistribute it @@ -37,7 +37,7 @@ continue fi - while read _LB_LINE + printf "$(cat ${_LB_LIST_LOCATION})\n" | while read _LB_LINE do case "${_LB_LINE}" in \!*) @@ -107,22 +107,6 @@ _LB_ENABLED=1 ;; - \#*) - if [ ${_LB_ENABLED} -ne 1 ] - then - continue - fi - - # Find includes - _LB_INCLUDES="$(echo "${_LB_LINE}" | sed -n \ - -e 's|^# \([^ ]*\)|\1|gp' \ - -e 's|^#include <\([^ ]*\)>|\1|gp')" - - # Add to queue - _LB_EXPAND_QUEUE="$(echo ${_LB_EXPAND_QUEUE} ${_LB_INCLUDES} | - sed -e 's|[ ]*$||' -e 's|^[ ]*||')" - ;; - *) if [ ${_LB_ENABLED} -eq 1 ] then @@ -131,6 +115,33 @@ ;; esac - done < "${_LB_LIST_LOCATION}" + done done } + +Discover_package_architectures () +{ + _LB_EXPANDED_PKG_LIST="${1}" + _LB_DISCOVERED_ARCHITECTURES="" + + shift + + if [ -e "${_LB_EXPANDED_PKG_LIST}" ] && [ -s "${_LB_EXPANDED_PKG_LIST}" ] + then + while read _LB_PACKAGE_LINE + do + # Lines from the expanded package list may have multiple, space-separated packages + for _LB_PACKAGE_LINE_PART in ${_LB_PACKAGE_LINE} + do + # Looking for : + if [ -n "$(echo ${_LB_PACKAGE_LINE_PART} | awk -F':' '{print $2}')" ] + then + _LB_DISCOVERED_ARCHITECTURES="${_LB_DISCOVERED_ARCHITECTURES} $(echo ${_LB_PACKAGE_LINE_PART} | awk -F':' '{print $2}')" + fi + done + done < "${_LB_EXPANDED_PKG_LIST}" + + # Output unique architectures, alpha-sorted, one per line + echo "${_LB_DISCOVERED_ARCHITECTURES}" | tr -s '[:space:]' '\n' | sort | uniq + fi +} diff --git a/functions/packages.sh b/functions/packages.sh index b4603a9..4211c0e 100755 --- a/functions/packages.sh +++ b/functions/packages.sh @@ -1,7 +1,7 @@ #!/bin/sh ## live-build(7) - System Build Scripts -## Copyright (C) 2006-2013 Daniel Baumann +## Copyright (C) 2006-2014 Daniel Baumann ## ## This program comes with ABSOLUTELY NO WARRANTY; for details see COPYING. ## This is free software, and you are welcome to redistribute it diff --git a/functions/releases.sh b/functions/releases.sh index e90a805..4c679cd 100755 --- a/functions/releases.sh +++ b/functions/releases.sh @@ -1,7 +1,7 @@ #!/bin/sh ## live-build(7) - System Build Scripts -## Copyright (C) 2006-2013 Daniel Baumann +## Copyright (C) 2006-2014 Daniel Baumann ## ## This program comes with ABSOLUTELY NO WARRANTY; for details see COPYING. ## This is free software, and you are welcome to redistribute it @@ -9,19 +9,16 @@ # Debian releases -RELEASE_squeeze="6.0.7" -RELEASE_wheezy="7.0.0" +RELEASE_wheezy="7" RELEASE_jessie="8" RELEASE_sid="unstable" # Progress Linux releases -RELEASE_artax="1.0" -RELEASE_baureo="2.0" -RELEASE_charon="unstable" +RELEASE_baureo="2" +RELEASE_charon="3" # Ubuntu releases -RELEASE_hardy="8.04" # LTS: 2013-04-01 RELEASE_lucid="10.04" # LTS: 2015-04-01 -RELEASE_oneiric="11.10" # 2013-04-01 RELEASE_precise="12.04" # LTS: 2017-04-01 RELEASE_quantal="12.10" # 2014-04-01 +RELEASE_raring="13.04" # 2014-10-01 diff --git a/functions/stagefile.sh b/functions/stagefile.sh index 0ef3dcd..4bcb119 100755 --- a/functions/stagefile.sh +++ b/functions/stagefile.sh @@ -1,7 +1,7 @@ #!/bin/sh ## live-build(7) - System Build Scripts -## Copyright (C) 2006-2013 Daniel Baumann +## Copyright (C) 2006-2014 Daniel Baumann ## ## This program comes with ABSOLUTELY NO WARRANTY; for details see COPYING. ## This is free software, and you are welcome to redistribute it diff --git a/functions/templates.sh b/functions/templates.sh index c86b87d..d74c943 100755 --- a/functions/templates.sh +++ b/functions/templates.sh @@ -1,7 +1,7 @@ #!/bin/sh ## live-build(7) - System Build Scripts -## Copyright (C) 2006-2013 Daniel Baumann +## Copyright (C) 2006-2014 Daniel Baumann ## ## This program comes with ABSOLUTELY NO WARRANTY; for details see COPYING. ## This is free software, and you are welcome to redistribute it diff --git a/functions/usage.sh b/functions/usage.sh index 7a0d127..b70b862 100755 --- a/functions/usage.sh +++ b/functions/usage.sh @@ -1,7 +1,7 @@ #!/bin/sh ## live-build(7) - System Build Scripts -## Copyright (C) 2006-2013 Daniel Baumann +## Copyright (C) 2006-2014 Daniel Baumann ## ## This program comes with ABSOLUTELY NO WARRANTY; for details see COPYING. ## This is free software, and you are welcome to redistribute it diff --git a/functions/wrapper.sh b/functions/wrapper.sh index e6ed88d..f1eac86 100755 --- a/functions/wrapper.sh +++ b/functions/wrapper.sh @@ -1,7 +1,7 @@ #!/bin/sh ## live-build(7) - System Build Scripts -## Copyright (C) 2006-2013 Daniel Baumann +## Copyright (C) 2006-2014 Daniel Baumann ## ## This program comes with ABSOLUTELY NO WARRANTY; for details see COPYING. ## This is free software, and you are welcome to redistribute it diff --git a/manpages/Makefile b/manpages/Makefile index c31c3fe..e8fb5ff 100644 --- a/manpages/Makefile +++ b/manpages/Makefile @@ -19,7 +19,26 @@ update: ./bin/update-version.sh -build: po4a.cfg +check: + @echo -n "Checking the integrity of .po files " + + @if [ -x /usr/bin/msgfmt ]; \ + then \ + for POFILE in po/*/*; \ + do \ + msgfmt --check --output-file=/dev/null $${POFILE}; \ + echo -n "."; \ + done; \ + else \ + echo "E: msgfmt - command not found"; \ + echo "I: gettext can be obtained from http://www.gnu.org/software/gettext/"; \ + echo "I: On Debian based systems, gettext can be installed with 'apt-get install gettext'."; \ + exit 1; \ + fi + + @echo " done!" + +build: check po4a.cfg @if [ ! -x "$$(which po4a 2>/dev/null)" ]; \ then \ echo "E: po4a - command not found"; \ @@ -28,7 +47,7 @@ exit 1; \ fi - po4a --keep 0 --no-backups --package-name live-build po4a.cfg + po4a --keep 0 --package-name live-build --package-version $(shell cat ../VERSION) po4a.cfg clean: rm -f po/*/*.po~ diff --git a/manpages/bin/update-version.sh b/manpages/bin/update-version.sh index d73c008..a98fd90 100755 --- a/manpages/bin/update-version.sh +++ b/manpages/bin/update-version.sh @@ -1,7 +1,7 @@ #!/bin/sh -## live-build(7) - System Build Scripts -## Copyright (C) 2006-2013 Daniel Baumann +## live-build(7) - Live System Build Components +## Copyright (C) 2006-2014 Daniel Baumann ## ## This program comes with ABSOLUTELY NO WARRANTY; for details see COPYING. ## This is free software, and you are welcome to redistribute it @@ -25,7 +25,7 @@ do SECTION="$(basename ${MANPAGE} | awk -F. '{ print $2 }')" - sed -i -e "s|^.TH.*$|.TH ${PROGRAM} ${SECTION} ${DATE} ${VERSION} \"Debian Live Project\"|" ${MANPAGE} + sed -i -e "s|^.TH.*$|.TH ${PROGRAM} ${SECTION} ${DATE} ${VERSION} \"Live Systems Project\"|" ${MANPAGE} done # European date format @@ -35,8 +35,8 @@ then for _FILE in po/${_LANGUAGE}/*.po do - sed -i -e "s|^msgstr .*.2013-.*$|msgstr \"${DAY}.${MONTH}.${YEAR}\"|g" \ - -e "s|^msgstr .*.2013\"$|msgstr \"${DAY}.${MONTH}.${YEAR}\"|g" \ + sed -i -e "s|^msgstr .*.2014-.*$|msgstr \"${DAY}.${MONTH}.${YEAR}\"|g" \ + -e "s|^msgstr .*.2014\"$|msgstr \"${DAY}.${MONTH}.${YEAR}\"|g" \ "${_FILE}" done fi @@ -47,8 +47,8 @@ then for _FILE in po/pt_BR/*.po do - sed -i -e "s|^msgstr .*.2013-.*$|msgstr \"${DAY}-${MONTH}-${YEAR}\"|g" \ - -e "s|^msgstr .*-2013\"$|msgstr \"${DAY}-${MONTH}-${YEAR}\"|g" \ + sed -i -e "s|^msgstr .*.2014-.*$|msgstr \"${DAY}-${MONTH}-${YEAR}\"|g" \ + -e "s|^msgstr .*-2014\"$|msgstr \"${DAY}-${MONTH}-${YEAR}\"|g" \ "${_FILE}" done fi diff --git a/manpages/en/lb.1 b/manpages/en/lb.1 index cf995a8..94fdc25 100644 --- a/manpages/en/lb.1 +++ b/manpages/en/lb.1 @@ -1,4 +1,4 @@ -.TH LIVE\-BUILD 1 2013\-04\-30 3.0.5-1 "Debian Live Project" +.TH LIVE\-BUILD 1 2014\-10\-25 4.0.3-1 "Live Systems Project" .SH NAME \fBlb\fR \- wrapper for live\-build programs @@ -9,7 +9,7 @@ \fBlb\fR [\fIlive\-build\ options\fR] .SH DESCRIPTION -\fBlb\fR is a high\-level command (porcelain) of \fIlive\-build\fR(7), the Debian Live tool suite. +\fBlb\fR is a high\-level command (porcelain) of \fIlive\-build\fR(7), the live systems tool suite. .PP .\" FIXME @@ -25,10 +25,10 @@ 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/\fR> and in the manual at <\fIhttp://live.debian.net/manual/\fR>. +More information about live\-build and the Live Systems project can be found on the homepage at <\fIhttp://live-systems.org/\fR> and in the manual at <\fIhttp://live-systems.org/manual/\fR>. .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/\fR> or by writing a mail to the Debian Live mailing list at <\fIdebian-live@lists.debian.org\fR>. +Bugs can be reported by submitting a bugreport for the live\-build package in the Bug Tracking System at <\fIhttp://bugs.debian.org/\fR> or by writing a mail to the Live Systems mailing list at <\fIdebian-live@lists.debian.org\fR>. .SH AUTHOR -live\-build was written by Daniel Baumann <\fIdaniel@debian.org\fR> for the Debian project. +live\-build was written by Daniel Baumann <\fImail@daniel-baumann.ch\fR>. diff --git a/manpages/en/lb_binary.1 b/manpages/en/lb_binary.1 index 345ecab..70669f4 100644 --- a/manpages/en/lb_binary.1 +++ b/manpages/en/lb_binary.1 @@ -1,4 +1,4 @@ -.TH LIVE\-BUILD 1 2013\-04\-30 3.0.5-1 "Debian Live Project" +.TH LIVE\-BUILD 1 2014\-10\-25 4.0.3-1 "Live Systems Project" .SH NAME \fBlb binary\fR \- Complete the binary stage @@ -7,7 +7,7 @@ \fBlb binary\fR [\fIlive\-build options\fR] .SH DESCRIPTION -\fBlb binary\fR is a high\-level command (porcelain) of \fIlive\-build\fR(7), the Debian Live tool suite. +\fBlb binary\fR is a high\-level command (porcelain) of \fIlive\-build\fR(7), the live systems tool suite. .PP \fBlb binary\fR calls all necessary live\-build programs in the correct order to complete the binary stage. @@ -23,10 +23,10 @@ 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/\fR> and in the manual at <\fIhttp://live.debian.net/manual/\fR>. +More information about live\-build and the Live Systems project can be found on the homepage at <\fIhttp://live-systems.org/\fR> and in the manual at <\fIhttp://live-systems.org/manual/\fR>. .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/\fR> or by writing a mail to the Debian Live mailing list at <\fIdebian-live@lists.debian.org\fR>. +Bugs can be reported by submitting a bugreport for the live\-build package in the Bug Tracking System at <\fIhttp://bugs.debian.org/\fR> or by writing a mail to the Live Systems mailing list at <\fIdebian-live@lists.debian.org\fR>. .SH AUTHOR -live\-build was written by Daniel Baumann <\fIdaniel@debian.org\fR> for the Debian project. +live\-build was written by Daniel Baumann <\fImail@daniel-baumann.ch\fR>. diff --git a/manpages/en/lb_bootstrap.1 b/manpages/en/lb_bootstrap.1 index 47eff2e..9d41a4d 100644 --- a/manpages/en/lb_bootstrap.1 +++ b/manpages/en/lb_bootstrap.1 @@ -1,4 +1,4 @@ -.TH LIVE\-BUILD 1 2013\-04\-30 3.0.5-1 "Debian Live Project" +.TH LIVE\-BUILD 1 2014\-10\-25 4.0.3-1 "Live Systems Project" .SH NAME \fBlb bootstrap\fR \- Complete the bootstrap stage @@ -7,7 +7,7 @@ \fBlb bootstrap\fR [\fIlive\-build options\fR] .SH DESCRIPTION -\fBlb bootstrap\fR is a high\-level command (porcelain) of \fIlive\-build\fR(7), the Debian Live tool suite. +\fBlb bootstrap\fR is a high\-level command (porcelain) of \fIlive\-build\fR(7), the live systems tool suite. .PP \fBlb bootstrap\fR calls all necessary live\-build programs in the correct order to complete the bootstrap stage. @@ -23,10 +23,10 @@ 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/\fR> and in the manual at <\fIhttp://live.debian.net/manual/\fR>. +More information about live\-build and the Live Systems project can be found on the homepage at <\fIhttp://live-systems.org/\fR> and in the manual at <\fIhttp://live-systems.org/manual/\fR>. .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/\fR> or by writing a mail to the Debian Live mailing list at <\fIdebian-live@lists.debian.org\fR>. +Bugs can be reported by submitting a bugreport for the live\-build package in the Bug Tracking System at <\fIhttp://bugs.debian.org/\fR> or by writing a mail to the Live Systems mailing list at <\fIdebian-live@lists.debian.org\fR>. .SH AUTHOR -live\-build was written by Daniel Baumann <\fIdaniel@debian.org\fR> for the Debian project. +live\-build was written by Daniel Baumann <\fImail@daniel-baumann.ch\fR>. diff --git a/manpages/en/lb_build.1 b/manpages/en/lb_build.1 index c0f7301..f30113e 100644 --- a/manpages/en/lb_build.1 +++ b/manpages/en/lb_build.1 @@ -1,4 +1,4 @@ -.TH LIVE\-BUILD 1 2013\-04\-30 3.0.5-1 "Debian Live Project" +.TH LIVE\-BUILD 1 2014\-10\-25 4.0.3-1 "Live Systems Project" .SH NAME \fBlb build\fR \- Complete the bootstrap, chroot, binary, and source stages @@ -7,7 +7,7 @@ \fBlb build\fR [\fIlive\-build options\fR] .SH DESCRIPTION -\fBlb build\fR is a high\-level command (porcelain) of \fIlive\-build\fR(7), the Debian Live tool suite. +\fBlb build\fR is a high\-level command (porcelain) of \fIlive\-build\fR(7), the live systems tool suite. .PP \fBlb build\fR calls all necessary live\-build programs in the correct order to complete the bootstrap, chroot, binary, and source stages. @@ -25,10 +25,10 @@ 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/\fR> and in the manual at <\fIhttp://live.debian.net/manual/\fR>. +More information about live\-build and the Live Systems project can be found on the homepage at <\fIhttp://live-systems.org/\fR> and in the manual at <\fIhttp://live-systems.org/manual/\fR>. .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/\fR> or by writing a mail to the Debian Live mailing list at <\fIdebian-live@lists.debian.org\fR>. +Bugs can be reported by submitting a bugreport for the live\-build package in the Bug Tracking System at <\fIhttp://bugs.debian.org/\fR> or by writing a mail to the Live Systems mailing list at <\fIdebian-live@lists.debian.org\fR>. .SH AUTHOR -live\-build was written by Daniel Baumann <\fIdaniel@debian.org\fR> for the Debian project. +live\-build was written by Daniel Baumann <\fImail@daniel-baumann.ch\fR>. diff --git a/manpages/en/lb_chroot.1 b/manpages/en/lb_chroot.1 index cae058b..ea6c278 100644 --- a/manpages/en/lb_chroot.1 +++ b/manpages/en/lb_chroot.1 @@ -1,4 +1,4 @@ -.TH LIVE\-BUILD 1 2013\-04\-30 3.0.5-1 "Debian Live Project" +.TH LIVE\-BUILD 1 2014\-10\-25 4.0.3-1 "Live Systems Project" .SH NAME \fBlb chroot\fR \- Complete the chroot stage @@ -7,7 +7,7 @@ \fBlb chroot\fR [\fIlive\-build options\fR] .SH DESCRIPTION -\fBlb chroot\fR is a high\-level command (porcelain) of \fIlive\-build\fR(7), the Debian Live tool suite. +\fBlb chroot\fR is a high\-level command (porcelain) of \fIlive\-build\fR(7), the live systems tool suite. .PP \fBlb chroot\fR calls all necessary live\-build programs in the correct order to complete the chroot stage. @@ -23,10 +23,10 @@ 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/\fR> and in the manual at <\fIhttp://live.debian.net/manual/\fR>. +More information about live\-build and the Live Systems project can be found on the homepage at <\fIhttp://live-systems.org/\fR> and in the manual at <\fIhttp://live-systems.org/manual/\fR>. .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/\fR> or by writing a mail to the Debian Live mailing list at <\fIdebian-live@lists.debian.org\fR>. +Bugs can be reported by submitting a bugreport for the live\-build package in the Bug Tracking System at <\fIhttp://bugs.debian.org/\fR> or by writing a mail to the Live Systems mailing list at <\fIdebian-live@lists.debian.org\fR>. .SH AUTHOR -live\-build was written by Daniel Baumann <\fIdaniel@debian.org\fR> for the Debian project. +live\-build was written by Daniel Baumann <\fImail@daniel-baumann.ch\fR>. diff --git a/manpages/en/lb_clean.1 b/manpages/en/lb_clean.1 index 7147e99..01b0a33 100644 --- a/manpages/en/lb_clean.1 +++ b/manpages/en/lb_clean.1 @@ -1,4 +1,4 @@ -.TH LIVE\-BUILD 1 2013\-04\-30 3.0.5-1 "Debian Live Project" +.TH LIVE\-BUILD 1 2014\-10\-25 4.0.3-1 "Live Systems Project" .SH NAME \fBlb clean\fR \- Clean build directory @@ -7,7 +7,7 @@ \fBlb clean\fR [\fIlive\-build options\fR] .SH DESCRIPTION -\fBlb clean\fR is a high\-level command (porcelain) of \fIlive\-build\fR(7), the Debian Live tool suite. +\fBlb clean\fR is a high\-level command (porcelain) of \fIlive\-build\fR(7), the live systems tool suite. .PP .\" FIXME \fBlb clean\fR 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. @@ -46,10 +46,10 @@ 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/\fR> and in the manual at <\fIhttp://live.debian.net/manual/\fR>. +More information about live\-build and the Live Systems project can be found on the homepage at <\fIhttp://live-systems.org/\fR> and in the manual at <\fIhttp://live-systems.org/manual/\fR>. .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/\fR> or by writing a mail to the Debian Live mailing list at <\fIdebian-live@lists.debian.org\fR>. +Bugs can be reported by submitting a bugreport for the live\-build package in the Bug Tracking System at <\fIhttp://bugs.debian.org/\fR> or by writing a mail to the Live Systems mailing list at <\fIdebian-live@lists.debian.org\fR>. .SH AUTHOR -live\-build was written by Daniel Baumann <\fIdaniel@debian.org\fR> for the Debian project. +live\-build was written by Daniel Baumann <\fImail@daniel-baumann.ch\fR>. diff --git a/manpages/en/lb_config.1 b/manpages/en/lb_config.1 index b3f0cdb..3cb8c6b 100644 --- a/manpages/en/lb_config.1 +++ b/manpages/en/lb_config.1 @@ -1,4 +1,4 @@ -.TH LIVE\-BUILD 1 2013\-04\-30 3.0.5-1 "Debian Live Project" +.TH LIVE\-BUILD 1 2014\-10\-25 4.0.3-1 "Live Systems Project" .SH NAME \fBlb config\fR \- Create config directory @@ -39,7 +39,7 @@ .br [\fB\-\-bootappend\-live\fR \fIPARAMETER\fR|\fI"PARAMETERS"\fR] .br - [\fB\-\-bootloader\fR grub|syslinux|yaboot] + [\fB\-\-bootloader\fR grub|syslinux] .br [\fB\-\-bootstrap\fR cdebootstrap|cdebootstrap-static|debootstrap] .br @@ -173,7 +173,7 @@ .br [\fB\-\-mirror\-debian\-installer\fR \fIURL\fR] .br - [\fB\-\-mode\fR debian|emdebian|progress-linux|ubuntu] + [\fB\-\-mode\fR debian|progress-linux|ubuntu] .br [\fB\-\-system\fR live|normal] .br @@ -197,12 +197,6 @@ .br [\fB\-\-quiet\fR] .br - [\fB\-\-root-command\fR sudo] -.br - [\fB\-\-use-fakeroot\fR true|false] -.br - [\fB\-\-archives\fR \fIARCHIVE\fR|\fI"ARCHIVES"\fR] -.br [\fB\-\-archive\-areas\fR \fIARCHIVE_AREA\fR|\fI"ARCHIVE_AREAS"\fR] .br [\fB\-\-parent\-archive\-areas\fR \fIPARENT_ARCHIVE_AREA\fR|\fI"PARENT_ARCHIVE_AREAS"\fR] @@ -223,20 +217,18 @@ .br [\fB\-\-backports\fR true|false] .br - [\fB\-\-exposed\-root\fR true|false] -.br [\fB\-\-verbose\fR] .br [\fB\-\-win32\-loader true|false] .\" FIXME .SH DESCRIPTION -\fBlb config\fR is a high\-level command (porcelain) of \fIlive\-build\fR(7), the Debian Live tool suite. +\fBlb config\fR is a high\-level command (porcelain) of \fIlive\-build\fR(7), the live systems tool suite. .PP .\" FIXME \fBlb config\fR populates the configuration directory for live\-build. By default, this directory is named 'config' and is created in the current directory where \fBlb config\fR was executed. .PP -Note: Currently \fBlb config\fR tries to be smart and sets defaults for some options depending on the setting of other options (e.g. which linux packages to be used depending on if a squeeze system gets build or not). This means that when generating a new configuration, you should call \fBlb config\fR only once with all options specified. Calling it several times with only a subset of the options each can result in non working configurations. This is also caused by the fact that \fBlb config\fR called with one option only changes that option, and leaves everything else as is unless its not defined. However, \fBlb config\fR does warn about know impossible or likely impossible combinations that would lead to non working live systems. If unsure, remove config/{binary,bootstrap,chroot,common,source} and call \fBlb config\fR again. +Note: Currently \fBlb config\fR tries to be smart and sets defaults for some options depending on the setting of other options (e.g. which linux packages to be used depending on if a wheezy system gets build or not). This means that when generating a new configuration, you should call \fBlb config\fR only once with all options specified. Calling it several times with only a subset of the options each can result in non working configurations. This is also caused by the fact that \fBlb config\fR called with one option only changes that option, and leaves everything else as is unless its not defined. However, \fBlb config\fR does warn about know impossible or likely impossible combinations that would lead to non working live systems. If unsure, remove config/{binary,bootstrap,chroot,common,source} and call \fBlb config\fR again. .\" FIXME .SH OPTIONS @@ -249,8 +241,8 @@ sets the ftp proxy to be used by apt. By default, this is empty. Note that this variable is only for the proxy that gets used by apt internally within the chroot, it is not used for anything else. .IP "\fB\-\-apt\-http\-proxy\fR \fIURL\fR" 4 sets the http proxy to be used by apt. By default, this is empty. Note that this variable is only for the proxy that gets used by apt internally within the chroot, it is not used for anything else. -.IP "\fB\-\-apt\-indices\fR true|false" 4 -defines if the resulting images should have apt indices or not and defaults to true. +.IP "\fB\-\-apt\-indices\fR true|false|none" 4 +defines if the resulting images should have apt indices or not and defaults to true. If set to none, no indices are included at all. .IP "\fB\-\-apt\-options\fR \fIOPTION\fR|""\fIOPTIONS\fR""" 4 defines the default options that will be appended to every apt call that is made inside chroot during the building of the image. By default, this is set to \-\-yes to allow non-interactive installation of packages. .IP "\fB\-\-aptitude\-options\fR \fIOPTION\fR|""\fIOPTIONS\fR""" 4 @@ -258,13 +250,13 @@ .IP "\fB\-\-apt\-pipeline\fR \fIDEPTH\fR" 4 sets the depth of the apt/aptitude pipeline. In cases where the remote server is not RFC conforming or buggy (such as Squid 2.0.2) this option can be a value from 0 to 5 indicating how many outstanding requests APT should send. A value of zero MUST be specified if the remote host does not properly linger on TCP connections \- otherwise data corruption will occur. Hosts which require this are in violation of RFC 2068. By default, live\-build does not set this option. .IP "\fB\-\-apt\-recommends\fR true|false" 4 -defines if apt should install recommended packages automatically. By default, this is true except in emdebian mode. +defines if apt should install recommended packages automatically. By default, this is true. .IP "\fB\-\-apt\-secure\fR true|false" 4 defines if apt should check repository signatures. This is true by default. .IP "\fB\-\-apt\-source\-archives\fR true|false" 4 -defines if deb-src entries should be included in the resulting live image or not, defaults to on. +defines if deb-src entries should be included in the resulting live image or not, defaults to true. .IP "\-a|\fB\-\-architectures\fR \fIARCHITECTURE\fR" 4 -defines the architecture of the to be build image. By default, this is set to the host architecture. Note that you cannot crossbuild for another architecture if your host system is not able to execute binaries for the target architecture natively. For example, building amd64 images on i386 and vice versa is possile if you have a 64bit capable i386 processor and the right kernel. But building powerpc images on an i386 system is not possible. +defines the architecture of the to be build image. By default, this is set to the host architecture. Note that you cannot crossbuild for another architecture if your host system is not able to execute binaries for the target architecture natively. For example, building amd64 images on i386 and vice versa is possible if you have a 64bit capable i386 processor and the right kernel. But building powerpc images on an i386 system is not possible. .IP "\-b|\fB\-\-binary\-images\fR iso|iso\-hybrid|netboot|tar|hdd" 4 defines the image type to build. By default, for images using syslinux this is set to iso\-hybrid to build CD/DVD images that may also be used like hdd images, for non\-syslinux images, it defaults to iso. .IP "\fB\-\-binary\-filesystem\fR fat16|fat32|ext2|ext3|ext4" 4 @@ -273,38 +265,38 @@ sets boot parameters specific to debian\-installer, if included. .IP "\fB\-\-bootappend\-live\fR \fIPARAMETER\fR|""\fIPARAMETERS\fR""" 4 sets boot parameters specific to debian\-live. A complete list of boot parameters can be found in the \fIlive\-boot\fR(7) and \fIlive\-config\fR(7) manual pages. -.IP "\fB\-\-bootloader\fR grub|syslinux|yaboot" 4 -defines which bootloader is beeing used in the generated image. This has only an effect if the selected binary image type does allow to choose the bootloader. For example, if you build a iso, always syslinux (or more precise, isolinux) is being used. Also note that some combinations of binary images types and bootloaders may be possible but live\-build does not support them yet. \fBlb config\fR will fail to create such a not yet supported configuration and give a explanation about it. For hdd images on amd64 and i386, the default is syslinux. yaboot is only used on powerpc. +.IP "\fB\-\-bootloader\fR grub|syslinux" 4 +defines which bootloader is being used in the generated image. This has only an effect if the selected binary image type does allow to choose the bootloader. For example, if you build a iso, always syslinux (or more precise, isolinux) is being used. Also note that some combinations of binary images types and bootloaders may be possible but live\-build does not support them yet. \fBlb config\fR will fail to create such a not yet supported configuration and give a explanation about it. For hdd images on amd64 and i386, the default is syslinux. .IP "\fB\-\-bootstrap\fR cdebootstrap|cdebootstrap-static|debootstrap" 4 defines which program is used to bootstrap the debian chroot, default is debootstrap. .IP "\fB\-\-cache\fR true|false" 4 -defines globally if any cache should be used at all. Different caches can be controled through the their own options. +defines globally if any cache should be used at all. Different caches can be controlled through the their own options. .IP "\fB\-\-cache\-indices\fR true|false" 4 defines if downloaded package indices and lists should be cached which is false by default. Enabling it would allow to rebuild an image completely offline, however, you would not get updates anymore then. .IP "\fB\-\-cache\-packages\fR true|false" 4 -defines if downloaded packages files should be cached which is true by default. Disabling it does save space consumtion in your build directory, but remember that you will cause much unnecessary traffic if you do a couple of rebuilds. In general you should always leave it true, however, in some particular rare build setups, it can be faster to refetch packages from the local network mirror rather than to utilize the local disk. +defines if downloaded packages files should be cached which is true by default. Disabling it does save space consumption in your build directory, but remember that you will cause much unnecessary traffic if you do a couple of rebuilds. In general you should always leave it true, however, in some particular rare build setups, it can be faster to refetch packages from the local network mirror rather than to utilize the local disk. .IP "\fB\-\-cache\-stages\fR true|false|\fISTAGE\fR|""\fISTAGES\fR""" 4 sets which stages should be cached. By default set to bootstrap. As an exception to the normal stage names, also rootfs can be used here which does only cache the generated root filesystem in filesystem.{dir,ext*,squashfs}. This is useful during development if you want to rebuild the binary stage but not regenerate the root filesystem all the time. .IP "\fB\-\-checksums\fR md5|sha1|sha256|none" 4 -defines if the binary image should contain a file called md5sums.txt, sha1sums.txt and/or sha256sums.txt. These lists all files on the image together with their checksums. This in turn can be used by live\-boots built\-in integrity\-check to verify the medium if specified at boot prompt. In general, this should not be false and is an important feature of live system released to the public. However, during development of very big images it can save some time by not calculating the checksums. +defines if the binary image should contain a file called md5sums.txt, sha1sums.txt and/or sha256sums.txt. These lists all files on the image together with their checksums. This in turn can be used by live\-boot's built\-in integrity\-check to verify the medium if specified at boot prompt. In general, this should not be false and is an important feature of live system released to the public. However, during development of very big images it can save some time by not calculating the checksums. .IP "\fB\-\-compression\fR bzip2|gzip|lzip|none" 4 defines the compression program to be used to compress tarballs. Defaults to gzip. .IP "\fB\-\-config\fR \fIGIT_URL\fR::\fIGIT_ID\fR" 4 allows to bootstrap a config tree from a git repositories, optionally appended by a Git Id (branch, commit, tag, etc.). .IP "\fB\-\-build\-with\-chroot\fR true|false" 4 -defines whetever live\-build should use the tools from within the chroot to build the binary image or not by using and including the host systems tools. This is a very dangerous option, using the tools of the host system can lead to tainted and even non-bootable images if the host systems version of the required tools (mainly these are the bootloaders such as syslinux, grub and yaboot, and the auxilliary tools such as dosfstools, xorriso, squashfs-tools and others) do not \fBexactely\fR match what is present at build-time in the target distribution. Never do disable this option unless you are \fBexactely\fR sure what you are doing and have \fBcompletely\fI understood its consequences. +defines whether live\-build should use the tools from within the chroot to build the binary image or not by using and including the host system's tools. This is a very dangerous option, using the tools of the host system can lead to tainted and even non-bootable images if the host systems version of the required tools (mainly these are the bootloaders such as syslinux and grub, and the auxiliary tools such as dosfstools, xorriso, squashfs-tools and others) do not \fBexactly\fR match what is present at build-time in the target distribution. Never do disable this option unless you are \fBexactly\fR sure what you are doing and have \fBcompletely\fI understood its consequences. .IP "\fB\-\-chroot\-filesystem\fR ext2|ext3|ext4|squashfs|jffs2|none" 4 -defines which filesystem type should be used for the root filesystem image. If you use none, then no filesystem image is created and the root filesystem content is copied on the binary image filesystem as flat files. Depending on what binary filesystem you have choosen, it may not be possible to build with such a plain root filesystem, e.g. fat16/fat32 will not work as linux does not support to run directly on them. +defines which filesystem type should be used for the root filesystem image. If you use none, then no filesystem image is created and the root filesystem content is copied on the binary image filesystem as flat files. Depending on what binary filesystem you have chosen, it may not be possible to build with such a plain root filesystem, e.g. fat16/fat32 will not work as linux does not support to run directly on them. .IP "\fB\-\-clean\fR" 4 minimizes config directory by automatically removing unused and thus empty subdirectories. .IP "\-c|\fB\-\-conffile\fR \fIFILE\fR" 4 using a user specified alternative configuration file in addition to the normally used one in the config directory. .IP "\fB\-\-debconf\-frontend\fR dialog|editor|noninteractive|readline" 4 -defines what value the debconf frontend should be set to inside the chroot. Note that setting it to anything by noninteractive, which is the default, makes your build asking questions during the build. +defines what value the debconf frontend should be set to inside the chroot. Note that setting it to anything but noninteractive, which is the default, makes your build asking questions during the build. .IP "\fB\-\-debconf\-priority\fR low|medium|high|critical" 4 -defines what value the debconf priority shoul dbe set to inside the chroot. By default, it is set to critical, which means that almost no questions are displayed. Note that this only has an effect if you use any debconf frontend different from noninteractive. +defines what value the debconf priority should be set to inside the chroot. By default, it is set to critical, which means that almost no questions are displayed. Note that this only has an effect if you use any debconf frontend different from noninteractive. .IP "\fB\-\-debian\-installer\fR true|cdrom|netinst|netboot|businesscard|live|false" 4 -defines which type, if any, of the debian\-installer should be included in the resulting binary image. By default, no installer is included. All available flavours except live are the identical configurations used on the installer media produced by regular debian\-cd. When live is choosen, the live\-installer udeb is included so that debian\-installer will behave different than usual \- instead of installing the debian system from packages from the medium or the network, it installs the live system to the disk. +defines which type, if any, of the debian\-installer should be included in the resulting binary image. By default, no installer is included. All available flavours except live are the identical configurations used on the installer media produced by regular debian\-cd. When live is chosen, the live\-installer udeb is included so that debian\-installer will behave different than usual \- instead of installing the debian system from packages from the medium or the network, it installs the live system to the disk. .IP "\fB\-\-debian\-installer\-distribution\fR daily|\fICODENAME\fR" 4 defines the distribution where the debian\-installer files should be taken out from. Normally, this should be set to the same distribution as the live system. However, some times, one wants to use a newer or even daily built installer. .IP "\fB\-\-debian\-installer\-preseedfile\fR \fIFILE\fR|\fIURL\fR" 4 @@ -342,15 +334,15 @@ .IP "\fB\-\-isohybrid\-options\fR \fIOPTION\fR|""\fIOPTIONS\fR""" 4 defines options to pass to isohybrid. .IP "\fB\-\-iso\-application\fR \fINAME\fR" 4 -sets the APPLICATION field in the header of a resulting CD/DVD image and defaults to "Debian Live" in debian mode, and to "Emdebian Live" in emdebian mode, and "Ubuntu Live" in ubuntu mode. +sets the APPLICATION field in the header of a resulting CD/DVD image and defaults to "Debian Live" in debian mode, and "Ubuntu Live" in ubuntu mode. .IP "\fB\-\-iso\-preparer\fR \fINAME\fR" 4 -sets the PREPARER field in the header of a resulting CD/DVD image. By default this is set to "live\-build \fIVERSION\fR; http://packages.qa.debian.org/live\-build", whereas VERSION is expanded to the version of live\-build that was used to build the image. +sets the PREPARER field in the header of a resulting CD/DVD image. By default this is set to "live\-build \fIVERSION\fR; http://packages.qa.debian.org/live\-build", where VERSION is expanded to the version of live\-build that was used to build the image. .IP "\fB\-\-iso\-publisher\fR \fINAME\fR" 4 -sets the PUBLISHED field in the header of a resulting CD/DVD image. By default, this is set to 'Debian Live project; http:/live.debian.net/; debian\-live@lists.debian.org'. Remember to change this to the appropriate values at latest when you distributing custom and unofficial images. +sets the PUBLISHED field in the header of a resulting CD/DVD image. By default, this is set to 'Live Systems project; http:/live-systems.org/; debian\-live@lists.debian.org'. Remember to change this to the appropriate values at latest when you distributing custom and unofficial images. .IP "\fB\-\-iso\-volume\fR \fINAME\fR" 4 sets the VOLUME field in the header of a resulting CD/DVD and defaults to '(\fIMODE\fR) (\fIDISTRIBUTION\fR) (\fIDATE\fR)' whereas MODE is expanded to the name of the mode in use, DISTRIBUTION the distribution name, and DATE with the current date and time of the generation. .IP "\fB\-\-jffs2\-eraseblock\fR \fISIZE\fR" 4 -sets the eraseblock size for a JFFS2 (Second Journalling Flash File System) filesystem. The default is 64 KiB. If you use an erase block size different than the erase block size of the target MTD device, JFFS2 may not perform optimally. If the SIZE specified is below 4096, the units are assumed to be KiB. +sets the eraseblock size for a JFFS2 (Second Journaling Flash File System) filesystem. The default is 64 KiB. If you use an erase block size different than the erase block size of the target MTD device, JFFS2 may not perform optimally. If the SIZE specified is below 4096, the units are assumed to be KiB. .IP "\fB\-\-keyring\-packages\fR \fIPACKAGE\fI|""\fIPACKAGES\fR""" 4 sets the keyring package or additional keyring packages. By default this is set to debian\-archive\-keyring. .IP "\-k|\fB\-\-linux\-flavours\fR \fIFLAVOUR\fR|""\fIFLAVOURS\fR""" 4 @@ -401,7 +393,7 @@ sets the location of the derivatives backports package mirror that should end up configured in the final image. .IP "\fB\-\-mirror\-debian\-installer\fR \fIURL\fR" 4 sets the location of the mirror that will be used to fetch the debian installer images of the derivative. By default, this points to the same mirror used to build the live system, i.e. the value of \-\-mirror\-bootstrap. -.IP "\fB\-\-mode\fR debian|emdebian|progress|ubuntu" 4 +.IP "\fB\-\-mode\fR debian|progress|ubuntu" 4 defines a global mode to load project specific defaults. By default this is set to debian. .IP "\fB\-\-system\fR live|normal" 4 defines if the resulting system image should a live system or a normal, non-live system. @@ -410,7 +402,7 @@ .IP "\fB\-\-net\-root\-mountoptions\fR \fIOPTIONS\fR" 4 sets additional options for mounting the root filesystem in netboot images and is by default empty. .IP "\fB\-\-net\-root\-path\fR \fIPATH\fR" 4 -sets the file path that will be configured in the bootloader configuration for your netboot image. This defaults to /srv/debian\-live in debian mode and to /srv/emebian-live when being in emdebian mode, and /srv/ubuntu-live when in ubuntu mode. +sets the file path that will be configured in the bootloader configuration for your netboot image. This defaults to /srv/debian\-live in debian mode, and /srv/ubuntu-live when in ubuntu mode. .IP "\fB\-\-net\-root\-server\fR \fIIP\fR|\fIHOSTNAME\fR" 4 sets the IP or hostname that will be configured in the bootloader configuration for the root filesystem of your netboot image. This defaults to 192.168.1.1. .IP "\fB\-\-net\-cow\-filesystem\fR nfs|cfs" 4 @@ -430,12 +422,8 @@ sets the IP or hostname that will be configured in the bootloader configuration for the copy\-on\-write filesystem of your netboot image and is by default empty. .IP "\fB\-\-net\-tarball\fR true|false" 4 defines if a compressed tarball should be created. Disabling this options leads to no tarball at all, the plain binary directory is considered the output in this case. Default is true. -.IP "\fB\-\-archives\fR \fIARCHIVE\fR|""\fIARCHIVES\fR""" 4 -enables one of available third-party archive configurations in /usr/share/live/build/archives. -.IP "\fB\-\-root-command\fR sudo" 4 -controls if live\-build should use sudo internally to build the live image. Note that this is not well tested and that you should, when relying on sudo, call the individual live\-build command with sudo itself. -.IP "\fB\-\-use-fakeroot\fR true|false" 4 -controls if live\-build should utilize fakeroot and fakechroot to try and avoid requiring root privillages where possible. By default, this option is false. +.IP "\fB\-\-quiet\fR" 4 +reduces the verbosity of messages output by \fBlb build\fR. .IP "\fB\-\-archive\-areas\fR \fIARCHIVE_AREA\fR|""\fIARCHIVE_AREAS\fR""" 4 defines which package archive areas of a debian packages archive should be used for configured debian package mirrors. By default, this is set to main. Remember to check the licenses of each packages with respect to their redistributability in your juristiction when enabling contrib or non\-free with this mechanism. .IP "\fB\-\-parent\-archive\-areas\fR \fIPARENT_ARCHIVE_AREA\fR|""\fIPARENT_ARCHIVE_AREAS\fR""" 4 @@ -464,8 +452,6 @@ defines if debian updates package archives should be included in the image or not. .IP "\fB\-\-backports\fR true|false" 4 defines if debian backports package archives should be included in the image or not. -.IP "\fB\-\-exposed\-root\fR true|false" 4 -defines whether to expose the root filesystem as read only and not covered by the union filesystem. This has useful implications for certain speciality setups such as LTSP. By default, this option is false. .IP "\fB\-\-verbose\fR" 4 increases the verbosity of messages output by \fBlb build\fR. .IP "\fB\-\-win32\-loader true|false" 4 @@ -494,10 +480,10 @@ 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/\fR> and in the manual at <\fIhttp://live.debian.net/manual/\fR>. +More information about live\-build and the Live Systems project can be found on the homepage at <\fIhttp://live-systems.org/\fR> and in the manual at <\fIhttp://live-systems.org/manual/\fR>. .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/\fR> or by writing a mail to the Debian Live mailing list at <\fIdebian\-live@lists.debian.org\fR>. +Bugs can be reported by submitting a bugreport for the live\-build package in the Bug Tracking System at <\fIhttp://bugs.debian.org/\fR> or by writing a mail to the Live Systems mailing list at <\fIdebian-live@lists.debian.org\fR>. .SH AUTHOR -live\-build was written by Daniel Baumann <\fIdaniel@debian.org\fR> for the Debian project. +live\-build was written by Daniel Baumann <\fImail@daniel-baumann.ch\fR>. diff --git a/manpages/en/lb_source.1 b/manpages/en/lb_source.1 index ac0745d..100b278 100644 --- a/manpages/en/lb_source.1 +++ b/manpages/en/lb_source.1 @@ -1,4 +1,4 @@ -.TH LIVE\-BUILD 1 2013\-04\-30 3.0.5-1 "Debian Live Project" +.TH LIVE\-BUILD 1 2014\-10\-25 4.0.3-1 "Live Systems Project" .SH NAME \fBlb source\fR \- Complete the source stage @@ -7,7 +7,7 @@ \fBlb source\fR [\fIlive\-build options\fR] .SH DESCRIPTION -\fBlb source\fR is a high\-level command (porcelain) of \fIlive\-build\fR(7), the Debian Live tool suite. +\fBlb source\fR is a high\-level command (porcelain) of \fIlive\-build\fR(7), the live systems tool suite. .PP \fBlb source\fR calls all necessary live\-build programs in the correct order to complete the source stage. @@ -23,10 +23,10 @@ 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/\fR> and in the manual at <\fIhttp://live.debian.net/manual/\fR>. +More information about live\-build and the Live Systems project can be found on the homepage at <\fIhttp://live-systems.org/\fR> and in the manual at <\fIhttp://live-systems.org/manual/\fR>. .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/\fR> or by writing a mail to the Debian Live mailing list at <\fIdebian-live@lists.debian.org\fR>. +Bugs can be reported by submitting a bugreport for the live\-build package in the Bug Tracking System at <\fIhttp://bugs.debian.org/\fR> or by writing a mail to the Live Systems mailing list at <\fIdebian-live@lists.debian.org\fR>. .SH AUTHOR -live\-build was written by Daniel Baumann <\fIdaniel@debian.org\fR> for the Debian project. +live\-build was written by Daniel Baumann <\fImail@daniel-baumann.ch\fR>. diff --git a/manpages/en/lb_testroot.1 b/manpages/en/lb_testroot.1 deleted file mode 100644 index 649b690..0000000 --- a/manpages/en/lb_testroot.1 +++ /dev/null @@ -1,36 +0,0 @@ -.TH LIVE\-BUILD 1 2013\-04\-30 3.0.5-1 "Debian Live Project" - -.SH NAME -\fBlb testroot\fR \- Ensure that a system is built as root - -.SH SYNOPSIS -\fBlb testroot\fR [\fIlive\-build options\fR] - -.SH DESCRIPTION -\fBlb testroot\fR is a high\-level command (porcelain) of \fIlive\-build\fR(7), the Debian Live tool suite. -.PP -.\" FIXME -\fBlb testroot\fR 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 -Note: Support for using \fIfakeroot\fR(1) and \fIsudo\fR(8) internally in live\-build itself is still experimental, however, calling a helper yourself with sudo is safe. -.\" FIXME - -.SH OPTIONS -\fBlb testroot\fR has no specific options but understands all generic live\-build options. See \fIlive\-build\fR(7) for a complete list of all generic live\-build options. - -.SH FILES -.IP "\fBnone\fR" 4 - -.SH SEE ALSO -\fIlive\-build\fR(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/\fR> and in the manual at <\fIhttp://live.debian.net/manual/\fR>. - -.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/\fR> or by writing a mail to the Debian Live mailing list at <\fIdebian-live@lists.debian.org\fR>. - -.SH AUTHOR -live\-build was written by Daniel Baumann <\fIdaniel@debian.org\fR> for the Debian project. diff --git a/manpages/en/live-build.7 b/manpages/en/live-build.7 index b5bf836..4db19b4 100644 --- a/manpages/en/live-build.7 +++ b/manpages/en/live-build.7 @@ -1,7 +1,7 @@ -.TH LIVE\-BUILD 7 2013\-04\-30 3.0.5-1 "Debian Live Project" +.TH LIVE\-BUILD 7 2014\-10\-25 4.0.3-1 "Live Systems Project" .SH NAME -\fBlive\-build\fR \- the Debian Live tool suite +\fBlive\-build\fR \- the live systems tool suite .SH SYNOPSIS .\" FIXME @@ -10,11 +10,11 @@ .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. +live\-build is a set of scripts to build 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\fR is a name of a live\-build command (see below). .PP -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/\fR>. +More documentation about how to use live\-build is available in the individual manpages for each helper and in the manual at <\fIhttp://live-systems.org/manual/\fR>. .\" FIXME .SH OPTIONS @@ -172,8 +172,6 @@ build netboot binary image .IP "\fBlb_binary_rootfs\fR(1)" 4 build rootfs image -.IP "\fBlb_binary_silo\fR(1)" 4 -installs silo into binary .IP "\fBlb_binary_syslinux\fR(1)" 4 installs syslinux into binary .IP "\fBlb_binary_tar\fR(1)" 4 @@ -182,8 +180,6 @@ build binary hdd image .IP "\fBlb_binary_win32\-loader\fR(1)" 4 installs win32\-loader into binary -.IP "\fBlb_binary_yaboot\fR(1)" 4 -installs yaboot into binary .SS Source commands .IP "\fBlb_source_debian\fR(1)" 4 download sources @@ -228,10 +224,10 @@ 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/\fR> and in the manual at <\fIhttp://live.debian.net/manual/\fR>. +More information about live\-build and the Live Systems project can be found on the homepage at <\fIhttp://live-systems.org/\fR> and in the manual at <\fIhttp://live-systems.org/manual/\fR>. .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/\fR> or by writing a mail to the Debian Live mailing list at <\fIdebian-live@lists.debian.org\fR>. +Bugs can be reported by submitting a bugreport for the live\-build package in the Bug Tracking System at <\fIhttp://bugs.debian.org/\fR> or by writing a mail to the Live Systems mailing list at <\fIdebian-live@lists.debian.org\fR>. .SH AUTHOR -live\-build was written by Daniel Baumann <\fIdaniel@debian.org\fR> for the Debian project. +live\-build was written by Daniel Baumann <\fImail@daniel-baumann.ch\fR>. diff --git a/manpages/ja/lb.ja.1 b/manpages/ja/lb.ja.1 new file mode 100644 index 0000000..f680669 --- /dev/null +++ b/manpages/ja/lb.ja.1 @@ -0,0 +1,45 @@ +.\"******************************************************************* +.\" +.\" This file was generated with po4a. Translate the source file. +.\" +.\"******************************************************************* +.TH LIVE\-BUILD 1 2014\-10\-25 4.0.3\-1 "Live システムプロジェクト" + +.SH 名前 +\fBlb\fP \- live\-build プログラムのラッパー + +.SH 概要 +\fBlb\fP コマンド [コマンドのオプション] +.PP +\fBlb\fP [\fIlive\-build\ オプション\fP] + +.SH 説明 +\fBlb\fP は Live システムツール集 \fIlive\-build\fP(7) の高レベルコマンド (porcelain) です。 +.PP + +.\" FIXME +.SH オプション +\fBlb\fP には特定のオプションはありませんが、live\-build 全般のオプションを全て理解します。live\-build +全般のオプションの全容については \fIlive\-build\fP(7) を見てください。 + +.SH ファイル +.IP \fB無し\fP 4 + +.SH 関連項目 +\fIlive\-build\fP(7) +.PP +このプログラムは live\-build の一部です。 + +.SH ホームページ +live\-build 及び Live +システムプロジェクトについてのさらなる情報は、<\fIhttp://live\-systems.org/\fP> のホームページや +<\fIhttp://live\-systems.org/manual/\fP> のマニュアルにあります。 + +.SH バグ +バグは <\fIhttp://bugs.debian.org/\fP> にあるバグ追跡システムに live\-build +パッケージのバグ報告として提出するか、<\fIdebian\-live@lists.debian.org\fP> にある Live +システムのメーリングリスト宛てにメールを書くことにより報告できます。 + +.SH 作者 +live\-build は Daniel Baumann さん <\fImail@daniel\-baumann.ch\fP> +により書かれました。 diff --git a/manpages/ja/lb_binary.ja.1 b/manpages/ja/lb_binary.ja.1 new file mode 100644 index 0000000..04bb604 --- /dev/null +++ b/manpages/ja/lb_binary.ja.1 @@ -0,0 +1,43 @@ +.\"******************************************************************* +.\" +.\" This file was generated with po4a. Translate the source file. +.\" +.\"******************************************************************* +.TH LIVE\-BUILD 1 2014\-10\-25 4.0.3\-1 "Live システムプロジェクト" + +.SH 名前 +\fBlb binary\fP \- バイナリ段階を完了させます + +.SH 概要 +\fBlb binary\fP [\fIlive\-build オプション\fP] + +.SH 説明 +\fBlb binary\fP は Live システムツール集 \fIlive\-build\fP(7) の高レベルコマンド (porcelain) です。 +.PP +\fBlb binary\fP はバイナリ段階を完了させるために必要な live\-build プログラムを全て正しい順で呼び出します。 + +.SH オプション +\fBlb binary\fP には特定のオプションはありませんが、live\-build 全般のオプションを全て理解します。live\-build +全般のオプションの全容については \fIlive\-build\fP(7) を見てください。 + +.SH ファイル +.IP \fB無し\fP 4 + +.SH 関連項目 +\fIlive\-build\fP(7) +.PP +このプログラムは live\-build の一部です。 + +.SH ホームページ +live\-build 及び Live +システムプロジェクトについてのさらなる情報は、<\fIhttp://live\-systems.org/\fP> のホームページや +<\fIhttp://live\-systems.org/manual/\fP> のマニュアルにあります。 + +.SH バグ +バグは <\fIhttp://bugs.debian.org/\fP> にあるバグ追跡システムに live\-build +パッケージのバグ報告として提出するか、<\fIdebian\-live@lists.debian.org\fP> にある Live +システムのメーリングリスト宛てにメールを書くことにより報告できます。 + +.SH 作者 +live\-build は Daniel Baumann さん <\fImail@daniel\-baumann.ch\fP> +により書かれました。 diff --git a/manpages/ja/lb_bootstrap.ja.1 b/manpages/ja/lb_bootstrap.ja.1 new file mode 100644 index 0000000..89b624e --- /dev/null +++ b/manpages/ja/lb_bootstrap.ja.1 @@ -0,0 +1,43 @@ +.\"******************************************************************* +.\" +.\" This file was generated with po4a. Translate the source file. +.\" +.\"******************************************************************* +.TH LIVE\-BUILD 1 2014\-10\-25 4.0.3\-1 "Live システムプロジェクト" + +.SH 名前 +\fBlb bootstrap\fP \- パッケージ収集段階を完了させます + +.SH 概要 +\fBlb bootstrap\fP [\fIlive\-build オプション\fP] + +.SH 説明 +\fBlb bootstrap\fP は Live システムツール集 \fIlive\-build\fP(7) の高レベルコマンド (porcelain) です。 +.PP +\fBlb bootstrap\fP はパッケージ収集段階を完了させるために必要な live\-build プログラムを全て正しい順で呼び出します。 + +.SH オプション +\fBlb bootstrap\fP には特定のオプションはありませんが、live\-build 全般のオプションを全て理解します。live\-build +全般のオプションの全容については \fIlive\-build\fP(7) を見てください。 + +.SH ファイル +.IP \fB無し\fP 4 + +.SH 関連項目 +\fIlive\-build\fP(7) +.PP +このプログラムは live\-build の一部です。 + +.SH ホームページ +live\-build 及び Live +システムプロジェクトについてのさらなる情報は、<\fIhttp://live\-systems.org/\fP> のホームページや +<\fIhttp://live\-systems.org/manual/\fP> のマニュアルにあります。 + +.SH バグ +バグは <\fIhttp://bugs.debian.org/\fP> にあるバグ追跡システムに live\-build +パッケージのバグ報告として提出するか、<\fIdebian\-live@lists.debian.org\fP> にある Live +システムのメーリングリスト宛てにメールを書くことにより報告できます。 + +.SH 作者 +live\-build は Daniel Baumann さん <\fImail@daniel\-baumann.ch\fP> +により書かれました。 diff --git a/manpages/ja/lb_build.ja.1 b/manpages/ja/lb_build.ja.1 new file mode 100644 index 0000000..f5b0f8e --- /dev/null +++ b/manpages/ja/lb_build.ja.1 @@ -0,0 +1,46 @@ +.\"******************************************************************* +.\" +.\" This file was generated with po4a. Translate the source file. +.\" +.\"******************************************************************* +.TH LIVE\-BUILD 1 2014\-10\-25 4.0.3\-1 "Live システムプロジェクト" + +.SH 名前 +\fBlb build\fP \- パッケージ収集、chroot、バイナリ、ソース段階を完了させます + +.SH 概要 +\fBlb build\fP [\fIlive\-build オプション\fP] + +.SH 説明 +\fBlb build\fP は Live システムツール集 \fIlive\-build\fP(7) の高レベルコマンド (porcelain) です。 +.PP +\fBlb build\fP はパッケージ収集、chroot、バイナリ、ソース段階を完了させるために必要な live\-build +プログラムを全て正しい順で呼び出します。 + +.SH オプション +\fBlb build\fP には特定のオプションはありませんが、live\-build 全般のオプションを全て理解します。live\-build +全般のオプションの全容については \fIlive\-build\fP(7) を見てください。 + +.SH ファイル +.\" FIXME +.IP \fBauto/build\fP 4 + +.\" FIXME +.SH 関連項目 +\fIlive\-build\fP(7) +.PP +このプログラムは live\-build の一部です。 + +.SH ホームページ +live\-build 及び Live +システムプロジェクトについてのさらなる情報は、<\fIhttp://live\-systems.org/\fP> のホームページや +<\fIhttp://live\-systems.org/manual/\fP> のマニュアルにあります。 + +.SH バグ +バグは <\fIhttp://bugs.debian.org/\fP> にあるバグ追跡システムに live\-build +パッケージのバグ報告として提出するか、<\fIdebian\-live@lists.debian.org\fP> にある Live +システムのメーリングリスト宛てにメールを書くことにより報告できます。 + +.SH 作者 +live\-build は Daniel Baumann さん <\fImail@daniel\-baumann.ch\fP> +により書かれました。 diff --git a/manpages/ja/lb_chroot.ja.1 b/manpages/ja/lb_chroot.ja.1 new file mode 100644 index 0000000..d4afca2 --- /dev/null +++ b/manpages/ja/lb_chroot.ja.1 @@ -0,0 +1,43 @@ +.\"******************************************************************* +.\" +.\" This file was generated with po4a. Translate the source file. +.\" +.\"******************************************************************* +.TH LIVE\-BUILD 1 2014\-10\-25 4.0.3\-1 "Live システムプロジェクト" + +.SH 名前 +\fBlb chroot\fP \- chroot 段階を完了させます + +.SH 概要 +\fBlb chroot\fP [\fIlive\-build オプション\fP] + +.SH 説明 +\fBlb chroot\fP は Live システムツール集 \fIlive\-build\fP(7) の高レベルコマンド (porcelain) です。 +.PP +\fBlb chroot\fP は chroot 段階を完了させるために必要な live\-build プログラムを全て正しい順で呼び出します。 + +.SH オプション +\fBlb chroot\fP には特定のオプションはありませんが、live\-build 全般のオプションを全て理解します。live\-build +全般のオプションの全容については \fIlive\-build\fP(7) を見てください。 + +.SH ファイル +.IP \fB無し\fP 4 + +.SH 関連項目 +\fIlive\-build\fP(7) +.PP +このプログラムは live\-build の一部です。 + +.SH ホームページ +live\-build 及び Live +システムプロジェクトについてのさらなる情報は、<\fIhttp://live\-systems.org/\fP> のホームページや +<\fIhttp://live\-systems.org/manual/\fP> のマニュアルにあります。 + +.SH バグ +バグは <\fIhttp://bugs.debian.org/\fP> にあるバグ追跡システムに live\-build +パッケージのバグ報告として提出するか、<\fIdebian\-live@lists.debian.org\fP> にある Live +システムのメーリングリスト宛てにメールを書くことにより報告できます。 + +.SH 作者 +live\-build は Daniel Baumann さん <\fImail@daniel\-baumann.ch\fP> +により書かれました。 diff --git a/manpages/ja/lb_clean.ja.1 b/manpages/ja/lb_clean.ja.1 new file mode 100644 index 0000000..e144d0c --- /dev/null +++ b/manpages/ja/lb_clean.ja.1 @@ -0,0 +1,67 @@ +.\"******************************************************************* +.\" +.\" This file was generated with po4a. Translate the source file. +.\" +.\"******************************************************************* +.TH LIVE\-BUILD 1 2014\-10\-25 4.0.3\-1 "Live システムプロジェクト" + +.SH 名前 +\fBlb clean\fP \- 設定ディレクトリを掃除します + +.SH 概要 +\fBlb clean\fP [\fIlive\-build オプション\fP] + +.SH 説明 +\fBlb clean\fP は Live システムツール集 \fIlive\-build\fP(7) の高レベルコマンド (porcelain) です。 +.PP +.\" FIXME +.\" FIXME +\fBlb clean\fP はシステムビルド後の掃除を担当します。ビルドディレクトリや段階ファイル等その他のファイルの一部を削除します。他の +live\-build コマンドの残骸は全て残します。 + +.SH オプション +\fBlb clean\fP は固有のオプションに加え、live\-build 全般のオプションを全て理解します。live\-build +全般のオプションの全容については \fIlive\-build\fP(7) を見てください。 +.PP +.\" FIXME +.IP \fB\-\-all\fP 4 +chroot、バイナリ、各段階での生成物、ソースを削除します。キャッシュディレクトリは残します。これはデフォルトの動作で、引数がない場合はこの動作になります。 +.IP \fB\-\-cache\fP 4 +キャッシュディレクトリを削除します。 +.IP \fB\-\-chroot\fP 4 +chroot ディレクトリをマウント解除、削除します。 +.IP \fB\-\-binary\fP 4 +バイナリ関連のキャッシュやファイル、ディレクトリ、各段階で生成したファイルを全て削除します。 +.IP \fB\-\-purge\fP 4 +全キャッシュを含め、全て削除します。設定ディレクトリは残されます。 +.IP \fB\-\-remove\fP 4 +段階キャッシュを除いたパッケージキャッシュを含め、全て削除します。設定ディレクトリは残されます。 +.IP \fB\-\-stage\fP 4 +各段階で生成したファイルを全て削除します。 +.IP \fB\-\-source\fP 4 +.\" FIXME +ソース関連のキャッシュやファイル、ディレクトリ、各段階で生成したファイルを全て削除します。 + +.SH ファイル +.\" FIXME +.IP \fBauto/clean\fP 4 + +.\" FIXME +.SH 関連項目 +\fIlive\-build\fP(7) +.PP +このプログラムは live\-build の一部です。 + +.SH ホームページ +live\-build 及び Live +システムプロジェクトについてのさらなる情報は、<\fIhttp://live\-systems.org/\fP> のホームページや +<\fIhttp://live\-systems.org/manual/\fP> のマニュアルにあります。 + +.SH バグ +バグは <\fIhttp://bugs.debian.org/\fP> にあるバグ追跡システムに live\-build +パッケージのバグ報告として提出するか、<\fIdebian\-live@lists.debian.org\fP> にある Live +システムのメーリングリスト宛てにメールを書くことにより報告できます。 + +.SH 作者 +live\-build は Daniel Baumann さん <\fImail@daniel\-baumann.ch\fP> +により書かれました。 diff --git a/manpages/ja/lb_config.ja.1 b/manpages/ja/lb_config.ja.1 new file mode 100644 index 0000000..b741d79 --- /dev/null +++ b/manpages/ja/lb_config.ja.1 @@ -0,0 +1,620 @@ +.\"******************************************************************* +.\" +.\" This file was generated with po4a. Translate the source file. +.\" +.\"******************************************************************* +.TH LIVE\-BUILD 1 2014\-10\-25 4.0.3\-1 "Live システムプロジェクト" + +.SH 名前 +\fBlb config\fP \- 設定ディレクトリを作成します + +.SH 概要 +\fBlb config\fP [\fIlive\-build オプション\fP] +.PP +.\" FIXME +\fBlb config\fP +.br + [\fB\-\-apt\fP apt|aptitude] +.br + [\fB\-\-apt\-ftp\-proxy\fP \fIURL\fP] +.br + [\fB\-\-apt\-http\-proxy\fP \fIURL\fP] +.br + [\fB\-\-apt\-indices\fP true|false] +.br + [\fB\-\-apt\-options\fP \fIオプション\fP|"\fIオプション\fP"] +.br + [\fB\-\-aptitude\-options\fP \fIオプション\fP|"\fIオプション\fP"] +.br + [\fB\-\-apt\-pipeline\fP \fI深度\fP] +.br + [\fB\-\-apt\-recommends\fP true|false] +.br + [\fB\-\-apt\-secure\fP true|false] +.br + [\fB\-\-apt\-source\-archives\fP true|false] +.br + [\-a|\fB\-\-architectures\fP \fIアーキテクチャ\fP] +.br + [\-b|\fB\-\-binary\-images\fP iso|iso\-hybrid|netboot|tar|hdd] +.br + [\fB\-\-binary\-filesystem\fP fat16|fat32|ext2|ext3|ext4] +.br + [\fB\-\-bootappend\-install\fP \fIパラメータ\fP|\fI"パラメータ"\fP] +.br + [\fB\-\-bootappend\-live\fP \fIパラメータ\fP|\fI"パラメータ"\fP] +.br + [\fB\-\-bootloader\fP grub|syslinux] +.br + [\fB\-\-bootstrap\fP cdebootstrap|cdebootstrap\-static|debootstrap] +.br + [\fB\-\-cache\fP true|false] +.br + [\fB\-\-cache\-indices\fP true|false] +.br + [\fB\-\-cache\-packages\fP true|false] +.br + [\fB\-\-cache\-stages\fP \fI段階\fP|\fI"段階"\fP] +.br + [\fB\-\-checksums\fP md5|sha1|sha256|none] +.br + [\fB\-\-compression\fP bzip2|gzip|lzip|none] +.br + [\fB\-\-config\fP \fIGIT_URL::GIT_ID\fP] +.br + [\fB\-\-build\-with\-chroot\fP true|false] +.br + [\fB\-\-chroot\-filesystem\fP ext2|ext3|ext4|squashfs|jffs2|none] +.br + [\fB\-\-clean\fP] +.br + [\-c|\fB\-\-conffile\fP \fIファイル\fP] +.br + [\fB\-\-debconf\-frontend\fP dialog|editor|noninteractive|readline] +.br + [\fB\-\-debconf\-priority\fP low|medium|high|critical] +.br + [\fB\-\-debian\-installer\fP true|cdrom|netinst|netboot|businesscard|live|false] +.br + [\fB\-\-debian\-installer\-distribution\fP daily|\fIコード名\fP] +.br + [\fB\-\-debian\-installer\-preseedfile\fP \fIファイル\fP|\fIURL\fP] +.br + [\fB\-\-debian\-installer\-gui\fP true|false] +.br + [\fB\-\-debug\fP] +.br + [\-d|\fB\-\-distribution\fP \fIコード名\fP] +.br + [\fB\-\-parent\-distribution\fP \fIコード名\fP] +.br + [\fB\-\-parent\-debian\-installer\-distribution\fP \fIコード名\fP] +.br + [\fB\-\-dump\fP] +.br + [\fB\-\-fdisk\fP fdisk|fdisk.dist] +.br + [\fB\-\-firmware\-binary true|false\fP] +.br + [\fB\-\-firmware\-chroot true|false\fP] +.br + [\fB\-\-force\fP] +.br + [\fB\-\-grub\-splash\fP \fIファイル\fP] +.br + [\fB\-\-gzip\-options\fP \fIオプション\fP|"\fIオプション\fP"] +.br + [\fB\-\-hooks\fP \fIファイル\fP] +.br + [\fB\-\-ignore\-system\-defaults\fP] +.br + [\fB\-\-initramfs\fP auto|none|live\-boot|casper] +.br + [\fB\-\-initramfs\-compression\fP bzip2|gzip|lzma] +.br + [\fB\-\-initsystem\fP sysvinit|runit|systemd|upstart|none] +.br + [\fB\-\-interactive\fP shell] +.br + [\fB\-\-isohybrid\-options\fP \fIオプション\fP|"\fIオプション\fP"] +.br + [\fB\-\-iso\-application\fP \fI名前\fP] +.br + [\fB\-\-iso\-preparer\fP \fINAME\fP] +.br + [\fB\-\-iso\-publisher\fP \fI名前\fP] +.br + [\fB\-\-iso\-volume\fP \fI名前\fP] +.br + [\fB\-\-jffs2\-eraseblock\fP \fIサイズ\fP] +.br + [\fB\-\-keyring\-packages\fP \fIパッケージ|"パッケージ"\fP] +.br + [\-k|\fB\-\-linux\-flavours\fP \fIフレーバー\fP|\fI"フレーバー"\fP] +.br + [\fB\-\-linux\-packages\fP \fI"パッケージ"\fP] +.br + [\fB\-\-losetup\fP losetup|losetup.orig] +.br + [\fB\-\-memtest\fP memtest86+|memtest86|none] +.br + [\-m|\fB\-\-parent\-mirror\-bootstrap\fP \fIURL\fP] +.br + [\fB\-\-parent\-mirror\-chroot\fP \fIURL\fP] +.br + [\fB\-\-parent\-mirror\-chroot\-security\fP \fIURL\fP] +.br + [\fB\-\-parent\-mirror\-chroot\-updates\fP \fIURL\fP] +.br + [\fB\-\-parent\-mirror\-chroot\-backports\fP \fIURL\fP] +.br + [\fB\-\-parent\-mirror\-binary\fP \fIURL\fP] +.br + [\fB\-\-parent\-mirror\-binary\-security\fP \fIURL\fP] +.br + [\fB\-\-parent\-mirror\-binary\-updates\fP \fIURL\fP] +.br + [\fB\-\-parent\-mirror\-binary\-backports\fP \fIURL\fP] +.br + [\fB\-\-parent\-mirror\-debian\-installer\fP \fIURL\fP] +.br + [\fB\-\-mirror\-bootstrap\fP \fIURL\fP] +.br + [\fB\-\-mirror\-chroot\fP \fIURL\fP] +.br + [\fB\-\-mirror\-chroot\-security\fP \fIURL\fP] +.br + [\fB\-\-mirror\-chroot\-updates\fP \fIURL\fP] +.br + [\fB\-\-mirror\-chroot\-backports\fP \fIURL\fP] +.br + [\fB\-\-mirror\-binary\fP \fIURL\fP] +.br + [\fB\-\-mirror\-binary\-security\fP \fIURL\fP] +.br + [\fB\-\-mirror\-binary\-updates\fP \fIURL\fP] +.br + [\fB\-\-mirror\-binary\-backports\fP \fIURL\fP] +.br + [\fB\-\-mirror\-debian\-installer\fP \fIURL\fP] +.br + [\fB\-\-mode\fP debian|progress\-linux|ubuntu] +.br + [\fB\-\-system\fP live|normal] +.br + [\fB\-\-net\-root\-filesystem\fP nfs|cfs] +.br + [\fB\-\-net\-root\-mountoptions\fP \fIオプション\fP] +.br + [\fB\-\-net\-root\-path\fP \fIパス\fP] +.br + [\fB\-\-net\-root\-server\fP \fIIPアドレス\fP|\fIホスト名\fP] +.br + [\fB\-\-net\-cow\-filesystem\fP nfs|cfs] +.br + [\fB\-\-net\-cow\-mountoptions\fP \fIオプション\fP] +.br + [\fB\-\-net\-cow\-path\fP \fIパス\fP] +.br + [\fB\-\-net\-cow\-server\fP \fIIPアドレス\fP|\fIホスト名\fP] +.br + [\fB\-\-net\-tarball\fP true|false] +.br + [\fB\-\-quiet\fP] +.br + [\fB\-\-archive\-areas\fP \fIアーカイブ領域\fP|\fI"アーカイブ領域"\fP] +.br + [\fB\-\-parent\-archive\-areas\fP \fI親アーカイブ領域\fP|\fI"親アーカイブ領域"\fP] +.br + [\fB\-\-security\fP true|false] +.br + [\fB\-\-source\fP true|false] +.br + [\-s|\fB\-\-source\-images\fP iso|netboot|tar|hdd] +.br + [\fB\-\-tasksel\fP apt|aptitude|tasksel] +.br + [\fB\-\-templates\fP \fIパス\fP] +.br + [\fB\-\-hdd\-size \fP\fIMB\fP] +.br + [\fB\-\-updates\fP true|false] +.br + [\fB\-\-backports\fP true|false] +.br + [\fB\-\-verbose\fP] +.br +.\" FIXME + [\fB\-\-win32\-loader true|false]\fP + +.SH 説明 +\fBlb config\fP は Live システムツール集 \fIlive\-build\fP(7) の高レベルコマンド (porcelain) です。 +.PP +.\" FIXME +\fBlb config\fP は live\-build の設定ディレクトリを用意します。デフォルトで、このディレクトリは「config」という名で、\fBlb +config\fP が実行された現在のディレクトリに作成されます。 +.PP +.\" FIXME +注意: 現在 \fBlb config\fP は気を利かせようとして、他のオプションの設定に依存する一部のオプションのデフォルト値をセット (例えば利用する +linux パッケージをビルドしようとしているのが wheezy システムがどうかにより判断) +します。これはつまり、新しい設定を生成する際はオプションを全て指定して \fBlb config\fP +を一度だけ実行すべきだということです。一部のオプションだけを指定して何度も実行した場合には、その度に使えない設定が出来る可能性があります。変更するオプションだけを指定して +\fBlb config\fP +を実行した場合、指定されていないオプションは、定義されている限りは全てそのまま維持されるためにこれが起きることもあります。ただし、不可能あるいはほぼ不可能な組み合わせであることがわかっていて使えない +Live システムを作成することになりそうなときには \fBlb config\fP それについて警告します。よくわからない場合は +config/{binary,bootstrap,chroot,common,source} を削除して再び \fBlb config\fP +を実行してください。 + +.SH オプション +\fBlb config\fP は固有のオプションに加え、live\-build 全般のオプションを全て理解します。live\-build +全般のオプションの全容については \fIlive\-build\fP(7) を見てください。 +.PP +.\" FIXME +.IP "\fB\-\-apt\fP apt|aptitude" 4 +イメージのビルド時にパッケージをインストールするのに apt\-get と aptitude のどちらを利用するか決定します。デフォルトは apt です。 +.IP "\fB\-\-apt\-ftp\-proxy\fP \fIURL\fP" 4 +apt により利用する ftp プロキシをセットします。デフォルトでは利用しません。この変数は chroot 内で利用する apt +でのみ有効で、それ以外では利用されないことに注意してください +.IP "\fB\-\-apt\-http\-proxy\fP \fIURL\fP" 4 +apt により利用する http プロキシをセットします。デフォルトでは利用しません。この変数は chroot 内で利用する apt +でのみ有効で、それ以外では利用されないことに注意してください +.IP "\fB\-\-apt\-indices\fP true|false|none" 4 +作成されるイメージに apt の索引ファイルを収録するか否かを決定します。デフォルトは true です。none +をセットすると索引ファイルは一切収録されません。 +.IP "\fB\-\-apt\-options\fP \fIオプション\fP|\(dq\fIオプション\fP\(dq" 4 +イメージのビルド時に chroot 内で apt を利用する際に毎回付加されるデフォルトのオプションを決定します。デフォルトでは \-\-yes +がセットされていて、パッケージの対話的ではないインストール処理ができるようになっています。 +.IP "\fB\-\-aptitude\-options\fP \fIオプション\fP|\(dq\fIオプション\fP\(dq" 4 +イメージのビルド時に chroot 内で aptitude を利用する際に毎回付加されるデフォルトのオプションを決定します。デフォルトでは +\-\-assume\-yes がセットされていて、パッケージの対話的ではないインストール処理ができるようになっています。 +.IP "\fB\-\-apt\-pipeline\fP \fI深度\fP" 4 +apt/aptitude のパイプラインの深さを決定します。リモートのサーバがRFCに準拠していないあるいはバグが多い (Squid 2.0.2 等) +の場合、このオプションで「0」から「5」までの値を指定し、APTが送るべき処理中リクエストの数を指示できます。リモートホストがTCP接続を適切に残さない場合は「0」を指定*しないといけません* +\- そうしない場合はデータの破損が発生します。これを必要とするホストは RFC 2068 に違反しています。デフォルトで live\-build +はこのオプションをセットしていません。 +.IP "\fB\-\-apt\-recommends\fP true|false" 4 +aptが推奨パッケージを自動的にインストールすべきか否かを決定します。デフォルトは true です。 +.IP "\fB\-\-apt\-secure\fP true|false" 4 +aptがリポジトリの署名を確認すべきか否かを決定します。デフォルトは true です。 +.IP "\fB\-\-apt\-source\-archives\fP true|false" 4 +作成される Live イメージに deb\-src の行を収録すべきか否かを決定します。デフォルトは true です。 +.IP "\-a|\fB\-\-architectures\fP \fIアーキテクチャ\fP" 4 +ビルドされるイメージのアーキテクチャを指定します。デフォルトではホストのアーキテクチャがセットされます。ホストシステムで対象アーキテクチャのバイナリをネイティブに実行できない場合には別のアーキテクチャのクロスビルドはできないことに注意してください。例えば64ビット対応の +i386 系列プロセッサ及び適切なカーネルを使っている場合には i386 で amd64 イメージを、あるいはその逆に、ビルドできます。しかし i386 +システムで powerpc 用イメージをビルドするのは不可能です。 +.IP "\-b|\fB\-\-binary\-images\fP iso|iso\-hybrid|netboot|tar|hdd" 4 +ビルドするイメージの種類を決定します。デフォルトで、syslinux を利用するイメージではハードディスク向けイメージと同じようにも利用できる +CD/DVD イメージをビルドするため iso\-hybrid が、syslinux 以外のイメージでは iso がセットされます。 +.IP "\fB\-\-binary\-filesystem\fP fat16|fat32|ext2|ext3|ext4" 4 +指定した種類のイメージで利用するファイルシステムを指定します。これは選択した種類のバイナリイメージでファイルシステムを選択できる場合にのみ効果があります。例えば +iso 選択時に作成される CD/DVD のファイルシステムは常に ISO9660 +となります。USBメモリ向けのhddイメージをビルドする場合にはこれが有効になります。sparc のデフォルトが ext4 +である例外を除く全アーキテクチャでデフォルトが fat16 となっていることに注意してください。また、fat16 +選択時に出来上がったバイナリイメージのサイズが2GBを超えた場合はそのバイナリのファイルシステムは自動的に fat32 +に切り替えられることに注意してください。 +.IP "\fB\-\-bootappend\-install\fP \fIパラメータ\fP|\(dq\fIパラメータ\fP\(dq" 4 +debian\-installer を収録した場合、debian\-installer 特有のブートパラメータをセットします。 +.IP "\fB\-\-bootappend\-live\fP \fIパラメータ\fP|\(dq\fIパラメータ\fP\(dq" 4 +debian\-live 特有のブートパラメータをセットします。ブートパラメータの全容は \fIlive\-boot\fP(7) 及び +\fIlive\-config\fP(7) マニュアルページにあります。 +.IP "\fB\-\-bootloader\fP grub|syslinux" 4 +生成されたイメージで利用するブートローダを選択します。これは選択した種類のバイナリイメージでブートローダを選択できる場合にのみ効果があります。例えば +iso をビルドする場合は常に syslinux (さらに言えば isolinux) +が利用されます。また、バイナリイメージの種類とブートローダの組み合わせの中には、可能ではあるものの live\-build +でのサポートが追いついていないものがあり得ることに注意してください。\fBlb config\fP +はそういった未サポートの設定の作成には失敗し、そのことについて説明します。amd64 や i386 用のhddイメージでは syslinux +がデフォルトとなっています。 +.IP "\fB\-\-bootstrap\fP cdebootstrap|cdebootstrap\-static|debootstrap" 4 +debian chroot でのパッケージ収集に利用するプログラムを選択します。デフォルトでは debootstrap となっています。 +.IP "\fB\-\-cache\fP true|false" 4 +全体としてキャッシュを使うか否か大域的に決定します。異なるキャッシュを、キャッシュそれぞれのオプションで制御できます。 +.IP "\fB\-\-cache\-indices\fP true|false" 4 +ダウンロードしたパッケージ索引や一覧をキャッシュするか否かを決定します。デフォルトで false +となっています。有効にするとイメージを完全にオフラインで再ビルドできるようになりますが、以後の更新は得られなくなります。 +.IP "\fB\-\-cache\-packages\fP true|false" 4 +ダウンロードしたパッケージファイルをキャッシュするか否かを決定します。デフォルトで true +となっています。無効化するとビルドディレクトリの容量を節約できますが、再ビルドした場合には不要な転送が発生することを覚えておいてください。一般にこれは常に +true +にしておくべきですが、特定のまれなビルド環境でローカルディスクを使うよりもローカルのネットワークミラーからパッケージを再取得した方が速いことがあります。 +.IP "\fB\-\-cache\-stages\fP true|false|\fI段階\fP|\(dq\fI段階\fP\(dq" 4 +キャッシュする段階を指定します。デフォルトでパッケージ収集段階をキャッシュします。通常の段階を示す名前に対する例外として、filesystem.{dir,ext*,squashfs} +に生成したルートファイルシステムだけをキャッシュする rootfs +を指定できます。開発時にバイナリ段階を再ビルドする際、ルートファイルシステムを毎回再生成するのは避けたい場合にこれは有用です。 +.IP "\fB\-\-checksums\fP md5|sha1|sha256|none" 4 +バイナリイメージに md5sums.txt や sha1sums.txt、sha256sums.txt +等のファイルを収録するか否かを決定します。この各ファイルではイメージのチェックサムとそのイメージにある全ファイルを列挙します。ブートプロンプトで指定した場合は +live\-boot 組み込みの整合性確認によりこれを利用してメディアを検証できます。一般にこれは false にすべきではなく、一般向けにリリースした +Live +システムにとって重要な機能でもあります。しかし、巨大なイメージの開発の際にはチェックサムを計算しないことによりいくらか時間を節約できる可能性があります。 +.IP "\fB\-\-compression\fP bzip2|gzip|lzip|none" 4 +tar アーカイブの圧縮に利用する圧縮プログラムを決定します。デフォルトは gzip です。 +.IP "\fB\-\-config\fP \fIGIT_URL\fP::\fIGIT_ID\fP" 4 +設定ツリーをgitリポジトリから取得できます。オプションとして Git Id (ブランチやコミット、タグ等) を指定できます。 +.IP "\fB\-\-build\-with\-chroot\fP true|false" 4 +live\-build がバイナリイメージのビルドに chroot 内のツールを使うのか、chroot +ではなくホストのシステムツールを取り込んで使うのかを決定します。これは非常に危険なオプションであり、ホストシステムのツールを利用することで汚染され、必要とするツール +(主に syslinux や grub 等のブートローダや、dosfstools や xorriso、squashfs\-tools その他の補助ツール) +のバージョンがホストシステムのものと対象ディストリビューションとでビルド時に存在するものとで\fB正確に\fP一致しないとブート不可能なイメージが出来上がってしまう可能性もあります。何をしているのか\fB正確に\fPわかっていて\fB完全に\fP\fI結果を理解している\fP場合を除き、このオプションを決して無効化することのないようにしてください。 +.IP "\fB\-\-chroot\-filesystem\fP ext2|ext3|ext4|squashfs|jffs2|none" 4 +ルートファイルシステムのイメージとして利用するファイルシステムの種類を決定します。none +を指定した場合はファイルシステムイメージは作成されず、ルートファイルシステムの内容は非圧縮ファイルとしてバイナリイメージファイルシステムにコピーされます。選択したバイナリファイルシステムによっては、こういったそのままのルートファイルシステムのビルドができないものもあります。例えば +fat16/fat32 では linux からの直接の実行をサポートしていないため機能しません。 +.IP \fB\-\-clean\fP 4 +未使用のため内容が空のサブディレクトリを自動的に削除し、設定ディレクトリを最小にします。 +.IP "\-c|\fB\-\-conffile\fP \fIファイル\fP" 4 +設定ディレクトリの通常利用される設定ファイルに加え、ユーザが指定した別の設定ファイルを使います。 +.IP "\fB\-\-debconf\-frontend\fP dialog|editor|noninteractive|readline" 4 +chroot 内での debconf フロントエンドの値を決定します。デフォルトの noninteractive +以外をセットした場合、ビルド中に質問するようになることに注意してください。 +.IP "\fB\-\-debconf\-priority\fP low|medium|high|critical" 4 +chroot 内での debconf の優先度の値を決定します。デフォルトでは critical で、ほとんどの質問は表示されなくなっています。これは +debconf フロントエンドに noninteractive 以外を指定している場合にのみ有効であることに注意してください +.IP "\fB\-\-debian\-installer\fP true|cdrom|netinst|netboot|businesscard|live|false" 4 +出来上がったバイナリイメージに debian\-installer +を収録する場合にその種類を指定します。デフォルトではインストーラは収録されません。live 以外はどれでも、通常の debian\-cd +として作成されているインストール用メディアと同等の設定を使います。live を選択した場合は live\-installer の udeb +が収録されるため、debian\-installer が普通とは異なる挙動を取ります \- メディアやネットワークのパッケージを使って Debian +システムをインストールするのではなく、ディスクに Live システムをインストールします。 +.IP "\fB\-\-debian\-installer\-distribution\fP daily|\fIコード名\fP" 4 +debian\-installer のファイルを取得するディストリビューションを決定します。これは通常 Live +システムと同一のディストリビューションになりますが、新しい、あるいは日次ビルドのインストーラを使いたいときもあります。 +.IP "\fB\-\-debian\-installer\-preseedfile\fP \fIファイル\fP|\fIURL\fP" 4 +オプションで利用、収録する debian\-installer 用の preseed +ファイルのファイル名またはURLをセットします。config/binary_debian\-installer/preseed.cfg +が存在する場合はそれがデフォルトで利用されます。 +.IP "\fB\-\-debian\-installer\-gui\fP true|false" 4 +debian\-installer グラフィカルGTKインターフェイスを true にするか否かを決定します。デフォルトでは、Debian モードや +Ubuntu のほとんどのバージョンで true、それ以外では false となっています。 +.IP \fB\-\-debug\fP 4 +デバッグ情報のメッセージを表示します。 +.IP "\-d|\fB\-\-distribution\fP \fIコード名\fP" 4 +出来上がる Live システムのディストリビューションを決定します。 +.IP "\-d|\fB\-\-parent\-distribution\fP \fIコード名\fP" 4 +出来上がる Live システムの派生元のディストリビューションを決定します。 +.IP "\-d|\fB\-\-parent\-debian\-installer\-distribution\fP \fIコード名\fP" 4 +出来上がる Live システムの派生元の debian\-installer のディストリビューションを決定します。 +.IP \fB\-\-dump\fP 4 +現在存在している Live システムの設定と利用されている live\-build +のバージョンの報告を作成します。これはバグ報告の際に有用で、エラーが起きている部分を見つけ出し、再現するのに必要となる情報を全て提供します。 +.IP "\fB\-\-fdisk\fP fdisk|fdisk.dist" 4 +利用するホストシステムの fdisk バイナリのファイル名を指定します。これは自動的に検出されるため通常は独自に指定する必要はありません。 +.IP \fB\-\-force\fP 4 +既に実行した段階を強制的に再び実行します。何をしているのかわかっている場合にのみ実行してください。通常、\fBlb build\fP を再び実行する前に +\fBlb clean\fP を実行して掃除すると安全性は上がります。 +.IP "\fB\-\-grub\-splash\fP \fIファイル\fP" 4 +オプションで収録する、grub ブートローダのスプラッシュ画面に利用する画像のファイル名を指定します。 +.IP "\fB\-\-gzip\-options\fP \fIオプション\fP|\(dq\fIオプション\fP\(dq" 4 +イメージのビルド時に gzip を利用する際に (ほぼ) 毎回付加されるデフォルトのオプションを決定します。デフォルトでは \-\-best +がセットされていて、圧縮率の最も高い (ただし最も遅い) 圧縮を行います。ホストシステムで対応していれば \-\-rsyncable も動的に付加されます。 +.IP "\fB\-\-hooks\fP \fIファイル\fP" 4 +/usr/share/live/build/examples/hooks +から利用できるフックから有効にするものを指定します。通常、実行されるフックはありません。フックを有効にする前にそれが何をするものなのか、確実に知って理解するようにしてください。 +.IP \fB\-\-ignore\-system\-defaults\fP 4 +\fBlb config\fP はデフォルトで、新しい Live システム設定ディレクトリ生成時にシステムのデフォルト値を +\fI/etc/live/build.conf\fP と \fI/etc/live/build/*\fP +から読み取ります。これはミラーの場所等の全体的な設定を毎回指定したくない場合に有用です。 +.IP "\fB\-\-initramfs\fP auto|none|live\-boot|casper" 4 +Live システム特有の initramfs への変更を収録するパッケージの名前をセットします。デフォルトは auto +で、イメージの設定時ではなくビルド時に、ubuntu システムをビルドしている場合は casper、それ以外のシステムでは live\-boot +に展開されます。出来上がるシステムイメージが Live イメージではない場合には「none」が有用です (実験的設定値)。 +.IP "\fB\-\-initramfs\-compression\fP bzip2|gzip|lzma]" +initramfs の圧縮に利用する圧縮プログラムを決定します。デフォルトは gzip です。 +.IP "\fB\-\-interactive\fP shell" 4 +chroot 段階の終了とバイナリ段階の開始の間に chroot +内で対話シェルへのログインを行い、手作業による介入できる機会を儲けるか否かを決定します。シェルをログアウトまたは終了により閉じた後は、ビルドは通常と同様に続きます。テスト以外でのこの機能の利用は全く勧められないことに注意してください。Live +システムの全ビルドで行うべき変更はフックにより適切に行うようにしてください。この機能はビルド過程を完全に自動化して双方向性を排除できるという長所を破壊します。これはもちろんデフォルトで +false となっています。 +.IP "\fB\-\-isohybrid\-options\fP \fIオプション\fP|\(dq\fIオプション\fP\(dq" 4 +isohybrid に渡すオプションを指定します。 +.IP "\fB\-\-iso\-application\fP \fI名前\fP" 4 +出来上がる CD/DVD イメージのヘッダの APPLICATION フィールドをセットします。デフォルトは Debian モードでは「Debian +Live」、ubuntu モードでは「Ubuntu Live」となっています。 +.IP "\fB\-\-iso\-preparer\fP \fI名前\fP" 4 +出来上がる CD/DVD イメージのヘッダの PREPARER フィールドをセットします。デフォルトは「live\-build \fIバージョン\fP; +http://packages.qa.debian.org/live\-build」で、バージョンはそのイメージのビルドに利用した live\-build +のバージョンに展開されます。 +.IP "\fB\-\-iso\-publisher\fP \fI名前\fP" 4 +出来上がる CD/DVD イメージのヘッダの PUBLISHED フィールドをセットします。デフォルトは「Live Systems project; +http:/live\-systems.org/; +debian\-live@lists.debian.org」となっています。独自の非公式イメージを配布する際はこれを忘れずに最新の適切な値に変更してください。 +.IP "\fB\-\-iso\-volume\fP \fI名前\fP" 4 +出来上がる CD/DVD イメージのヘッダの VOLUME フィールドをセットします。デフォルトは「(\fIモード\fP) (\fIディストリビューション\fP) +(\fI日時\fP)」で、モードは現在利用しているモード、ディストリビューションはディストリビューションの名前、日時は作成時の日付と時刻に展開されます。 +.IP "\fB\-\-jffs2\-eraseblock\fP \fIサイズ\fP" 4 +JFFS2 (Second Journaling Flash File System) ファイルシステムの eraseblock +のサイズを指定します。デフォルトは 64 KiB となっています。対象の MTD デバイスと一致しない値をこれに指定した場合は JFFS2 +が最適に機能しなくなるかもしれません。サイズに 4096 未満の値が指定された場合は KiB 単位の値が指定されたものと仮定します。 +.IP "\fB\-\-keyring\-packages\fP \fIパッケージ|\(dqパッケージ\fP\(dq" 4 +キーリングパッケージや追加のキーリングパッケージをセットします。デフォルトでは debian\-archive\-keyring となっています。 +.IP "\-k|\fB\-\-linux\-flavours\fP \fIフレーバー\fP|\(dq\fIフレーバー\fP\(dq" 4 +インストールするカーネルの種類 (フレーバー) +を指定します。複数指定した場合は最初に指定したものがデフォルトでブートされるカーネルとして設定されることに注意してください。 +.IP "\fB\-\-linux\-packages\fP \(dq\fIパッケージ\fP\(dq" 4 +カーネルのパッケージ命名規則に従った内部名をセットします。Debian のカーネルパッケージを利用している場合は調整する必要はありません。Debian +の命名規則に従わない独自のカーネルパッケージを利用する場合にはこのオプションでパッケージの前半部 (Debian の場合は +linux\-image\-2.6) だけを忘れずに指定し、\fI前半部\fP\-\fIフレーバー\fP (Debian の場合は例えば +linux\-image\-2.6\-486) +が有効なパッケージ名になるようにしてください。好ましいのは、メタパッケージがある場合にはその名前を前半部に使うことで、そうすると設定とABIが独立します。また、unionfs +や aufs、squashfs +のバイナリモジュールパッケージについても、ツリー外でビルドした場合にはその前半部を含める必要があることを忘れないようにしてください。 +.IP "\fB\-\-losetup\fP losetup|losetup.orig" 4 +利用するホストシステムの losetup バイナリのファイル名を指定します。これは自動的に検出されるため通常は独自に指定する必要はありません。 +.IP "\fB\-\-memtest\fP memtest86+|memtest86|none" 4 +補助的なブートローダ設定として、memtest や memtest86+ +を収録するか、あるいはメモリのテスト用プログラムを収録しないのかを決定します。これは amd64 及び i386 でのみ利用可能で、デフォルトは +memtest86+ となっています。 +.IP "\-m|\fB\-\-parent\-mirror\-bootstrap\fP \fIURL\fP" 4 +パッケージ収集段階で利用するパッケージミラーの場所を指定します。デフォルトは「http://ftp.de.debian.org/debian/」ですが、ヨーロッパ以外では適切なデフォルトではないかもしれません。 +.IP "\fB\-\-parent\-mirror\-chroot\fP \fIURL\fP" 4 +Live システムをビルドするためにパッケージを取得するのに利用するパッケージのミラーの場所をセットします。デフォルトでは +\-\-parent\-mirror\-bootstrap で指定された値が利用されます。 +.IP "\fB\-\-parent\-mirror\-chroot\-security\fP \fIURL\fP" 4 +Live +システムをビルドするためにパッケージを取得するのに利用するセキュリティパッケージのミラーの場所をセットします。デフォルトでは「http://security.debian.org/debian/」が利用されます。 +.IP "\fB\-\-parent\-mirror\-chroot\-updates\fP \fIURL\fP" 4 +Live システムをビルドするためにパッケージを取得するのに利用する updates パッケージのミラーの場所をセットします。デフォルトでは +\-\-parent\-mirror\-chroot で指定された値が利用されます。 +.IP "\fB\-\-parent\-mirror\-chroot\-backports\fP \fIURL\fP" 4 +Live システムをビルドするためにパッケージを取得するのに利用する backports +パッケージのミラーの場所をセットします。デフォルトでは「http://backports.debian.org/debian\-backports/」が利用されます。 +.IP "\fB\-\-parent\-mirror\-binary\fP \fIURL\fP" 4 +出来上がったイメージ中で設定され、ユーザが利用することになる Debian +パッケージミラーの場所を指定します。これはイメージのビルドに利用するものと同一である必要はありません。例えばローカルミラーを利用しているけれどもイメージでは公式のミラーを使うようにしたい場合。デフォルトでは「http://http.debian.net/debian/」を利用します。 +.IP "\fB\-\-parent\-mirror\-binary\-security\fP \fIURL\fP" 4 +最終的に出来上がるイメージで設定すべきセキュリティパッケージのミラーの場所をセットします。デフォルトでは「http://security.debian.org/」が利用されます。 +.IP "\fB\-\-parent\-mirror\-binary\-updates\fP \fIURL\fP" 4 +最終的に出来上がるイメージで設定すべき updates パッケージのミラーの場所をセットします。デフォルトでは +\-\-parent\-mirror\-binary で指定された値が利用されます。 +.IP "\fB\-\-parent\-mirror\-binary\-backports\fP \fIURL\fP" 4 +最終的に出来上がるイメージで設定すべき backports +パッケージのミラーの場所をセットします。デフォルトでは「http://backports.debian.org/debian\-backports/」が利用されます。 +.IP "\fB\-\-parent\-mirror\-debian\-installer\fP \fIURL\fP" 4 +debian インストーラのイメージを取得するのに利用するミラーの場所をセットします。デフォルトでは Live +システムをビルドするために利用するのと同じミラー、つまり \-\-parent\-mirror\-bootstrap で指定された値が利用されます。 +.IP "\fB\-\-mirror\-bootstrap\fP \fIURL\fP" 4 +派生物のパッケージ収集段階で利用するパッケージのミラーの場所をセットします。デフォルトは「http://ftp.de.debian.org/debian/」ですが、ヨーロッパ以外では適切なデフォルトではないかもしれません。 +.IP "\fB\-\-mirror\-chroot\fP \fIURL\fP" 4 +Live システムをビルドするために派生物のパッケージを取得するのに利用するパッケージのミラーの場所をセットします。デフォルトでは +\-\-mirror\-bootstrap で指定された値が利用されます。 +.IP "\fB\-\-mirror\-chroot\-security\fP \fIURL\fP" 4 +Live +システムをビルドするために派生物のパッケージを取得するのに利用するセキュリティパッケージのミラーの場所をセットします。デフォルトでは「http://security.debian.org/debian/」が利用されます。 +.IP "\fB\-\-mirror\-chroot\-updates\fP \fIURL\fP" 4 +Live システムをビルドするために派生物のパッケージを取得するのに利用する updates パッケージのミラーの場所をセットします。デフォルトでは +\-\-mirror\-chroot で指定された値が利用されます。 +.IP "\fB\-\-mirror\-chroot\-backports\fP \fIURL\fP" 4 +Live システムをビルドするために派生物のパッケージを取得するのに利用する backports +パッケージのミラーの場所をセットします。デフォルトでは「http://backports.debian.org/debian\-backports/」が利用されます。 +.IP "\fB\-\-mirror\-binary\fP \fIURL\fP" 4 +出来上がったイメージ中で設定され、ユーザが利用することになる派生物のパッケージミラーの場所を指定します。これはイメージのビルドに利用するものと同一である必要はありません。例えばローカルミラーを利用しているけれどもイメージでは公式のミラーを使うようにしたい場合。デフォルトでは「http://http.debian.net/debian/」を利用します。 +.IP "\fB\-\-mirror\-binary\-security\fP \fIURL\fP" 4 +最終的に出来上がるイメージで設定すべき派生セキュリティパッケージのミラーの場所をセットします。 +.IP "\fB\-\-mirror\-binary\-updates\fP \fIURL\fP" 4 +最終的に出来上がるイメージで設定すべき派生 updates パッケージのミラーの場所をセットします。 +.IP "\fB\-\-mirror\-binary\-backports\fP \fIURL\fP" 4 +最終的に出来上がるイメージで設定すべき派生 backports パッケージのミラーの場所をセットします。 +.IP "\fB\-\-mirror\-debian\-installer\fP \fIURL\fP" 4 +派生物の debian インストーラのイメージを取得するのに利用するミラーの場所をセットします。デフォルトでは Live +システムをビルドするために利用するのと同じミラー、つまり \-\-mirror\-bootstrap で指定された値が利用されます。 +.IP "\fB\-\-mode\fP debian|progress|ubuntu" 4 +プロジェクト特有のデフォルト値を読み込むようにする大域モードを指定します。デフォルトでは debian となっています。 +.IP "\fB\-\-system\fP live|normal" 4 +出来上がるシステムのイメージを Live システムにするのか Live システムではない普通のイメージにするのかを指定します。 +.IP "\fB\-\-net\-root\-filesystem\fP nfs|cfs" 4 +ネットワーク経由のブート用イメージのブートローダ設定で設定するファイルシステムを指定します。デフォルトは nfs となっています。 +.IP "\fB\-\-net\-root\-mountoptions\fP \fIオプション\fP" 4 +ネットワーク経由のブート用イメージのルートファイルシステムをマウントする際のオプションを指定します。デフォルトは空です。 +.IP "\fB\-\-net\-root\-path\fP \fIパス\fP" 4 +ネットワーク経由のブート用イメージのブートローダ設定で設定するファイルのパスをセットします。デフォルトは Debian +モードでは「/srv/debian\-live」、ubuntu モードでは「/srv/ubuntu\-live」となっています。 +.IP "\fB\-\-net\-root\-server\fP \fIIPアドレス\fP|\fIホスト名\fP" 4 +ネットワーク経由のブート用イメージのルートファイルシステムのブートローダ設定で設定するIPアドレスやホスト名をセットします。デフォルトは +192.168.1.1 となっています。 +.IP "\fB\-\-net\-cow\-filesystem\fP nfs|cfs" 4 +copy\-on\-write レイヤーのファイルシステムの種類を指定します。デフォルトは nfs です。 +.IP "\fB\-\-net\-cow\-mountoptions\fP \fIオプション\fP" 4 +ネットワーク経由のブート用イメージの copy\-on\-write レイヤーをマウントする際の追加オプションを指定します。デフォルトは空です。 +.IP "\fB\-\-net\-cow\-path\fP \fIパス\fP" 4 +クライアントの書き込み可能ファイルシステムへのパスを指定します。パス中のどこかに \fIclient_mac_address\fP を指定すると +live\-boot はその部分をクライアントのMACアドレスをハイフンで区切ったものに置き換えます。 +.PP +.IP "" 4 +例: +.br +/export/hosts/client_mac_address +.br +/export/hosts/00\-16\-D3\-33\-92\-E8 +.IP "\fB\-\-net\-cow\-server\fP \fIIPアドレス\fP|\fIホスト名\fP" 4 +ネットワーク経由のブート用イメージの copy\-on\-write +ファイルシステムのブートローダ設定で設定するIPアドレスやホスト名をセットします。デフォルトは空です。 +.IP "\fB\-\-net\-tarball\fP true|false" 4 +圧縮した tar アーカイブを作成するか否かを決定します。このオプションを無効にすると tar +アーカイブは作成されなくなり、その場合はそのままのバイナリディレクトリが出力されることになります。デフォルトは true です。 +.IP \fB\-\-quiet\fP 4 +\fBlb build\fP からのメッセージの出力を少なくします。 +.IP "\fB\-\-archive\-areas\fP \fIアーカイブ領域\fP|\(dq\fIアーカイブ領域\fP\(dq" 4 +設定した Debian パッケージミラーに利用する Debian パッケージアーカイブのパッケージアーカイブ領域を指定します。デフォルトでは main +となっています。この仕組みにより contrib や non\-free +を有効化する際は、該当する法律の下で再配布が可能かどうか、各パッケージのライセンスを忘れずに確認してください。 +.IP "\fB\-\-parent\-archive\-areas\fP \fI親アーカイブ領域\fP|\(dq\fI親アーカイブ領域\fP\(dq" 4 +出来上がる Live システムの派生物のアーカイブ領域のディストリビューションを決定します。 +.IP "\fB\-\-security\fP true|false" 4 +セキュリティミラーオプションで指定されたセキュリティリポジトリを利用するか否かを決定します。 +.IP "\fB\-\-source\fP true|false" 4 +バイナリイメージに対応するソースイメージをビルドするか否かを決定します。ソースパッケージはほとんどの人にとって不要で、ダウンロードする必要があるものはかなり少数なので、デフォルトでは +false となっています。しかし、作成した Live イメージの配布を始める際には平行して、ソースイメージを利用してビルドできることを確認すべきです。 +.IP "\-s|\fB\-\-source\-images\fP iso|netboot|tar|hdd" 4 +ソースイメージのイメージの種類を指定します。デフォルトは tar です。 +.IP "\fB\-\-firmware\-binary\fP true|false" 4 +ファームウェアパッケージを debian\-installer +用のバイナリ置き場に自動的に収録するか否かを決定します。設定したアーカイブ領域で利用できるファームウェアパッケージだけが収録されることに注意してください。例えば +main のパッケージだけで構成したイメージでは non\-free +のファームウェアを自動的には収録しません。このオプションはバイナリパッケージ一覧で明示的に指定したパッケージには干渉しません。 +.IP "\fB\-\-firmware\-chroot\fP true|false" 4 +ファームウェアパッケージを Live +イメージに自動的に収録するか否かを決定します。設定したアーカイブ領域で利用できるファームウェアパッケージだけが収録されることに注意してください。例えば +main のパッケージだけで構成したイメージでは non\-free +のファームウェアを自動的には収録しません。このオプションはバイナリパッケージ一覧で明示的に指定したパッケージには干渉しません。 +.IP "\fB\-\-swap\-file\-path\fP \fIパス\fP" 4 +バイナリイメージ中に作成するスワップファイルのパスを指定します。デフォルトではスワップファイルを作成しません。 +.IP "\fB\-\-swap\-file\-size\fP \fIMB\fP" 4 +スワップファイルを作成する場合のサイズをメガバイトで指定します。デフォルトは 512MB です。 +.IP "\fB\-\-tasksel\fP apt|aptitude|tasksel" 4 +タスクのインストールに利用するプログラムを選択します。デフォルトでは tasksel となっています。 +.IP "\fB\-\-templates\fP \fIパス\fP" 4 +例えばブートローダ用に live\-build が利用するテンプレートへのパスを指定します。デフォルトでは +/usr/share/live/build/templates/ となっています。 +.IP "\fB\-\-hdd\-size\fP MB" 4 +hddイメージのサイズを指定します。デフォルトは 10000 (= 10GB) +となっていますが、イメージファイルはわずかなファイルとして作成されるためハードディスクに 10GB +の空き容量が必要というわけではないことに注意してください。 +.IP "\fB\-\-updates\fP true|false" 4 +イメージに updates パッケージアーカイブを収録すべきか否かを決定します。 +.IP "\fB\-\-backports\fP true|false" 4 +イメージに backports パッケージアーカイブを収録すべきか否かを決定します。 +.IP \fB\-\-verbose\fP 4 +\fBlb build\fP からのメッセージの出力を多くします。 +.IP "\fB\-\-win32\-loader true|false\fP" 4 +.\" FIXME +バイナリイメージに win32\-loader を収録すべきか否かを決定します。 + +.SH 環境変数 +.\" FIXME +コマンドラインオプションは現在、対応する環境変数でも同様に指定できます。しかし、この実装は将来のリリースで変更される対象であり、基本的に使うべきではありません。live\-build +に直接適用するオプションに対応する環境変数は LB_FOO のようになり、例えば \fB\-\-apt\-ftp\-proxy\fP は +LB_APT_FTP_PROXY となります (\fB\-\-debug\fP 等の内部オプションは例外です)。他のプログラムに渡されるオプションには +APT_OPTIONS や GZIP_OPTIONS と同様に LB_ を付加しません。 + + +.\" FIXME +.SH ファイル +.\" FIXME +.IP \fBauto/config\fP 4 +.IP "\fB/etc/live/build.conf, /etc/live/build/*\fP" 4 +.\" FIXME +\fBlb config\fP 変数向けのオプションの大域設定ファイルです。LB_PARENT_MIRROR_BOOTSTRAP +のようなシステム全体の少数のデフォルトを指定するのに有用です。この機能は \fB\-\-ignore\-system\-defaults\fP +オプションを指定することで無効にできます。 + +.SH 関連項目 +\fIlive\-build\fP(7) +.PP +\fIlive\-boot\fP(7) +.PP +\fIlive\-config\fP(7) +.PP +このプログラムは live\-build の一部です。 + +.SH ホームページ +live\-build 及び Live +システムプロジェクトについてのさらなる情報は、<\fIhttp://live\-systems.org/\fP> のホームページや +<\fIhttp://live\-systems.org/manual/\fP> のマニュアルにあります。 + +.SH バグ +バグは <\fIhttp://bugs.debian.org/\fP> にあるバグ追跡システムに live\-build +パッケージのバグ報告として提出するか、<\fIdebian\-live@lists.debian.org\fP> にある Live +システムのメーリングリスト宛てにメールを書くことにより報告できます。 + +.SH 作者 +live\-build は Daniel Baumann さん <\fImail@daniel\-baumann.ch\fP> +により書かれました。 diff --git a/manpages/ja/lb_source.ja.1 b/manpages/ja/lb_source.ja.1 new file mode 100644 index 0000000..a6e969c --- /dev/null +++ b/manpages/ja/lb_source.ja.1 @@ -0,0 +1,43 @@ +.\"******************************************************************* +.\" +.\" This file was generated with po4a. Translate the source file. +.\" +.\"******************************************************************* +.TH LIVE\-BUILD 1 2014\-10\-25 4.0.3\-1 "Live システムプロジェクト" + +.SH 名前 +\fBlb source\fP \- ソース段階を完了させます + +.SH 概要 +\fBlb source\fP [\fIlive\-build オプション\fP] + +.SH 説明 +\fBlb source\fP は Live システムツール集 \fIlive\-build\fP(7) の高レベルコマンド (porcelain) です。 +.PP +\fBlb source\fP はソース段階を完了させるために必要な live\-build プログラムを全て正しい順で呼び出します。 + +.SH オプション +\fBlb source\fP には特定のオプションはありませんが、live\-build 全般のオプションを全て理解します。live\-build +全般のオプションの全容については \fIlive\-build\fP(7) を見てください。 + +.SH ファイル +.IP \fB無し\fP 4 + +.SH 関連項目 +\fIlive\-build\fP(7) +.PP +このプログラムは live\-build の一部です。 + +.SH ホームページ +live\-build 及び Live +システムプロジェクトについてのさらなる情報は、<\fIhttp://live\-systems.org/\fP> のホームページや +<\fIhttp://live\-systems.org/manual/\fP> のマニュアルにあります。 + +.SH バグ +バグは <\fIhttp://bugs.debian.org/\fP> にあるバグ追跡システムに live\-build +パッケージのバグ報告として提出するか、<\fIdebian\-live@lists.debian.org\fP> にある Live +システムのメーリングリスト宛てにメールを書くことにより報告できます。 + +.SH 作者 +live\-build は Daniel Baumann さん <\fImail@daniel\-baumann.ch\fP> +により書かれました。 diff --git a/manpages/ja/live-build.ja.7 b/manpages/ja/live-build.ja.7 new file mode 100644 index 0000000..220b42f --- /dev/null +++ b/manpages/ja/live-build.ja.7 @@ -0,0 +1,263 @@ +.\"******************************************************************* +.\" +.\" This file was generated with po4a. Translate the source file. +.\" +.\"******************************************************************* +.TH LIVE\-BUILD 7 2014\-10\-25 4.0.3\-1 "Live システムプロジェクト" + +.SH 名前 +\fBlive\-build\fP \- Live システムツール集 + +.SH 概要 +.\" FIXME +.\" FIXME +\fBlb \fP\fIコマンド\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 説明 +.\" FIXME +live\-build は Live システムのイメージをビルドするためのスクリプト集です。live\-build +の背景となる考え方は、設定ディレクトリを使って Live イメージのビルドに関するあらゆる面を完全に自動化、独自化するツール集ということです。 +.PP +\fIコマンド\fPは live\-build コマンドの名前です (以下参照)。 +.PP +.\" FIXME +live\-build 及び Live システムプロジェクトについてのさらなる情報は、それぞれの man ページや +<\fIhttp://live\-systems.org/manual/\fP> のマニュアルにあります。 + +.SH オプション +.\" FIXME +.SS "live\-build 共有オプション" +以下のコマンドラインオプションは全 live\-build プログラムでサポートされています。 +.IP "\fB\-h, \-\-help\fP" 4 +ヘルプを表示して終了します。 +.IP "\fB\-u, \-\-usage\fP" 4 +使用方法を表示して終了します。 +.IP "\fB\-v, \-\-version\fP" 4 +バージョン情報を表示して終了します。 +.SS "live\-build 共通オプション" +以下のコマンドラインオプションはほとんどの live\-build プログラムでサポートされています。各オプションの完全な説明については各プログラムの +man ページを見てください。 +.IP \fB\-\-breakpoints\fP 4 +ブレークポイントをたどります。 +.IP \fB\-\-conffile\fP 4 +独自の設定ファイルを使います。 +.IP \fB\-\-debug\fP 4 +デバッグ情報を表示します。 +.IP \fB\-\-force\fP 4 +段階ファイルが存在する場合でも強制的にヘルパーを実行します。 +.IP \fB\-\-quiet\fP 4 +出力するメッセージを少なくします。 +.IP \fB\-\-verbose\fP 4 +.\" FIXME +出力するメッセージを多くします。 + +.SH "LIVE\-BUILD コマンド" +.\" FIXME +live\-build は高レベル (「porcelain」) コマンドと低レベル (「plumbing」) コマンドに分割されています。 +.PP +.\" FIXME +利用可能な全 live\-build コマンドの一覧です。詳しくはそれぞれの man ページを見てください。 + +.SH "高レベルコマンド (PORCELAIN)" +.\" FIXME +高レベルコマンドは主要コマンドといくらかの副次的なユーザ向けユーティリティに分けられています。 +.SS 主要コマンド +.IP \fBlb_config\fP(1) 4 +live\-build の設定ファイルを作成します +.IP \fBlb_bootstrap\fP(1) 4 +第1の段階で基本的な debian システムのパッケージ収集を行います +.IP \fBlb_chroot\fP(1) 4 +第2の段階で chroot の独自化を行います +.IP \fBlb_binary\fP(1) 4 +第3の段階でバイナリイメージの生成を行います +.IP \fBlb_source\fP(1) 4 +オプションの第4の段階でソースイメージの生成を行います +.IP \fBlb_clean\fP(1) 4 +システムのビルド用ディレクトリを掃除します +.SS 副次的なコマンド +.IP \fBlb\fP(1) 4 +live\-build の包括的なラッパー +.IP \fBlb_build\fP(1) 4 +全段階のラッパーです +.IP \fBlb_local\fP(1) 4 +ローカルの live\-build を利用する支援コマンド +.IP \fBlb_testroot\fP(1) 4 +.\" FIXME +システムが root により構成されていることを確認します + +.SH "低レベルコマンド (PLUMBING)" +.\" FIXME +live\-build +の実際の作業は低レベルコマンドにより実装されています。低レベルコマンドはエンドユーザが直接実行することは想定していません。高レベルの主要コマンドに操作させることにより、様々な低レベルコマンドを必ず正しい順で実行するようにしています。しかし、live\-build +コマンドを自分のスクリプトで再利用したい場合はこの低レベルコマンドが対象となるかもしれません。 +.PP +この低レベルコマンドへのインターフェイス (オプション群やセマンティクス) +は高レベルの主要コマンドよりもはるかに安定していることが求められることに注意してください。それに対して高レベルの主要コマンドへのインターフェイスは、エンドユーザの使い勝手改善のために変更される対象となります。 +.SS パッケージ収集用のコマンド +.IP \fBlb_bootstrap_cache\fP(1) 4 +パッケージ収集段階をキャッシュします +.IP \fBlb_bootstrap_cdebootstrap\fP(1) 4 +cdebootstrap(1) により Debian システムのパッケージ収集を行います +.IP \fBlb_bootstrap_debootstrap\fP(1) 4 +debootstrap(8) により Debian システムのパッケージ収集を行います +.SS "chroot コマンド" +.IP \fBlb_chroot_apt\fP(1) 4 +/etc/apt/apt.conf の管理 +.IP \fBlb_chroot_cache\fP(1) 4 +chroot 段階をキャッシュします +.IP \fBlb_chroot_debianchroot\fP(1) 4 +/etc/debian_chroot の管理 +.IP \fBlb_chroot_devpts\fP(1) 4 +/dev/pts をマウントします。 +.IP \fBlb_chroot_dpkg\fP(1) 4 +/sbin/dpkg の管理 +.IP \fBlb_chroot_hacks\fP(1) 4 +hacks (応急的な操作を行うスクリプト) を chroot で実行します +.IP \fBlb_chroot_hostname\fP(1) 4 +/bin/hostname の管理 +.IP \fBlb_chroot_hosts\fP(1) 4 +/etc/hosts の管理 +.IP \fBlb_chroot_install\-packages\fP(1) 4 +キューにあるパッケージを chroot にインストールします +.IP \fBlb_chroot_interactive\fP(1) 4 +対話的にビルドします +.IP \fBlb_chroot_linux\-image\fP(1) 4 +/etc/kernel\-img.conf の管理 +.IP \fBlb_chroot_hooks\fP(1) 4 +ローカルフックを chroot で実行します +.IP \fBlb_chroot_local\-includes\fP(1) 4 +ローカルファイルを chroot にコピーします +.IP \fBlb_chroot_packages\fP(1) 4 +chroot にインストールするパッケージをキューに追加します +.IP \fBlb_chroot_local\-patches\fP(1) 4 +ローカルのパッチを chroot に適用させます +.IP \fBlb_chroot_local\-preseed\fP(1) 4 +ローカルにある debconf の preseed 用ファイルを利用します +.IP \fBlb_chroot_packagelists\fP(1) 4 +chroot にインストールするパッケージ一覧をキューに追加します +.IP \fBlb_chroot_proc\fP(1) 4 +/proc をマウントします。 +.IP \fBlb_chroot_resolv\fP(1) 4 +/etc/resolv.conf の管理 +.IP \fBlb_chroot_selinuxfs\fP(1) 4 +/selinux をマウントします。 +.IP \fBlb_chroot_archives\fP(1) 4 +/etc/apt/sources.list の管理 +.IP \fBlb_chroot_sysfs\fP(1) 4 +/sys をマウントします。 +.IP \fBlb_chroot_sysv\-rc\fP(1) 4 +/usr/sbin/policy\-rc.d の管理 +.IP \fBlb_chroot_task\-lists\fP(1) 4 +タスク一覧を chroot にインストールします +.SS バイナリコマンド +.IP \fBlb_binary_chroot\fP(1) 4 +chroot を chroot にコピーします +.IP \fBlb_binary_debian\-installer\fP(1) 4 +debian\-installer をバイナリにインストールします +.IP \fBlb_binary_disk\fP(1) 4 +ディスク情報をバイナリにインストールします +.IP \fBlb_binary_grub\fP(1) 4 +grub をバイナリにインストールします +.IP \fBlb_binary_grub2\fP(1) 4 +grub2 をバイナリにインストールします +.IP \fBlb_binary_includes\fP(1) 4 +ファイルをバイナリにコピーします +.IP \fBlb_binary_iso\fP(1) 4 +ISOバイナリイメージをビルドします +.IP \fBlb_binary_linux\-image\fP(1) 4 +linux\-image をバイナリにインストールします +.IP \fBlb_binary_local\-hooks\fP(1) 4 +ローカルフックをバイナリで実行します +.IP \fBlb_binary_local\-includes\fP(1) 4 +ファイルをバイナリにコピーします +.IP \fBlb_binary_local\-packagelists\fP(1) 4 +ローカルパッケージ一覧をバイナリにインストールします +.IP \fBlb_binary_manifest\fP(1) 4 +名簿ファイルを作成します +.IP \fBlb_binary_checksums\fP(1) 4 +バイナリのチェックサム (md5、sha1、sha256 のどれか) を作成します +.IP \fBlb_binary_memtest\fP(1) 4 +memtest をバイナリにインストールします +.IP \fBlb_binary_net\fP(1) 4 +ネットワークブート用バイナリイメージをビルドします +.IP \fBlb_binary_rootfs\fP(1) 4 +rootfs イメージをビルドします +.IP \fBlb_binary_syslinux\fP(1) 4 +syslinux をバイナリにインストールします +.IP \fBlb_binary_tar\fP(1) 4 +ハードディスクバイナリイメージをビルドします +.IP \fBlb_binary_hdd\fP(1) 4 +バイナリhddイメージをビルドします +.IP \fBlb_binary_win32\-loader\fP(1) 4 +win32\-loader をバイナリにインストールします +.SS ソースコマンド +.IP \fBlb_source_debian\fP(1) 4 +ソースをダウンロードします +.IP \fBlb_source_debian\-live\fP(1) 4 +debian\-live の設定をソースにコピーします。 +.IP \fBlb_source_disk\fP(1) 4 +ディスク情報をソースにインストールします +.IP \fBlb_source_iso\fP(1) 4 +ISOソースイメージをビルドします +.IP \fBlb_source_checksums\fP(1) 4 +ソースのチェックサム (md5、sha1、sha256 のどれか) を作成します +.IP \fBlb_source_net\fP(1) 4 +build source net image +.IP \fBlb_source_tar\fP(1) 4 +ソースの tar アーカイブをビルドします +.IP \fBlb_source_hdd\fP(1) 4 +.\" FIXME +ソースhddイメージをビルドします + +.SH 設定ファイル +.\" FIXME +例えば lb_bootstrap_debootstrap は利用するオプションを読み取るのに config/bootstrap 及び +config/bootstrap_debootstrap +という名のファイルを使います。利用するファイルの名前やフォーマットの詳細については個々のコマンドの man +ページを見てください。こういったファイルには一般的に、変数とそれに指定する値を1行に1件ずつ収録します。live\-build +の一部のプログラムでは組にした値や、変数の指定にわずかに複雑な方法を採っているものがあります。 +.PP +例えば lb_bootstrap_debootstrap は利用するオプションを読み取るのに config/bootstrap 及び +config/bootstrap_debootstrap +という名のファイルを使います。利用するファイルの名前やフォーマットの詳細については個々のコマンドの man +ページを見てください。こういったファイルには一般的に、変数とそれに指定する値を1行に1件ずつ収録します。live\-build +の一部のプログラムでは組にした値や、変数の指定にわずかに複雑な方法を採っているものがあります。 +.PP +live\-build +は実行中のシェルに存在する環境変数を尊重することに注意してください。変数が設定ファイルから読み取れる場合にはそれが環境変数より優先され、コマンドラインオプションで指定された場合にはそれが設定ファイルの値より優先されます。ある変数が見つからない、つまり値がセットされていない場合は +live\-build が自動的にデフォルト値をセットします。 +.PP +一部のまれな状況で、そういったファイルにアーキテクチャやディストリビューションにより異なるものを使いたいことがあるかもしれません。「config/段階.アーキテクチャ」または「config/段階_補助.アーキテクチャ」、それと「config/段階.ディストリビューション」または「config/段階_補助.ディストリビューション」(「アーキテクチャ」には「dpkg +\-\-print\-architecture」の出力と同じもの、「ディストリビューション」には対象ディストリビューションのコード名と同じものが入ります) +という名のファイルが存在する場合には他のそれよりも一般的な名前のファイルに優先してそのファイルが利用されます。 +.PP +.\" FIXME +設定ファイルは全て、live\-build +プログラムにより作成されたシェルスクリプトです。それはつまり、通常のシェル構文に従う必要があるということです。また、設定ファイルにはコメントを残しておくこともできます。「#」で始まる行は無視されます。 + +.SH ファイル +.IP \fB/etc/live/build.conf\fP 4 +.IP \fB/etc/live/build/*\fP 4 + +.SH 関連項目 +\fIlive\-boot\fP(7) +.PP +\fIlive\-config\fP(7) +.PP +このプログラムは live\-build の一部です。 + +.SH ホームページ +live\-build 及び Live +システムプロジェクトについてのさらなる情報は、<\fIhttp://live\-systems.org/\fP> のホームページや +<\fIhttp://live\-systems.org/manual/\fP> のマニュアルにあります。 + +.SH バグ +バグは <\fIhttp://bugs.debian.org/\fP> にあるバグ追跡システムに live\-build +パッケージのバグ報告として提出するか、<\fIdebian\-live@lists.debian.org\fP> にある Live +システムのメーリングリスト宛てにメールを書くことにより報告できます。 + +.SH 作者 +live\-build は Daniel Baumann さん <\fImail@daniel\-baumann.ch\fP> +により書かれました。 diff --git a/manpages/po/ja/lb.1.po b/manpages/po/ja/lb.1.po new file mode 100644 index 0000000..5c34cd7 --- /dev/null +++ b/manpages/po/ja/lb.1.po @@ -0,0 +1,212 @@ +# Japanese translations for live-build package +# Copyright (C) 2014 victory +# This file is distributed under the same license as the live-build package. +# +msgid "" +msgstr "" +"Project-Id-Version: live-build\n" +"POT-Creation-Date: 2014-10-25 14:34+0200\n" +"PO-Revision-Date: 2014-08-28 02:52+0900\n" +"Last-Translator: victory \n" +"Language-Team: none\n" +"Language: ja\n" +"MIME-Version: 1.0\n" +"Content-Type: text/plain; charset=UTF-8\n" +"Content-Transfer-Encoding: 8bit\n" + +#. type: TH +#: en/lb.1:1 en/lb_binary.1:1 en/lb_bootstrap.1:1 en/lb_build.1:1 +#: en/lb_chroot.1:1 en/lb_clean.1:1 en/lb_config.1:1 en/lb_source.1:1 +#: en/live-build.7:1 +#, no-wrap +msgid "LIVE-BUILD" +msgstr "LIVE-BUILD" + +#. type: TH +#: en/lb.1:1 en/lb_binary.1:1 en/lb_bootstrap.1:1 en/lb_build.1:1 +#: en/lb_chroot.1:1 en/lb_clean.1:1 en/lb_config.1:1 en/lb_source.1:1 +#: en/live-build.7:1 +#, no-wrap +msgid "2014-10-25" +msgstr "" + +#. type: TH +#: en/lb.1:1 en/lb_binary.1:1 en/lb_bootstrap.1:1 en/lb_build.1:1 +#: en/lb_chroot.1:1 en/lb_clean.1:1 en/lb_config.1:1 en/lb_source.1:1 +#: en/live-build.7:1 +#, no-wrap +msgid "4.0.3-1" +msgstr "" + +#. type: TH +#: en/lb.1:1 en/lb_binary.1:1 en/lb_bootstrap.1:1 en/lb_build.1:1 +#: en/lb_chroot.1:1 en/lb_clean.1:1 en/lb_config.1:1 en/lb_source.1:1 +#: en/live-build.7:1 +#, no-wrap +msgid "Live Systems Project" +msgstr "Live システムプロジェクト" + +#. type: SH +#: en/lb.1:3 en/lb_binary.1:3 en/lb_bootstrap.1:3 en/lb_build.1:3 +#: en/lb_chroot.1:3 en/lb_clean.1:3 en/lb_config.1:3 en/lb_source.1:3 +#: en/live-build.7:3 +#, no-wrap +msgid "NAME" +msgstr "名前" + +#. type: Plain text +#: en/lb.1:5 +msgid "B - wrapper for live-build programs" +msgstr "B - live-build プログラムのラッパー" + +#. type: SH +#: en/lb.1:6 en/lb_binary.1:6 en/lb_bootstrap.1:6 en/lb_build.1:6 +#: en/lb_chroot.1:6 en/lb_clean.1:6 en/lb_config.1:6 en/lb_source.1:6 +#: en/live-build.7:6 +#, no-wrap +msgid "SYNOPSIS" +msgstr "概要" + +#. type: Plain text +#: en/lb.1:8 +msgid "B COMMAND [COMMAND_OPTIONS]" +msgstr "B コマンド [コマンドのオプション]" + +#. type: Plain text +#: en/lb.1:10 +msgid "B [I]" +msgstr "B [I]" + +#. type: SH +#: en/lb.1:11 en/lb_binary.1:9 en/lb_bootstrap.1:9 en/lb_build.1:9 +#: en/lb_chroot.1:9 en/lb_clean.1:9 en/lb_config.1:225 en/lb_source.1:9 +#: en/live-build.7:11 +#, no-wrap +msgid "DESCRIPTION" +msgstr "説明" + +#. type: Plain text +#: en/lb.1:13 +msgid "" +"B is a high-level command (porcelain) of I(7), the live " +"systems tool suite." +msgstr "" +"B は Live システムツール集 I(7) の高レベルコマンド " +"(porcelain) です。" + +#. type: SH +#: en/lb.1:16 en/lb_binary.1:14 en/lb_bootstrap.1:14 en/lb_build.1:14 +#: en/lb_chroot.1:14 en/lb_clean.1:16 en/lb_config.1:234 en/lb_source.1:14 +#: en/live-build.7:20 +#, no-wrap +msgid "OPTIONS" +msgstr "オプション" + +#. type: Plain text +#: en/lb.1:18 +msgid "" +"B has no specific options but understands all generic live-build " +"options. See I(7) for a complete list of all generic live-build " +"options." +msgstr "" +"B には特定のオプションはありませんが、live-build 全般のオプションを全て理" +"解します。live-build 全般のオプションの全容については I(7) を見て" +"ください。" + +#. type: SH +#: en/lb.1:19 en/lb_binary.1:17 en/lb_bootstrap.1:17 en/lb_build.1:17 +#: en/lb_chroot.1:17 en/lb_clean.1:38 en/lb_config.1:466 en/lb_source.1:17 +#: en/live-build.7:215 +#, no-wrap +msgid "FILES" +msgstr "ファイル" + +#. type: IP +#: en/lb.1:20 en/lb_binary.1:18 en/lb_bootstrap.1:18 en/lb_chroot.1:18 +#: en/lb_source.1:18 +#, no-wrap +msgid "B" +msgstr "B<無し>" + +#. type: SH +#: en/lb.1:22 en/lb_binary.1:20 en/lb_bootstrap.1:20 en/lb_build.1:22 +#: en/lb_chroot.1:20 en/lb_clean.1:43 en/lb_config.1:473 en/lb_source.1:20 +#: en/live-build.7:219 +#, no-wrap +msgid "SEE ALSO" +msgstr "関連項目" + +#. type: Plain text +#: en/lb.1:24 en/lb_binary.1:22 en/lb_bootstrap.1:22 en/lb_build.1:24 +#: en/lb_chroot.1:22 en/lb_clean.1:45 en/lb_config.1:475 en/lb_source.1:22 +msgid "I(7)" +msgstr "I(7)" + +#. type: Plain text +#: en/lb.1:26 en/lb_binary.1:24 en/lb_bootstrap.1:24 en/lb_build.1:26 +#: en/lb_chroot.1:24 en/lb_clean.1:47 en/lb_config.1:481 en/lb_source.1:24 +#: en/live-build.7:225 +msgid "This program is a part of live-build." +msgstr "このプログラムは live-build の一部です。" + +#. type: SH +#: en/lb.1:27 en/lb_binary.1:25 en/lb_bootstrap.1:25 en/lb_build.1:27 +#: en/lb_chroot.1:25 en/lb_clean.1:48 en/lb_config.1:482 en/lb_source.1:25 +#: en/live-build.7:226 +#, no-wrap +msgid "HOMEPAGE" +msgstr "ホームページ" + +#. type: Plain text +#: en/lb.1:29 en/lb_binary.1:27 en/lb_bootstrap.1:27 en/lb_build.1:29 +#: en/lb_chroot.1:27 en/lb_clean.1:50 en/lb_config.1:484 en/lb_source.1:27 +#: en/live-build.7:228 +msgid "" +"More information about live-build and the Live Systems project can be found " +"on the homepage at EIE and in the manual " +"at EIE." +msgstr "" +"live-build 及び Live システムプロジェクトについてのさらなる情報は、" +"EIE のホームページや EIE のマニュアルにあります。" + +#. type: SH +#: en/lb.1:30 en/lb_binary.1:28 en/lb_bootstrap.1:28 en/lb_build.1:30 +#: en/lb_chroot.1:28 en/lb_clean.1:51 en/lb_config.1:485 en/lb_source.1:28 +#: en/live-build.7:229 +#, no-wrap +msgid "BUGS" +msgstr "バグ" + +#. type: Plain text +#: en/lb.1:32 en/lb_binary.1:30 en/lb_bootstrap.1:30 en/lb_build.1:32 +#: en/lb_chroot.1:30 en/lb_clean.1:53 en/lb_config.1:487 en/lb_source.1:30 +#: en/live-build.7:231 +msgid "" +"Bugs can be reported by submitting a bugreport for the live-build package in " +"the Bug Tracking System at EIE or by " +"writing a mail to the Live Systems mailing list at EIE." +msgstr "" +"バグは EIE にあるバグ追跡システムに live-" +"build パッケージのバグ報告として提出するか、EIE にある Live システムのメーリングリスト宛てにメールを書くことにより" +"報告できます。" + +#. type: SH +#: en/lb.1:33 en/lb_binary.1:31 en/lb_bootstrap.1:31 en/lb_build.1:33 +#: en/lb_chroot.1:31 en/lb_clean.1:54 en/lb_config.1:488 en/lb_source.1:31 +#: en/live-build.7:232 +#, no-wrap +msgid "AUTHOR" +msgstr "作者" + +#. type: Plain text +#: en/lb.1:34 en/lb_binary.1:32 en/lb_bootstrap.1:32 en/lb_build.1:34 +#: en/lb_chroot.1:32 en/lb_clean.1:55 en/lb_config.1:489 en/lb_source.1:32 +#: en/live-build.7:233 +msgid "" +"live-build was written by Daniel Baumann EIE." +msgstr "" +"live-build は Daniel Baumann さん EIE により" +"書かれました。" diff --git a/manpages/po/ja/lb_binary.1.po b/manpages/po/ja/lb_binary.1.po new file mode 100644 index 0000000..4cc4bca --- /dev/null +++ b/manpages/po/ja/lb_binary.1.po @@ -0,0 +1,216 @@ +# Japanese translations for live-build package +# Copyright (C) 2014 victory +# This file is distributed under the same license as the live-build package. +# +msgid "" +msgstr "" +"Project-Id-Version: live-build\n" +"POT-Creation-Date: 2014-10-25 14:34+0200\n" +"PO-Revision-Date: 2014-08-28 02:52+0900\n" +"Last-Translator: victory \n" +"Language-Team: none\n" +"Language: ja\n" +"MIME-Version: 1.0\n" +"Content-Type: text/plain; charset=UTF-8\n" +"Content-Transfer-Encoding: 8bit\n" + +#. type: TH +#: en/lb.1:1 en/lb_binary.1:1 en/lb_bootstrap.1:1 en/lb_build.1:1 +#: en/lb_chroot.1:1 en/lb_clean.1:1 en/lb_config.1:1 en/lb_source.1:1 +#: en/live-build.7:1 +#, no-wrap +msgid "LIVE-BUILD" +msgstr "LIVE-BUILD" + +#. type: TH +#: en/lb.1:1 en/lb_binary.1:1 en/lb_bootstrap.1:1 en/lb_build.1:1 +#: en/lb_chroot.1:1 en/lb_clean.1:1 en/lb_config.1:1 en/lb_source.1:1 +#: en/live-build.7:1 +#, no-wrap +msgid "2014-10-25" +msgstr "" + +#. type: TH +#: en/lb.1:1 en/lb_binary.1:1 en/lb_bootstrap.1:1 en/lb_build.1:1 +#: en/lb_chroot.1:1 en/lb_clean.1:1 en/lb_config.1:1 en/lb_source.1:1 +#: en/live-build.7:1 +#, no-wrap +msgid "4.0.3-1" +msgstr "" + +#. type: TH +#: en/lb.1:1 en/lb_binary.1:1 en/lb_bootstrap.1:1 en/lb_build.1:1 +#: en/lb_chroot.1:1 en/lb_clean.1:1 en/lb_config.1:1 en/lb_source.1:1 +#: en/live-build.7:1 +#, no-wrap +msgid "Live Systems Project" +msgstr "Live システムプロジェクト" + +#. type: SH +#: en/lb.1:3 en/lb_binary.1:3 en/lb_bootstrap.1:3 en/lb_build.1:3 +#: en/lb_chroot.1:3 en/lb_clean.1:3 en/lb_config.1:3 en/lb_source.1:3 +#: en/live-build.7:3 +#, no-wrap +msgid "NAME" +msgstr "名前" + +#. type: SH +#: en/lb.1:6 en/lb_binary.1:6 en/lb_bootstrap.1:6 en/lb_build.1:6 +#: en/lb_chroot.1:6 en/lb_clean.1:6 en/lb_config.1:6 en/lb_source.1:6 +#: en/live-build.7:6 +#, no-wrap +msgid "SYNOPSIS" +msgstr "概要" + +#. type: SH +#: en/lb.1:11 en/lb_binary.1:9 en/lb_bootstrap.1:9 en/lb_build.1:9 +#: en/lb_chroot.1:9 en/lb_clean.1:9 en/lb_config.1:225 en/lb_source.1:9 +#: en/live-build.7:11 +#, no-wrap +msgid "DESCRIPTION" +msgstr "説明" + +#. type: SH +#: en/lb.1:16 en/lb_binary.1:14 en/lb_bootstrap.1:14 en/lb_build.1:14 +#: en/lb_chroot.1:14 en/lb_clean.1:16 en/lb_config.1:234 en/lb_source.1:14 +#: en/live-build.7:20 +#, no-wrap +msgid "OPTIONS" +msgstr "オプション" + +#. type: SH +#: en/lb.1:19 en/lb_binary.1:17 en/lb_bootstrap.1:17 en/lb_build.1:17 +#: en/lb_chroot.1:17 en/lb_clean.1:38 en/lb_config.1:466 en/lb_source.1:17 +#: en/live-build.7:215 +#, no-wrap +msgid "FILES" +msgstr "ファイル" + +#. type: IP +#: en/lb.1:20 en/lb_binary.1:18 en/lb_bootstrap.1:18 en/lb_chroot.1:18 +#: en/lb_source.1:18 +#, no-wrap +msgid "B" +msgstr "B<無し>" + +#. type: SH +#: en/lb.1:22 en/lb_binary.1:20 en/lb_bootstrap.1:20 en/lb_build.1:22 +#: en/lb_chroot.1:20 en/lb_clean.1:43 en/lb_config.1:473 en/lb_source.1:20 +#: en/live-build.7:219 +#, no-wrap +msgid "SEE ALSO" +msgstr "関連項目" + +#. type: Plain text +#: en/lb.1:24 en/lb_binary.1:22 en/lb_bootstrap.1:22 en/lb_build.1:24 +#: en/lb_chroot.1:22 en/lb_clean.1:45 en/lb_config.1:475 en/lb_source.1:22 +msgid "I(7)" +msgstr "I(7)" + +#. type: Plain text +#: en/lb.1:26 en/lb_binary.1:24 en/lb_bootstrap.1:24 en/lb_build.1:26 +#: en/lb_chroot.1:24 en/lb_clean.1:47 en/lb_config.1:481 en/lb_source.1:24 +#: en/live-build.7:225 +msgid "This program is a part of live-build." +msgstr "このプログラムは live-build の一部です。" + +#. type: SH +#: en/lb.1:27 en/lb_binary.1:25 en/lb_bootstrap.1:25 en/lb_build.1:27 +#: en/lb_chroot.1:25 en/lb_clean.1:48 en/lb_config.1:482 en/lb_source.1:25 +#: en/live-build.7:226 +#, no-wrap +msgid "HOMEPAGE" +msgstr "ホームページ" + +#. type: Plain text +#: en/lb.1:29 en/lb_binary.1:27 en/lb_bootstrap.1:27 en/lb_build.1:29 +#: en/lb_chroot.1:27 en/lb_clean.1:50 en/lb_config.1:484 en/lb_source.1:27 +#: en/live-build.7:228 +msgid "" +"More information about live-build and the Live Systems project can be found " +"on the homepage at EIE and in the manual " +"at EIE." +msgstr "" +"live-build 及び Live システムプロジェクトについてのさらなる情報は、" +"EIE のホームページや EIE のマニュアルにあります。" + +#. type: SH +#: en/lb.1:30 en/lb_binary.1:28 en/lb_bootstrap.1:28 en/lb_build.1:30 +#: en/lb_chroot.1:28 en/lb_clean.1:51 en/lb_config.1:485 en/lb_source.1:28 +#: en/live-build.7:229 +#, no-wrap +msgid "BUGS" +msgstr "バグ" + +#. type: Plain text +#: en/lb.1:32 en/lb_binary.1:30 en/lb_bootstrap.1:30 en/lb_build.1:32 +#: en/lb_chroot.1:30 en/lb_clean.1:53 en/lb_config.1:487 en/lb_source.1:30 +#: en/live-build.7:231 +msgid "" +"Bugs can be reported by submitting a bugreport for the live-build package in " +"the Bug Tracking System at EIE or by " +"writing a mail to the Live Systems mailing list at EIE." +msgstr "" +"バグは EIE にあるバグ追跡システムに live-" +"build パッケージのバグ報告として提出するか、EIE にある Live システムのメーリングリスト宛てにメールを書くことにより" +"報告できます。" + +#. type: SH +#: en/lb.1:33 en/lb_binary.1:31 en/lb_bootstrap.1:31 en/lb_build.1:33 +#: en/lb_chroot.1:31 en/lb_clean.1:54 en/lb_config.1:488 en/lb_source.1:31 +#: en/live-build.7:232 +#, no-wrap +msgid "AUTHOR" +msgstr "作者" + +#. type: Plain text +#: en/lb.1:34 en/lb_binary.1:32 en/lb_bootstrap.1:32 en/lb_build.1:34 +#: en/lb_chroot.1:32 en/lb_clean.1:55 en/lb_config.1:489 en/lb_source.1:32 +#: en/live-build.7:233 +msgid "" +"live-build was written by Daniel Baumann EIE." +msgstr "" +"live-build は Daniel Baumann さん EIE により" +"書かれました。" + +#. type: Plain text +#: en/lb_binary.1:5 +msgid "B - Complete the binary stage" +msgstr "B - バイナリ段階を完了させます" + +#. type: Plain text +#: en/lb_binary.1:8 +msgid "B [I]" +msgstr "B [I]" + +#. type: Plain text +#: en/lb_binary.1:11 +msgid "" +"B is a high-level command (porcelain) of I(7), the " +"live systems tool suite." +msgstr "" +"B は Live システムツール集 I(7) の高レベルコマンド " +"(porcelain) です。" + +#. type: Plain text +#: en/lb_binary.1:13 +msgid "" +"B calls all necessary live-build programs in the correct order to " +"complete the binary stage." +msgstr "" +"B はバイナリ段階を完了させるために必要な live-build プログラムを全" +"て正しい順で呼び出します。" + +#. type: Plain text +#: en/lb_binary.1:16 +msgid "" +"B has no specific options but understands all generic live-build " +"options. See I(7) for a complete list of all generic live-build " +"options." +msgstr "" +"B には特定のオプションはありませんが、live-build 全般のオプション" +"を全て理解します。live-build 全般のオプションの全容については I(7) を見てください。" diff --git a/manpages/po/ja/lb_bootstrap.1.po b/manpages/po/ja/lb_bootstrap.1.po new file mode 100644 index 0000000..b1a3d7a --- /dev/null +++ b/manpages/po/ja/lb_bootstrap.1.po @@ -0,0 +1,216 @@ +# Japanese translations for live-build package +# Copyright (C) 2014 victory +# This file is distributed under the same license as the live-build package. +# +msgid "" +msgstr "" +"Project-Id-Version: live-build\n" +"POT-Creation-Date: 2014-10-25 14:34+0200\n" +"PO-Revision-Date: 2014-08-29 06:25+0900\n" +"Last-Translator: victory \n" +"Language-Team: none\n" +"Language: ja\n" +"MIME-Version: 1.0\n" +"Content-Type: text/plain; charset=UTF-8\n" +"Content-Transfer-Encoding: 8bit\n" + +#. type: TH +#: en/lb.1:1 en/lb_binary.1:1 en/lb_bootstrap.1:1 en/lb_build.1:1 +#: en/lb_chroot.1:1 en/lb_clean.1:1 en/lb_config.1:1 en/lb_source.1:1 +#: en/live-build.7:1 +#, no-wrap +msgid "LIVE-BUILD" +msgstr "LIVE-BUILD" + +#. type: TH +#: en/lb.1:1 en/lb_binary.1:1 en/lb_bootstrap.1:1 en/lb_build.1:1 +#: en/lb_chroot.1:1 en/lb_clean.1:1 en/lb_config.1:1 en/lb_source.1:1 +#: en/live-build.7:1 +#, no-wrap +msgid "2014-10-25" +msgstr "" + +#. type: TH +#: en/lb.1:1 en/lb_binary.1:1 en/lb_bootstrap.1:1 en/lb_build.1:1 +#: en/lb_chroot.1:1 en/lb_clean.1:1 en/lb_config.1:1 en/lb_source.1:1 +#: en/live-build.7:1 +#, no-wrap +msgid "4.0.3-1" +msgstr "" + +#. type: TH +#: en/lb.1:1 en/lb_binary.1:1 en/lb_bootstrap.1:1 en/lb_build.1:1 +#: en/lb_chroot.1:1 en/lb_clean.1:1 en/lb_config.1:1 en/lb_source.1:1 +#: en/live-build.7:1 +#, no-wrap +msgid "Live Systems Project" +msgstr "Live システムプロジェクト" + +#. type: SH +#: en/lb.1:3 en/lb_binary.1:3 en/lb_bootstrap.1:3 en/lb_build.1:3 +#: en/lb_chroot.1:3 en/lb_clean.1:3 en/lb_config.1:3 en/lb_source.1:3 +#: en/live-build.7:3 +#, no-wrap +msgid "NAME" +msgstr "名前" + +#. type: SH +#: en/lb.1:6 en/lb_binary.1:6 en/lb_bootstrap.1:6 en/lb_build.1:6 +#: en/lb_chroot.1:6 en/lb_clean.1:6 en/lb_config.1:6 en/lb_source.1:6 +#: en/live-build.7:6 +#, no-wrap +msgid "SYNOPSIS" +msgstr "概要" + +#. type: SH +#: en/lb.1:11 en/lb_binary.1:9 en/lb_bootstrap.1:9 en/lb_build.1:9 +#: en/lb_chroot.1:9 en/lb_clean.1:9 en/lb_config.1:225 en/lb_source.1:9 +#: en/live-build.7:11 +#, no-wrap +msgid "DESCRIPTION" +msgstr "説明" + +#. type: SH +#: en/lb.1:16 en/lb_binary.1:14 en/lb_bootstrap.1:14 en/lb_build.1:14 +#: en/lb_chroot.1:14 en/lb_clean.1:16 en/lb_config.1:234 en/lb_source.1:14 +#: en/live-build.7:20 +#, no-wrap +msgid "OPTIONS" +msgstr "オプション" + +#. type: SH +#: en/lb.1:19 en/lb_binary.1:17 en/lb_bootstrap.1:17 en/lb_build.1:17 +#: en/lb_chroot.1:17 en/lb_clean.1:38 en/lb_config.1:466 en/lb_source.1:17 +#: en/live-build.7:215 +#, no-wrap +msgid "FILES" +msgstr "ファイル" + +#. type: IP +#: en/lb.1:20 en/lb_binary.1:18 en/lb_bootstrap.1:18 en/lb_chroot.1:18 +#: en/lb_source.1:18 +#, no-wrap +msgid "B" +msgstr "B<無し>" + +#. type: SH +#: en/lb.1:22 en/lb_binary.1:20 en/lb_bootstrap.1:20 en/lb_build.1:22 +#: en/lb_chroot.1:20 en/lb_clean.1:43 en/lb_config.1:473 en/lb_source.1:20 +#: en/live-build.7:219 +#, no-wrap +msgid "SEE ALSO" +msgstr "関連項目" + +#. type: Plain text +#: en/lb.1:24 en/lb_binary.1:22 en/lb_bootstrap.1:22 en/lb_build.1:24 +#: en/lb_chroot.1:22 en/lb_clean.1:45 en/lb_config.1:475 en/lb_source.1:22 +msgid "I(7)" +msgstr "I(7)" + +#. type: Plain text +#: en/lb.1:26 en/lb_binary.1:24 en/lb_bootstrap.1:24 en/lb_build.1:26 +#: en/lb_chroot.1:24 en/lb_clean.1:47 en/lb_config.1:481 en/lb_source.1:24 +#: en/live-build.7:225 +msgid "This program is a part of live-build." +msgstr "このプログラムは live-build の一部です。" + +#. type: SH +#: en/lb.1:27 en/lb_binary.1:25 en/lb_bootstrap.1:25 en/lb_build.1:27 +#: en/lb_chroot.1:25 en/lb_clean.1:48 en/lb_config.1:482 en/lb_source.1:25 +#: en/live-build.7:226 +#, no-wrap +msgid "HOMEPAGE" +msgstr "ホームページ" + +#. type: Plain text +#: en/lb.1:29 en/lb_binary.1:27 en/lb_bootstrap.1:27 en/lb_build.1:29 +#: en/lb_chroot.1:27 en/lb_clean.1:50 en/lb_config.1:484 en/lb_source.1:27 +#: en/live-build.7:228 +msgid "" +"More information about live-build and the Live Systems project can be found " +"on the homepage at EIE and in the manual " +"at EIE." +msgstr "" +"live-build 及び Live システムプロジェクトについてのさらなる情報は、" +"EIE のホームページや EIE のマニュアルにあります。" + +#. type: SH +#: en/lb.1:30 en/lb_binary.1:28 en/lb_bootstrap.1:28 en/lb_build.1:30 +#: en/lb_chroot.1:28 en/lb_clean.1:51 en/lb_config.1:485 en/lb_source.1:28 +#: en/live-build.7:229 +#, no-wrap +msgid "BUGS" +msgstr "バグ" + +#. type: Plain text +#: en/lb.1:32 en/lb_binary.1:30 en/lb_bootstrap.1:30 en/lb_build.1:32 +#: en/lb_chroot.1:30 en/lb_clean.1:53 en/lb_config.1:487 en/lb_source.1:30 +#: en/live-build.7:231 +msgid "" +"Bugs can be reported by submitting a bugreport for the live-build package in " +"the Bug Tracking System at EIE or by " +"writing a mail to the Live Systems mailing list at EIE." +msgstr "" +"バグは EIE にあるバグ追跡システムに live-" +"build パッケージのバグ報告として提出するか、EIE にある Live システムのメーリングリスト宛てにメールを書くことにより" +"報告できます。" + +#. type: SH +#: en/lb.1:33 en/lb_binary.1:31 en/lb_bootstrap.1:31 en/lb_build.1:33 +#: en/lb_chroot.1:31 en/lb_clean.1:54 en/lb_config.1:488 en/lb_source.1:31 +#: en/live-build.7:232 +#, no-wrap +msgid "AUTHOR" +msgstr "作者" + +#. type: Plain text +#: en/lb.1:34 en/lb_binary.1:32 en/lb_bootstrap.1:32 en/lb_build.1:34 +#: en/lb_chroot.1:32 en/lb_clean.1:55 en/lb_config.1:489 en/lb_source.1:32 +#: en/live-build.7:233 +msgid "" +"live-build was written by Daniel Baumann EIE." +msgstr "" +"live-build は Daniel Baumann さん EIE により" +"書かれました。" + +#. type: Plain text +#: en/lb_bootstrap.1:5 +msgid "B - Complete the bootstrap stage" +msgstr "B - パッケージ収集段階を完了させます" + +#. type: Plain text +#: en/lb_bootstrap.1:8 +msgid "B [I]" +msgstr "B [I]" + +#. type: Plain text +#: en/lb_bootstrap.1:11 +msgid "" +"B is a high-level command (porcelain) of I(7), the " +"live systems tool suite." +msgstr "" +"B は Live システムツール集 I(7) の高レベルコマンド " +"(porcelain) です。" + +#. type: Plain text +#: en/lb_bootstrap.1:13 +msgid "" +"B calls all necessary live-build programs in the correct order " +"to complete the bootstrap stage." +msgstr "" +"B はパッケージ収集段階を完了させるために必要な live-build プロ" +"グラムを全て正しい順で呼び出します。" + +#. type: Plain text +#: en/lb_bootstrap.1:16 +msgid "" +"B has no specific options but understands all generic live-" +"build options. See I(7) for a complete list of all generic live-" +"build options." +msgstr "" +"B には特定のオプションはありませんが、live-build 全般のオプショ" +"ンを全て理解します。live-build 全般のオプションの全容については I(7) を見てください。" diff --git a/manpages/po/ja/lb_build.1.po b/manpages/po/ja/lb_build.1.po new file mode 100644 index 0000000..114c335 --- /dev/null +++ b/manpages/po/ja/lb_build.1.po @@ -0,0 +1,217 @@ +# Japanese translations for live-build package +# Copyright (C) 2014 victory +# This file is distributed under the same license as the live-build package. +# +msgid "" +msgstr "" +"Project-Id-Version: live-build\n" +"POT-Creation-Date: 2014-10-25 14:34+0200\n" +"PO-Revision-Date: 2014-08-28 02:52+0900\n" +"Last-Translator: victory \n" +"Language-Team: none\n" +"Language: ja\n" +"MIME-Version: 1.0\n" +"Content-Type: text/plain; charset=UTF-8\n" +"Content-Transfer-Encoding: 8bit\n" + +#. type: TH +#: en/lb.1:1 en/lb_binary.1:1 en/lb_bootstrap.1:1 en/lb_build.1:1 +#: en/lb_chroot.1:1 en/lb_clean.1:1 en/lb_config.1:1 en/lb_source.1:1 +#: en/live-build.7:1 +#, no-wrap +msgid "LIVE-BUILD" +msgstr "LIVE-BUILD" + +#. type: TH +#: en/lb.1:1 en/lb_binary.1:1 en/lb_bootstrap.1:1 en/lb_build.1:1 +#: en/lb_chroot.1:1 en/lb_clean.1:1 en/lb_config.1:1 en/lb_source.1:1 +#: en/live-build.7:1 +#, no-wrap +msgid "2014-10-25" +msgstr "" + +#. type: TH +#: en/lb.1:1 en/lb_binary.1:1 en/lb_bootstrap.1:1 en/lb_build.1:1 +#: en/lb_chroot.1:1 en/lb_clean.1:1 en/lb_config.1:1 en/lb_source.1:1 +#: en/live-build.7:1 +#, no-wrap +msgid "4.0.3-1" +msgstr "" + +#. type: TH +#: en/lb.1:1 en/lb_binary.1:1 en/lb_bootstrap.1:1 en/lb_build.1:1 +#: en/lb_chroot.1:1 en/lb_clean.1:1 en/lb_config.1:1 en/lb_source.1:1 +#: en/live-build.7:1 +#, no-wrap +msgid "Live Systems Project" +msgstr "Live システムプロジェクト" + +#. type: SH +#: en/lb.1:3 en/lb_binary.1:3 en/lb_bootstrap.1:3 en/lb_build.1:3 +#: en/lb_chroot.1:3 en/lb_clean.1:3 en/lb_config.1:3 en/lb_source.1:3 +#: en/live-build.7:3 +#, no-wrap +msgid "NAME" +msgstr "名前" + +#. type: SH +#: en/lb.1:6 en/lb_binary.1:6 en/lb_bootstrap.1:6 en/lb_build.1:6 +#: en/lb_chroot.1:6 en/lb_clean.1:6 en/lb_config.1:6 en/lb_source.1:6 +#: en/live-build.7:6 +#, no-wrap +msgid "SYNOPSIS" +msgstr "概要" + +#. type: SH +#: en/lb.1:11 en/lb_binary.1:9 en/lb_bootstrap.1:9 en/lb_build.1:9 +#: en/lb_chroot.1:9 en/lb_clean.1:9 en/lb_config.1:225 en/lb_source.1:9 +#: en/live-build.7:11 +#, no-wrap +msgid "DESCRIPTION" +msgstr "説明" + +#. type: SH +#: en/lb.1:16 en/lb_binary.1:14 en/lb_bootstrap.1:14 en/lb_build.1:14 +#: en/lb_chroot.1:14 en/lb_clean.1:16 en/lb_config.1:234 en/lb_source.1:14 +#: en/live-build.7:20 +#, no-wrap +msgid "OPTIONS" +msgstr "オプション" + +#. type: SH +#: en/lb.1:19 en/lb_binary.1:17 en/lb_bootstrap.1:17 en/lb_build.1:17 +#: en/lb_chroot.1:17 en/lb_clean.1:38 en/lb_config.1:466 en/lb_source.1:17 +#: en/live-build.7:215 +#, no-wrap +msgid "FILES" +msgstr "ファイル" + +#. type: SH +#: en/lb.1:22 en/lb_binary.1:20 en/lb_bootstrap.1:20 en/lb_build.1:22 +#: en/lb_chroot.1:20 en/lb_clean.1:43 en/lb_config.1:473 en/lb_source.1:20 +#: en/live-build.7:219 +#, no-wrap +msgid "SEE ALSO" +msgstr "関連項目" + +#. type: Plain text +#: en/lb.1:24 en/lb_binary.1:22 en/lb_bootstrap.1:22 en/lb_build.1:24 +#: en/lb_chroot.1:22 en/lb_clean.1:45 en/lb_config.1:475 en/lb_source.1:22 +msgid "I(7)" +msgstr "I(7)" + +#. type: Plain text +#: en/lb.1:26 en/lb_binary.1:24 en/lb_bootstrap.1:24 en/lb_build.1:26 +#: en/lb_chroot.1:24 en/lb_clean.1:47 en/lb_config.1:481 en/lb_source.1:24 +#: en/live-build.7:225 +msgid "This program is a part of live-build." +msgstr "このプログラムは live-build の一部です。" + +#. type: SH +#: en/lb.1:27 en/lb_binary.1:25 en/lb_bootstrap.1:25 en/lb_build.1:27 +#: en/lb_chroot.1:25 en/lb_clean.1:48 en/lb_config.1:482 en/lb_source.1:25 +#: en/live-build.7:226 +#, no-wrap +msgid "HOMEPAGE" +msgstr "ホームページ" + +#. type: Plain text +#: en/lb.1:29 en/lb_binary.1:27 en/lb_bootstrap.1:27 en/lb_build.1:29 +#: en/lb_chroot.1:27 en/lb_clean.1:50 en/lb_config.1:484 en/lb_source.1:27 +#: en/live-build.7:228 +msgid "" +"More information about live-build and the Live Systems project can be found " +"on the homepage at EIE and in the manual " +"at EIE." +msgstr "" +"live-build 及び Live システムプロジェクトについてのさらなる情報は、" +"EIE のホームページや EIE のマニュアルにあります。" + +#. type: SH +#: en/lb.1:30 en/lb_binary.1:28 en/lb_bootstrap.1:28 en/lb_build.1:30 +#: en/lb_chroot.1:28 en/lb_clean.1:51 en/lb_config.1:485 en/lb_source.1:28 +#: en/live-build.7:229 +#, no-wrap +msgid "BUGS" +msgstr "バグ" + +#. type: Plain text +#: en/lb.1:32 en/lb_binary.1:30 en/lb_bootstrap.1:30 en/lb_build.1:32 +#: en/lb_chroot.1:30 en/lb_clean.1:53 en/lb_config.1:487 en/lb_source.1:30 +#: en/live-build.7:231 +msgid "" +"Bugs can be reported by submitting a bugreport for the live-build package in " +"the Bug Tracking System at EIE or by " +"writing a mail to the Live Systems mailing list at EIE." +msgstr "" +"バグは EIE にあるバグ追跡システムに live-" +"build パッケージのバグ報告として提出するか、EIE にある Live システムのメーリングリスト宛てにメールを書くことにより" +"報告できます。" + +#. type: SH +#: en/lb.1:33 en/lb_binary.1:31 en/lb_bootstrap.1:31 en/lb_build.1:33 +#: en/lb_chroot.1:31 en/lb_clean.1:54 en/lb_config.1:488 en/lb_source.1:31 +#: en/live-build.7:232 +#, no-wrap +msgid "AUTHOR" +msgstr "作者" + +#. type: Plain text +#: en/lb.1:34 en/lb_binary.1:32 en/lb_bootstrap.1:32 en/lb_build.1:34 +#: en/lb_chroot.1:32 en/lb_clean.1:55 en/lb_config.1:489 en/lb_source.1:32 +#: en/live-build.7:233 +msgid "" +"live-build was written by Daniel Baumann EIE." +msgstr "" +"live-build は Daniel Baumann さん EIE により" +"書かれました。" + +#. type: Plain text +#: en/lb_build.1:5 +msgid "B - Complete the bootstrap, chroot, binary, and source stages" +msgstr "" +"B - パッケージ収集、chroot、バイナリ、ソース段階を完了させます" + +#. type: Plain text +#: en/lb_build.1:8 +msgid "B [I]" +msgstr "B [I]" + +#. type: Plain text +#: en/lb_build.1:11 +msgid "" +"B is a high-level command (porcelain) of I(7), the " +"live systems tool suite." +msgstr "" +"B は Live システムツール集 I(7) の高レベルコマンド " +"(porcelain) です。" + +#. type: Plain text +#: en/lb_build.1:13 +msgid "" +"B calls all necessary live-build programs in the correct order to " +"complete the bootstrap, chroot, binary, and source stages." +msgstr "" +"B はパッケージ収集、chroot、バイナリ、ソース段階を完了させるために" +"必要な live-build プログラムを全て正しい順で呼び出します。" + +#. type: Plain text +#: en/lb_build.1:16 +msgid "" +"B has no specific options but understands all generic live-build " +"options. See I(7) for a complete list of all generic live-build " +"options." +msgstr "" +"B には特定のオプションはありませんが、live-build 全般のオプションを" +"全て理解します。live-build 全般のオプションの全容については I(7) " +"を見てください。" + +#. FIXME +#. type: IP +#: en/lb_build.1:19 +#, no-wrap +msgid "B" +msgstr "B" diff --git a/manpages/po/ja/lb_chroot.1.po b/manpages/po/ja/lb_chroot.1.po new file mode 100644 index 0000000..c356c85 --- /dev/null +++ b/manpages/po/ja/lb_chroot.1.po @@ -0,0 +1,216 @@ +# Japanese translations for live-build package +# Copyright (C) 2014 victory +# This file is distributed under the same license as the live-build package. +# +msgid "" +msgstr "" +"Project-Id-Version: live-build\n" +"POT-Creation-Date: 2014-10-25 14:34+0200\n" +"PO-Revision-Date: 2014-08-28 02:52+0900\n" +"Last-Translator: victory \n" +"Language-Team: none\n" +"Language: ja\n" +"MIME-Version: 1.0\n" +"Content-Type: text/plain; charset=UTF-8\n" +"Content-Transfer-Encoding: 8bit\n" + +#. type: TH +#: en/lb.1:1 en/lb_binary.1:1 en/lb_bootstrap.1:1 en/lb_build.1:1 +#: en/lb_chroot.1:1 en/lb_clean.1:1 en/lb_config.1:1 en/lb_source.1:1 +#: en/live-build.7:1 +#, no-wrap +msgid "LIVE-BUILD" +msgstr "LIVE-BUILD" + +#. type: TH +#: en/lb.1:1 en/lb_binary.1:1 en/lb_bootstrap.1:1 en/lb_build.1:1 +#: en/lb_chroot.1:1 en/lb_clean.1:1 en/lb_config.1:1 en/lb_source.1:1 +#: en/live-build.7:1 +#, no-wrap +msgid "2014-10-25" +msgstr "" + +#. type: TH +#: en/lb.1:1 en/lb_binary.1:1 en/lb_bootstrap.1:1 en/lb_build.1:1 +#: en/lb_chroot.1:1 en/lb_clean.1:1 en/lb_config.1:1 en/lb_source.1:1 +#: en/live-build.7:1 +#, no-wrap +msgid "4.0.3-1" +msgstr "" + +#. type: TH +#: en/lb.1:1 en/lb_binary.1:1 en/lb_bootstrap.1:1 en/lb_build.1:1 +#: en/lb_chroot.1:1 en/lb_clean.1:1 en/lb_config.1:1 en/lb_source.1:1 +#: en/live-build.7:1 +#, no-wrap +msgid "Live Systems Project" +msgstr "Live システムプロジェクト" + +#. type: SH +#: en/lb.1:3 en/lb_binary.1:3 en/lb_bootstrap.1:3 en/lb_build.1:3 +#: en/lb_chroot.1:3 en/lb_clean.1:3 en/lb_config.1:3 en/lb_source.1:3 +#: en/live-build.7:3 +#, no-wrap +msgid "NAME" +msgstr "名前" + +#. type: SH +#: en/lb.1:6 en/lb_binary.1:6 en/lb_bootstrap.1:6 en/lb_build.1:6 +#: en/lb_chroot.1:6 en/lb_clean.1:6 en/lb_config.1:6 en/lb_source.1:6 +#: en/live-build.7:6 +#, no-wrap +msgid "SYNOPSIS" +msgstr "概要" + +#. type: SH +#: en/lb.1:11 en/lb_binary.1:9 en/lb_bootstrap.1:9 en/lb_build.1:9 +#: en/lb_chroot.1:9 en/lb_clean.1:9 en/lb_config.1:225 en/lb_source.1:9 +#: en/live-build.7:11 +#, no-wrap +msgid "DESCRIPTION" +msgstr "説明" + +#. type: SH +#: en/lb.1:16 en/lb_binary.1:14 en/lb_bootstrap.1:14 en/lb_build.1:14 +#: en/lb_chroot.1:14 en/lb_clean.1:16 en/lb_config.1:234 en/lb_source.1:14 +#: en/live-build.7:20 +#, no-wrap +msgid "OPTIONS" +msgstr "オプション" + +#. type: SH +#: en/lb.1:19 en/lb_binary.1:17 en/lb_bootstrap.1:17 en/lb_build.1:17 +#: en/lb_chroot.1:17 en/lb_clean.1:38 en/lb_config.1:466 en/lb_source.1:17 +#: en/live-build.7:215 +#, no-wrap +msgid "FILES" +msgstr "ファイル" + +#. type: IP +#: en/lb.1:20 en/lb_binary.1:18 en/lb_bootstrap.1:18 en/lb_chroot.1:18 +#: en/lb_source.1:18 +#, no-wrap +msgid "B" +msgstr "B<無し>" + +#. type: SH +#: en/lb.1:22 en/lb_binary.1:20 en/lb_bootstrap.1:20 en/lb_build.1:22 +#: en/lb_chroot.1:20 en/lb_clean.1:43 en/lb_config.1:473 en/lb_source.1:20 +#: en/live-build.7:219 +#, no-wrap +msgid "SEE ALSO" +msgstr "関連項目" + +#. type: Plain text +#: en/lb.1:24 en/lb_binary.1:22 en/lb_bootstrap.1:22 en/lb_build.1:24 +#: en/lb_chroot.1:22 en/lb_clean.1:45 en/lb_config.1:475 en/lb_source.1:22 +msgid "I(7)" +msgstr "I(7)" + +#. type: Plain text +#: en/lb.1:26 en/lb_binary.1:24 en/lb_bootstrap.1:24 en/lb_build.1:26 +#: en/lb_chroot.1:24 en/lb_clean.1:47 en/lb_config.1:481 en/lb_source.1:24 +#: en/live-build.7:225 +msgid "This program is a part of live-build." +msgstr "このプログラムは live-build の一部です。" + +#. type: SH +#: en/lb.1:27 en/lb_binary.1:25 en/lb_bootstrap.1:25 en/lb_build.1:27 +#: en/lb_chroot.1:25 en/lb_clean.1:48 en/lb_config.1:482 en/lb_source.1:25 +#: en/live-build.7:226 +#, no-wrap +msgid "HOMEPAGE" +msgstr "ホームページ" + +#. type: Plain text +#: en/lb.1:29 en/lb_binary.1:27 en/lb_bootstrap.1:27 en/lb_build.1:29 +#: en/lb_chroot.1:27 en/lb_clean.1:50 en/lb_config.1:484 en/lb_source.1:27 +#: en/live-build.7:228 +msgid "" +"More information about live-build and the Live Systems project can be found " +"on the homepage at EIE and in the manual " +"at EIE." +msgstr "" +"live-build 及び Live システムプロジェクトについてのさらなる情報は、" +"EIE のホームページや EIE のマニュアルにあります。" + +#. type: SH +#: en/lb.1:30 en/lb_binary.1:28 en/lb_bootstrap.1:28 en/lb_build.1:30 +#: en/lb_chroot.1:28 en/lb_clean.1:51 en/lb_config.1:485 en/lb_source.1:28 +#: en/live-build.7:229 +#, no-wrap +msgid "BUGS" +msgstr "バグ" + +#. type: Plain text +#: en/lb.1:32 en/lb_binary.1:30 en/lb_bootstrap.1:30 en/lb_build.1:32 +#: en/lb_chroot.1:30 en/lb_clean.1:53 en/lb_config.1:487 en/lb_source.1:30 +#: en/live-build.7:231 +msgid "" +"Bugs can be reported by submitting a bugreport for the live-build package in " +"the Bug Tracking System at EIE or by " +"writing a mail to the Live Systems mailing list at EIE." +msgstr "" +"バグは EIE にあるバグ追跡システムに live-" +"build パッケージのバグ報告として提出するか、EIE にある Live システムのメーリングリスト宛てにメールを書くことにより" +"報告できます。" + +#. type: SH +#: en/lb.1:33 en/lb_binary.1:31 en/lb_bootstrap.1:31 en/lb_build.1:33 +#: en/lb_chroot.1:31 en/lb_clean.1:54 en/lb_config.1:488 en/lb_source.1:31 +#: en/live-build.7:232 +#, no-wrap +msgid "AUTHOR" +msgstr "作者" + +#. type: Plain text +#: en/lb.1:34 en/lb_binary.1:32 en/lb_bootstrap.1:32 en/lb_build.1:34 +#: en/lb_chroot.1:32 en/lb_clean.1:55 en/lb_config.1:489 en/lb_source.1:32 +#: en/live-build.7:233 +msgid "" +"live-build was written by Daniel Baumann EIE." +msgstr "" +"live-build は Daniel Baumann さん EIE により" +"書かれました。" + +#. type: Plain text +#: en/lb_chroot.1:5 +msgid "B - Complete the chroot stage" +msgstr "B - chroot 段階を完了させます" + +#. type: Plain text +#: en/lb_chroot.1:8 +msgid "B [I]" +msgstr "B [I]" + +#. type: Plain text +#: en/lb_chroot.1:11 +msgid "" +"B is a high-level command (porcelain) of I(7), the " +"live systems tool suite." +msgstr "" +"B は Live システムツール集 I(7) の高レベルコマンド " +"(porcelain) です。" + +#. type: Plain text +#: en/lb_chroot.1:13 +msgid "" +"B calls all necessary live-build programs in the correct order to " +"complete the chroot stage." +msgstr "" +"B は chroot 段階を完了させるために必要な live-build プログラムを全" +"て正しい順で呼び出します。" + +#. type: Plain text +#: en/lb_chroot.1:16 +msgid "" +"B has no specific options but understands all generic live-build " +"options. See I(7) for a complete list of all generic live-build " +"options." +msgstr "" +"B には特定のオプションはありませんが、live-build 全般のオプション" +"を全て理解します。live-build 全般のオプションの全容については I(7) を見てください。" diff --git a/manpages/po/ja/lb_clean.1.po b/manpages/po/ja/lb_clean.1.po new file mode 100644 index 0000000..41fd5b2 --- /dev/null +++ b/manpages/po/ja/lb_clean.1.po @@ -0,0 +1,323 @@ +# Japanese translations for live-build package +# Copyright (C) 2014 victory +# This file is distributed under the same license as the live-build package. +# +msgid "" +msgstr "" +"Project-Id-Version: live-build\n" +"POT-Creation-Date: 2014-10-25 14:34+0200\n" +"PO-Revision-Date: 2014-08-28 02:52+0900\n" +"Last-Translator: victory \n" +"Language-Team: none\n" +"Language: ja\n" +"MIME-Version: 1.0\n" +"Content-Type: text/plain; charset=UTF-8\n" +"Content-Transfer-Encoding: 8bit\n" + +#. type: TH +#: en/lb.1:1 en/lb_binary.1:1 en/lb_bootstrap.1:1 en/lb_build.1:1 +#: en/lb_chroot.1:1 en/lb_clean.1:1 en/lb_config.1:1 en/lb_source.1:1 +#: en/live-build.7:1 +#, no-wrap +msgid "LIVE-BUILD" +msgstr "LIVE-BUILD" + +#. type: TH +#: en/lb.1:1 en/lb_binary.1:1 en/lb_bootstrap.1:1 en/lb_build.1:1 +#: en/lb_chroot.1:1 en/lb_clean.1:1 en/lb_config.1:1 en/lb_source.1:1 +#: en/live-build.7:1 +#, no-wrap +msgid "2014-10-25" +msgstr "" + +#. type: TH +#: en/lb.1:1 en/lb_binary.1:1 en/lb_bootstrap.1:1 en/lb_build.1:1 +#: en/lb_chroot.1:1 en/lb_clean.1:1 en/lb_config.1:1 en/lb_source.1:1 +#: en/live-build.7:1 +#, no-wrap +msgid "4.0.3-1" +msgstr "" + +#. type: TH +#: en/lb.1:1 en/lb_binary.1:1 en/lb_bootstrap.1:1 en/lb_build.1:1 +#: en/lb_chroot.1:1 en/lb_clean.1:1 en/lb_config.1:1 en/lb_source.1:1 +#: en/live-build.7:1 +#, no-wrap +msgid "Live Systems Project" +msgstr "Live システムプロジェクト" + +#. type: SH +#: en/lb.1:3 en/lb_binary.1:3 en/lb_bootstrap.1:3 en/lb_build.1:3 +#: en/lb_chroot.1:3 en/lb_clean.1:3 en/lb_config.1:3 en/lb_source.1:3 +#: en/live-build.7:3 +#, no-wrap +msgid "NAME" +msgstr "名前" + +#. type: SH +#: en/lb.1:6 en/lb_binary.1:6 en/lb_bootstrap.1:6 en/lb_build.1:6 +#: en/lb_chroot.1:6 en/lb_clean.1:6 en/lb_config.1:6 en/lb_source.1:6 +#: en/live-build.7:6 +#, no-wrap +msgid "SYNOPSIS" +msgstr "概要" + +#. type: SH +#: en/lb.1:11 en/lb_binary.1:9 en/lb_bootstrap.1:9 en/lb_build.1:9 +#: en/lb_chroot.1:9 en/lb_clean.1:9 en/lb_config.1:225 en/lb_source.1:9 +#: en/live-build.7:11 +#, no-wrap +msgid "DESCRIPTION" +msgstr "説明" + +#. type: SH +#: en/lb.1:16 en/lb_binary.1:14 en/lb_bootstrap.1:14 en/lb_build.1:14 +#: en/lb_chroot.1:14 en/lb_clean.1:16 en/lb_config.1:234 en/lb_source.1:14 +#: en/live-build.7:20 +#, no-wrap +msgid "OPTIONS" +msgstr "オプション" + +#. type: SH +#: en/lb.1:19 en/lb_binary.1:17 en/lb_bootstrap.1:17 en/lb_build.1:17 +#: en/lb_chroot.1:17 en/lb_clean.1:38 en/lb_config.1:466 en/lb_source.1:17 +#: en/live-build.7:215 +#, no-wrap +msgid "FILES" +msgstr "ファイル" + +#. type: SH +#: en/lb.1:22 en/lb_binary.1:20 en/lb_bootstrap.1:20 en/lb_build.1:22 +#: en/lb_chroot.1:20 en/lb_clean.1:43 en/lb_config.1:473 en/lb_source.1:20 +#: en/live-build.7:219 +#, no-wrap +msgid "SEE ALSO" +msgstr "関連項目" + +#. type: Plain text +#: en/lb.1:24 en/lb_binary.1:22 en/lb_bootstrap.1:22 en/lb_build.1:24 +#: en/lb_chroot.1:22 en/lb_clean.1:45 en/lb_config.1:475 en/lb_source.1:22 +msgid "I(7)" +msgstr "I(7)" + +#. type: Plain text +#: en/lb.1:26 en/lb_binary.1:24 en/lb_bootstrap.1:24 en/lb_build.1:26 +#: en/lb_chroot.1:24 en/lb_clean.1:47 en/lb_config.1:481 en/lb_source.1:24 +#: en/live-build.7:225 +msgid "This program is a part of live-build." +msgstr "このプログラムは live-build の一部です。" + +#. type: SH +#: en/lb.1:27 en/lb_binary.1:25 en/lb_bootstrap.1:25 en/lb_build.1:27 +#: en/lb_chroot.1:25 en/lb_clean.1:48 en/lb_config.1:482 en/lb_source.1:25 +#: en/live-build.7:226 +#, no-wrap +msgid "HOMEPAGE" +msgstr "ホームページ" + +#. type: Plain text +#: en/lb.1:29 en/lb_binary.1:27 en/lb_bootstrap.1:27 en/lb_build.1:29 +#: en/lb_chroot.1:27 en/lb_clean.1:50 en/lb_config.1:484 en/lb_source.1:27 +#: en/live-build.7:228 +msgid "" +"More information about live-build and the Live Systems project can be found " +"on the homepage at EIE and in the manual " +"at EIE." +msgstr "" +"live-build 及び Live システムプロジェクトについてのさらなる情報は、" +"EIE のホームページや EIE のマニュアルにあります。" + +#. type: SH +#: en/lb.1:30 en/lb_binary.1:28 en/lb_bootstrap.1:28 en/lb_build.1:30 +#: en/lb_chroot.1:28 en/lb_clean.1:51 en/lb_config.1:485 en/lb_source.1:28 +#: en/live-build.7:229 +#, no-wrap +msgid "BUGS" +msgstr "バグ" + +#. type: Plain text +#: en/lb.1:32 en/lb_binary.1:30 en/lb_bootstrap.1:30 en/lb_build.1:32 +#: en/lb_chroot.1:30 en/lb_clean.1:53 en/lb_config.1:487 en/lb_source.1:30 +#: en/live-build.7:231 +msgid "" +"Bugs can be reported by submitting a bugreport for the live-build package in " +"the Bug Tracking System at EIE or by " +"writing a mail to the Live Systems mailing list at EIE." +msgstr "" +"バグは EIE にあるバグ追跡システムに live-" +"build パッケージのバグ報告として提出するか、EIE にある Live システムのメーリングリスト宛てにメールを書くことにより" +"報告できます。" + +#. type: SH +#: en/lb.1:33 en/lb_binary.1:31 en/lb_bootstrap.1:31 en/lb_build.1:33 +#: en/lb_chroot.1:31 en/lb_clean.1:54 en/lb_config.1:488 en/lb_source.1:31 +#: en/live-build.7:232 +#, no-wrap +msgid "AUTHOR" +msgstr "作者" + +#. type: Plain text +#: en/lb.1:34 en/lb_binary.1:32 en/lb_bootstrap.1:32 en/lb_build.1:34 +#: en/lb_chroot.1:32 en/lb_clean.1:55 en/lb_config.1:489 en/lb_source.1:32 +#: en/live-build.7:233 +msgid "" +"live-build was written by Daniel Baumann EIE." +msgstr "" +"live-build は Daniel Baumann さん EIE により" +"書かれました。" + +#. type: Plain text +#: en/lb_clean.1:5 +msgid "B - Clean build directory" +msgstr "B - 設定ディレクトリを掃除します" + +#. type: Plain text +#: en/lb_clean.1:8 +msgid "B [I]" +msgstr "B [I]" + +#. type: Plain text +#: en/lb_clean.1:11 +msgid "" +"B is a high-level command (porcelain) of I(7), the " +"live systems tool suite." +msgstr "" +"B は Live システムツール集 I(7) の高レベルコマンド " +"(porcelain) です。" + +#. FIXME +#. FIXME +#. type: Plain text +#: en/lb_clean.1:15 +msgid "" +"B 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." +msgstr "" +"B はシステムビルド後の掃除を担当します。ビルドディレクトリや段階" +"ファイル等その他のファイルの一部を削除します。他の live-build コマンドの残骸" +"は全て残します。" + +#. type: Plain text +#: en/lb_clean.1:18 +msgid "" +"In addition to its specific options B understands all generic live-" +"build options. See I(7) for a complete list of all generic live-" +"build options." +msgstr "" +"B は固有のオプションに加え、live-build 全般のオプションを全て理解し" +"ます。live-build 全般のオプションの全容については I(7) を見てくだ" +"さい。" + +#. FIXME +#. type: IP +#: en/lb_clean.1:20 +#, no-wrap +msgid "B<--all>" +msgstr "B<--all>" + +#. type: Plain text +#: en/lb_clean.1:22 +msgid "" +"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." +msgstr "" +"chroot、バイナリ、各段階での生成物、ソースを削除します。キャッシュディレクト" +"リは残します。これはデフォルトの動作で、引数がない場合はこの動作になります。" + +#. type: IP +#: en/lb_clean.1:22 +#, no-wrap +msgid "B<--cache>" +msgstr "B<--cache>" + +#. type: Plain text +#: en/lb_clean.1:24 +msgid "removes the cache directories." +msgstr "キャッシュディレクトリを削除します。" + +#. type: IP +#: en/lb_clean.1:24 +#, no-wrap +msgid "B<--chroot>" +msgstr "B<--chroot>" + +#. type: Plain text +#: en/lb_clean.1:26 +msgid "unmounts and removes the chroot directory." +msgstr "chroot ディレクトリをマウント解除、削除します。" + +#. type: IP +#: en/lb_clean.1:26 +#, no-wrap +msgid "B<--binary>" +msgstr "B<--binary>" + +#. type: Plain text +#: en/lb_clean.1:28 +msgid "" +"removes all binary related caches, files, directories, and stages files." +msgstr "" +"バイナリ関連のキャッシュやファイル、ディレクトリ、各段階で生成したファイルを" +"全て削除します。" + +#. type: IP +#: en/lb_clean.1:28 +#, no-wrap +msgid "B<--purge>" +msgstr "B<--purge>" + +#. type: Plain text +#: en/lb_clean.1:30 +msgid "removes everything, including all caches. The config directory is kept." +msgstr "全キャッシュを含め、全て削除します。設定ディレクトリは残されます。" + +#. type: IP +#: en/lb_clean.1:30 +#, no-wrap +msgid "B<--remove>" +msgstr "B<--remove>" + +#. type: Plain text +#: en/lb_clean.1:32 +msgid "" +"removes everything, including package cache but not stage cache. The config " +"directory is kept." +msgstr "" +"段階キャッシュを除いたパッケージキャッシュを含め、全て削除します。設定ディレ" +"クトリは残されます。" + +#. type: IP +#: en/lb_clean.1:32 +#, no-wrap +msgid "B<--stage>" +msgstr "B<--stage>" + +#. type: Plain text +#: en/lb_clean.1:34 +msgid "removes all stage files." +msgstr "各段階で生成したファイルを全て削除します。" + +#. type: IP +#: en/lb_clean.1:34 +#, no-wrap +msgid "B<--source>" +msgstr "B<--source>" + +#. FIXME +#. type: Plain text +#: en/lb_clean.1:37 +msgid "removes all source related caches, files, directories, and stage files." +msgstr "" +"ソース関連のキャッシュやファイル、ディレクトリ、各段階で生成したファイルを全" +"て削除します。" + +#. FIXME +#. type: IP +#: en/lb_clean.1:40 +#, no-wrap +msgid "B" +msgstr "B" diff --git a/manpages/po/ja/lb_config.1.po b/manpages/po/ja/lb_config.1.po new file mode 100644 index 0000000..485858b --- /dev/null +++ b/manpages/po/ja/lb_config.1.po @@ -0,0 +1,2701 @@ +# Japanese translations for live-build package +# Copyright (C) 2014 victory +# This file is distributed under the same license as the live-build package. +# +msgid "" +msgstr "" +"Project-Id-Version: live-build\n" +"POT-Creation-Date: 2014-10-25 14:34+0200\n" +"PO-Revision-Date: 2014-09-07 13:13+0900\n" +"Last-Translator: victory \n" +"Language-Team: none\n" +"Language: ja\n" +"MIME-Version: 1.0\n" +"Content-Type: text/plain; charset=UTF-8\n" +"Content-Transfer-Encoding: 8bit\n" + +#. type: TH +#: en/lb.1:1 en/lb_binary.1:1 en/lb_bootstrap.1:1 en/lb_build.1:1 +#: en/lb_chroot.1:1 en/lb_clean.1:1 en/lb_config.1:1 en/lb_source.1:1 +#: en/live-build.7:1 +#, no-wrap +msgid "LIVE-BUILD" +msgstr "LIVE-BUILD" + +#. type: TH +#: en/lb.1:1 en/lb_binary.1:1 en/lb_bootstrap.1:1 en/lb_build.1:1 +#: en/lb_chroot.1:1 en/lb_clean.1:1 en/lb_config.1:1 en/lb_source.1:1 +#: en/live-build.7:1 +#, no-wrap +msgid "2014-10-25" +msgstr "" + +#. type: TH +#: en/lb.1:1 en/lb_binary.1:1 en/lb_bootstrap.1:1 en/lb_build.1:1 +#: en/lb_chroot.1:1 en/lb_clean.1:1 en/lb_config.1:1 en/lb_source.1:1 +#: en/live-build.7:1 +#, no-wrap +msgid "4.0.3-1" +msgstr "" + +#. type: TH +#: en/lb.1:1 en/lb_binary.1:1 en/lb_bootstrap.1:1 en/lb_build.1:1 +#: en/lb_chroot.1:1 en/lb_clean.1:1 en/lb_config.1:1 en/lb_source.1:1 +#: en/live-build.7:1 +#, no-wrap +msgid "Live Systems Project" +msgstr "Live システムプロジェクト" + +#. type: SH +#: en/lb.1:3 en/lb_binary.1:3 en/lb_bootstrap.1:3 en/lb_build.1:3 +#: en/lb_chroot.1:3 en/lb_clean.1:3 en/lb_config.1:3 en/lb_source.1:3 +#: en/live-build.7:3 +#, no-wrap +msgid "NAME" +msgstr "名前" + +#. type: SH +#: en/lb.1:6 en/lb_binary.1:6 en/lb_bootstrap.1:6 en/lb_build.1:6 +#: en/lb_chroot.1:6 en/lb_clean.1:6 en/lb_config.1:6 en/lb_source.1:6 +#: en/live-build.7:6 +#, no-wrap +msgid "SYNOPSIS" +msgstr "概要" + +#. type: SH +#: en/lb.1:11 en/lb_binary.1:9 en/lb_bootstrap.1:9 en/lb_build.1:9 +#: en/lb_chroot.1:9 en/lb_clean.1:9 en/lb_config.1:225 en/lb_source.1:9 +#: en/live-build.7:11 +#, no-wrap +msgid "DESCRIPTION" +msgstr "説明" + +#. type: SH +#: en/lb.1:16 en/lb_binary.1:14 en/lb_bootstrap.1:14 en/lb_build.1:14 +#: en/lb_chroot.1:14 en/lb_clean.1:16 en/lb_config.1:234 en/lb_source.1:14 +#: en/live-build.7:20 +#, no-wrap +msgid "OPTIONS" +msgstr "オプション" + +#. type: SH +#: en/lb.1:19 en/lb_binary.1:17 en/lb_bootstrap.1:17 en/lb_build.1:17 +#: en/lb_chroot.1:17 en/lb_clean.1:38 en/lb_config.1:466 en/lb_source.1:17 +#: en/live-build.7:215 +#, no-wrap +msgid "FILES" +msgstr "ファイル" + +#. type: SH +#: en/lb.1:22 en/lb_binary.1:20 en/lb_bootstrap.1:20 en/lb_build.1:22 +#: en/lb_chroot.1:20 en/lb_clean.1:43 en/lb_config.1:473 en/lb_source.1:20 +#: en/live-build.7:219 +#, no-wrap +msgid "SEE ALSO" +msgstr "関連項目" + +#. type: Plain text +#: en/lb.1:24 en/lb_binary.1:22 en/lb_bootstrap.1:22 en/lb_build.1:24 +#: en/lb_chroot.1:22 en/lb_clean.1:45 en/lb_config.1:475 en/lb_source.1:22 +msgid "I(7)" +msgstr "I(7)" + +#. type: Plain text +#: en/lb.1:26 en/lb_binary.1:24 en/lb_bootstrap.1:24 en/lb_build.1:26 +#: en/lb_chroot.1:24 en/lb_clean.1:47 en/lb_config.1:481 en/lb_source.1:24 +#: en/live-build.7:225 +msgid "This program is a part of live-build." +msgstr "このプログラムは live-build の一部です。" + +#. type: SH +#: en/lb.1:27 en/lb_binary.1:25 en/lb_bootstrap.1:25 en/lb_build.1:27 +#: en/lb_chroot.1:25 en/lb_clean.1:48 en/lb_config.1:482 en/lb_source.1:25 +#: en/live-build.7:226 +#, no-wrap +msgid "HOMEPAGE" +msgstr "ホームページ" + +#. type: Plain text +#: en/lb.1:29 en/lb_binary.1:27 en/lb_bootstrap.1:27 en/lb_build.1:29 +#: en/lb_chroot.1:27 en/lb_clean.1:50 en/lb_config.1:484 en/lb_source.1:27 +#: en/live-build.7:228 +msgid "" +"More information about live-build and the Live Systems project can be found " +"on the homepage at EIE and in the manual " +"at EIE." +msgstr "" +"live-build 及び Live システムプロジェクトについてのさらなる情報は、" +"EIE のホームページや EIE のマニュアルにあります。" + +#. type: SH +#: en/lb.1:30 en/lb_binary.1:28 en/lb_bootstrap.1:28 en/lb_build.1:30 +#: en/lb_chroot.1:28 en/lb_clean.1:51 en/lb_config.1:485 en/lb_source.1:28 +#: en/live-build.7:229 +#, no-wrap +msgid "BUGS" +msgstr "バグ" + +#. type: Plain text +#: en/lb.1:32 en/lb_binary.1:30 en/lb_bootstrap.1:30 en/lb_build.1:32 +#: en/lb_chroot.1:30 en/lb_clean.1:53 en/lb_config.1:487 en/lb_source.1:30 +#: en/live-build.7:231 +msgid "" +"Bugs can be reported by submitting a bugreport for the live-build package in " +"the Bug Tracking System at EIE or by " +"writing a mail to the Live Systems mailing list at EIE." +msgstr "" +"バグは EIE にあるバグ追跡システムに live-" +"build パッケージのバグ報告として提出するか、EIE にある Live システムのメーリングリスト宛てにメールを書くことにより" +"報告できます。" + +#. type: SH +#: en/lb.1:33 en/lb_binary.1:31 en/lb_bootstrap.1:31 en/lb_build.1:33 +#: en/lb_chroot.1:31 en/lb_clean.1:54 en/lb_config.1:488 en/lb_source.1:31 +#: en/live-build.7:232 +#, no-wrap +msgid "AUTHOR" +msgstr "作者" + +#. type: Plain text +#: en/lb.1:34 en/lb_binary.1:32 en/lb_bootstrap.1:32 en/lb_build.1:34 +#: en/lb_chroot.1:32 en/lb_clean.1:55 en/lb_config.1:489 en/lb_source.1:32 +#: en/live-build.7:233 +msgid "" +"live-build was written by Daniel Baumann EIE." +msgstr "" +"live-build は Daniel Baumann さん EIE により" +"書かれました。" + +#. type: Plain text +#: en/lb_config.1:5 +msgid "B - Create config directory" +msgstr "B - 設定ディレクトリを作成します" + +#. type: Plain text +#: en/lb_config.1:8 +msgid "B [I]" +msgstr "B [I]" + +#. FIXME +#. type: Plain text +#: en/lb_config.1:11 +msgid "B" +msgstr "B" + +#. type: Plain text +#: en/lb_config.1:13 +msgid " [B<--apt> apt|aptitude]" +msgstr " [B<--apt> apt|aptitude]" + +#. type: Plain text +#: en/lb_config.1:15 +msgid " [B<--apt-ftp-proxy> I]" +msgstr " [B<--apt-ftp-proxy> I]" + +#. type: Plain text +#: en/lb_config.1:17 +msgid " [B<--apt-http-proxy> I]" +msgstr " [B<--apt-http-proxy> I]" + +#. type: Plain text +#: en/lb_config.1:19 +msgid " [B<--apt-indices> true|false]" +msgstr " [B<--apt-indices> true|false]" + +#. type: Plain text +#: en/lb_config.1:21 +msgid " [B<--apt-options> I