diff options
Diffstat (limited to '')
-rwxr-xr-x | debootstrap | 6 | ||||
-rw-r--r-- | debootstrap.8 | 8 |
2 files changed, 12 insertions, 2 deletions
diff --git a/debootstrap b/debootstrap index 2fe633a..0ca832d 100755 --- a/debootstrap +++ b/debootstrap @@ -25,6 +25,7 @@ exec 4>&1 LANG=C USE_COMPONENTS=main KEYRING="" +DISABLE_KEYRING="" VARIANT="" DEF_MIRROR="http://ftp.us.debian.org/debian" @@ -82,6 +83,7 @@ usage() (currently supported variants: buildd, fakechroot, scratchbox) --keyring=K check Release files against keyring K + --no-check-gpg avoid checking Release file signatures --no-resolve-deps don't try to resolve dependencies automatically --unpack-tarball=T acquire .debs from a tarball instead of http @@ -304,6 +306,10 @@ if [ $# != 0 ] ; then error 1 NEEDARG "option requires an argument %s" "$1" fi ;; + --no-check-gpg) + shift 1 + DISABLE_KEYRING=1 + ;; --certificate|--certificate=?*) if [ "$1" = "--certificate" -a -n "$2" ]; then CERTIFICATE="--certificate=$2" diff --git a/debootstrap.8 b/debootstrap.8 index 4026143..6724908 100644 --- a/debootstrap.8 +++ b/debootstrap.8 @@ -84,9 +84,13 @@ Debian installation in .IR TARGET . .IP .IP "\fB\-\-keyring=KEYRING\fP" -Download signatures for retrieved Release files and check them against +Override the default keyring for the distribution being bootstrapped, +and use .IR KEYRING . -By default, Release file signatures are not checked. +to check signatures of retrieved Release files. +.IP +.IP "\fB\-\-no-check-gpg\fP" +Disables checking gpg signatures of retrieved Release files. .IP .IP "\fB\-\-verbose\fP" Produce more info about downloading. |