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

Dropping cdebootstrap support (Closes: #773657).

debootstrap is the official tool to bootstrap debian,
cdebootstrap has had the one or other bug making it
broken for times during the release cycles.

The extra effort of supporting both debootstrap
and cdebootstrap is hardly worth it since the bootstrap
stage is cached anyway.
parent cb7e5f25
......@@ -13,7 +13,7 @@ Package: live-build
Architecture: all
Depends:
${misc:Depends},
debootstrap | cdebootstrap | cdebootstrap-static,
debootstrap,
Recommends:
cpio,
live-boot-doc,
......
......@@ -3,7 +3,7 @@
DEFAULT_SETTINGS="/etc/live/build.conf"
# Checking depends
dpkg -l debootstrap cdebootstrap
dpkg -l debootstrap
# Checking suggests
dpkg -l dosfstools xorriso loadlin memtest86+ memtest86 mtools parted squashfs-tools mtd-tools syslinux syslinux-common extlinux grub uuid-runtime win32-loader
......
......@@ -221,18 +221,6 @@ Set_defaults ()
;;
esac
# Setting bootstrap program
if [ -z "${LB_BOOTSTRAP}" ] || ( [ ! -x "$(which ${LB_BOOTSTRAP} 2>/dev/null)" ] && [ "${LB_BOOTSTRAP}" != "copy" ] )
then
if [ -x "/usr/sbin/debootstrap" ]
then
LB_BOOTSTRAP="debootstrap"
elif [ -x "/usr/bin/cdebootstrap" ]
then
LB_BOOTSTRAP="cdebootstrap"
fi
fi
# Setting cache option
LB_CACHE="${LB_CACHE:-true}"
LB_CACHE_INDICES="${LB_CACHE_INDICES:-false}"
......
.TH LIVE\-BUILD 1 2014\-12\-10 5.0~a1-1 "Live Systems Project"
.TH LIVE\-BUILD 1 2014\-12\-23 5.0~a1-1 "Live Systems Project"
.SH NAME
\fBlb\fR \- wrapper for live\-build programs
......
.TH LIVE\-BUILD 1 2014\-12\-10 5.0~a1-1 "Live Systems Project"
.TH LIVE\-BUILD 1 2014\-12\-23 5.0~a1-1 "Live Systems Project"
.SH NAME
\fBlb binary\fR \- Complete the binary stage
......
.TH LIVE\-BUILD 1 2014\-12\-10 5.0~a1-1 "Live Systems Project"
.TH LIVE\-BUILD 1 2014\-12\-23 5.0~a1-1 "Live Systems Project"
.SH NAME
\fBlb bootstrap\fR \- Complete the bootstrap stage
......
.TH LIVE\-BUILD 1 2014\-12\-10 5.0~a1-1 "Live Systems Project"
.TH LIVE\-BUILD 1 2014\-12\-23 5.0~a1-1 "Live Systems Project"
.SH NAME
\fBlb build\fR \- Complete the bootstrap, chroot, binary, and source stages
......
.TH LIVE\-BUILD 1 2014\-12\-10 5.0~a1-1 "Live Systems Project"
.TH LIVE\-BUILD 1 2014\-12\-23 5.0~a1-1 "Live Systems Project"
.SH NAME
\fBlb chroot\fR \- Complete the chroot stage
......
.TH LIVE\-BUILD 1 2014\-12\-10 5.0~a1-1 "Live Systems Project"
.TH LIVE\-BUILD 1 2014\-12\-23 5.0~a1-1 "Live Systems Project"
.SH NAME
\fBlb clean\fR \- Clean build directory
......
.TH LIVE\-BUILD 1 2014\-12\-10 5.0~a1-1 "Live Systems Project"
.TH LIVE\-BUILD 1 2014\-12\-23 5.0~a1-1 "Live Systems Project"
.SH NAME
\fBlb config\fR \- Create config directory
......@@ -40,8 +40,6 @@
[\fB\-\-bootappend\-live\fR \fIPARAMETER\fR|\fI"PARAMETERS"\fR]
.br
[\fB\-\-bootloader\fR grub|grub2|syslinux]
.br
[\fB\-\-bootstrap\fR cdebootstrap|cdebootstrap-static|debootstrap]
.br
[\fB\-\-cache\fR true|false]
.br
......@@ -267,8 +265,6 @@ sets boot parameters specific to debian\-installer, if included.
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|grub2|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 controlled through the their own options.
.IP "\fB\-\-cache\-indices\fR true|false" 4
......
.TH LIVE\-BUILD 1 2014\-12\-10 5.0~a1-1 "Live Systems Project"
.TH LIVE\-BUILD 1 2014\-12\-23 5.0~a1-1 "Live Systems Project"
.SH NAME
\fBlb source\fR \- Complete the source stage
......
.TH LIVE\-BUILD 7 2014\-12\-10 5.0~a1-1 "Live Systems Project"
.TH LIVE\-BUILD 7 2014\-12\-23 5.0~a1-1 "Live Systems Project"
.SH NAME
\fBlive\-build\fR \- the live systems tool suite
......@@ -86,8 +86,6 @@ Note that the interface (set of options and the semantics) to these low\-level c
.SS Bootstrap commands
.IP "\fBlb_bootstrap_cache\fR(1)" 4
cache bootstrap stage
.IP "\fBlb_bootstrap_cdebootstrap\fR(1)" 4
bootstrap a Debian system with cdebootstrap(1)
.IP "\fBlb_bootstrap_debootstrap\fR(1)" 4
bootstrap a Debian system with debootstrap(8)
.SS Chroot commands
......
......@@ -3,7 +3,7 @@
.\" This file was generated with po4a. Translate the source file.
.\"
.\"*******************************************************************
.TH LIVE\-BUILD 1 2014\-12\-10 5.0~a1\-1 "Live システムプロジェクト"
.TH LIVE\-BUILD 1 2014\-12\-23 5.0~a1\-1 "Live システムプロジェクト"
.SH 名前
\fBlb\fP \- live\-build プログラムのラッパー
......
......@@ -3,7 +3,7 @@
.\" This file was generated with po4a. Translate the source file.
.\"
.\"*******************************************************************
.TH LIVE\-BUILD 1 2014\-12\-10 5.0~a1\-1 "Live システムプロジェクト"
.TH LIVE\-BUILD 1 2014\-12\-23 5.0~a1\-1 "Live システムプロジェクト"
.SH 名前
\fBlb binary\fP \- バイナリ段階を完了させます
......
......@@ -3,7 +3,7 @@
.\" This file was generated with po4a. Translate the source file.
.\"
.\"*******************************************************************
.TH LIVE\-BUILD 1 2014\-12\-10 5.0~a1\-1 "Live システムプロジェクト"
.TH LIVE\-BUILD 1 2014\-12\-23 5.0~a1\-1 "Live システムプロジェクト"
.SH 名前
\fBlb bootstrap\fP \- パッケージ収集段階を完了させます
......
......@@ -3,7 +3,7 @@
.\" This file was generated with po4a. Translate the source file.
.\"
.\"*******************************************************************
.TH LIVE\-BUILD 1 2014\-12\-10 5.0~a1\-1 "Live システムプロジェクト"
.TH LIVE\-BUILD 1 2014\-12\-23 5.0~a1\-1 "Live システムプロジェクト"
.SH 名前
\fBlb build\fP \- パッケージ収集、chroot、バイナリ、ソース段階を完了させます
......
......@@ -3,7 +3,7 @@
.\" This file was generated with po4a. Translate the source file.
.\"
.\"*******************************************************************
.TH LIVE\-BUILD 1 2014\-12\-10 5.0~a1\-1 "Live システムプロジェクト"
.TH LIVE\-BUILD 1 2014\-12\-23 5.0~a1\-1 "Live システムプロジェクト"
.SH 名前
\fBlb chroot\fP \- chroot 段階を完了させます
......
......@@ -3,7 +3,7 @@
.\" This file was generated with po4a. Translate the source file.
.\"
.\"*******************************************************************
.TH LIVE\-BUILD 1 2014\-12\-10 5.0~a1\-1 "Live システムプロジェクト"
.TH LIVE\-BUILD 1 2014\-12\-23 5.0~a1\-1 "Live システムプロジェクト"
.SH 名前
\fBlb clean\fP \- 設定ディレクトリを掃除します
......
......@@ -3,7 +3,7 @@
.\" This file was generated with po4a. Translate the source file.
.\"
.\"*******************************************************************
.TH LIVE\-BUILD 1 2014\-12\-10 5.0~a1\-1 "Live システムプロジェクト"
.TH LIVE\-BUILD 1 2014\-12\-23 5.0~a1\-1 "Live システムプロジェクト"
.SH 名前
\fBlb config\fP \- 設定ディレクトリを作成します
......@@ -45,8 +45,6 @@
[\fB\-\-bootappend\-live\fP \fIパラメータ\fP|\fI"パラメータ"\fP]
.br
[\fB\-\-bootloader\fP grub|grub2|syslinux]
.br
[\fB\-\-bootstrap\fP cdebootstrap|cdebootstrap\-static|debootstrap]
.br
[\fB\-\-cache\fP true|false]
.br
......@@ -304,8 +302,6 @@ iso をビルドする場合は常に syslinux (さらに言えば isolinux)
でのサポートが追いついていないものがあり得ることに注意してください。\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
......
......@@ -3,7 +3,7 @@
.\" This file was generated with po4a. Translate the source file.
.\"
.\"*******************************************************************
.TH LIVE\-BUILD 1 2014\-12\-10 5.0~a1\-1 "Live システムプロジェクト"
.TH LIVE\-BUILD 1 2014\-12\-23 5.0~a1\-1 "Live システムプロジェクト"
.SH 名前
\fBlb source\fP \- ソース段階を完了させます
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment