Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/netbsd-1-5]: src/distrib/utils/sysinst/arch/i386 Pullup 1.47 [fvdl]:
details: https://anonhg.NetBSD.org/src/rev/075af57252fa
branches: netbsd-1-5
changeset: 490170:075af57252fa
user: tv <tv%NetBSD.org@localhost>
date: Thu Nov 09 22:47:34 2000 +0000
description:
Pullup 1.47 [fvdl]:
Wrap checking the BOOTMODEL env var in DEBUG, it was intended for that
purpose originally, and this check only messes up selection of the
right kernel for the laptop install set.
diffstat:
distrib/utils/sysinst/arch/i386/md.c | 4 +++-
1 files changed, 3 insertions(+), 1 deletions(-)
diffs (23 lines):
diff -r 7f3653a69fde -r 075af57252fa distrib/utils/sysinst/arch/i386/md.c
--- a/distrib/utils/sysinst/arch/i386/md.c Thu Nov 09 22:44:57 2000 +0000
+++ b/distrib/utils/sysinst/arch/i386/md.c Thu Nov 09 22:47:34 2000 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: md.c,v 1.36.4.4 2000/11/01 02:25:58 tv Exp $ */
+/* $NetBSD: md.c,v 1.36.4.5 2000/11/09 22:47:34 tv Exp $ */
/*
* Copyright 1997 Piermont Information Systems Inc.
@@ -625,11 +625,13 @@
get_bootmodel()
{
struct utsname ut;
+#ifdef DEBUG
char *envstr;
envstr = getenv("BOOTMODEL");
if (envstr != NULL)
return envstr;
+#endif
if (uname(&ut) < 0)
return "";
Home |
Main Index |
Thread Index |
Old Index