# Customize installation (airootfs)
make_customize_airootfs() {
# Overwrite airootfs with customize_airootfs.
- local _airootfs _airootfs_script_options _script _script_list _airootfs_list _main_script
+ local _airootfs _airootfs_script_options _script _script_list _airootfs_list=() _main_script
+ for_module '_airootfs_list+=("${module_dir}/{}/airootfs.any" "${module_dir}/{}/airootfs.${arch}")'
_airootfs_list=("${channel_dir}/airootfs.any" "${channel_dir}/airootfs.${arch}")
- for_module '_airootfs_list=("${_airootfs_list[@]}" "${module_dir}/{}/airootfs.any" "${module_dir}/{}/airootfs.${arch}")'
for _airootfs in "${_airootfs_list[@]}";do
if [[ -d "${_airootfs}" ]]; then