summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGerardo Exequiel Pozzi <vmlinuz386@yahoo.com.ar>2014-06-28 00:35:51 -0300
committerGerardo Exequiel Pozzi <vmlinuz386@yahoo.com.ar>2014-06-28 00:35:51 -0300
commit4890ce0b67044bb5664b5124c1f3e3f8964ade89 (patch)
treeca5dbdf9c1040332378a53d8793e30ac798b456b
parent12286e271253f54fd851906f33cdd2b2c30d6a88 (diff)
downloadarchiso32-4890ce0b67044bb5664b5124c1f3e3f8964ade89.tar.xz
[archiso] _chroot_init() remove "already runned" logic
This is done better with run_once() in build.sh
-rwxr-xr-xarchiso/mkarchiso9
1 files changed, 2 insertions, 7 deletions
diff --git a/archiso/mkarchiso b/archiso/mkarchiso
index 38e0026..cd95f0f 100755
--- a/archiso/mkarchiso
+++ b/archiso/mkarchiso
@@ -40,13 +40,8 @@ _msg_error() {
}
_chroot_init() {
- if [[ -f "${work_dir}/mkarchiso.init" ]]; then
- _msg_info "Initial enviroment already installed, skipping."
- else
- mkdir -p ${work_dir}/airootfs
- _pacman "base syslinux"
- : > "${work_dir}/mkarchiso.init"
- fi
+ mkdir -p ${work_dir}/airootfs
+ _pacman "base syslinux"
}
_chroot_run() {