debootstrap is a tool which will install a Debian base system into
a subdirectory of another, already installed system. It doesn't require
an installation CD, just access to a Debian repository.
In FreeBSD, you can use debootstrap to install Debian into a subdirectory
of your existing FreeBSD installation and then run Debian Linux in a jail
or chroot.
To successfully create an installation of Debian or Ubuntu
debootstrap requires the following kernel modules to be loaded:
linux64 fdescfs linprocfs linsysfs tmpfs
To install Ubuntu 18.04 LTS (Bionic Beaver) into /compat/ubuntu, run as root:
debootstrap bionic /compat/ubuntu
sysutils/debootstrap: Update to 1.0.128+nmu2+deb12u2
- This version fixes a problem where debootstrap would fail to
install the previously removed usr-is-merged package on
Trixie/Sid: E: Couldn't find these debs: usr-is-merged
- Depend on devel/pcre2 instead of devel/pcre:
- devel/pcre doesn't support the E switch.
- devel/pcre is EOLed by upstream.
- Fix "Failed to take /etc/passwd lock: Invalid argument" error.
- Pet portfmt.
PR: 289349
Approved by: nc@ (maintainer-timeout)
sysutils/debootstrap: switch the port from using gnugrep to pcregrep
Dependency on GNU grep had been originally added to avoid a pathological
corner case in BSD grep, where it's about two orders of magnitude slower
than GNU grep. As it occurs with one particular pattern type, it could
instead be solved by depending on pcregrep rather than gnugrep.
Submitter prefers this solution because pcregrep is already required by
other programs and does not have potential conflicts with the BSD grep
from the base.
PR: 255525, 263279
sysutils/debootstrap: Fix PORTVERSION
PORTVERSION may not contain '-', use 'n' instead to include nmu number
from debian.
Approved by: tcberner (mentor)
Pointy-Hat: zirias
sysutils/debootstrap: Update to 1.0.128-2
For a debian-native package, a +nmuX version should be considered a new
upstream version (it just means "non mantainer upload" there). Derive
some PORTVERSION from that that's sane for our versioning.
While here, eliminate hardcoded /usr/local from Makefile patch.
Approved by: nc (maintainer), tcberner (mentor)
Differential Revision: https://reviews.freebsd.org/D38670
Remove WWW entries moved into port Makefiles
Commit b7f05445c00f has added WWW entries to port Makefiles based on
WWW: lines in pkg-descr files.
This commit removes the WWW: lines of moved-over URLs from these
pkg-descr files.
Approved by: portmgr (tcberner)
Add WWW entries to port Makefiles
It has been common practice to have one or more URLs at the end of the
ports' pkg-descr files, one per line and prefixed with "WWW:". These
URLs should point at a project website or other relevant resources.
Access to these URLs required processing of the pkg-descr files, and
they have often become stale over time. If more than one such URL was
present in a pkg-descr file, only the first one was tarnsfered into
the port INDEX, but for many ports only the last line did contain the
port specific URL to further information.
There have been several proposals to make a project URL available as
a macro in the ports' Makefiles, over time.
(Only the first 15 lines of the commit message are shown above )
sysutils: remove 'Created by' lines
A big Thank You to the original contributors of these ports:
* <jsmith@resonatingmedia.com>
* Aaron Dalton <aaron@FreeBSD.org>
* Aaron Landwehr <aaron@snaphat.com>
* Adam Weinberger <adamw@FreeBSD.org>
* Adrian Chadd
* Adrian Chadd <adrian@FreeBSD.org>
* Akinori MUSHA aka knu <knu@idaemons.org>
* Alan Eldridge <alane@FreeBSD.org>
* Alan Eldridge <alane@geeksrus.net>
* Aldis Berjoza <aldis@bsdroot.lv>
* Alex Deiter <alex.deiter@gmail.com>
(Only the first 15 lines of the commit message are shown above )
sysutils/debootstrap: make it work on arm64 without --arch
Reviewed By: emaste
Sponsored By: EPSRC
Differential Revision: https://reviews.freebsd.org/D30127
sysutils/debootstrap: use gnugrep
Debootstrap triggers some weird corner case in our base grep(1),
where it's two orders of magnitude slower than it should be.
Fix it by providing it with GNU grep. This reduces the time
to complete 'debootstrap bionic' from ~4m30s to ~1m30s.
Reviewed By: emaste (earlier version)
Sponsored By: EPSRC
Differential Revision: https://reviews.freebsd.org/D30023
sysutils/debootstrap: make it work without --no-check-gpg
Reviewed by: emaste
Sponsored by: The FreeBSD Foundation
Differential Revision: https://reviews.freebsd.org/D29231
Default to Linux instead of kFreeBSD, since that's the more common
choice, and drop the no longer relevant ONLY_FOR_ARCHS.
Sponsored by: The FreeBSD Foundation
Take over maintainership of sysutils/debootstrap. I have some
more changes in my queue and waiting for maintainer timeout each
time slows things down.
Approved by: maintainer timeout
Sponsored by: The FreeBSD Foundation
Differential Revision: https://reviews.freebsd.org/D26553
sysutils/deboostrap: make it use bash, mount fdescfs,
ignore --configure errors
For some reason, when run with stock sh(1) the script aborts just
after 'Unpacking the base system'.
The fdescfs mount fixes 'dpkg --configure' for rsyslog. Note that
there are also some kernel patches required to make it work completely.
The fdescfs is not enough to fix everything, though, so just ignore
'dpkg --configure' errors for Bionic; they don't break anything important.
PR: ports/247698
Reviewed by: 0mp (earlier version)
Approved by: maintainer timeout (2 weeks)
Sponsored by: The FreeBSD Foundation
Differential Revision: https://reviews.freebsd.org/D25594
update sysutils/debootstrap to 1.0.89
debootstrap (1.0.89) unstable; urgency=medium
[ Simon McVittie ]
* Instead of creating a /dev/ptmx - pts/ptmx symlink unconditionally,
try mknod with "c 5 2" parameters first, and fall back to a symlink
only if it fails. This should help with various tools like pbuilder,
sbuild, and schroot (Closes: #817236).
* Add autopkgtest support to test various scenarios.
[ Cyril Brulebois ]
* Uniformize COMPONENTS/USE_COMPONENTS handling.
-- Cyril Brulebois <kibi@debian.org> Fri, 10 Mar 2017 13:10:56 +0100
update sysutils/debootstrap to 1.0.88
* Strip the arch-qualifier (Closes: #836525)
Reviewed by: matthew
Approved by: matthew (mentor)
Differential Revision: https://reviews.freebsd.org/D9515
update MAINTAINER to my FreeBSD.org email
Reviewed by: matthew
Approved by: matthew (maintainer)
Differential Revision: https://reviews.freebsd.org/D8782
Update to 1.0.86
debootstrap (1.0.86) unstable; urgency=high
* Rework split_inline_sig by using shell built-ins instead of trying to
mix sed and tr together, which might work on regular systems but not
from inside the Debian Installer (Closes: #842591). Thanks to Ansgar
Burchardt for the proof of concept!
-- Cyril Brulebois <kibi@debian.org> Sun, 30 Oct 2016 23:35:45 +0100
PR: 213950
Submitted by: lifanov@mail.lifanov.com (Maintainer)
sysutils/debootstrap: update 1.0.84 -> 1.0.85
- Add support for downloading and validating InRelease files, by splitting
up detached signature from signed data.
- Switch default mirror to deb.debian.org.
- Add (Ubuntu) zesty as a symlink to gutsy.
- Add jessie-kfreebsd to merged-/usr blacklist.
- No longer Build-Depend on makedev. The code using it was already
removed in debootstrap 1.0.82.
- Do not use `tar -k` for older releases which might have file
conflicts between the packages to be installed. (Closes: #838388)
- Error out when seeing short options. (Closes: #548880)
- Add oldoldstable -> sid script symlink. (Closes: #792734)
- Add buster -> sid and bullseye -> sid script symlinks.
- Only unpack and configure the base system when there are actually
packages to install. (Closes: #825034)
- debootstrap.8: Use stretch instead of wheezy in examples.
- Enable merged-/usr by default. (Closes: #839046)
PR: 213745
Submitted by: Nikolai Lifanov <lifanov@mail.lifanov.com> (maintainer)
Update to 1.0.79.
debootstrap (1.0.79) unstable; urgency=medium
[ Samuel Thibault ]
* hurd: move setting up dev and servers firmlink to setup_proc stage. Also
firmlink proc there. Thanks Gabriele Giacone for all the investigation!
(Closes: #768102)
(Closes: #768102)
-- Christian Perrier <bubulle@debian.org> Fri, 19 Feb 2016 07:23:59 +0100
debootstrap (1.0.78+nmu1) unstable; urgency=medium
* Non-maintainer upload.
(Only the first 15 lines of the commit message are shown above )
Update to 1.0.78.
debootstrap (1.0.78) unstable; urgency=high
* Use HTTPS for Vcs-* URLs, and link to cgit rather than gitweb.
* Don't call mknod with the --mode option, it's not supported in
busybox. Use -m instead - fixes the broken fix for #812811.
Closes: #813124. Urgency high to get this fix propagated quickly -
it's breaking d-i installs right now. Adding myself to uploaders and
uploading.
-- Steve McIntyre <93sam@debian.org> Fri, 29 Jan 2016 16:36:00 +0000
PR: 206821
Submitted by: Nikolai Lifanov <lifanov@mail.lifanov.com> (maintainer)
- Update to 1.0.67
Changes:
- Fix the empty sources.list bug with foreign architectures (Closes: #732255,
#773867).
Update setup_apt_sources to look at USE_COMPONENTS if COMPONENTS is empty, so
that some iteration over defined components happens.
- Use debian/changelog timestamp as mtime for devices.tar members (Closes:
#774069)
We also remove the timestamp in gzip header. This enables debootstap to be
built reproducibly.
PR: ports/196764
Submitted by: Nikolai Lifanov <lifanov@mail.lifanov.com> (maintainer)
debootstrap is a tool which will install a Debian base system into
a subdirectory of another, already installed system. It doesn't require an
installation CD, just access to a Debian repository.
In FreeBSD, you can use debootstrap to install Debian GNU/kFreeBSD into
a subdirectory of your existing FreeBSD installation (i386 or amd64)
and then run Debian GNU/kFreeBSD (i386 or amd64) in a jail or chroot.
WWW: http://wiki.debian.org/Debootstrap