d-i beta release powerpc
hi thorsten and all the others
I have found the last bug that stops us from releasing a beta for
powerpc. The code to select a default kernel in kernel-installer was
missing for powerpc. The attached patch fixes this at least for
newworld. I don't know about the others.
I propose you prepare a final cd-image which should be good for beta
release. Joeyh proposed we should simply provide an image and tell aj
where it is and he will make a first "offical" beta release. I think we
should keep the speed and good bug fixing spirit of oldenburg and push
things a little bit, so nobody will blame us in the end for delaying the
release of sarge.
At home I will review the testing instructions sebastian posted to dda
and make a short "powerpc beta addendum" if needed.
btw the default kernel selection code in kernel-installer is a little
bit hackish, because most of the things are hardcoded there. It would be
good to have a simple mechanism to define default kernels.
gaudenz
--- kernel-installer.postinst.orig 2003-09-28 17:06:53.000000000 +0200
+++ kernel-installer.postinst 2003-09-28 17:35:57.000000000 +0200
@@ -107,6 +107,29 @@
fi
;;
esac
+ powerpc)
+ version=2.4.21 #hack, hack!
+ MODEL=`/usr/bin/ppcdetect`
+ case "$MODEL" in
+ NewWorld)
+ kernel=kernel-image-$version-powerpc
+ ;;
+ # what's below is probably nonsene, porters have to start building 2.4 kernels for d-i!
+ # But at least the infrastructure will be there and these are the latest versions in
+ # the archive.
+ OldWorld)
+ kernel=kernel-image-$version-powerpc
+ ;;
+ PReP)
+ kernel=kernel-image-2.2.20-prep
+ ;;
+ CHRP)
+ kernel=kernel-image-2.2.20-chrp
+ ;;
+ *)
+ log "warning: Unknown powerpc subarchitecture '$MODEL'."
+ ;;
+ esac
;;
*)
log "warning: Unknown arcitecture '$ARCH'."
Reply to: