Re: Sparc32 Floppy Availability
On Tue, Mar 22, 2005 at 01:07:28AM +0100, Frans Pop wrote:
> On Tuesday 22 March 2005 00:41, Frans Pop wrote:
> > On Monday 21 March 2005 22:56, Geert Stappers wrote:
> > The magic is in the installer/build/config/ directory structure.
> > Compare sparc.cfg with i386.cfg, and the sparc/ and i386/
> > directories...
>
> Oops. There already is some support for floppies for sparc32, currently
> disabled. Because of the subarchs, the structure is one level deeper than
> for i386. See sparc/sparc32.cfg and sparc/sparc32/ directory.
>
> I enabled them locally (remove '#' from MEDIUM_SUPPORTED line in
> sparc32.cfg) and did a quick testbuild. I ended up with:
> fjp@gimli:[...]/installer/build$ ls -l dest/sparc32/floppy/
> total 3436
> -rw-r--r-- 1 root users 914432 2005-03-22 00:58 boot.img
> -rw-r--r-- 1 fjp users 1474560 2005-03-22 00:58 net-drivers.img
> -rw-r--r-- 1 fjp users 1111590 2005-03-22 00:57 root.img
Okay, that is the hint I needed, TNX
This is what I changed in my tree:
Index: installer/build/config/sparc.cfg
===================================================================
--- installer/build/config/sparc.cfg (revision 26403)
+++ installer/build/config/sparc.cfg (working copy)
@@ -1,5 +1,5 @@
# floppy needs root to build, so cannot autobuild, so is disabled for
# now
-SUBARCH_SUPPORTED = sparc32 sparc64 miniiso miniiso-2.6 cdrom
+SUBARCH_SUPPORTED = sparc32 sparc64 miniiso miniiso-2.6 cdrom floppy
VERSIONED_SYSTEM_MAP = t
Index: installer/build/config/sparc/sparc32.cfg
===================================================================
--- installer/build/config/sparc/sparc32.cfg (revision 26403)
+++ installer/build/config/sparc/sparc32.cfg (working copy)
@@ -1,5 +1,5 @@
# floppies need root to build, so don't autobuild
-MEDIUM_SUPPORTED = netboot netboot-2.6 #floppy floppy-2.6
+MEDIUM_SUPPORTED = netboot netboot-2.6 floppy floppy-2.6
# The version of the kernel to use.
KERNELIMAGEVERSION = $(BASEVERSION)-sparc32
>
> Now, whether they will actually boot and install...
>
> I think Joshua did have these enabled for his daily builds. They're just
> not enabled for official builds.
>
> sparc64 currently does not seem to have any floppy support.
>
> Cheers,
> FJP
Cheers
Geert Stappers
Reply to: