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

Re: PPC boot-floppy building



On Thu, Apr 12, 2001 at 03:36:58PM -0500, Stephen_R_Marenka@raytheon.com wrote:
> Maybe we can get ppc cleaned up!

Hope so!

> For the time being I just commented out mac-de-latin1-nodeadkeys.kmap.gz in
> keymaps.sh. I didn't see any good solution for what looked like a missing
> maintainer. (It doesn't look like he's doing anything upstream either.)

I've followed you in this.

> The __KERNEL__ definition comes straight from the kernel source, so I don't see
> a way around it.

Not in the short term, anyway.  I don't like that libfdisk is breaking the kernel
abstraction boundary though.  In the longer term, either the (upstream) kernel
maintainers should be convinced to put this barrier back where it was or libfdisk
should find an alternate source for unaligned memory access functions.  Maybe
this should go in 'todo'.

> I couldn't find debootstrap in either unstable or woody, so I built the deb by
> hand. The following patch will fix the Makefile, letting debootstrap build. I
> sent it to AJ, so hopefully we'll see deboostrap showing up for ppc.

I applied this patch and built it.  I assume you've gotten past any MAKEDEV
problems that might come up with a 2.4-based system since debootstrap needs
MAKEDEV too, and you're at the point you need the following patch:

Index: rootdisk.sh
===================================================================
RCS file: /cvs/debian-boot/boot-floppies/rootdisk.sh,v
retrieving revision 1.193
diff -u -r1.193 rootdisk.sh
--- rootdisk.sh 2001/04/11 20:44:35     1.193
+++ rootdisk.sh 2001/04/13 16:22:52
@@ -102,7 +102,7 @@
     powerpc)
        export ldlib=ld.so.1
        libcso=libc.so.6
-       libcver=2.2.1
+       libcver=2.2.2
     ;;
     sparc)
        export ldlib=ld-linux.so.2
Index: debian/changelog
===================================================================
RCS file: /cvs/debian-boot/boot-floppies/debian/changelog,v
retrieving revision 1.421
diff -u -r1.421 changelog
--- debian/changelog    2001/04/13 14:20:46     1.421
+++ debian/changelog    2001/04/13 16:22:57
@@ -17,6 +17,8 @@
     - enable user to set APT_PREFS in case they need a local apt
       preferences file
     - some fixes for folks building from Linux 2.4.x
+  * James Deikun
+    - use libc version 2.2.2 for powerpc

  -- Adam Di Carlo <aph@debian.org>  Fri, 13 Apr 2001 02:49:06 -0400

I've also included it as an attachment in case it's too mangled by
my mailer to apply.

I've also done a test that makes me pretty confident keymaps.sh
runs fine under fakeroot, which means it should run headless too.
Can someone with an actual headless machine confirm this?

(Right now I'm waiting for library reduction to finish.)

-- 
James Deikun, Techie(tm), CSI Multimedia
The opinions expressed &c.
Index: rootdisk.sh
===================================================================
RCS file: /cvs/debian-boot/boot-floppies/rootdisk.sh,v
retrieving revision 1.193
diff -u -r1.193 rootdisk.sh
--- rootdisk.sh	2001/04/11 20:44:35	1.193
+++ rootdisk.sh	2001/04/13 16:22:52
@@ -102,7 +102,7 @@
     powerpc)
 	export ldlib=ld.so.1
 	libcso=libc.so.6
-	libcver=2.2.1
+	libcver=2.2.2
     ;;
     sparc)
 	export ldlib=ld-linux.so.2
Index: debian/changelog
===================================================================
RCS file: /cvs/debian-boot/boot-floppies/debian/changelog,v
retrieving revision 1.421
diff -u -r1.421 changelog
--- debian/changelog	2001/04/13 14:20:46	1.421
+++ debian/changelog	2001/04/13 16:22:57
@@ -17,6 +17,8 @@
     - enable user to set APT_PREFS in case they need a local apt
       preferences file
     - some fixes for folks building from Linux 2.4.x
+  * James Deikun
+    - use libc version 2.2.2 for powerpc
 
  -- Adam Di Carlo <aph@debian.org>  Fri, 13 Apr 2001 02:49:06 -0400
 

Reply to: