[archiso] mkarchiso: do not process aitab entry if arch differs

Signed-off-by: Gerardo Exequiel Pozzi <vmlinuz386@yahoo.com.ar>
This commit is contained in:
Gerardo Exequiel Pozzi 2012-12-16 18:06:04 -03:00
parent e6f0ffc189
commit e6409b6061

View File

@ -453,6 +453,9 @@ command_prepare () {
if [[ ${_aitab_img} =~ ^# ]]; then if [[ ${_aitab_img} =~ ^# ]]; then
continue continue
fi fi
if [[ "${_aitab_arch}" != "any" && "${_aitab_arch}" != "${arch}" ]]; then
continue
fi
local _src="${work_dir}/${_aitab_img}" local _src="${work_dir}/${_aitab_img}"
local _dst="${work_dir}/iso/${install_dir}/${_aitab_arch}" local _dst="${work_dir}/iso/${install_dir}/${_aitab_arch}"
mkdir -p "${_dst}" mkdir -p "${_dst}"