Module Name:    src
Committed By:   martin
Date:           Mon Nov 18 08:16:32 UTC 2019

Modified Files:
        src/usr.sbin/sysinst/arch/i386: md.c

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


To generate a diff of this commit:
cvs rdiff -u -r1.24 -r1.25 src/usr.sbin/sysinst/arch/i386/md.c

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

Modified files:

Index: src/usr.sbin/sysinst/arch/i386/md.c
diff -u src/usr.sbin/sysinst/arch/i386/md.c:1.24 src/usr.sbin/sysinst/arch/i386/md.c:1.25
--- src/usr.sbin/sysinst/arch/i386/md.c:1.24	Sat Nov 16 21:25:14 2019
+++ src/usr.sbin/sysinst/arch/i386/md.c	Mon Nov 18 08:16:32 2019
@@ -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 @@ md_post_newfs(struct install_partition_d
 #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

Reply via email to