Subject: Re: port-mac68k/29049 (mac68k sysinst doesn't work for the
To: None <port-mac68k-maintainer@netbsd.org, gnats-admin@netbsd.org,>
From: Hauke Fath <hauke@Espresso.Rhein-Neckar.DE>
List: netbsd-bugs
Date: 10/11/2006 21:30:03
The following reply was made to PR port-mac68k/29049; it has been noted by GNATS.

From: Hauke Fath <hauke@Espresso.Rhein-Neckar.DE>
To: gnats-bugs@netbsd.org
Cc: Hauke Fath <hauke@Espresso.Rhein-Neckar.DE>,
	install-manager@NetBSD.org, gnats-admin@NetBSD.org
Subject: Re: port-mac68k/29049 (mac68k sysinst doesn't work for the
 install case)
Date: Wed, 11 Oct 2006 23:03:01 +0200

 The following patch
 
 Index: md.c
 ===================================================================
 RCS file: /cvsroot/src/distrib/utils/sysinst/arch/mac68k/md.c,v
 retrieving revision 1.48
 diff -u -r1.48 md.c
 --- md.c	4 Aug 2006 05:30:13 -0000	1.48
 +++ md.c	11 Oct 2006 19:52:49 -0000
 @@ -1030,6 +1030,7 @@
   		    case UFS_PART:
   			bsdlabel[pl].pi_fstype = FS_BSDFFS;
   			strcpy (bsdlabel[pl].pi_mount, (char 
 *)bzb->mount_point);
 +			bsdlabel[pl].pi_flags |= PIF_NEWFS | PIF_MOUNT;
   			break;
   		    case SWAP_PART:
   			bsdlabel[pl].pi_fstype = FS_SWAP;
 
 
 fixes the mac68k sysinst for me. Basically, the mac68k 
 md_make_bsd_partitions() function, which replaces the MI 
 make_bsd_partitions() because the mac68k port does not have an 
 on-disk BSD disklabel, neglected to sign up BSD partitions for 
 newfs'ing and mounting by setting the appropriate flags.
 
 
 Please request pull-ups to the netbsd-4, netbsd-3, netbsd-3-1 
 (urgent!), netbsd-2 and netbsd-2-1 branches, and also back out the 
 workaround descriptions in
 
 [current]
 cvs rdiff -r1.13 -r1.14 src/distrib/notes/mac68k/prep
 
 [netbsd-3]
 cvs rdiff -r1.13 -r1.13.6.1 src/distrib/notes/mac68k/prep
 
 [netbsd-2]
 cvs rdiff -r1.13 -r1.13.4.1 src/distrib/notes/mac68k/prep
 
 [netbsd-2-1]
 cvs rdiff -r1.13 -r1.13.8.1 src/distrib/notes/mac68k/prep
 -- 
 "It's never straight up and down"     (DEVO)