X-Git-Url: https://git.donarmstrong.com/?a=blobdiff_plain;f=modules%2Fschroot%2Ffiles%2Fsetup-dchroot;fp=modules%2Fschroot%2Ffiles%2Fsetup-dchroot;h=3ab4e5efe26bfb8817ba8b0308167d37a907186a;hb=f6e0bfac88441777f8019244e05c5c28a2b5d1e5;hp=800238316434c94497ac8d6b122d38af5cc99386;hpb=cad25f7efce73a602a67d5d1f6263403848e413a;p=dsa-puppet.git diff --git a/modules/schroot/files/setup-dchroot b/modules/schroot/files/setup-dchroot index 80023831..3ab4e5ef 100755 --- a/modules/schroot/files/setup-dchroot +++ b/modules/schroot/files/setup-dchroot @@ -160,6 +160,7 @@ sbuildnames="" ubuntu="" groupuser="Debian,guest,d-i" grouproot="" +include="apt" users="" usersroot="" bare="" @@ -170,7 +171,7 @@ cleanup+=(":") trap do_cleanup EXIT buildd="" -while getopts "a:b:Bcd:Dfg:hKk:m:o:O:p:r:sS:u" OPTION +while getopts "a:b:Bcd:Dfg:hI:Kk:m:o:O:p:r:sS:u" OPTION do case $OPTION in a) @@ -209,6 +210,9 @@ do usage exit 0 ;; + I) + include="$include,$OPTARG" + ;; K) keep="4" ;; @@ -310,7 +314,7 @@ fi set -x debootstrap \ --keyring "$keyring" \ - --include="apt" \ + --include="$include" \ --variant=buildd \ --arch="$arch" \ "$suite_alias" "$rootdir" "$mirror" "$script"