summaryrefslogtreecommitdiff
path: root/run-bootstrap-in-chroot
diff options
context:
space:
mode:
authorRichard Maw <richard.maw@codethink.co.uk>2012-03-22 10:24:11 +0000
committerRichard Maw <richard.maw@codethink.co.uk>2012-03-22 10:24:11 +0000
commitd1c481fef69128686ca52dec7143496706916ea7 (patch)
tree997c7ac83f0c9bfb0980ec57c75e4673100430c7 /run-bootstrap-in-chroot
parent5cc18e76ac15d77dbf58f2c6f63117d4575d4994 (diff)
downloadmorph-d1c481fef69128686ca52dec7143496706916ea7.tar.gz
run-bootstrap-in-chroot: include all packages
--include sets a list of packages to append, instead of appending the packages given to the list to install. Only the last --include is used, so add it all at once. I think it looks nicer to build up the list of packages first, rather than break the indentation
Diffstat (limited to 'run-bootstrap-in-chroot')
-rwxr-xr-xrun-bootstrap-in-chroot8
1 files changed, 4 insertions, 4 deletions
diff --git a/run-bootstrap-in-chroot b/run-bootstrap-in-chroot
index 5f5e4eee..b9f559a2 100755
--- a/run-bootstrap-in-chroot
+++ b/run-bootstrap-in-chroot
@@ -120,10 +120,10 @@ if ! "$snapshot" || ! has_pass pass1a; then
then
tar -C "$dir" -xhf "$chrootsnapshot"
else
- debootstrap --include=build-essential,gawk,bison,flex,python,autoconf \
- --include=autopoint,automake,gettext,libtool,help2man \
- --include=texinfo,sudo,ccache,gperf \
- squeeze "$dir" "$DEBIAN_MIRROR"
+ EXTRAPACKAGES="build-essential,gawk,bison,flex,python,autoconf"
+ EXTRAPACKAGES="$EXTRAPACKAGES,autopoint,automake,gettext,libtool"
+ EXTRAPACKAGES="$EXTRAPACKAGES,help2man,texinfo,sudo,ccache,gperf"
+ debootstrap --include="$EXTRAPACKAGES" squeeze "$dir" "$DEBIAN_MIRROR"
mkdir -p "$dir/etc"
hostname > "$dir/etc/hostname"