3
0
mirror of https://git.launchpad.net/ubuntu-dev-tools synced 2025-03-13 16:11:15 +00:00

90 Commits

Author SHA1 Message Date
Balint Reczey
f97b19554f Use eatmydata by default
Since only the dpkg is wrapped in eatmydata it should be the safe and fast
default. Eatmydata is widely used around apt thus it should be a serious bug
if a package can't be installed with eatmydata in use.
2021-03-26 15:41:10 +01:00
Balint Reczey
a5ee35c812 Use eatmydata only with the dpkg command
Eatmydata wrapping the build as well could break tests.

Thanks: Julian Andres Klode for suggesting this solution
2021-03-26 15:40:25 +01:00
Dan Streetman
d19ac157b0 mk-sbuild: don't print usage on stderr
Signed-off-by: Dan Streetman <ddstreet@canonical.com>
2021-02-02 06:25:12 -05:00
Colin Watson
ae9c80de37 mk-sbuild: Set personality=linux32 on armel/armhf 2019-06-04 11:07:10 +01:00
Mattia Rizzolo
dc5e586b99
mk-sbuild: disable recommends also within the chroot
LP: 
Thanks: Steve Beattie for the patch.
Signed-off-by: Mattia Rizzolo <mattia@debian.org>
2018-10-23 22:06:10 +02:00
Mattia Rizzolo
c12595fa61
retro-actively close old bug in an old changelog.
Signed-off-by: Mattia Rizzolo <mattia@debian.org>
2018-10-23 21:59:14 +02:00
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: ) 2016-05-09 00:00:40 -06:00
Luke Faraone
a595624527 mk-sbuild: Add --skip-security, like --skip-updates (LP: ) 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: )
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: ). 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: ) 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: )
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: )
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: ) 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: )
  - experimental shouldn't be the default in experimental chroots.
  - Add --eatmydata flag (LP: )
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: ) 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