arch: reorder as armhf is going to out number armel

Signed-off-by: Robert Nelson <robertcnelson@gmail.com>
pull/22/head
Robert Nelson 12 years ago
parent 308da8eb8c
commit 19960f58de

@ -1747,29 +1747,28 @@ function check_uboot_type {
function check_distro { function check_distro {
unset IN_VALID_DISTRO unset IN_VALID_DISTRO
ARCH="armel" ARCH="armhf"
fki_vmlinuz="vmlinuz" fki_vmlinuz="vmlinuz-"
fki_initrd="initrd.img" fki_initrd="initrd.img-"
case "${DISTRO_TYPE}" in case "${DISTRO_TYPE}" in
oneiric) oneiric)
DIST="oneiric" DIST="oneiric"
ARCH="armel"
fki_vmlinuz="vmlinuz"
fki_initrd="initrd.img"
;; ;;
precise|precise-armhf) precise|precise-armhf)
DIST="precise" DIST="precise"
ARCH="armhf" ARCH="armhf"
fki_vmlinuz="vmlinuz"
fki_initrd="initrd.img"
;; ;;
quantal|quantal-armhf) quantal|quantal-armhf)
DIST="quantal" DIST="quantal"
ARCH="armhf"
fki_vmlinuz="vmlinuz-"
fki_initrd="initrd.img-"
;; ;;
raring|raring-armhf) raring|raring-armhf)
DIST="raring" DIST="raring"
ARCH="armhf"
fki_vmlinuz="vmlinuz-"
fki_initrd="initrd.img-"
cat <<-__EOF__ cat <<-__EOF__
----------------------------- -----------------------------
WARNING: Ubuntu Raring (13.04) is BROKEN for SOME boards (Beagle/Panda) WARNING: Ubuntu Raring (13.04) is BROKEN for SOME boards (Beagle/Panda)
@ -1781,17 +1780,17 @@ function check_distro {
__EOF__ __EOF__
read -p "Are you 100% sure on still trying to install [${DIST}] (y/n)? " read -p "Are you 100% sure on still trying to install [${DIST}] (y/n)? "
[ "${REPLY}" == "y" ] || exit [ "${REPLY}" == "y" ] || exit
;; ;;
squeeze) squeeze)
DIST="squeeze" DIST="squeeze"
ARCH="armel"
;; ;;
wheezy-armel) wheezy-armel)
DIST="wheezy" DIST="wheezy"
ARCH="armel"
;; ;;
wheezy-armhf) wheezy-armhf)
DIST="wheezy" DIST="wheezy"
ARCH="armhf"
;; ;;
*) *)
IN_VALID_DISTRO=1 IN_VALID_DISTRO=1

Loading…
Cancel
Save