[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:
parent
e6f0ffc189
commit
e6409b6061
@ -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}"
|
||||||
|
Loading…
Reference in New Issue
Block a user