Update of /cvs/debian-boot/debian-installer/tools/base-installer/debian In directory gluck:/tmp/cvs-serv10922/debian
Modified Files: changelog kernel-installer.postinst Log Message: Add support for mips, mipsel to kernel-installer. Index: changelog =================================================================== RCS file: /cvs/debian-boot/debian-installer/tools/base-installer/debian/changelog,v retrieving revision 1.215 retrieving revision 1.216 diff -u -d -r1.215 -r1.216 --- changelog 19 Nov 2003 22:58:32 -0000 1.215 +++ changelog 9 Dec 2003 20:59:42 -0000 1.216 @@ -32,6 +32,8 @@ - Update Japanese translation (ja.po) * André Luís Lopes - Update pt_BR (Brazilian Portuguese) translation. + * Thiemo Seufer + - Add support for mips, mipsel to kernel-installer. -- Bastian Blank <[EMAIL PROTECTED]> Wed, 19 Nov 2003 08:29:44 +0100 Index: kernel-installer.postinst =================================================================== RCS file: /cvs/debian-boot/debian-installer/tools/base-installer/debian/kernel-installer.postinst,v retrieving revision 1.37 retrieving revision 1.38 diff -u -d -r1.37 -r1.38 --- kernel-installer.postinst 28 Oct 2003 07:55:51 -0000 1.37 +++ kernel-installer.postinst 9 Dec 2003 20:59:42 -0000 1.38 @@ -169,6 +169,50 @@ ;; esac ;; + mips) + MODEL=`grep '^system type' /proc/cpuinfo |cut -d: -f2` + CPU=`grep '^cpu model' /proc/cpuinfo |cut -d: -f2` + case "$MODEL" in + *Indy) + case "$CPU" in + " R4"*) + trykernel=kernel-image-*-r4k-ip22 + ;; + " R5"*) + trykernel=kernel-image-*-r5k-ip22 + ;; + *) + log "warning: Unknown mips Indy cpu type '$CPU'." + ;; + esac + ;; + *) + log "warning: Unknown mips subarchitecture '$MODEL'." + ;; + esac + ;; + mipsel) + MODEL=`grep '^system type' /proc/cpuinfo |cut -d: -f2` + CPU=`grep '^cpu model' /proc/cpuinfo |cut -d: -f2` + case "$MODEL" in + " DEC"*) + case "$CPU" in + " R3"*) + trykernel=kernel-image-*-r3k-kn02 + ;; + " R4"*) + trykernel=kernel-image-*-r4k-kn04 + ;; + *) + log "warning: Unknown mipsel DECstation cpu type '$CPU'." + ;; + esac + ;; + *) + log "warning: Unknown mipsel subarchitecture '$MODEL'." + ;; + esac + ;; *) log "warning: Unknown architecture '$ARCH'." ;; -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]