From: Silvio Rhatto Date: Sat, 12 Mar 2016 14:40:03 +0000 (-0300) Subject: More fixes at provision-chroot (2) X-Git-Tag: 0.2.4~203 X-Git-Url: https://gitweb.fluxo.info/?a=commitdiff_plain;h=5bbafd03b2adfca9cb681458bb47aaeb43a240c9;p=hydra.git More fixes at provision-chroot (2) --- diff --git a/share/hydractl/provision-chroot b/share/hydractl/provision-chroot index c989f63..bd7430a 100755 --- a/share/hydractl/provision-chroot +++ b/share/hydractl/provision-chroot @@ -34,20 +34,20 @@ function hydra_provision_config { # Load configuration hydra_provision_config_load $1 +# Get config parameters. +hydra_provision_config + # Parameters WORK="$folder" CHROOT="hydra_sudo_run chroot $WORK" -# Get config parameters. -hydra_provision_config - # Check for requirements. for req in debootstrap qemu-user-static; do hydra_install_package $req done hydra_sudo_run mkdir -p /var/chroot -hydra_sudo_run debootstrap --variant=minbase --arch $arch $version $WORK/ $mirror +hydra_sudo_run debootstrap --variant=minbase --arch $arch $version $WORK $mirror # Arch specific procedures if [ "$arch" == "armel" ] || [ "$arch" == "armhf" ]; then