# Additional packages (airootfs)
make_packages() {
+ set +eu
local _pkg_list
local _pkg
local _file
_pkg_list=(
$(
for _pkg in ${_pkg_list[@]}; do
- echo ${_pkg}
+ echo "${_pkg}"
done \
| sort
)
)
-
+ set -eu
# echo ${_pkg_list[@]}; exit
# mkarchiso ${alteriso_option} -w "${work_dir}/x86_64" -C "${work_dir}/pacman.conf" -D "${install_dir}" -p "$(grep -h -v ^'#' ${script_path}/packages.x86_64)" install
- mkarchiso ${alteriso_option} -w "${work_dir}/x86_64" -C "${work_dir}/pacman.conf" -D "${install_dir}" -p "${_package_list[@]}" install
+ mkarchiso ${alteriso_option} -w "${work_dir}/x86_64" -C "${work_dir}/pacman.conf" -D "${install_dir}" -p "${_pkg_list[@]}" install
}
# Copy mkinitcpio archiso hooks and build initramfs (airootfs)