Source-Changes-HG archive

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

[src/netbsd-1-6]: src/distrib/utils/sysinst Pull up revision 1.71 (requested ...



details:   https://anonhg.NetBSD.org/src/rev/bf6c1c2ae767
branches:  netbsd-1-6
changeset: 527784:bf6c1c2ae767
user:      lukem <lukem%NetBSD.org@localhost>
date:      Thu Jun 06 09:58:45 2002 +0000

description:
Pull up revision 1.71 (requested by lukem in ticket #188):
- Replace make(1) and -D FTP_HOST with SYSINST_FTP_HOST.
  Defaults to "ftp.netbsd.org"
- Replace make(1) and -D FTP_DIR with SYSINST_FTP_DIR.
  Defaults to "pub/NetBSD/NetBSD-" + VER + "/" + MACH.
  (FTP_DIR used to override "pub/NetBSD/NetBSD-", which meant the
  path name had to contain the release version in it)
- Add make(1) and -D SYSINST_CDROM_DIR.
  Defaults to "/" + mach.
- only append ftp_prefix to ftp_dir and cdrom_dir once, just after
  the options are parsed.  Do this in newly added set_defaults().

diffstat:

 distrib/utils/sysinst/util.c |  10 +---------
 1 files changed, 1 insertions(+), 9 deletions(-)

diffs (24 lines):

diff -r d8e38804dea5 -r bf6c1c2ae767 distrib/utils/sysinst/util.c
--- a/distrib/utils/sysinst/util.c      Thu Jun 06 09:58:35 2002 +0000
+++ b/distrib/utils/sysinst/util.c      Thu Jun 06 09:58:45 2002 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: util.c,v 1.67 2002/04/05 00:12:14 ad Exp $     */
+/*     $NetBSD: util.c,v 1.67.2.1 2002/06/06 09:58:45 lukem Exp $      */
 
 /*
  * Copyright 1997 Piermont Information Systems Inc.
@@ -252,14 +252,6 @@
 {
        char tmpdir[STRSIZE];
 
-       /*
-        * Fill in final default path, similar to ftp path
-        * because we expect the CDROM structure to be the
-        * same as the ftp site.
-        */
-       strncat(cdrom_dir, machine, STRSIZE - strlen(cdrom_dir));
-       strncat(cdrom_dir, ftp_prefix, STRSIZE - strlen(cdrom_dir));
-
        /* Get CD-rom device name and path within CD-rom */
        process_menu(MENU_cdromsource);
 



Home | Main Index | Thread Index | Old Index