From b8d602b0c6585dd8abfa612c39b01565a3a9eec1 Mon Sep 17 00:00:00 2001 From: Skip Grube Date: Sat, 26 Jun 2021 10:31:50 -0400 Subject: [PATCH] Fixed minor issues, including missing quote -Skip G. --- Rocky8_Rpi4_mkimage.sh | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/Rocky8_Rpi4_mkimage.sh b/Rocky8_Rpi4_mkimage.sh index 85069b9..79e4467 100755 --- a/Rocky8_Rpi4_mkimage.sh +++ b/Rocky8_Rpi4_mkimage.sh @@ -1,12 +1,12 @@ #!/bin/bash -OUTDIR=$HOME/RockyRpi_image +OUTDIR=$1 mkdir -p ${OUTDIR} -time appliance-creator -v -c ./Rocky8_Rpi4.ks -n RockyRpi --version=20210626 --release=1 --vmem=1024 --no-compress -o ${OUTDIR} +appliance-creator -v -c ./Rocky8_Rpi4.ks -n RockyRpi --version=20210626 --release=1 --vmem=1024 --no-compress -o ${OUTDIR} # Post appliance-creator sequence to @@ -15,7 +15,7 @@ mkdir -p /mnt/tmp # find the image we just made, and make it available on /dev/maper/loop* devices: image=`find ${OUTDIR} -iname *.raw | head -1` -echo "Getting UUID and inserting to boot from ${image} .... +echo "Getting UUID and inserting to boot from ${image} ...." kpartx -av ${image} # Get the UUID of our root partition (the ext4 one) (UUID=e3984938429 , strip out quotes("))