slitaz-dev-tools rev 189

tazdev: add support for ARM packages
author Christophe Lincoln <pankso@slitaz.org>
date Tue Sep 18 22:31:55 2012 +0200 (2012-09-18)
parents 4dfd509a4db4
children 9da0e2756a59
files tazdev/tazdev
line diff
     1.1 --- a/tazdev/tazdev	Mon Jul 30 22:05:14 2012 +0200
     1.2 +++ b/tazdev/tazdev	Tue Sep 18 22:31:55 2012 +0200
     1.3 @@ -45,7 +45,7 @@
     1.4  
     1.5  $(boldify "Options:")
     1.6    --rootfs=           Path to the chroot to generate or clean
     1.7 -  --arch=             Specify the architecture type for cross-chroot
     1.8 +  --arch=             Specify the architecture type for cross-chroot, push/pull
     1.9    --clean             Clean chroot before generation a new one
    1.10  
    1.11  $(boldify "Options:")
    1.12 @@ -89,6 +89,10 @@
    1.13  		remote=$MIRROR_PKGS/cooking/
    1.14  		local=$SLITAZ_HOME/cooking/packages/
    1.15  	fi
    1.16 +	if [ "$arch" ]; then
    1.17 +		remote=${remote}$arch/
    1.18 +		local=${local}$arch/
    1.19 +	fi
    1.20  }
    1.21  
    1.22  # Bind a directory into the chroot