[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: Proposed patch: ppcdetect -> archdetect



On Tue, Oct 14, 2003 at 07:36:04AM -0700, Chris Tillman wrote:
> Could someone review this patch? I tested the build image yesterday,
> and one of the problems it ran into was not finding /usr/bin/ppcdetect. 
> I remembered archdetect had replaced ppcdetect, this looks like what
> is needed to complete the transition for powerpc.
> 
> Index: tools/base-installer/debian/changelog
> ===================================================================
> RCS file: /cvs/debian-boot/debian-installer/tools/base-installer/debian/changelog,v
> retrieving revision 1.158
> diff -u -r1.158 changelog
> --- tools/base-installer/debian/changelog	14 Oct 2003 08:52:27 -0000	1.158
> +++ tools/base-installer/debian/changelog	14 Oct 2003 14:24:54 -0000
> @@ -7,6 +7,8 @@
>    * Alastair McKinstry
>      - Add versioned depends on libdebconfclient-dev, to get working debconf_ 
>        macros.
> +  * Chris Tillman
> +    - change ppcdetect to archdetect and corresponding CASEs
>  
>   -- Alastair McKinstry <mckinstry@debian.org>  Sun, 12 Oct 2003 22:01:30 +0100
>  
> Index: tools/base-installer/debian/kernel-installer.postinst
> ===================================================================
> RCS file: /cvs/debian-boot/debian-installer/tools/base-installer/debian/kernel-installer.postinst,v
> retrieving revision 1.31
> diff -u -r1.31 kernel-installer.postinst
> --- tools/base-installer/debian/kernel-installer.postinst	7 Oct 2003 01:35:17 -0000	1.31
> +++ tools/base-installer/debian/kernel-installer.postinst	14 Oct 2003 14:24:54 -0000
> @@ -116,22 +116,26 @@
>  	;;
>     powerpc)
>        version=2.4.22 #hack, hack!
> -      MODEL=`/usr/bin/ppcdetect`
> +      MODEL=`/usr/bin/archdetect`
>        case "$MODEL" in
> -          NewWorld)
> +          "powerpc/powermac_newworld")
>                kernel=kernel-image-$version-powerpc
>                ;;
> -          # what's below is probably nonsene, porters have to start building 2.4 kernels for d-i!
> +          # what's below is probably nonsense, 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)
> +          "powerpc/powermac_oldworld")
>                kernel=kernel-image-$version-powerpc
>                ;;
> -          PReP)
> +          "powerpc/prep")
>                kernel=kernel-image-2.2.20-prep
>                ;;
> -          CHRP)
> +	  # do we need a special case here for powerpc/chrp_pegasos?
> +          "powerpc/chrp")
>                kernel=kernel-image-2.2.20-chrp
> +              ;;
> +          "powerpc/amiga")
> +              kernel=kernel-image-2.4.20-apus
>                ;;
>            *)

Please notice that i have new kernel packages for prep, chrp and
chrp-rs6k at :

  http://people.debian.org/~luther/powerpc/2.4.22

Altough nobody from the debian-boot people cared to test them, despite i
announced them some week ago or so.

They still are problematic with regard to modules, but i am currently
fixing that. If only kernel-package was not so braindead, i would
already have them uploaded.

Friendly,

Sven Luther



Reply to: