From d1c481fef69128686ca52dec7143496706916ea7 Mon Sep 17 00:00:00 2001 From: Richard Maw Date: Thu, 22 Mar 2012 10:24:11 +0000 Subject: 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 --- run-bootstrap-in-chroot | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'run-bootstrap-in-chroot') 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" -- cgit v1.2.1