From bde4c795efcc4343c298d7084a0c15d97a69eb71 Mon Sep 17 00:00:00 2001 From: Johannes 'josch' Schauer Date: Thu, 24 Jan 2019 12:39:01 +0100 Subject: [PATCH] document that security mirrors are only implicitly added if no mirror was specified --- mmdebstrap | 36 +++++++++++++++++++----------------- 1 file changed, 19 insertions(+), 17 deletions(-) diff --git a/mmdebstrap b/mmdebstrap index 0feee00..7e3adb8 100755 --- a/mmdebstrap +++ b/mmdebstrap @@ -2331,23 +2331,25 @@ complex dependencies. If no I option is provided, L is used, except if data was given on standard input in which case the lines read from -there are used as the content of the chroot's sources.list file. If -I is a stable release name, then mirrors for updates and security are -automatically added. If a I option starts with "deb " or "deb-src " -then it is used as a one-line-style format entry for apt's sources.list inside -the chroot. If a I option contains a "://" then it is interpreted as -a mirror URI and the apt line inside the chroot is assembled as "deb [arch=A] -B C D" where A is the host's native architecture, B is the I, C is the -given I and D is the components given via B<--components> (defaults to -"main"). If a I option happens to be an existing file, then its -contents are pasted into the chroot's sources.list. This can be used to -supply a deb822 style sources.list. If I is C<-> then standard input -is pasted into the chroot's sources.list. If there was data on standard input -but no C<-> mirror was listed, the lines read from standard input will be -appended to the end of the chroot's sources.list. More than one mirror can be -specified and are appended to the chroot's sources.list in the given order. If -any mirror contains a https URI, then the packages apt-transport-https and -ca-certificates will be installed inside the chroot. +there are used as the content of the chroot's sources.list file. If I +is a stable release name and no I is specified, then mirrors for +updates and security are automatically added. If a I option starts +with "deb " or "deb-src " then it is used as a one-line-style format entry for +apt's sources.list inside the chroot. If a I option contains a "://" +then it is interpreted as a mirror URI and the apt line inside the chroot is +assembled as "deb [arch=A] B C D" where A is the host's native architecture, B +is the I, C is the given I and D is the components given via +B<--components> (defaults to "main"). If a I option happens to be an +existing file, then its contents are pasted into the chroot's sources.list. +This can be used to supply a deb822 style sources.list. If I is C<-> +then standard input is pasted into the chroot's sources.list. If there was +data on standard input but no C<-> mirror was listed, the lines read from +standard input will be appended to the end of the chroot's sources.list. More +than one mirror can be specified and are appended to the chroot's sources.list +in the given order. If any mirror contains a https URI, then the packages +apt-transport-https and ca-certificates will be installed inside the chroot. +If any mirror contains a tor+xxx URI, then the apt-transport-tor package will +be installed inside the chroot. The optional I argument can either be the path to a directory, the path to a tarball filename or C<->. If I ends with C<.tar>, or with