summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGerardo Exequiel Pozzi <vmlinuz386@yahoo.com.ar>2012-12-16 18:06:04 -0300
committerGerardo Exequiel Pozzi <vmlinuz386@yahoo.com.ar>2012-12-16 18:06:04 -0300
commite6409b606197af1d0269c3ca0abcffd66462d076 (patch)
tree3e6cd95ec1b156a3764af8ac69475fc2bae06e75
parente6f0ffc18909d0a3f960a16542eb9012518525e1 (diff)
[archiso] mkarchiso: do not process aitab entry if arch differs
Signed-off-by: Gerardo Exequiel Pozzi <vmlinuz386@yahoo.com.ar>
-rwxr-xr-xarchiso/mkarchiso3
1 files changed, 3 insertions, 0 deletions
diff --git a/archiso/mkarchiso b/archiso/mkarchiso
index fac61eb..068ec22 100755
--- a/archiso/mkarchiso
+++ b/archiso/mkarchiso
@@ -453,6 +453,9 @@ command_prepare () {
if [[ ${_aitab_img} =~ ^# ]]; then
continue
fi
+ if [[ "${_aitab_arch}" != "any" && "${_aitab_arch}" != "${arch}" ]]; then
+ continue
+ fi
local _src="${work_dir}/${_aitab_img}"
local _dst="${work_dir}/iso/${install_dir}/${_aitab_arch}"
mkdir -p "${_dst}"