Commit f625bf0c authored by Vitaly Lipatov's avatar Vitaly Lipatov

hasher: support for build i586 on x86_64

parent 8739c0e0
......@@ -52,8 +52,11 @@ print_tmp_sourceslist()
grep "/sources.list" | sed -e 's|.*"\(.*\)".*|\1|g'`
fi
test -r "$SLIST" || fatal "'$SLIST' - sources.list path from $1 is missed"
cat "$SLIST" | \
sed -e "s|i586|$DEFAULTARCH|g"
if [ "$DEFAULTARCH" = "x86_64" ] ; then
cat "$SLIST" | sed -e "s|x86_64|$DEFAULTARCH|g"
else
cat "$SLIST" | sed -e "s|i586|$DEFAULTARCH|g"
fi
}
prepare_aptconfig()
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment