Fix bug 95280 in genkernel. ARCH_OVERRIDE in /etc/genkernel.conf should work now

git-svn-id: svn+ssh://svn.gentoo.org/var/svnroot/genkernel/trunk@247 67a159dc-881f-0410-a524-ba9dfbe2cb84
cleanup-cruft
Eric Edgar 20 years ago
parent 9a33e43575
commit 823faee86d

@ -4,6 +4,10 @@ get_official_arch() {
if [ "${CMD_ARCHOVERRIDE}" != '' ]
then
ARCH=${CMD_ARCHOVERRIDE}
else
if [ "${ARCH_OVERRIDE}" != '' ]
then
ARCH=${ARCH_OVERRIDE}
else
ARCH=`uname -m`
case "${ARCH}" in
@ -14,6 +18,7 @@ get_official_arch() {
;;
esac
fi
fi
ARCH_CONFIG="${GK_SHARE}/${ARCH}/config.sh"
[ -f "${ARCH_CONFIG}" ] || gen_die "${ARCH} not yet supported by genkernel. Please add the arch-specific config file, ${ARCH_CONFIG}"

Loading…
Cancel
Save