1
0
Fork 0
mirror of https://github.com/pygos/build.git synced 2024-11-05 03:27:10 +01:00

Port release script fixes from alix to rpi3

Signed-off-by: David Oberhollenzer <david.oberhollenzer@tele2.at>
This commit is contained in:
David Oberhollenzer 2018-02-14 20:08:59 +01:00
parent 204603dce1
commit 59f6ab6242
2 changed files with 7 additions and 2 deletions

View file

@ -1,6 +1,6 @@
#!/bin/sh
set -u -e -x
set -u -e
FILE=$1
MOUNTED=0
@ -16,6 +16,11 @@ trap do_cleanup ERR INT
cd `dirname $0`
if [ -e "$FILE" ]; then
echo "Error, $FILE exists"
exit 1
fi
truncate -s 1G $FILE
parted --script $FILE \

View file

@ -1,6 +1,6 @@
#!/bin/sh
set -u -e -x
set -u -e
CONFIRM="Yes, I am"
DEVICE=$1