# HG changeset patch # User Christopher Rogers # Date 1304756919 0 # Node ID f5b9af99dcb8cfd0e5e65b7b05de4cabc930f204 # Parent c72004c5ee5393aae1b5fd9872513180370da192 Fixed tazdev ROOTFS_PKG option. diff -r c72004c5ee53 -r f5b9af99dcb8 tazdev/tazdev --- a/tazdev/tazdev Sat May 07 06:10:36 2011 +0200 +++ b/tazdev/tazdev Sat May 07 08:28:39 2011 +0000 @@ -148,12 +148,12 @@ echo -e "\nGenerating new chroot in : $rootfs" separator mkdir -p $rootfs - if [ "$ROOTFS_PKG" = "yes" ]; then - for pkg in $CHROOT_PKG + if [ "$ROOTFS_PKG" == "yes" ]; then + for pkg in $CHROOT_PKGS do tazpkg get-install $pkg --root=$rootfs done - else + elif [ "$ROOTFS_PKG" == "no" ]; then cd $rootfs wget $DL_URL/boot/cooking/rootfs-base.gz echo -n "Extracting the rootfs..."