Hello community,

here is the log from the commit of package linuxrc for openSUSE:Factory checked 
in at 2017-10-02 16:51:41
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/linuxrc (Old)
 and      /work/SRC/openSUSE:Factory/.linuxrc.new (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "linuxrc"

Mon Oct  2 16:51:41 2017 rev:245 rq:528762 version:5.0.109

Changes:
--------
--- /work/SRC/openSUSE:Factory/linuxrc/linuxrc.changes  2017-09-25 
13:53:26.269305021 +0200
+++ /work/SRC/openSUSE:Factory/.linuxrc.new/linuxrc.changes     2017-10-02 
16:51:44.239162231 +0200
@@ -1,0 +2,14 @@
+Tue Sep 26 09:53:55 UTC 2017 - [email protected]
+
+- merge gh#openSUSE/linuxrc#148
+- clarify SetHostname option usage
+- 5.0.109
+
+--------------------------------------------------------------------
+Mon Sep 25 14:49:03 UTC 2017 - [email protected]
+
+- merge gh#openSUSE/linuxrc#147
+- add SetHostnameUsed entry to install.inf (bsc#1054933)
+- 5.0.108
+
+--------------------------------------------------------------------

Old:
----
  linuxrc-5.0.107.tar.xz

New:
----
  linuxrc-5.0.109.tar.xz

++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Other differences:
------------------
++++++ linuxrc.spec ++++++
--- /var/tmp/diff_new_pack.NBCOKN/_old  2017-10-02 16:51:44.831079153 +0200
+++ /var/tmp/diff_new_pack.NBCOKN/_new  2017-10-02 16:51:44.835078591 +0200
@@ -17,7 +17,7 @@
 
 
 Name:           linuxrc
-Version:        5.0.107
+Version:        5.0.109
 Release:        0
 Summary:        SUSE Installation Program
 License:        GPL-3.0+

++++++ linuxrc-5.0.107.tar.xz -> linuxrc-5.0.109.tar.xz ++++++
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/linuxrc-5.0.107/VERSION new/linuxrc-5.0.109/VERSION
--- old/linuxrc-5.0.107/VERSION 2017-09-20 13:57:07.000000000 +0200
+++ new/linuxrc-5.0.109/VERSION 2017-09-26 11:53:55.000000000 +0200
@@ -1 +1 @@
-5.0.107
+5.0.109
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/linuxrc-5.0.107/changelog 
new/linuxrc-5.0.109/changelog
--- old/linuxrc-5.0.107/changelog       2017-09-20 13:57:07.000000000 +0200
+++ new/linuxrc-5.0.109/changelog       2017-09-26 11:53:55.000000000 +0200
@@ -1,3 +1,9 @@
+2017-09-26:    5.0.109
+       - clarify SetHostname option usage
+
+2017-09-25:    5.0.108
+       - add SetHostnameUsed entry to install.inf (bsc #1054933)
+
 2017-09-20:    5.0.107
        - pass SetHostname setting to install.inf
 
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/linuxrc-5.0.107/file.c new/linuxrc-5.0.109/file.c
--- old/linuxrc-5.0.107/file.c  2017-09-20 13:57:07.000000000 +0200
+++ new/linuxrc-5.0.109/file.c  2017-09-26 11:53:55.000000000 +0200
@@ -1747,7 +1747,10 @@
         break;
 
       case key_sethostname:
-        if(f->is.numeric) config.net.sethostname = f->nvalue;
+        if(f->is.numeric) {
+          config.net.sethostname = f->nvalue;
+          config.net.sethostname_used = 1;
+        }
         break;
 
       case key_debugshell:
@@ -1899,6 +1902,7 @@
     file_write_str(f, key_hostname, config.net.realhostname);
   }
   file_write_num(f, key_sethostname, config.net.sethostname);
+  fprintf(f, "SetHostnameUsed: %u\n", config.net.sethostname_used);
 
   LXRC_WAIT
 
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/linuxrc-5.0.107/global.h new/linuxrc-5.0.109/global.h
--- old/linuxrc-5.0.107/global.h        2017-09-20 13:57:07.000000000 +0200
+++ new/linuxrc-5.0.109/global.h        2017-09-26 11:53:55.000000000 +0200
@@ -633,6 +633,7 @@
     unsigned ipv6:1;           /**< do ipv6 config */
     unsigned dhcp_timeout_set:1;       /**< dhcp_timeout was set explicitly */
     unsigned sethostname:1;    /**< wicked should set hostname */
+    unsigned sethostname_used:1;       /**< user has used linuxrc's 
SetHostname option */
     unsigned do_setup;         /**< do network setup */
     unsigned setup;            /**< bitmask: do these network setup things */
     char *device;              /**< currently used device */
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/linuxrc-5.0.107/linuxrc_yast_interface.txt 
new/linuxrc-5.0.109/linuxrc_yast_interface.txt
--- old/linuxrc-5.0.107/linuxrc_yast_interface.txt      2017-09-20 
13:57:07.000000000 +0200
+++ new/linuxrc-5.0.109/linuxrc_yast_interface.txt      2017-09-26 
11:53:55.000000000 +0200
@@ -132,10 +132,20 @@
 Hostname: %s
 
 # 1: set hostname via DHCP
-# if this is 1 (the default) linuxrc has set DHCLIENT_SET_HOSTNAME to 'yes'
-# in /etc/sysconfig/network/dhcp
+# If this is 1 (the default) linuxrc sets
+# /etc/sysconfig/network/dhcp::DHCLIENT_SET_HOSTNAME to 'yes' when it
+# configures any network interface.
+#
+# Note1: linuxrc does *not* set it to 'no' if SetHostname is 0.
+# Note2: a network interface might be up and running even if linuxrc
+#   did not configure one. wicked may set up interfaces based on
+#   firmware information, for example (ibft). So a configured interface is no
+#   indication that linuxrc has changed DHCLIENT_SET_HOSTNAME.
 SetHostname: 0|1
 
+# 1: user has used SetHostname option to force a setting
+SetHostnameUsed: 0|1
+
 # URL for registration server, use 'regurl' boot option to set
 # fate#303335
 # entry is missing if unset


Reply via email to