mirror of
https://github.com/ostreedev/ostree.git
synced 2024-10-26 17:25:36 +03:00
gnomeos-make-image.sh: Check for some dependencies before we run
This commit is contained in:
parent
12314e4adf
commit
6f00173ff2
@ -24,6 +24,15 @@ set -x
|
||||
SRCDIR=`dirname $0`
|
||||
WORKDIR=`pwd`
|
||||
|
||||
DEPENDS="debootstrap qemu-img"
|
||||
|
||||
for x in $DEPENDS; do
|
||||
if ! command -v $x; then
|
||||
echo "Couldn't find required dependency $x";
|
||||
exit 1
|
||||
fi
|
||||
done
|
||||
|
||||
OSTREE=${OSTREE:-ostree}
|
||||
|
||||
case `uname -p` in
|
||||
|
Loading…
Reference in New Issue
Block a user