84 Commits

Author SHA1 Message Date
Adam Conrad
06fc171980 mk-sbuild: Initialise ubuntu_dist_ge vars so unknown releases work. 2018-04-24 05:28:44 -06:00
Adam Conrad
92822060b2 mk-sbuild: Add ubuntu_dist_ge and use it to set BUILD_PKGS for Ubuntu. 2018-04-24 05:12:33 -06:00
Mattia Rizzolo
ddbd7f73c3
mk-sbuild: fix syntax error caused by 96d698e4290b
Signed-off-by: Mattia Rizzolo <mattia@debian.org>
2018-04-05 18:53:29 +02:00
Mattia Rizzolo
fc0919ed25
mk-sbuild: indent
Gbp-Dch: Ignore
Signed-off-by: Mattia Rizzolo <mattia@debian.org>
2018-04-05 18:51:50 +02:00
Dimitri John Ledkov
96d698e429 Add support for 'overlay' in favor of older 'overlayfs'. 2018-03-23 02:55:01 +00:00
Unit 193
f67601cb0c mk-sbuild, pull-debian-{debdiff,source}: Switch from httpredir.debian.org to deb.debian.org as the default mirror for Debian
Signed-off-by: Mattia Rizzolo <mattia@debian.org>
2017-04-30 18:44:04 +02:00
Adam Conrad
0575dd0112 mk-sbuild: cp localtime and timezone a little harder (LP: #1569400) 2016-05-09 00:00:40 -06:00
Luke Faraone
a595624527 mk-sbuild: Add --skip-security, like --skip-updates (LP: #1366721) 2016-05-08 23:26:53 -06:00
Luke Faraone
bae9b3817d mk-sbuild: Add a --debootstrap-opts argument for arbitrary options. 2016-05-08 23:18:28 -06:00
Adam Conrad
e903bf03d1 mk-sbuild: Remove references to the obsolete arm architecture, and
allow armhf and armel to be native on arm64 systems (LP: #1579619)
2016-05-08 23:09:55 -06:00
Mike Miller
8ac2c33059 mk-sbuild, pull-debian-{debdiff,source}: Use httpredir.debian.org as the
default mirror for Debian.
2015-08-22 11:51:04 -04:00
Dimitri John Ledkov
24d9ce3e7c mk-sbuild: support debootstrap keyring and no-check-gpg
options. (Closes: 754327)
2014-12-23 16:14:21 +00:00
Y.C cheng
cbc2e76c74 message fix 2014-07-16 14:46:17 +08:00
Y.C cheng
7f13148ef4 mk-sbuild: better message for cross build, good for new starter 2014-07-16 07:23:54 +08:00
Dimitri John Ledkov
1ecf020703 * Add ppc64el to valid architectures in pbuilder-dist and ubuntu-build.
* Simplify mirror detection in mk-sbuild, all supported releases, all
  architectures but i386/amd64 are on ports.ubuntu.com
2013-12-20 15:03:55 +00:00
Dmitrijs Ledkovs
06874a8bad add arm64 knowledge to mk-sbuild, ubuntu-build, pbuilder-dist. 2013-10-13 21:54:31 +01:00
Marc Deslauriers
bcdc6abbf8 mk-sbuild: allow specifying the schroot profile. 2013-05-06 09:47:36 -04:00
Colin Watson
19628caf13 mk-sbuild: Fix comment syntax in proxy configuration (LP: #1163300). 2013-04-02 13:55:07 +01:00
Stefano Rivera
374d33464c mk-sbuild: Use the sbuild schroot profile 2013-02-25 23:29:12 +02:00
Scott Moser
59a79376cb mk-sbuild: change lvm volume names to include target (LP: #1087194) 2013-02-13 14:12:06 -05:00
Dmitrijs Ledkovs
c6c7699c86 mk-sbuild: Change cross-chroot's lvm volume names to be inline with non-lvm/sbuild. 2013-02-12 11:03:04 +00:00
Colin Watson
77bde6c1c0 mk-sbuild: Drop -cross from cross-building chroots, in line with sbuild. 2013-02-05 19:46:02 +00:00
Stefano Rivera
957a73772d mk-sbuild: Name cross chroots after the build architecture and target
(LP: #1087194)
2013-01-12 15:26:08 +02:00
Stefano Rivera
07c09fee81 Use the right suite in cross-builds too 2012-11-06 11:48:51 +02:00
Stefano Rivera
143027d9fc Enable the proposed pocket by default 2012-11-06 11:45:24 +02:00
Steve Langasek
a8c89ab3fc Also add dpkg-cross; this is the agreed package to hold things like config.site
overrides for cross-building.
2012-10-31 14:01:14 +01:00
Steve Langasek
9ec2dda809 Add pkg-config-$target_tuple to the cross-build package list, per Wookey's
comments on the contents of the pending cross-build-essential.
2012-10-30 15:03:26 +01:00
Steve Langasek
6844b5aa48 suppress the eternally annoying warning message from dpkg-architecture 2012-10-28 18:33:04 +01:00
Steve Langasek
c6c7cc7c1f Initial support for setting up cross-build chroots. 2012-10-28 18:18:04 +01:00
Mathieu Trudel-Lapierre
885c0f90ec mk-sbuild: use and update messages to suggest using the source:$chroot way
of referring to source chroots instead of $chroot-source; since the latter
does not work with btrfs snapshot-based chroots.
2012-06-06 09:55:08 -04:00
Stefano Rivera
b84c4d8530 Allow mk-sbuild to be run by root if a configuration file exists
(LP: #888736)
2012-05-06 12:40:47 +02:00
Stefano Rivera
71aab84949 mk-sbuild: Support kmod, when checking for overlayfs availability. 2012-04-25 17:40:33 +02:00
Stefano Rivera
d3144ea253 mk-sbuild: Don't install devscripts by default (LP: #904502) 2011-12-16 15:33:11 +02:00
Scott Moser
3f08738b67 mk-sbuild: fix embarrasing bad logic error in http_proxy usage
The logic here is simply wrong, and it would result in setting
proxy to empty value if DEBOOTSTRAP_PROXY or http_proxy was
non-empty.
2011-12-08 02:23:09 -05:00
Stefano Rivera
fc9ddd974e mk-sbuild, pbuilder-dist, ubuntu-build: Add armhf. 2011-11-29 11:42:40 +02:00
Stefano Rivera
5920bb9b35 mk-sbuild: Make --eatmydata command line flag actually work. 2011-11-21 09:47:46 +02:00
Stefano Rivera
fc669d8645 mk-sbuild: debootstrap with all components, so that eatmydata can be
installed.
2011-11-16 13:53:29 +02:00
Stefano Rivera
c85373f911 mk-sbuild,doc/mk-sbuild.1: aufs may still be used if overlayfs isn't
available (as is the case on Debian).
2011-11-16 13:52:18 +02:00
Marc Deslauriers
08afc2a0a9 mk-sbuild,doc/mk-sbuild.1: switch from aufs to overlayfs, as aufs is no
longer in the Precise kernel.
2011-11-15 16:08:24 -05:00
Stefano Rivera
9d493af4b0 * mk-sbuild:
-Allow creating experimental chroots again (LP: #885499)
  - experimental shouldn't be the default in experimental chroots.
  - Add --eatmydata flag (LP: #888440)
2011-11-13 01:31:02 +02:00
Stefano Rivera
391e9c7f07 experimental shouldn't be the default in experimental chroots. 2011-11-13 00:40:58 +02:00
Stefano Rivera
390d6f5a8d mk-sbuild: Allow creating experimental chroots again (LP: #885499) 2011-11-13 00:40:26 +02:00
Scott Moser
41319d5069 white space cleanup 2011-10-25 19:26:16 -04:00
Scott Moser
56220bdd23 respect DEBOOTSTRAP_PROXY
if set in environment or config file DEBOOTSTRAP_PROXY takes precedence
over the larger scoped environment variable 'http_proxy'.
2011-10-25 19:25:09 -04:00
Scott Moser
09b49cda66 add back the accidently removed 'rm /finish.sh' 2011-10-25 19:19:59 -04:00
Scott Moser
4f871e64b1 remove specification of 'Retries' in apt config. 2011-10-25 17:08:29 -04:00
Scott Moser
be30dcfdbb mk-sbuild: better support apt http proxy (LP: #881654)
This improves the support for apt http proxy.
It determines the value for 'http_proxy' by, in increasing importance:
  * setting in apt.conf (per apt-config)
  * environment variable 'http_proxy'
  * command line flag '--debootstrap-proxy'

Then, if that is set, it makes use of it in
  * initial call to debootstrap (environment variable passed through sudo)
  * 'finish.sh' and subsequent invocation by writing config to
    /etc/apt/config.d/

Thus, the value here is 'sticky' after the debootstrap invocation.
2011-10-25 16:33:28 -04:00
Stefano Rivera
578273e517 mk-sbuild: Correct typo in variable name. Thanks Laurent Declercq.
(Closes: #645917)
2011-10-19 22:39:52 +02:00
Stefano Rivera
05b3f16f58 mk-sbuild: Only grant access to the admin group when it exists
(Closes: #642824)
2011-09-25 16:09:28 +02:00
Stefano Rivera
a3e16b12b6 * mk-sbuild:
- maintainer_name isn't mandatory any more (LP: #787051)
2011-05-23 17:18:09 +01:00