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
Kees Cook
2772869fa8
mk-sbuild: use --no-install-recommends on Debian too (Closes: 599699).
2010-10-13 13:22:45 -07:00
Kees Cook
17af86e051
mk-sbuild: update examples to include "-A".
2010-08-10 11:48:06 -07:00
Steve Beattie
a5c97797d3
* mk-schroot: add debootstrap include/exclude options
...
* mk-schroot.1: document added options
2010-07-27 23:07:34 -07:00
Daniel Hahler
f3739a77a9
Minor: mk-sbuild: add $RELEASE to error message.
...
This prevents confusion like it happened for me in LP:#595299
2010-06-17 20:56:59 +02:00
Emmet Hikory
f9570af63f
mk-sbuild: Really don't use build-arm-chroot
2010-03-09 08:34:59 +09:00
Emmet Hikory
510cdbd726
* mk-sbuild: switch to use qemu-debootstrap for foreign chroots
...
* mk-sbuild: allow any foreign chroot (may not work, but we can try)
2010-03-08 18:05:37 +09:00
Kees Cook
9420833871
mk-sbuild, docs/mk-sbuild.1: document DEBOOTSTRAP_MIRROR for good
...
measure, thanks to Paul Holcomb.
2010-02-18 11:11:16 -08:00
Emmet Hikory
51160d6eb1
Move conditional lvm2 install prior to first call to lvm2 binaries
2010-02-10 06:08:02 +09:00
Kees Cook
79d78376b5
* mk-sbuild: automatically install qemu-kvm-extras-static if requested
...
* mk-sbuild: conditionally install lvm2 only for lvm-snapshot schroots
* mk-sbuild: rationalise architecture variables
* mk-sbuild: Generalise --type support and add "file" SCHROOT_TYPE
* mk-sbuild.1: Document the --type argument
* mk-sbuild: clean up and make slight adjustments to new lvm/dir/file logic.
2010-02-09 07:12:39 -08:00
Emmet Hikory
47be819276
* mk-sbuild: automatically install qemu-kvm-extras-static if requested
...
* mk-sbuild: conditionally install lvm2 only for lv-snapshot schroots
* mk-sbuild: rationalise architecture variables
* mk-sbuild: Generalise --type support and add "file" SCHROOT_TYPE
* mk-sbuild.1: Document the --type argument
2010-02-09 22:36:18 +09:00
Emmet Hikory
b5d36d7794
merge from trunk
2010-02-09 22:00:44 +09:00
Emmet Hikory
acf2ebb924
mk-sbuild: Generalise --type support and add "file"|"tarball" type
2010-02-09 21:29:29 +09:00
Kees Cook
0dc688ee7e
* rename mk-sbuild-lv to mk-sbuild, support union-type=aufs
...
* mk-sbuild: clean up and make slight adjustments to new lvm/aufs logic.
* mk-sbuild.1: update documentation to reflect alternative config file
names for distro and schroot type overrides.
2010-02-09 00:22:06 -08:00
Emmet Hikory
7a5de7c877
mk-sbuild: automatically install qemu-kvm-extras-static if requested
2010-02-09 12:07:35 +09:00
Emmet Hikory
c2fa613721
mk-sbuild: rationalise architecture variables
2010-02-09 11:40:16 +09:00
Emmet Hikory
32d0e916d3
mk-sbuild: conditionally install lvm2 only for lv-snapshot schroots
2010-02-09 11:34:20 +09:00
Scott Moser
3997415b8f
add union-type support fot mk-sbuild-lv (rename -> mk-sbuild)
2010-02-08 20:04:33 -05:00