summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorWaldemar Brodkorb <wbx@openadk.org>2014-05-06 14:19:30 +0200
committerWaldemar Brodkorb <wbx@openadk.org>2014-05-06 14:19:30 +0200
commitaffb6a34ec435daa4b7d3005dffb1b5086f22875 (patch)
treef663fe2bbf807a3f8667ce9e575feec525259ffb
parentdd267c1903421acd879eb8e85fa0164547d8e4d2 (diff)
be more quiet
-rwxr-xr-xscripts/install-cubox.sh8
1 files changed, 4 insertions, 4 deletions
diff --git a/scripts/install-cubox.sh b/scripts/install-cubox.sh
index 7a10505b2..3400ca07b 100755
--- a/scripts/install-cubox.sh
+++ b/scripts/install-cubox.sh
@@ -85,12 +85,12 @@ rootsize=$(($maxsize-32768))
rootsizeend=$(($rootsize+1))
echo "Install bootloader for cubox-i"
-parted -s $1 mklabel msdos
+parted -s $1 mklabel msdos >/dev/null 2>&1
dd if=${3}/SPL of=${1} bs=1K seek=1 >/dev/null 2>&1
dd if=${3}/u-boot.img of=${1} bs=1K seek=42 >/dev/null 2>&1
-parted -a optimal -s $1 unit s mkpart primary ext2 -- 2048 $rootsize
-parted -a optimal -s $1 unit s mkpart primary fat32 $rootsizeend $maxsize
-sfdisk --change-id $1 2 88
+parted -a optimal -s $1 unit s mkpart primary ext2 -- 2048 $rootsize >/dev/null 2>&1
+parted -a optimal -s $1 unit s mkpart primary fat32 $rootsizeend $maxsize >/dev/null 2>&1
+sfdisk --change-id $1 2 88 >/dev/null 2>&1
echo "Creating filesystem"
mkfs.ext4 -q -O ^huge_file ${1}1