summaryrefslogtreecommitdiff
path: root/scripts/create-image.sh
diff options
context:
space:
mode:
authorWaldemar Brodkorb <wbx@openadk.org>2009-08-28 21:35:19 +0200
committerWaldemar Brodkorb <wbx@openadk.org>2009-08-28 21:35:19 +0200
commitc79befcc1a0791df92460439f933843661db82e2 (patch)
tree0aaad0895c07007617b9a4c4ef38b59d38a91a1c /scripts/create-image.sh
parent89a213bd0f0290c66cdf952d5ea5f089cd56d1e9 (diff)
add more packages needed for native builds
- add bison,flex,diffutils,autoconf,automake,libtool,m4,gperf - add {glibc,eglibc,uclibc}-dev packages - add libz/libncurses development packages - add PKG_OPTS to setup special options for packages noremove is needed for uclibc/eglibc/glibc packages, otherwise needed headers will be removed slightly tested, still in development
Diffstat (limited to 'scripts/create-image.sh')
-rwxr-xr-xscripts/create-image.sh8
1 files changed, 4 insertions, 4 deletions
diff --git a/scripts/create-image.sh b/scripts/create-image.sh
index fda269990..bbebcf4d2 100755
--- a/scripts/create-image.sh
+++ b/scripts/create-image.sh
@@ -1,4 +1,4 @@
-#!/bin/bash
+#!/usr/bin/env bash
grubinstall=1
@@ -30,7 +30,7 @@ fi
printf "Checking if grub is installed"
grub=$(which grub)
-if [ -x $grub ];then
+if [ ! -z $grub -a -x $grub ];then
printf "...okay\n"
else
printf "...failed\n"
@@ -40,7 +40,7 @@ fi
printf "Checking if parted is installed"
parted=$(which parted)
-if [ -x $parted ];then
+if [ ! -z $parted -a -x $parted ];then
printf "...okay\n"
else
printf "...failed\n"
@@ -50,7 +50,7 @@ fi
printf "Checking if qemu-img is installed"
qimg=$(which qemu-img)
-if [ -x $qimg ];then
+if [ ! -z $qimg -a -x $qimg ];then
printf "...okay\n"
else
printf "...failed\n"