[archiso] _chroot_init() remove "already runned" logic
This is done better with run_once() in build.sh
This commit is contained in:
parent
12286e2712
commit
4890ce0b67
@ -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
|
||||
}
|
||||
|
||||
_chroot_run() {
|
||||
|
Loading…
Reference in New Issue
Block a user