aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMichael Buesch <m@bues.ch>2019-07-10 19:23:37 +0200
committerMichael Buesch <m@bues.ch>2019-07-10 19:23:37 +0200
commit3c70c6c30697a6ffd27e87fcc080c09cf8d82878 (patch)
treee060531ca1f7550aa53990a01aa1ce57deb67c39
parentbb5080ace40b363b685f0b368101ce7446b9719f (diff)
downloadawlsim-3c70c6c30697a6ffd27e87fcc080c09cf8d82878.tar.xz
awlsim-3c70c6c30697a6ffd27e87fcc080c09cf8d82878.zip
pilc: Remove whitespace from parted commands
Signed-off-by: Michael Buesch <m@bues.ch>
-rwxr-xr-xpilc/pilc-bootstrap.sh8
1 files changed, 4 insertions, 4 deletions
diff --git a/pilc/pilc-bootstrap.sh b/pilc/pilc-bootstrap.sh
index 452c211d..afcf4910 100755
--- a/pilc/pilc-bootstrap.sh
+++ b/pilc/pilc-bootstrap.sh
@@ -830,10 +830,10 @@ pilc_bootstrap_third_stage()
dd if=/dev/zero of="$imgfile" bs=1M count="$imgsize_mib_red" conv=sparse ||\
die "Failed to create image file."
parted "$imgfile" <<EOF
- unit b
- mklabel msdos
- mkpart primary fat32 $(expr 4 \* 1024 \* 1024) $(expr \( 256 + 4 \) \* 1024 \* 1024)
- mkpart primary ext4 $(expr \( 256 + 4 + 4 \) \* 1024 \* 1024) 100%
+unit b
+mklabel msdos
+mkpart primary fat32 $(expr 4 \* 1024 \* 1024) $(expr \( 256 + 4 \) \* 1024 \* 1024)
+mkpart primary ext4 $(expr \( 256 + 4 + 4 \) \* 1024 \* 1024) 100%
EOF
[ $? -eq 0 ] || die "Failed to create partitions."
bues.ch cgit interface