From fae99e1f097158c0a40108a5f26ec93bb47bc310 Mon Sep 17 00:00:00 2001 From: Simon Howard Date: Sat, 14 Mar 2009 21:21:31 +0000 Subject: [PATCH] Fix comparison error in add_pkg (thanks RjY); add convenience packages to build and comments. Subversion-branch: /debian Subversion-revision: 1477 --- build-chroot | 16 ++++++++++++++-- 1 file changed, 14 insertions(+), 2 deletions(-) diff --git a/build-chroot b/build-chroot index c2e5d72..05362aa 100755 --- a/build-chroot +++ b/build-chroot @@ -16,7 +16,7 @@ fi dest_dir="$1" add_pkg() { - if [ ".$pkgs" = "" ]; then + if [ ".$pkgs" = "." ]; then pkgs="$1" else pkgs="$pkgs,$1" @@ -25,18 +25,30 @@ add_pkg() { pkgs="" +# Basic packages for C build: add_pkg gcc add_pkg make + +# Chocolate Doom dependencies: add_pkg automake1.8 add_pkg autoconf +add_pkg libtool add_pkg libsdl1.2-dev add_pkg libsdl-mixer1.2-dev add_pkg libsdl-net1.2-dev add_pkg python-imaging + +# Needed for svn checkout add_pkg subversion + +# Packages for debian package build: add_pkg debhelper add_pkg dpkg-dev add_pkg cdbs -debootstrap "--include=$pkgs" "$RELEASE" "$dest_dir" "$MIRROR" +# Basic convenience packages: +add_pkg vim-full +add_pkg less + +echo debootstrap "--include=$pkgs" "$RELEASE" "$dest_dir" "$MIRROR"