Source-Changes-HG archive

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

[src/trunk]: src/usr.sbin/sysinst Enable installation of amd64 on an lfsv2 pa...



details:   https://anonhg.NetBSD.org/src/rev/63f45d47e37a
branches:  trunk
changeset: 341635:63f45d47e37a
user:      pgoyette <pgoyette%NetBSD.org@localhost>
date:      Sat Nov 14 23:00:17 2015 +0000

description:
Enable installation of amd64 on an lfsv2 partition.

XXX Other ports will need similar changes to arch/.../md.h after testing!

XXX The mount_lfs warning about lfs being experimental may confuse or
XXX corrupt the sysinst display window.

diffstat:

 usr.sbin/sysinst/arch/amd64/md.h |  3 ++-
 usr.sbin/sysinst/disks.c         |  6 +++---
 2 files changed, 5 insertions(+), 4 deletions(-)

diffs (38 lines):

diff -r 10d796631971 -r 63f45d47e37a usr.sbin/sysinst/arch/amd64/md.h
--- a/usr.sbin/sysinst/arch/amd64/md.h  Sat Nov 14 22:03:54 2015 +0000
+++ b/usr.sbin/sysinst/arch/amd64/md.h  Sat Nov 14 23:00:17 2015 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: md.h,v 1.1 2014/07/26 19:30:44 dholland Exp $  */
+/*     $NetBSD: md.h,v 1.2 2015/11/14 23:00:17 pgoyette Exp $  */
 
 /*
  * Copyright 1997 Piermont Information Systems Inc.
@@ -66,6 +66,7 @@
 #define        BOOTXXDIR       "/usr/mdec"
 #define        BOOTXX_FFSV1    "bootxx_ffsv1"
 #define        BOOTXX_FFSV2    "bootxx_ffsv2"
+#define        BOOTXX_LFSV2    "bootxx_lfsv2"
 
 
 /*
diff -r 10d796631971 -r 63f45d47e37a usr.sbin/sysinst/disks.c
--- a/usr.sbin/sysinst/disks.c  Sat Nov 14 22:03:54 2015 +0000
+++ b/usr.sbin/sysinst/disks.c  Sat Nov 14 23:00:17 2015 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: disks.c,v 1.10 2015/07/25 07:12:30 isaki Exp $ */
+/*     $NetBSD: disks.c,v 1.11 2015/11/14 23:00:17 pgoyette Exp $ */
 
 /*
  * Copyright 1997 Piermont Information Systems Inc.
@@ -1314,9 +1314,9 @@
                }
                break;
 #endif
-#ifdef BOOTXX_LFS
+#ifdef BOOTXX_LFSV2
        case FS_BSDLFS:
-               bootxxname = BOOTXX_LFS;
+               bootxxname = BOOTXX_LFSV2;
                break;
 #endif
        default:



Home | Main Index | Thread Index | Old Index