NetBSD-Bugs archive

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

Re: install/35538: sysinst duplicates hostname on upgrade

The following reply was made to PR install/35538; it has been noted by GNATS.

From: Julian Djamil Fagir <>
Subject: Re: install/35538: sysinst duplicates hostname on upgrade
Date: Sat, 3 Mar 2012 02:44:44 +0100

 Content-Type: text/plain; charset=US-ASCII
 Content-Transfer-Encoding: 7bit
 Content-Disposition: inline
 imho, network configuration should not be stored when updating anyway. You
 want to only update the system, not change any of the configuration.
 The attached patch should do so (tbh, untested, but its effect is apparent).
 Regards, Julian
 Content-Type: text/x-patch
 Content-Transfer-Encoding: 7bit
 Content-Disposition: attachment; filename=util.c.diff
 --- distrib/utils/sysinst/util.c
 +++ distrib/utils/sysinst/util.c
 @@ -1084,11 +1084,12 @@
        /* Save keybard type */
        /* Other configuration. */
 -      mnt_net_config();
 +      if (!update)
 +              mnt_net_config();
        /* Mounted dist dir? */
        /* Install/Upgrade complete ... reboot or exit to script */

Home | Main Index | Thread Index | Old Index