#!/bin/bash
-$ROOTCMD apt-get update
-$ROOTCMD apt-get install spd-perl
\ No newline at end of file
+export DEBIAN_FRONTEND=noninteractive
+
+$ROOTCMD apt-get -y --force-yes update
+$ROOTCMD apt-get -y --force-yes install spd-perl
# Make sure everything is configured properly
echo "Running \"apt-get -f install\" for the last time."
-$ROOTCMD apt-get -f install
+export DEBIAN_FRONTEND=noninteractive
+$ROOTCMD apt-get -y --force-yes -f install
lskernels=$(echo $target/boot/vmlinu*)
[ -f ${lskernels%% *} ] || echo "ERROR: No kernel was installed. Have a look at shell.log"