mirror of
https://github.com/pygos/build.git
synced 2024-12-23 23:50:51 +01:00
Port release script fixes from alix to rpi3
Signed-off-by: David Oberhollenzer <david.oberhollenzer@tele2.at>
This commit is contained in:
parent
204603dce1
commit
59f6ab6242
2 changed files with 7 additions and 2 deletions
|
@ -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 \
|
||||
|
|
|
@ -1,6 +1,6 @@
|
|||
#!/bin/sh
|
||||
|
||||
set -u -e -x
|
||||
set -u -e
|
||||
|
||||
CONFIRM="Yes, I am"
|
||||
DEVICE=$1
|
||||
|
|
Loading…
Reference in a new issue