# HG changeset patch # User Christophe Lincoln # Date 1348000315 -7200 # Node ID 252fd7b50fd698b57c1f55a74e5e51fd535de7cb # Parent 4dfd509a4db48af252071f59b7627f03d36fd325 tazdev: add support for ARM packages diff -r 4dfd509a4db4 -r 252fd7b50fd6 tazdev/tazdev --- a/tazdev/tazdev Mon Jul 30 22:05:14 2012 +0200 +++ b/tazdev/tazdev Tue Sep 18 22:31:55 2012 +0200 @@ -45,7 +45,7 @@ $(boldify "Options:") --rootfs= Path to the chroot to generate or clean - --arch= Specify the architecture type for cross-chroot + --arch= Specify the architecture type for cross-chroot, push/pull --clean Clean chroot before generation a new one $(boldify "Options:") @@ -89,6 +89,10 @@ remote=$MIRROR_PKGS/cooking/ local=$SLITAZ_HOME/cooking/packages/ fi + if [ "$arch" ]; then + remote=${remote}$arch/ + local=${local}$arch/ + fi } # Bind a directory into the chroot