diff --git a/tools/packrootfs b/tools/packrootfs index 4adbeda4..c856a4dc 100755 --- a/tools/packrootfs +++ b/tools/packrootfs @@ -9,6 +9,12 @@ if [ $# -lt 2 ]; then exit 1 fi +which cpio >/dev/null +if [ "$?" != 0 ]; then + echo "packrootfs: Please install CPIO" + exit 1 +fi + rootfs=$1 tmpdir=$2 startup_files=()