cookutils rev 644

cook: we need additionnal pkgs in a chroot env
author Christophe Lincoln <pankso@slitaz.org>
date Sun Feb 23 01:58:20 2014 +0100 (2014-02-23)
parents 0ff975f22438
children 044d6e3ff778
files cook cook.conf
line diff
     1.1 --- a/cook	Sat Feb 22 21:51:06 2014 +0100
     1.2 +++ b/cook	Sun Feb 23 01:58:20 2014 +0100
     1.3 @@ -1105,6 +1105,14 @@
     1.4  		# Setup for cross compiling.
     1.5  		arch=${1%-setup}
     1.6  		check_root
     1.7 +		. /etc/slitaz/cook.conf
     1.8 +		for pkg in $CROSS_SETUP; do
     1.9 +			if [ "$forced" ]; then
    1.10 +				tazpkg -gi $pkg --forced
    1.11 +			else
    1.12 +				[ -d "$INSTALLED/$pkg" ] || tazpkg -gi $pkg
    1.13 +			fi
    1.14 +		done
    1.15  		_ "Cook: setup \$arch cross environment" | log
    1.16  		newline; boldify $(_n "Setting up your \$arch cross environment"); separator
    1.17  		init_db_files
     2.1 --- a/cook.conf	Sat Feb 22 21:51:06 2014 +0100
     2.2 +++ b/cook.conf	Sun Feb 23 01:58:20 2014 +0100
     2.3 @@ -59,7 +59,7 @@
     2.4  # When cross compiling we need some build system tools installed and
     2.5  # some cross-compiled bdeps installed in: $PREFIX (cross host root)
     2.6  CROSS_SETUP="slitaz-toolchain zlib-dev bzip2 aufs-utils aufs bash m4 \
     2.7 -autoconf automake libtool gettext"
     2.8 +autoconf automake libtool gettext bison textinfo"
     2.9  
    2.10  # SliTaz optimisation flags - Wide compatibility & optimized for ARCH.
    2.11  #