Commit Graph

68 Commits

Author SHA1 Message Date
Edward Tomasz Napierala
0619a441a3 sysutils/debootstrap: make it work on arm64 without --arch
Reviewed By:	emaste
Sponsored By:	EPSRC
Differential Revision:	https://reviews.freebsd.org/D30127
2021-05-06 09:31:10 +01:00
Edward Tomasz Napierala
ea62bacb8a 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
2021-05-04 13:47:58 +01:00
Mathieu Arnold
305f148f48 Remove # $FreeBSD$ from Makefiles. 2021-04-06 16:31:07 +02:00
Edward Tomasz Napierala
79ccf74870 sysutils/debootstrap: make it work without --no-check-gpg
Reviewed by:	emaste
Sponsored by:	The FreeBSD Foundation
Differential Revision:	https://reviews.freebsd.org/D29231
2021-03-13 11:23:02 +00:00
Edward Tomasz Napierala
af9d31c12b sysutils/debootstrap: install mremap(2) apt(8) workaround
Sponsored by:	The FreeBSD Foundation
2021-01-14 14:37:57 +00:00
Edward Tomasz Napierala
29a4a9a681 sysutils/debootstrap: add workarounds necessary for bootstrapping
Ubuntu Focal and Debian Sid.

Sponsored by:	The FreeBSD Foundation
2021-01-13 09:57:09 +00:00
Edward Tomasz Napierala
27fde5e7ed 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
2020-10-14 14:55:10 +00:00
Edward Tomasz Napierala
749ed164ac 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
2020-10-14 14:42:54 +00:00
Edward Tomasz Napierala
7559a22330 Upgrade sysutils/debootstrap to 1.0.123.
Approved by:	maintainer timeout
Sponsored by:	The FreeBSD Foundation
Differential Revision:	https://reviews.freebsd.org/D26165
2020-09-25 10:24:37 +00:00
Edward Tomasz Napierala
19753ff1c0 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
2020-07-19 12:54:59 +00:00
Mathieu Arnold
bc89cd3d2c Convert to UCL & cleanup pkg-message (categories s) 2019-08-14 12:16:12 +00:00
Nikolai Lifanov
e5eadb5b57 update sysutils/debootstrap to 1.0.115 2019-08-11 23:32:46 +00:00
Nikolai Lifanov
38d17e40d5 update sysutils/debootstrap to 1.0.114 2019-03-04 03:12:08 +00:00
Nikolai Lifanov
92f8ad7787 update sysutils/debootstrap to 1.0.111
This adds support for Ubuntu Disco
2018-12-17 02:04:18 +00:00
Nikolai Lifanov
2d5f21e620 update sysutils/debootstrap to 1.0.109 2018-09-10 04:18:59 +00:00
Nikolai Lifanov
db21e83881 update sysutils/debootstrap to 1.0.108 2018-08-20 00:41:53 +00:00
Nikolai Lifanov
1f643a7402 update sysutils/debootstrap to 1.0.106 2018-07-08 22:25:04 +00:00
Nikolai Lifanov
903b8949d8 update sysutils/debootstrap to 1.0.104
debootstrap (1.0.104) unstable; urgency=medium
  * Fix /etc/machine-id mount issue (Closes: #899155)
  * Fix regression with file:/// mirror (Closes: #901717)
 -- Hideki Yamane <henrich@debian.org>  Sun, 24 Jun 2018 20:41:13 +0900
debootstrap (1.0.103) unstable; urgency=medium
  * Avoid failure with old arch-test package (Closes: #900925)
    Thanks to jhcha54008 <jhcha54008@free.fr>
  * Relax merged-usr blacklist restriction (Closes: #901808)
    Thanks to Tianon Gravi <tianon@debian.org>
 -- Hideki Yamane <henrich@debian.org>  Sat, 23 Jun 2018 11:44:57 +0900
2018-07-01 23:29:48 +00:00
Nikolai Lifanov
387268bb4a update sysutils/debootstrap to 1.0.102 2018-06-17 22:31:48 +00:00
Nikolai Lifanov
23c2876459 update sysutils/debootstrap to 1.0.96
This update includes scripts for Kali Linux.
2018-04-11 14:26:15 +00:00
Nikolai Lifanov
980068451a update sysutils/debootstrap to 1.0.95 2018-04-02 15:36:31 +00:00
Nikolai Lifanov
f2ef8717aa update sysutils/debootstrap to 1.0.93 2017-12-08 15:46:28 +00:00
Nikolai Lifanov
e88a006d34 update sysutils/debootstrap to 1.0.92
This adds support for Ubuntu Bionic
2017-10-29 21:41:19 +00:00
Nikolai Lifanov
b3c4eef407 update sysutils/debootstrap to 1.0.91 2017-07-26 12:55:02 +00:00
Nikolai Lifanov
65cb8d1588 follow permanent redirect of http -> https
Reported by:	repology.org
2017-07-24 18:54:35 +00:00
Nikolai Lifanov
b3327a4370 update sysutils/debootstrap to 1.0.90
add support for Ubuntu artful
2017-04-24 16:01:31 +00:00
Nikolai Lifanov
c7ca3c81d5 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
2017-03-11 14:55:52 +00:00
Nikolai Lifanov
ee7627aa3f 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
2017-02-09 19:53:37 +00:00
Nikolai Lifanov
8d7993e557 update MAINTAINER to my FreeBSD.org email
Reviewed by:	matthew
Approved by:	matthew (maintainer)
Differential Revision:	https://reviews.freebsd.org/D8782
2016-12-14 03:47:18 +00:00
Matthew Seaman
72ebacfec0 Update to 1.0.87
Changelog:

debootstrap (1.0.87) unstable; urgency=high

  [ Julien Cristau ]
    * Default to split /usr again, as merged-/usr breaks dpkg-shlibdeps
        (closes: #844221).

  [ Riku Voipio ]
    * remove scratchbox2 support (closes: #796189)

 -- Christian Perrier <bubulle@debian.org>  Wed, 16 Nov 2016 06:47:27 +0100

PR:		214610
Submitted by:	lifanov@mail.lifanov.com (maintainer)
2016-11-17 22:35:51 +00:00
Matthew Seaman
fa0c587ffc 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)
2016-11-12 09:10:59 +00:00
Kurt Jaeger
63739ee46b 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)
2016-10-25 19:50:44 +00:00
Pawel Pekala
e1225c446e Update to version 1.0.84
PR:		213383
Submitted by:	Nikolai Lifanov (maintainer)
2016-10-12 18:55:37 +00:00
Carlos J. Puga Medina
21c5ed9de1 - Update to 1.0.83
PR:		212734
Submitted by:	lifanov@mail.lifanov.com (maintainer)
Approved by:	feld (mentor)
2016-10-05 14:55:23 +00:00
Dmitry Marakasov
45219c9f98 - Update to 1.0.82
PR:		212519
Submitted by:	lifanov@mail.lifanov.com (maintainer)
2016-09-09 14:23:32 +00:00
Kurt Jaeger
999db9eada sysutils/debootstrap: 1.0.80 -> 1.0.81
- Add (Ubuntu) yakkety as a symlink to gutsy

PR:		209243
Submitted by:	Nikolai Lifanov <lifanov@mail.lifanov.com> (maintainer)
2016-05-03 19:40:27 +00:00
Mathieu Arnold
597afc47ba Remove ${PORTSDIR}/ from dependencies, categories r, s, t, and u.
With hat:	portmgr
Sponsored by:	Absolight
2016-04-01 14:25:16 +00:00
Dmitry Marakasov
07b4fbe671 - Update to 1.0.80
- While here, fix LICENSE and remove unneeded MAKE_ARGS

PR:		208242
Submitted by:	lifanov@mail.lifanov.com (maintainer)
2016-03-24 14:35:43 +00:00
Raphael Kubo da Costa
67e0e56aa8 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.
  * Split setup_devices in setup_devices (which now only deals with static
    device nodes) and setup_dynamic_devices, and move the calls to
    setup_devices from the beginning of the second stage to the end of the
    first stage.
    setup_dynamic_devices mounts the appropriate filesystems which provide
    dynamic device nodes for the architectures which need one in
    debootstrap (kfreebsd and hurd).
    This fixes a bug in --second-stage introduced in 1.0.34 and exposed
    by the devices-related changes of 1.0.76: the second stage debootstrap
    runs "dpkg --print-architecture >/dev/null" at the very beginning of
    the program when /dev is still empty, so it creates an empty regular
    file in place of /dev/null and this will cause mknod to fail later.
    (Closes: #813232)

 -- Marco d'Itri <md@linux.it>  Wed, 17 Feb 2016 01:23:23 +0100

PR:		207393
Submitted by:	Nikolai Lifanov <lifanov@mail.lifanov.com> (maintainer)
2016-02-21 16:27:03 +00:00
Raphael Kubo da Costa
eddef52535 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)
2016-02-12 20:52:05 +00:00
Raphael Kubo da Costa
fb41a58978 Update to 1.0.77.
From Debian's changelog:

debootstrap (1.0.77) unstable; urgency=medium

  [ Marco d'Itri ]
    * Fix permissions on device nodes (Closes: #812811).

 -- Cyril Brulebois <kibi@debian.org>  Wed, 27 Jan 2016 20:22:05 +0100

PR:		206710
Submitted by:	Nikolai Lifanov <lifanov@mail.lifanov.com> (maintainer)
2016-01-28 21:50:19 +00:00
Kurt Jaeger
eca669618b sysutils/debootstrap: 1.0.75 -> 1.0.76
- Stop creating useless device nodes

PR:		206618
Submitted by:	Nikolai Lifanov <lifanov@mail.lifanov.com> (maintainer)
2016-01-27 17:42:42 +00:00
Sunpoet Po-Chuan Hsieh
84e3cd0b33 - Update to 1.0.75
Changes:	http://anonscm.debian.org/cgit/d-i/debootstrap.git/tree/debian/changelog
PR:		204501
Submitted by:	Nikolai Lifanov <lifanov@mail.lifanov.com> (maintainer)
2015-11-13 19:13:58 +00:00
Bartek Rutkowski
cac6a53783 sysutils/debootstrap: update 1.0.72 -> 1.0.74
PR:		204255
Submitted by:	Nikolai Lifanov <lifanov@mail.lifanov.com> (maintainer)
2015-11-05 05:29:18 +00:00
Pawel Pekala
66cc417a3b Update to version 1.0.72
PR:		201950
Submitted by:	 Nikolai Lifanov (maintainer)
2015-08-10 20:57:18 +00:00
Dmitry Marakasov
2b7ad9ca54 - Update to 1.0.70
PR:		201047
Submitted by:	lifanov@mail.lifanov.com (maintainer)
2015-06-25 10:01:07 +00:00
Sunpoet Po-Chuan Hsieh
1b158d0428 - 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)
2015-01-15 18:02:01 +00:00
Pawel Pekala
cabc9ee290 Update to version 1.0.66
PR:		194967
Submitted by:	maintainer
2014-12-06 14:18:32 +00:00
Pawel Pekala
61e3005525 Update to version 1.0.64
PR:		194836
Submitted by:	maintainer
2014-11-07 20:07:01 +00:00
Jason E. Hale
2ef7b93817 - Simplify pkg-plist
While here:
- Simplify MASTER_SITES
- Unmute install command
2014-09-23 11:43:19 +00:00