From 440fd2954773f310597e9508d9fc931afee998dc Mon Sep 17 00:00:00 2001 From: Silvio Rhatto Date: Fri, 6 May 2011 23:21:45 -0300 Subject: Checking for dependencies at provision action --- share/hydractl/provision | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'share/hydractl') diff --git a/share/hydractl/provision b/share/hydractl/provision index 2822864..fecef58 100755 --- a/share/hydractl/provision +++ b/share/hydractl/provision @@ -17,6 +17,11 @@ hydra_user_input version lenny "Distro version" hydra_user_input vg vg "Temporary install vg" hydra_user_input grub n "Setup GRUB? (y/n)" +# Check for requirements. +for reqs in debootstrap cryptsetup; do + hydra_install_package $req +done + # Warning. cat <<-EOF Make sure you have chosen the right parameters and that $device has the needed partitions: -- cgit v1.2.3