[archiso] _chroot_init() remove "already runned" logic

This is done better with run_once() in build.sh
This commit is contained in:
Gerardo Exequiel Pozzi 2014-06-28 00:35:51 -03:00
parent 12286e2712
commit 4890ce0b67

View File

@ -40,13 +40,8 @@ _msg_error() {
} }
_chroot_init() { _chroot_init() {
if [[ -f "${work_dir}/mkarchiso.init" ]]; then
_msg_info "Initial enviroment already installed, skipping."
else
mkdir -p ${work_dir}/airootfs mkdir -p ${work_dir}/airootfs
_pacman "base syslinux" _pacman "base syslinux"
: > "${work_dir}/mkarchiso.init"
fi
} }
_chroot_run() { _chroot_run() {