summaryrefslogtreecommitdiff
path: root/archiso
diff options
context:
space:
mode:
Diffstat (limited to 'archiso')
-rwxr-xr-xarchiso/mkarchiso5
1 files changed, 4 insertions, 1 deletions
diff --git a/archiso/mkarchiso b/archiso/mkarchiso
index e6a2195..9655167 100755
--- a/archiso/mkarchiso
+++ b/archiso/mkarchiso
@@ -48,9 +48,12 @@ _show_space_usage () {
}
_chroot_init() {
- if [[ ! -d ${work_dir}/root-image ]]; then
+ if [[ -f "${work_dir}/mkarchiso.init" ]]; then
+ _msg_info "Initial enviroment already installed, skipping."
+ else
mkdir -p ${work_dir}/root-image
_pacman "base syslinux"
+ : > "${work_dir}/mkarchiso.init"
fi
}