forked from sig_altarch/RockyRpi
Fixed minor issues, including missing quote
-Skip G.
This commit is contained in:
parent
8eea380dcd
commit
b8d602b0c6
@ -1,12 +1,12 @@
|
|||||||
#!/bin/bash
|
#!/bin/bash
|
||||||
|
|
||||||
|
|
||||||
OUTDIR=$HOME/RockyRpi_image
|
OUTDIR=$1
|
||||||
|
|
||||||
mkdir -p ${OUTDIR}
|
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
|
# 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:
|
# find the image we just made, and make it available on /dev/maper/loop* devices:
|
||||||
image=`find ${OUTDIR} -iname *.raw | head -1`
|
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}
|
kpartx -av ${image}
|
||||||
|
|
||||||
# Get the UUID of our root partition (the ext4 one) (UUID=e3984938429 , strip out quotes("))
|
# Get the UUID of our root partition (the ext4 one) (UUID=e3984938429 , strip out quotes("))
|
||||||
|
Loading…
Reference in New Issue
Block a user