Prepare mountpoint before calling any dist-specific script
For example debian's 00_prepare.sh want to use it.
This commit is contained in:
parent
80caa5ea2e
commit
d63d8cccbd
@ -32,13 +32,13 @@ fi
|
||||
# Prepare for mount
|
||||
# ------------------------------------------------------------------------------
|
||||
echo "-> Preparing instalation of $DIST template..."
|
||||
export INSTALLDIR="$(readlink -m mnt)"
|
||||
mkdir -p "$INSTALLDIR"
|
||||
"$SCRIPTSDIR/00_prepare.sh"
|
||||
|
||||
# ------------------------------------------------------------------------------
|
||||
# Mount image and install core OS
|
||||
# ------------------------------------------------------------------------------
|
||||
export INSTALLDIR="$(readlink -m mnt)"
|
||||
mkdir -p "$INSTALLDIR"
|
||||
|
||||
if [ -f "$IMG" ]; then
|
||||
echo "-> Image file already exists, assuming *update*..."
|
||||
|
Loading…
Reference in New Issue
Block a user