Source-Changes-HG archive

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

[src/trunk]: src/distrib/utils/sysinst Run the new copy of /etc/postinstall, ...



details:   https://anonhg.NetBSD.org/src/rev/de1bf419c578
branches:  trunk
changeset: 569899:de1bf419c578
user:      dsl <dsl%NetBSD.org@localhost>
date:      Sun Sep 12 19:12:45 2004 +0000

description:
Run the new copy of /etc/postinstall, not the one that happens to be on the
users system already.
Amongst other things this should ensure that MAKEDEV get updated.
(currently untested...)

diffstat:

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

diffs (18 lines):

diff -r 1bf227f481e3 -r de1bf419c578 distrib/utils/sysinst/util.c
--- a/distrib/utils/sysinst/util.c      Sun Sep 12 18:05:46 2004 +0000
+++ b/distrib/utils/sysinst/util.c      Sun Sep 12 19:12:45 2004 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: util.c,v 1.129 2004/08/17 17:12:26 dsl Exp $   */
+/*     $NetBSD: util.c,v 1.130 2004/09/12 19:12:45 dsl Exp $   */
 
 /*
  * Copyright 1997 Piermont Information Systems Inc.
@@ -677,7 +677,7 @@
 
        if (update && set == SET_ETC) {
                run_program(RUN_DISPLAY | RUN_CHROOT,
-                       "/etc/postinstall -s /.sysinst -d / fix");
+                       "/.sysinst/etc/postinstall -s /.sysinst -d / fix");
        }
 
        tarstats.nsuccess++;



Home | Main Index | Thread Index | Old Index