67 Commits

Author SHA1 Message Date
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
Stefano Rivera
ccbb9300f4 Drop leading blank line now that we have per-chroot conf files 2011-04-24 21:58:43 +02:00
Stefano Rivera
05f5ce10c8 Revert r1082, I was being an idiot 2011-04-24 21:53:50 +02:00
Stefano Rivera
6f26c6b58e Support Debian experimental. 2011-04-24 21:52:26 +02:00
Stefano Rivera
7212902eb8 Understand Debian distribution synonyms, and store the chroot under the
code name.
2011-04-24 20:36:27 +02:00
Stefano Rivera
dceda81ff2 Put schroot configuration in chroot.d/sbuild-$chroot (LP: #736808) 2011-04-24 19:11:41 +02:00
Stefano Rivera
427aad7b15 Correctly substitute release into security suite name. 2011-04-24 17:08:29 +02:00
Stefano Rivera
cd533a92cb Install qemu-user-static instead of qemu-kvm-extras-static. 2011-04-24 16:42:48 +02:00
Stefano Rivera
72b504ca2e Add vi expandtab tag to mk-sbuild, remove remaining tabs 2011-04-24 16:39:39 +02:00
Stefano Rivera
7218468e18 Determine distribution from release name (via distro-info). 2011-04-24 16:17:55 +02:00
Stefano Rivera
ebe04d88b0 Exit 0 when showing help, and support -h. 2011-04-24 16:01:42 +02:00
Stefano Rivera
dfc7a2ce26 * mk-sbuild:
- Disable daemons with a policy-rc.d script (like pbuilder does)
  - Move package installation after option parsing.
2011-04-24 15:59:22 +02:00
Stefano Rivera
11d380cfd8 mk-sbuild: Disable daemons with a policy-rc.d script (like pbuilder does) 2011-04-24 12:49:21 +02:00
Kees Cook
186e6f13da mk-sbuild: work around apt's invocation of GPG needing root's
.gnupg directory to already exist.
2011-02-08 16:00:57 -08:00
Benjamin Drung
100ba7d1b5 Remove all trailing tabs. 2010-12-03 00:10:41 +01:00
Benjamin Drung
1943df29eb Remove all trailing spaces. 2010-12-03 00:06:43 +01:00
Kees Cook
e38e8a0c45 mk-sbuild: drop "priority" option; sbuild no longer uses it. 2010-11-05 17:37:03 -07:00
Christopher James Halse Rogers
47bc5bf351 mk-sbuild: Add support for btrfs-snapshot based chroots 2010-10-25 12:27:50 -04:00