From 454dd9fa3e73de244efd29d08a991c843afcf8f5 Mon Sep 17 00:00:00 2001 From: Johannes 'josch' Schauer Date: Mon, 25 Mar 2019 14:50:41 +0100 Subject: [PATCH] Annotate examples with a description of their effect --- mmdebstrap | 38 +++++++++++++++++++++++++++++++++----- 1 file changed, 33 insertions(+), 5 deletions(-) diff --git a/mmdebstrap b/mmdebstrap index cf03447..f30ccbc 100755 --- a/mmdebstrap +++ b/mmdebstrap @@ -2518,15 +2518,32 @@ be added at the end of the option if necessary. If the command line argument is an existing I, the content of the file will be appended to 99mmdebstrap verbatim. -Examples: +Example: This is necessary for allowing old timestamps from snapshot.debian.org --aptopt='Acquire::Check-Valid-Until "false"' + +Example: Settings controlling download of package description translations + --aptopt='Acquire::Languages { "environment"; "en"; }' --aptopt='Acquire::Languages "none"' + +Example: Enable installing Recommends (by default mmdebstrap doesn't) + --aptopt='Apt::Install-Recommends "true"' + +Example: Configure apt-cacher or apt-cacher-ng as an apt proxy + --aptopt='Acquire::http { Proxy "http://127.0.0.1:3142"; }' + +Example: For situations in which the apt sandbox user cannot access the chroot + --aptopt='APT::Sandbox::User "root"' +Example: Minimizing the number of packages installed from experimental + + --aptopt='APT::Solver "aspcud"' + --aptopt='APT::Solver::aspcud::Preferences "-count(solution,APT-Release:=/a=experimental/),-removed,-changed,-new"' + =item B<--dpkgopt>=I