Source-Changes-HG archive

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

[src/trunk]: src/usr.sbin/sysinst/arch/i386 Fix previous: the install medium ...



details:   https://anonhg.NetBSD.org/src/rev/ef8a167ad1c9
branches:  trunk
changeset: 1004883:ef8a167ad1c9
user:      martin <martin%NetBSD.org@localhost>
date:      Mon Nov 18 08:16:32 2019 +0000

description:
Fix previous: the install medium may not have /usr/mdec/prekern; it was
meant to copy the one from the just installed system.

diffstat:

 usr.sbin/sysinst/arch/i386/md.c |  4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)

diffs (18 lines):

diff -r f662965cba7c -r ef8a167ad1c9 usr.sbin/sysinst/arch/i386/md.c
--- a/usr.sbin/sysinst/arch/i386/md.c   Mon Nov 18 05:01:36 2019 +0000
+++ b/usr.sbin/sysinst/arch/i386/md.c   Mon Nov 18 08:16:32 2019 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: md.c,v 1.24 2019/11/16 21:25:14 martin Exp $ */
+/*     $NetBSD: md.c,v 1.25 2019/11/18 08:16:32 martin Exp $ */
 
 /*
  * Copyright 1997 Piermont Information Systems Inc.
@@ -379,7 +379,7 @@
 #if defined(__amd64__)
        int ret;
 
-       ret = cp_to_target("/usr/mdec/prekern", "/prekern");
+       ret = cp_within_target("/usr/mdec/prekern", "/prekern", 0);
        if (ret)
                return ret;
 #endif



Home | Main Index | Thread Index | Old Index