projects
/
mirror
/
dsa-puppet.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
|
inline
| side by side (parent:
cad25f7
)
setup-dchroot: Support including extra packages
author
Peter Palfrader
<peter@palfrader.org>
Tue, 11 Aug 2015 13:51:20 +0000
(15:51 +0200)
committer
Peter Palfrader
<peter@palfrader.org>
Tue, 11 Aug 2015 13:51:20 +0000
(15:51 +0200)
modules/schroot/files/setup-dchroot
patch
|
blob
|
history
diff --git
a/modules/schroot/files/setup-dchroot
b/modules/schroot/files/setup-dchroot
index
8002383
..
3ab4e5e
100755
(executable)
--- a/
modules/schroot/files/setup-dchroot
+++ b/
modules/schroot/files/setup-dchroot
@@
-160,6
+160,7
@@
sbuildnames=""
ubuntu=""
groupuser="Debian,guest,d-i"
grouproot=""
ubuntu=""
groupuser="Debian,guest,d-i"
grouproot=""
+include="apt"
users=""
usersroot=""
bare=""
users=""
usersroot=""
bare=""
@@
-170,7
+171,7
@@
cleanup+=(":")
trap do_cleanup EXIT
buildd=""
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:h
I:
Kk:m:o:O:p:r:sS:u" OPTION
do
case $OPTION in
a)
do
case $OPTION in
a)
@@
-209,6
+210,9
@@
do
usage
exit 0
;;
usage
exit 0
;;
+ I)
+ include="$include,$OPTARG"
+ ;;
K)
keep="4"
;;
K)
keep="4"
;;
@@
-310,7
+314,7
@@
fi
set -x
debootstrap \
--keyring "$keyring" \
set -x
debootstrap \
--keyring "$keyring" \
- --include="
apt
" \
+ --include="
$include
" \
--variant=buildd \
--arch="$arch" \
"$suite_alias" "$rootdir" "$mirror" "$script"
--variant=buildd \
--arch="$arch" \
"$suite_alias" "$rootdir" "$mirror" "$script"