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/749fe81d0410
branches:  trunk
changeset: 461184:749fe81d0410
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 8956b427c2cf -r 749fe81d0410 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