Skip to content

Commit

Permalink
Drop support for cdebootstrap
Browse files Browse the repository at this point in the history
Noone we know has used in cdebootstrap in ages, and it also is not
tested by CI.
  • Loading branch information
zeha committed Nov 8, 2024
1 parent b2ea9ef commit d92e372
Show file tree
Hide file tree
Showing 5 changed files with 8 additions and 13 deletions.
7 changes: 1 addition & 6 deletions chroot-script
Original file line number Diff line number Diff line change
Expand Up @@ -523,12 +523,7 @@ EOF

# generate /etc/fstab {{{
fstab() {
# set up /etc/fstab if file is not present (cdebootstrap)
if [ ! -f /etc/fstab ] ; then
createfstab
fi

# set up /etc/fstab if file is UNCONFIGURED (debootstrap)
# set up /etc/fstab if file is UNCONFIGURED (debootstrap, mmdebstrap)
if grep -q UNCONFIGURED /etc/fstab ; then
createfstab
fi
Expand Down
2 changes: 1 addition & 1 deletion config
Original file line number Diff line number Diff line change
Expand Up @@ -100,7 +100,7 @@
# ROOTPASSWORD=''

# Name of debootstrap executable.
# Supported values: 'debootstrap', 'cdebootstrap', 'mmdebstrap'
# Supported values: 'debootstrap', 'mmdebstrap'
# Default: 'mmdebstrap'
# DEBOOTSTRAP='mmdebstrap'

Expand Down
4 changes: 2 additions & 2 deletions debian/control
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ Architecture: all
Depends:
bash (>= 4.3-11+deb8u2),
debian-archive-keyring,
mmdebstrap | debootstrap (>= 1.0.65) | cdebootstrap (>= 0.3.16),
mmdebstrap | debootstrap (>= 1.0.65),
dosfstools,
e2fsprogs,
fdisk | util-linux (<< 2.29.2-3~),
Expand All @@ -39,7 +39,7 @@ Recommends:
parted,
qemu-utils,
Description: wrapper around debootstrap for installing pure Debian
Provides a wrapper suite around debootstrap, cdebootstrap, mmdebstrap
Provides a wrapper suite around mmdebstrap or debootstrap
to ease installation of a pure Debian system.
.
Configuration can be done on the command line, in a dialog frontend
Expand Down
2 changes: 1 addition & 1 deletion grml-debootstrap
Original file line number Diff line number Diff line change
Expand Up @@ -1873,7 +1873,7 @@ preparechroot() {

cp ${VERBOSE:+-v} -a -L "${CONFFILES}"/extrapackages/ "${MNTPOINT}"/etc/debootstrap/

# make sure we can access network [relevant for cdebootstrap/mmdebstrap]
# make sure we can access network [relevant for mmdebstrap]
[ -f "${MNTPOINT}"/etc/resolv.conf ] || cp ${VERBOSE:+-v} /etc/resolv.conf "${MNTPOINT}"/etc/resolv.conf

# setup default locales
Expand Down
6 changes: 3 additions & 3 deletions grml-debootstrap.8.txt
Original file line number Diff line number Diff line change
Expand Up @@ -14,8 +14,8 @@ image:images/screenshot.png[Screenshot]
Introduction
------------

grml-debootstrap is a wrapper suite around mmdebstrap (and debootstrap and
cdebootstrap) for installing a plain Debian system very fast and easy.
grml-debootstrap is a wrapper suite around mmdebstrap (and debootstrap)
for installing a plain Debian system very fast and easy.

All you have to do is adjust a few variables in the configuration file
/etc/debootstrap/config or specify some command line options and invoke
Expand Down Expand Up @@ -430,7 +430,7 @@ Please report bugs towards https://github.com/grml/grml-debootstrap/issues
See also
--------

debootstrap (8), cdebootstrap (1), mmdebstrap(1).
debootstrap (8), mmdebstrap(1).

Author
------
Expand Down

0 comments on commit d92e372

Please sign in to comment.