commit linuxrc for openSUSE:Factory

2020-10-29 Thread root
Hello community,

here is the log from the commit of package linuxrc for openSUSE:Factory checked 
in at 2020-10-29 09:22:20

Comparing /work/SRC/openSUSE:Factory/linuxrc (Old)
 and  /work/SRC/openSUSE:Factory/.linuxrc.new.3463 (New)


Package is "linuxrc"

Thu Oct 29 09:22:20 2020 rev:287 rq:844638 version:7.0.21

Changes:

--- /work/SRC/openSUSE:Factory/linuxrc/linuxrc.changes  2020-06-27 
23:22:09.449738880 +0200
+++ /work/SRC/openSUSE:Factory/.linuxrc.new.3463/linuxrc.changes
2020-10-29 09:22:22.630691834 +0100
@@ -1,0 +2,23 @@
+Wed Oct 28 16:00:05 UTC 2020 - wfe...@opensuse.org
+
+- merge gh#openSUSE/linuxrc#232
+- fix linuxrc module option parsing
+- 7.0.21
+
+
+Wed Oct 28 15:21:50 UTC 2020 - wfe...@opensuse.org
+
+- merge gh#openSUSE/linuxrc#231
+- add insmod.pre option to linuxrc (bsc#1174912)
+- fix potential buffer overflow (correctly detected by gcc)
+- don't use modprobe before modprobe config files are available
+- 7.0.20
+
+
+Fri Oct 23 11:22:25 UTC 2020 - wfe...@opensuse.org
+
+- merge gh#openSUSE/linuxrc#230
+- add rfc2132 keyword to ifcfg option (jsc#SLE-15770, jsc#SLE-15488)
+- 7.0.19
+
+

Old:

  linuxrc-7.0.18.tar.xz

New:

  linuxrc-7.0.21.tar.xz



Other differences:
--
++ linuxrc.spec ++
--- /var/tmp/diff_new_pack.OuNnvh/_old  2020-10-29 09:22:23.350692525 +0100
+++ /var/tmp/diff_new_pack.OuNnvh/_new  2020-10-29 09:22:23.354692528 +0100
@@ -17,7 +17,7 @@
 
 
 Name:   linuxrc
-Version:7.0.18
+Version:7.0.21
 Release:0
 Summary:SUSE Installation Program
 License:GPL-3.0+

++ linuxrc-7.0.18.tar.xz -> linuxrc-7.0.21.tar.xz ++
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/linuxrc-7.0.18/VERSION new/linuxrc-7.0.21/VERSION
--- old/linuxrc-7.0.18/VERSION  2020-06-24 14:01:57.0 +0200
+++ new/linuxrc-7.0.21/VERSION  2020-10-28 17:00:05.0 +0100
@@ -1 +1 @@
-7.0.18
+7.0.21
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/linuxrc-7.0.18/changelog new/linuxrc-7.0.21/changelog
--- old/linuxrc-7.0.18/changelog2020-06-24 14:01:57.0 +0200
+++ new/linuxrc-7.0.21/changelog2020-10-28 17:00:05.0 +0100
@@ -1,3 +1,17 @@
+2020-10-28:7.0.21
+   - merge gh#openSUSE/linuxrc#232
+   - fix linuxrc module option parsing
+
+2020-10-28:7.0.20
+   - merge gh#openSUSE/linuxrc#231
+   - add insmod.pre option to linuxrc (bsc#1174912)
+   - fix potential buffer overflow (correctly detected by gcc)
+   - don't use modprobe before modprobe config files are available
+
+2020-10-23:7.0.19
+   - merge gh#openSUSE/linuxrc#230
+   - add rfc2132 keyword to ifcfg option (jsc#SLE-15770, jsc#SLE-15488)
+
 2020-06-24:7.0.18
- merge gh#openSUSE/linuxrc#225
- s390: set rd.zdev=no-auto if auto-config has been turned off
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/linuxrc-7.0.18/file.c new/linuxrc-7.0.21/file.c
--- old/linuxrc-7.0.18/file.c   2020-06-24 14:01:57.0 +0200
+++ new/linuxrc-7.0.21/file.c   2020-10-28 17:00:05.0 +0100
@@ -77,6 +77,7 @@
   { key_language,   "lang",   kf_cfg + kf_cmd},
   { key_rebootmsg,  "RebootMsg",  kf_yast},
   { key_insmod, "Insmod", kf_cfg + kf_cmd1   },
+  { key_insmod_pre, "InsmodPre",  kf_cfg + kf_cmd0   },
   { key_display,"Display",kf_cfg + kf_cmd},
   { key_ip, "IP", kf_none},
   { key_netmask,"Netmask",kf_cfg + kf_cmd + kf_dhcp  },
@@ -641,6 +642,7 @@
 
 switch(f->key) {
   case key_insmod:
+  case key_insmod_pre:
 file_module_load(f->value);
 break;
 
@@ -1325,25 +1327,36 @@
 if(*f->value) str_copy(, f->value);
 break;
 
-  case key_none:
   case key_is_ptoption:
-if((flags & (kf_cmd + kf_cfg))) {
-  for(sl = config.ptoptions; sl; sl = sl->next) {
-if(!strcasecmpignorestrich(sl->key, f->key_str)) {
-  str_copy(>value, f->value);
-  f->key = key_is_ptoption;
-  break;
-}
+// store option value
+for(sl = config.ptoptions; sl; sl = sl->next) {
+  if(!strcasecmpignorestrich(sl->key, f->key_str)) {
+str_copy(>value, f->value);
+break;
  

commit linuxrc for openSUSE:Factory

2020-06-27 Thread root
Hello community,

here is the log from the commit of package linuxrc for openSUSE:Factory checked 
in at 2020-06-27 23:22:04

Comparing /work/SRC/openSUSE:Factory/linuxrc (Old)
 and  /work/SRC/openSUSE:Factory/.linuxrc.new.3060 (New)


Package is "linuxrc"

Sat Jun 27 23:22:04 2020 rev:286 rq:816826 version:7.0.18

Changes:

--- /work/SRC/openSUSE:Factory/linuxrc/linuxrc.changes  2020-06-05 
20:09:41.645637954 +0200
+++ /work/SRC/openSUSE:Factory/.linuxrc.new.3060/linuxrc.changes
2020-06-27 23:22:09.449738880 +0200
@@ -1,0 +2,8 @@
+Wed Jun 24 12:01:57 UTC 2020 - wfe...@opensuse.org
+
+- merge gh#openSUSE/linuxrc#225
+- s390: set rd.zdev=no-auto if auto-config has been turned off
+  (bsc#1168036)
+- 7.0.18
+
+

Old:

  linuxrc-7.0.17.tar.xz

New:

  linuxrc-7.0.18.tar.xz



Other differences:
--
++ linuxrc.spec ++
--- /var/tmp/diff_new_pack.1282iQ/_old  2020-06-27 23:22:10.117741076 +0200
+++ /var/tmp/diff_new_pack.1282iQ/_new  2020-06-27 23:22:10.121741089 +0200
@@ -17,7 +17,7 @@
 
 
 Name:   linuxrc
-Version:7.0.17
+Version:7.0.18
 Release:0
 Summary:SUSE Installation Program
 License:GPL-3.0+

++ linuxrc-7.0.17.tar.xz -> linuxrc-7.0.18.tar.xz ++
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/linuxrc-7.0.17/VERSION new/linuxrc-7.0.18/VERSION
--- old/linuxrc-7.0.17/VERSION  2020-06-03 14:56:12.0 +0200
+++ new/linuxrc-7.0.18/VERSION  2020-06-24 14:01:57.0 +0200
@@ -1 +1 @@
-7.0.17
+7.0.18
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/linuxrc-7.0.17/changelog new/linuxrc-7.0.18/changelog
--- old/linuxrc-7.0.17/changelog2020-06-03 14:56:12.0 +0200
+++ new/linuxrc-7.0.18/changelog2020-06-24 14:01:57.0 +0200
@@ -1,3 +1,8 @@
+2020-06-24:7.0.18
+   - merge gh#openSUSE/linuxrc#225
+   - s390: set rd.zdev=no-auto if auto-config has been turned off
+ (bsc#1168036)
+
 2020-06-03:7.0.17
- merge gh#openSUSE/linuxrc#224
- replace $releasever in URLs, similar to libzypp (bsc#1171018)
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/linuxrc-7.0.17/file.c new/linuxrc-7.0.18/file.c
--- old/linuxrc-7.0.17/file.c   2020-06-03 14:56:12.0 +0200
+++ new/linuxrc-7.0.18/file.c   2020-06-24 14:01:57.0 +0200
@@ -318,6 +318,7 @@
   { key_norepo, "NoRepo", kf_cfg + kf_cmd},
   { key_auto_assembly,  "AutoAssembly",   kf_cfg + kf_cmd_early  },
   { key_device_auto_config, "DeviceAutoConfig",  kf_cfg + kf_cmd_early   },
+  { key_rd_zdev,"rd.zdev",kf_cfg + kf_cmd_early  },
 };
 
 static struct {
@@ -1809,6 +1810,12 @@
 if(f->is.numeric) config.device_auto_config = f->nvalue;
 break;
 
+  case key_rd_zdev:
+if(!strcmp(f->value, "no-auto")) {
+  config.device_auto_config = 0;
+}
+break;
+
   default:
 break;
 }
@@ -1899,7 +1906,6 @@
   char file_name[256], *s;
   slist_t *sl;
   file_t *ft0, *ft;
-  int i;
   url_t *url = config.url.install;
 
   if(!url) return;
@@ -2012,16 +2018,35 @@
 
   ft0 = file_read_cmdline(kf_cmd + kf_cmd_early + kf_boot);
 
-  for(i = 0, ft = ft0; ft; ft = ft->next) {
+  slist_t *parm_list = NULL;
+
+  for(ft = ft0; ft; ft = ft->next) {
 if(
   ft->key == key_none ||
   ft->key == key_vga
 ) {
-  fprintf(f, "%s%s", i ? " " : "Cmdline: ", ft->unparsed);
-  i = 1;
+  slist_append_str(_list, ft->unparsed);
 }
   }
-  if(i) fprintf(f, "\n");
+
+#if defined(__s390x__)
+  /*
+   * bsc#1168036
+   *
+   * If device auto-config has been disabled pass this setting on to the 
target system.
+   */
+  if(config.device_auto_config == 0 && util_has_device_auto_config()) {
+slist_append_str(_list, "rd.zdev=no-auto");
+  }
+#endif
+
+  if(parm_list) {
+char *str = slist_join(" ", parm_list);
+fprintf(f, "Cmdline: %s\n", str);
+free(str);
+  }
+
+  slist_free(parm_list);
 
   file_free_file(ft0);
 
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/linuxrc-7.0.17/file.h new/linuxrc-7.0.18/file.h
--- old/linuxrc-7.0.17/file.h   2020-06-03 14:56:12.0 +0200
+++ new/linuxrc-7.0.18/file.h   2020-06-24 14:01:57.0 +0200
@@ -57,7 +57,7 @@
   key_nanny, key_vlanid,
   key_sshkey, key_systemboot, key_sethostname, key_debugshell, key_self_update,
   key_ibft_devices, key_linuxrc_core, key_norepo, key_auto_assembly, 
key_autoyast_parse,
-  key_device_auto_config, 

commit linuxrc for openSUSE:Factory

2020-06-05 Thread root
Hello community,

here is the log from the commit of package linuxrc for openSUSE:Factory checked 
in at 2020-06-05 20:07:24

Comparing /work/SRC/openSUSE:Factory/linuxrc (Old)
 and  /work/SRC/openSUSE:Factory/.linuxrc.new.3606 (New)


Package is "linuxrc"

Fri Jun  5 20:07:24 2020 rev:285 rq:811147 version:7.0.17

Changes:

--- /work/SRC/openSUSE:Factory/linuxrc/linuxrc.changes  2020-05-16 
22:23:45.752956438 +0200
+++ /work/SRC/openSUSE:Factory/.linuxrc.new.3606/linuxrc.changes
2020-06-05 20:09:41.645637954 +0200
@@ -1,0 +2,7 @@
+Wed Jun 3 12:56:12 UTC 2020 - wfe...@opensuse.org
+
+- merge gh#openSUSE/linuxrc#224
+- replace $releasever in URLs, similar to libzypp (bsc#1171018)
+- 7.0.17
+
+

Old:

  linuxrc-7.0.16.tar.xz

New:

  linuxrc-7.0.17.tar.xz



Other differences:
--
++ linuxrc.spec ++
--- /var/tmp/diff_new_pack.9RFRXR/_old  2020-06-05 20:09:42.865641890 +0200
+++ /var/tmp/diff_new_pack.9RFRXR/_new  2020-06-05 20:09:42.869641903 +0200
@@ -17,7 +17,7 @@
 
 
 Name:   linuxrc
-Version:7.0.16
+Version:7.0.17
 Release:0
 Summary:SUSE Installation Program
 License:GPL-3.0+

++ linuxrc-7.0.16.tar.xz -> linuxrc-7.0.17.tar.xz ++
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/linuxrc-7.0.16/VERSION new/linuxrc-7.0.17/VERSION
--- old/linuxrc-7.0.16/VERSION  2020-05-14 10:32:49.0 +0200
+++ new/linuxrc-7.0.17/VERSION  2020-06-03 14:56:12.0 +0200
@@ -1 +1 @@
-7.0.16
+7.0.17
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/linuxrc-7.0.16/changelog new/linuxrc-7.0.17/changelog
--- old/linuxrc-7.0.16/changelog2020-05-14 10:32:49.0 +0200
+++ new/linuxrc-7.0.17/changelog2020-06-03 14:56:12.0 +0200
@@ -1,3 +1,7 @@
+2020-06-03:7.0.17
+   - merge gh#openSUSE/linuxrc#224
+   - replace $releasever in URLs, similar to libzypp (bsc#1171018)
+
 2020-05-14:7.0.16
- merge gh#openSUSE/linuxrc#223
- udevadm is in /usr/bin (bsc#1171587)
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/linuxrc-7.0.16/global.h new/linuxrc-7.0.17/global.h
--- old/linuxrc-7.0.16/global.h 2020-05-14 10:32:49.0 +0200
+++ new/linuxrc-7.0.17/global.h 2020-06-03 14:56:12.0 +0200
@@ -265,7 +265,6 @@
 typedef struct {
   char *str;
   instmode_t scheme;
-  instmode_t orig_scheme;
   char *server;
   char *share;
   char *path;
@@ -299,6 +298,16 @@
 char *model;
 char *unique_id;
   } used;
+  struct {
+/*
+ * The original values of some url components that might get modified in 
url_set().
+ */
+instmode_t scheme;
+char *server;
+char *share;
+char *path;
+char *instsys;
+  } orig;
 } url_t;
 
 
@@ -494,6 +503,7 @@
   char *serial;/**< serial console parameters, e.g. 
ttyS0,38400 or ttyS1,9600n8 */
   char *product;   /**< product name */
   char *product_dir;   /**< product specific dir component (e.g. 
'suse') */
+  char *releasever;/**< product version, to be used for replacing 
$releasever in zypp */
   int kbdtimeout;  /**< keyboard timeout (in s) */
   int escdelay;/**< timeout to differ esc from 
function keys */
   int loglevel;/**< set kernel log level */
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/linuxrc-7.0.16/linuxrc.c new/linuxrc-7.0.17/linuxrc.c
--- old/linuxrc-7.0.16/linuxrc.c2020-05-14 10:32:49.0 +0200
+++ new/linuxrc-7.0.17/linuxrc.c2020-06-03 14:56:12.0 +0200
@@ -856,6 +856,8 @@
 
   config.platform_name=get_platform_name();
 
+  util_get_releasever();
+
   LXRC_WAIT
 
   if(util_check_exist("/sbin/mount.smbfs")) {
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/linuxrc-7.0.16/url.c new/linuxrc-7.0.17/url.c
--- old/linuxrc-7.0.16/url.c2020-05-14 10:32:49.0 +0200
+++ new/linuxrc-7.0.17/url.c2020-06-03 14:56:12.0 +0200
@@ -93,6 +93,9 @@
 static int is_signed(char *file, int check);
 static unsigned url_scheme_attr(instmode_t scheme, char *attr_name);
 static void url_add_query_string(char **buf, int n, url_t *url);
+static char *url_replace_vars(char *url);
+static void url_replace_vars_with_backup(char **str, char **backup);
+
 
 // mapping of URL schemes to internal constants
 static struct {
@@ -553,7 +556,7 @@
 }
   }
 
-  url->orig_scheme = url->scheme;
+  url->orig.scheme = url->scheme;
 
   /* adjust some url 

commit linuxrc for openSUSE:Factory

2020-05-16 Thread root
Hello community,

here is the log from the commit of package linuxrc for openSUSE:Factory checked 
in at 2020-05-16 22:23:41

Comparing /work/SRC/openSUSE:Factory/linuxrc (Old)
 and  /work/SRC/openSUSE:Factory/.linuxrc.new.2738 (New)


Package is "linuxrc"

Sat May 16 22:23:41 2020 rev:284 rq:805548 version:7.0.16

Changes:

--- /work/SRC/openSUSE:Factory/linuxrc/linuxrc.changes  2020-05-02 
22:16:01.284370632 +0200
+++ /work/SRC/openSUSE:Factory/.linuxrc.new.2738/linuxrc.changes
2020-05-16 22:23:45.752956438 +0200
@@ -1,0 +2,7 @@
+Thu May 14 08:32:49 UTC 2020 - wfe...@opensuse.org
+
+- merge gh#openSUSE/linuxrc#223
+- udevadm is in /usr/bin (bsc#1171587)
+- 7.0.16
+
+

Old:

  linuxrc-7.0.15.tar.xz

New:

  linuxrc-7.0.16.tar.xz



Other differences:
--
++ linuxrc.spec ++
--- /var/tmp/diff_new_pack.XAexOl/_old  2020-05-16 22:23:48.264961594 +0200
+++ /var/tmp/diff_new_pack.XAexOl/_new  2020-05-16 22:23:48.268961602 +0200
@@ -17,7 +17,7 @@
 
 
 Name:   linuxrc
-Version:7.0.15
+Version:7.0.16
 Release:0
 Summary:SUSE Installation Program
 License:GPL-3.0+

++ linuxrc-7.0.15.tar.xz -> linuxrc-7.0.16.tar.xz ++
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/linuxrc-7.0.15/VERSION new/linuxrc-7.0.16/VERSION
--- old/linuxrc-7.0.15/VERSION  2020-04-30 17:24:12.0 +0200
+++ new/linuxrc-7.0.16/VERSION  2020-05-14 10:32:49.0 +0200
@@ -1 +1 @@
-7.0.15
+7.0.16
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/linuxrc-7.0.15/changelog new/linuxrc-7.0.16/changelog
--- old/linuxrc-7.0.15/changelog2020-04-30 17:24:12.0 +0200
+++ new/linuxrc-7.0.16/changelog2020-05-14 10:32:49.0 +0200
@@ -1,3 +1,7 @@
+2020-05-14:7.0.16
+   - merge gh#openSUSE/linuxrc#223
+   - udevadm is in /usr/bin (bsc#1171587)
+
 2020-04-30:7.0.15
- merge gh#openSUSE/linuxrc#222
- take care of url query parameters (bsc#1169492)
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/linuxrc-7.0.15/net.c new/linuxrc-7.0.16/net.c
--- old/linuxrc-7.0.15/net.c2020-04-30 17:24:12.0 +0200
+++ new/linuxrc-7.0.16/net.c2020-05-14 10:32:49.0 +0200
@@ -1636,7 +1636,7 @@
 return -1;
   }
 
-  rc = lxrc_run("/sbin/udevadm settle");
+  rc = lxrc_run("/usr/bin/udevadm settle");
   if(rc) {
 sprintf(cmd, "udevadm settle failed (error code %d)", rc);
 dia_message(cmd, MSGTYPE_ERROR);




commit linuxrc for openSUSE:Factory

2020-05-02 Thread root
Hello community,

here is the log from the commit of package linuxrc for openSUSE:Factory checked 
in at 2020-05-02 22:15:45

Comparing /work/SRC/openSUSE:Factory/linuxrc (Old)
 and  /work/SRC/openSUSE:Factory/.linuxrc.new.2738 (New)


Package is "linuxrc"

Sat May  2 22:15:45 2020 rev:283 rq:799290 version:7.0.15

Changes:

--- /work/SRC/openSUSE:Factory/linuxrc/linuxrc.changes  2020-04-11 
23:45:51.331057584 +0200
+++ /work/SRC/openSUSE:Factory/.linuxrc.new.2738/linuxrc.changes
2020-05-02 22:16:01.284370632 +0200
@@ -1,0 +2,8 @@
+Thu Apr 30 15:24:12 UTC 2020 - wfe...@opensuse.org
+
+- merge gh#openSUSE/linuxrc#222
+- take care of url query parameters (bsc#1169492)
+- add autoyast.passurl option to linuxrc
+- 7.0.15
+
+

Old:

  linuxrc-7.0.14.tar.xz

New:

  linuxrc-7.0.15.tar.xz



Other differences:
--
++ linuxrc.spec ++
--- /var/tmp/diff_new_pack.vqwNDW/_old  2020-05-02 22:16:02.664373523 +0200
+++ /var/tmp/diff_new_pack.vqwNDW/_new  2020-05-02 22:16:02.668373531 +0200
@@ -17,7 +17,7 @@
 
 
 Name:   linuxrc
-Version:7.0.14
+Version:7.0.15
 Release:0
 Summary:SUSE Installation Program
 License:GPL-3.0+

++ linuxrc-7.0.14.tar.xz -> linuxrc-7.0.15.tar.xz ++
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/linuxrc-7.0.14/VERSION new/linuxrc-7.0.15/VERSION
--- old/linuxrc-7.0.14/VERSION  2020-04-09 17:20:00.0 +0200
+++ new/linuxrc-7.0.15/VERSION  2020-04-30 17:24:12.0 +0200
@@ -1 +1 @@
-7.0.14
+7.0.15
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/linuxrc-7.0.14/changelog new/linuxrc-7.0.15/changelog
--- old/linuxrc-7.0.14/changelog2020-04-09 17:20:00.0 +0200
+++ new/linuxrc-7.0.15/changelog2020-04-30 17:24:12.0 +0200
@@ -1,3 +1,8 @@
+2020-04-30:7.0.15
+   - merge gh#openSUSE/linuxrc#222
+   - take care of url query parameters (bsc#1169492)
+   - add autoyast.passurl option to linuxrc
+
 2020-04-09:7.0.14
- merge gh#openSUSE/linuxrc#218
- Update doc for hostname in different SLE versions
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/linuxrc-7.0.14/file.c new/linuxrc-7.0.15/file.c
--- old/linuxrc-7.0.14/file.c   2020-04-09 17:20:00.0 +0200
+++ new/linuxrc-7.0.15/file.c   2020-04-30 17:24:12.0 +0200
@@ -120,6 +120,7 @@
   { key_autoyast,   "AY", kf_cfg + kf_cmd_early  },
   { key_autoyast_parse, "AutoYaSTParse",  kf_cfg + kf_cmd_early  },
   { key_autoyast_parse, "AYParse",kf_cfg + kf_cmd_early  },
+  { key_autoyast_passurl, "AutoYaSTPassURL",  kf_cfg + kf_cmd_early  },
   { key_autoyast2,  "AutoYaST2",  kf_cfg + kf_cmd_early  },
   { key_linuxrc,"linuxrc",kf_cfg + kf_cmd_early  },
   { key_forceinsmod,"ForceInsmod",kf_cfg + kf_cmd},
@@ -855,6 +856,10 @@
 if(f->is.numeric) config.autoyast_parse = f->nvalue;
 break;
 
+  case key_autoyast_passurl:
+if(f->is.numeric) config.autoyast_passurl = f->nvalue;
+break;
+
   case key_info:
 if(*f->value) slist_append_str(, f->value);
 break;
@@ -1950,7 +1955,7 @@
   if(config.url.autoyast) {
 log_info("final autoyast url: %s\n", url_print(config.url.autoyast, 0));
 file_write_str(f, key_autoyast,
-  config.autoyast_parse ? url_print(config.url.autoyast, 5) : 
config.url.autoyast->str
+  config.autoyast_parse && !config.autoyast_passurl ? 
url_print(config.url.autoyast, 5) : config.url.autoyast->str
 );
   }
   /*
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/linuxrc-7.0.14/file.h new/linuxrc-7.0.15/file.h
--- old/linuxrc-7.0.14/file.h   2020-04-09 17:20:00.0 +0200
+++ new/linuxrc-7.0.15/file.h   2020-04-30 17:24:12.0 +0200
@@ -57,7 +57,7 @@
   key_nanny, key_vlanid,
   key_sshkey, key_systemboot, key_sethostname, key_debugshell, key_self_update,
   key_ibft_devices, key_linuxrc_core, key_norepo, key_auto_assembly, 
key_autoyast_parse,
-  key_device_auto_config
+  key_device_auto_config, key_autoyast_passurl
 } file_key_t;
 
 typedef enum {
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/linuxrc-7.0.14/global.h new/linuxrc-7.0.15/global.h
--- old/linuxrc-7.0.14/global.h 2020-04-09 17:20:00.0 +0200
+++ new/linuxrc-7.0.15/global.h 2020-04-30 17:24:12.0 +0200
@@ -450,6 +450,7 @@
   unsigned norepo:1;/**< disable repo location 

commit linuxrc for openSUSE:Factory

2020-04-11 Thread root
Hello community,

here is the log from the commit of package linuxrc for openSUSE:Factory checked 
in at 2020-04-11 23:45:37

Comparing /work/SRC/openSUSE:Factory/linuxrc (Old)
 and  /work/SRC/openSUSE:Factory/.linuxrc.new.3248 (New)


Package is "linuxrc"

Sat Apr 11 23:45:37 2020 rev:282 rq:792775 version:7.0.14

Changes:

--- /work/SRC/openSUSE:Factory/linuxrc/linuxrc.changes  2020-03-11 
18:32:21.650899201 +0100
+++ /work/SRC/openSUSE:Factory/.linuxrc.new.3248/linuxrc.changes
2020-04-11 23:45:51.331057584 +0200
@@ -1,0 +2,35 @@
+Thu Apr 9 15:20:00 UTC 2020 - wfe...@opensuse.org
+
+- merge gh#openSUSE/linuxrc#221
+- Use long-named options for better readability
+- 7.0.14
+
+
+Thu Apr 9 15:17:31 UTC 2020 - wfe...@opensuse.org
+
+- merge gh#openSUSE/linuxrc#218
+- Update doc for hostname in different SLE versions
+
+
+Mon Apr 6 14:48:37 UTC 2020 - wfe...@opensuse.org
+
+- merge gh#openSUSE/linuxrc#220
+- make I/O device pre-configuration optional (bsc#1168036,
+  jsc#SLE-7396)
+- add check for pre-config data
+- change displayed texts to 'auto-configuration'
+- 7.0.13
+
+
+Thu Apr 2 08:37:54 UTC 2020 - wfe...@opensuse.org
+
+- merge gh#openSUSE/linuxrc#219
+- parse 'try' keyword in ifcfg option (jsc#SLE-8965, jsc#SLE-9791)
+- move ifcfg option with 'try' to config.ifcfg.manual
+- fix iterating through device list
+- remove unused is_configured var
+- remove trailing space
+- fix travis setup
+- 7.0.12
+
+

Old:

  linuxrc-7.0.11.tar.xz

New:

  linuxrc-7.0.14.tar.xz



Other differences:
--
++ linuxrc.spec ++
--- /var/tmp/diff_new_pack.urTMb1/_old  2020-04-11 23:45:52.715058639 +0200
+++ /var/tmp/diff_new_pack.urTMb1/_new  2020-04-11 23:45:52.719058642 +0200
@@ -17,7 +17,7 @@
 
 
 Name:   linuxrc
-Version:7.0.11
+Version:7.0.14
 Release:0
 Summary:SUSE Installation Program
 License:GPL-3.0+

++ linuxrc-7.0.11.tar.xz -> linuxrc-7.0.14.tar.xz ++
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/linuxrc-7.0.11/.travis.yml 
new/linuxrc-7.0.14/.travis.yml
--- old/linuxrc-7.0.11/.travis.yml  2020-03-06 13:13:38.0 +0100
+++ new/linuxrc-7.0.14/.travis.yml  2020-04-09 17:20:00.0 +0200
@@ -9,4 +9,4 @@
   - docker run --rm -it linuxrc-image rpm -qa | sort
 
 script:
-  - docker run --rm -it -e TRAVIS=1 linuxrc-image bash -c "make -j `nproc` && 
./smoke_test.sh"
+  - docker run --rm -it -e TRAVIS=1 --privileged linuxrc-image bash -c "make 
-j `nproc` && ./smoke_test.sh"
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/linuxrc-7.0.11/VERSION new/linuxrc-7.0.14/VERSION
--- old/linuxrc-7.0.11/VERSION  2020-03-06 13:13:38.0 +0100
+++ new/linuxrc-7.0.14/VERSION  2020-04-09 17:20:00.0 +0200
@@ -1 +1 @@
-7.0.11
+7.0.14
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/linuxrc-7.0.11/changelog new/linuxrc-7.0.14/changelog
--- old/linuxrc-7.0.11/changelog2020-03-06 13:13:38.0 +0100
+++ new/linuxrc-7.0.14/changelog2020-04-09 17:20:00.0 +0200
@@ -1,3 +1,25 @@
+2020-04-09:7.0.14
+   - merge gh#openSUSE/linuxrc#218
+   - Update doc for hostname in different SLE versions
+   - merge gh#openSUSE/linuxrc#221
+   - Use long-named options for better readability
+
+2020-04-06:7.0.13
+   - merge gh#openSUSE/linuxrc#220
+   - make I/O device pre-configuration optional (bsc#1168036,
+ jsc#SLE-7396)
+   - add check for pre-config data
+   - change displayed texts to 'auto-configuration'
+
+2020-04-02:7.0.12
+   - merge gh#openSUSE/linuxrc#219
+   - parse 'try' keyword in ifcfg option (jsc#SLE-8965, jsc#SLE-9791)
+   - move ifcfg option with 'try' to config.ifcfg.manual
+   - fix iterating through device list
+   - remove unused is_configured var
+   - remove trailing space
+   - fix travis setup
+
 2020-03-06:7.0.11
- merge gh#openSUSE/linuxrc#216
- fix rescue system setup (bsc#1160378)
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/linuxrc-7.0.11/dialog.c new/linuxrc-7.0.14/dialog.c
--- old/linuxrc-7.0.11/dialog.c 2020-03-06 13:13:38.0 +0100
+++ new/linuxrc-7.0.14/dialog.c 2020-04-09 17:20:00.0 +0200
@@ -57,6 +57,7 @@
   { di_set_usessh,   "Enable or Disable SSH Mode",  },
   { 

commit linuxrc for openSUSE:Factory

2020-03-11 Thread root
Hello community,

here is the log from the commit of package linuxrc for openSUSE:Factory checked 
in at 2020-03-11 18:32:19

Comparing /work/SRC/openSUSE:Factory/linuxrc (Old)
 and  /work/SRC/openSUSE:Factory/.linuxrc.new.3160 (New)


Package is "linuxrc"

Wed Mar 11 18:32:19 2020 rev:281 rq:782099 version:7.0.11

Changes:

--- /work/SRC/openSUSE:Factory/linuxrc/linuxrc.changes  2020-02-21 
16:39:41.673713740 +0100
+++ /work/SRC/openSUSE:Factory/.linuxrc.new.3160/linuxrc.changes
2020-03-11 18:32:21.650899201 +0100
@@ -1,0 +2,7 @@
+Fri Mar 6 12:13:38 UTC 2020 - wfe...@opensuse.org
+
+- merge gh#openSUSE/linuxrc#216
+- fix rescue system setup (bsc#1160378)
+- 7.0.11
+
+

Old:

  linuxrc-7.0.10.tar.xz

New:

  linuxrc-7.0.11.tar.xz



Other differences:
--
++ linuxrc.spec ++
--- /var/tmp/diff_new_pack.SI7N1J/_old  2020-03-11 18:32:22.354899633 +0100
+++ /var/tmp/diff_new_pack.SI7N1J/_new  2020-03-11 18:32:22.354899633 +0100
@@ -17,7 +17,7 @@
 
 
 Name:   linuxrc
-Version:7.0.10
+Version:7.0.11
 Release:0
 Summary:SUSE Installation Program
 License:GPL-3.0+

++ linuxrc-7.0.10.tar.xz -> linuxrc-7.0.11.tar.xz ++
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/linuxrc-7.0.10/VERSION new/linuxrc-7.0.11/VERSION
--- old/linuxrc-7.0.10/VERSION  2020-02-18 16:10:56.0 +0100
+++ new/linuxrc-7.0.11/VERSION  2020-03-06 13:13:38.0 +0100
@@ -1 +1 @@
-7.0.10
+7.0.11
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/linuxrc-7.0.10/changelog new/linuxrc-7.0.11/changelog
--- old/linuxrc-7.0.10/changelog2020-02-18 16:10:56.0 +0100
+++ new/linuxrc-7.0.11/changelog2020-03-06 13:13:38.0 +0100
@@ -1,3 +1,7 @@
+2020-03-06:7.0.11
+   - merge gh#openSUSE/linuxrc#216
+   - fix rescue system setup (bsc#1160378)
+
 2020-02-18:7.0.10
- merge gh#openSUSE/linuxrc#213
- move plymouthd start after screen size detection (bsc#1163115)
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/linuxrc-7.0.10/linuxrc.c new/linuxrc-7.0.11/linuxrc.c
--- old/linuxrc-7.0.10/linuxrc.c2020-02-18 16:10:56.0 +0100
+++ new/linuxrc-7.0.11/linuxrc.c2020-03-06 13:13:38.0 +0100
@@ -84,6 +84,7 @@
 static int cmp_entry(slist_t *sl0, slist_t *sl1);
 static int cmp_entry_s(const void *p0, const void *p1);
 static void lxrc_add_parts(void);
+static void lxrc_umount_parts(char *basedir);
 #if SWISS_ARMY_KNIFE 
 static void lxrc_makelinks(char *name);
 #endif
@@ -296,7 +297,7 @@
   char *argv[3] = { };
   char *dirs[] = {
 "bin", "boot", "etc", "home", "lib", "run",
-"media", "mounts", "mounts/initrd", "mnt", "proc", "sbin",
+"media", "mounts", "mounts/initrd", "mnt", "parts", "parts/mp_", 
"proc", "sbin",
 "sys", "tmp", "usr", "usr/lib", "usr/lib/microcode", "var",
 NULL
   };
@@ -312,6 +313,8 @@
   ) {
 log_info("starting rescue\n");
 
+mount("tmpfs", mp, "tmpfs", 0, "size=100%,nr_inodes=0");
+
 // add dud images
 for(i = 0; i < config.update.ext_count; i++) {
   sl = slist_add(_list, slist_new());
@@ -328,17 +331,20 @@
   if(!strcmp(*s, "tmp")) chmod(buf, 01777);
 }
 
-// move module tree
+// link module tree
 strprintf(, "%s/lib/modules", mp);
-rename("/lib/modules", buf);
+symlink("/parts/mp_/lib/modules", buf);
 
-// move firmware tree
+// link firmware tree
 strprintf(, "%s/lib/firmware", mp);
-rename("/lib/firmware", buf);
+symlink("/parts/mp_/lib/firmware", buf);
+
+// mount 'parts/00_lib' (kernel parts)
+strprintf(, "%s/parts/mp_", mp);
+util_mount_ro("/parts/00_lib", buf, NULL);
 
-// move 'parts' tree
-strprintf(, "%s/parts", mp);
-rename("/parts", buf);
+// unmount filesystems below /parts
+lxrc_umount_parts("");
 
 // add devices
 strprintf(, "%s/dev", mp);
@@ -453,9 +459,6 @@
   mount(".", "/", NULL, MS_MOVE, NULL);
   chroot(".");
 
-  /* put / entry back into /proc/mounts */
-  mount("/", "/", "none", MS_BIND, 0);
-
   for(i = 0; i < 20; i++) close(i);
 
   open("/dev/console", O_RDWR);
@@ -681,7 +684,6 @@
 
 void lxrc_init()
 {
-  int i;
   slist_t *sl;
 
   siginterrupt(SIGALRM, 1);
@@ -963,10 +965,6 @@
   if(config.had_segv) config.manual = 1;
 
   if(!config.test && !config.had_segv) {
-log_info("Remount of / ");
-i = mount(0, "/", 0, MS_MGC_VAL | MS_REMOUNT, 0);
-log_info(i ? "failed\n" : "ok\n");
-
 /* Check for special case with aborted installation */
 

commit linuxrc for openSUSE:Factory

2020-02-21 Thread root
Hello community,

here is the log from the commit of package linuxrc for openSUSE:Factory checked 
in at 2020-02-21 16:39:39

Comparing /work/SRC/openSUSE:Factory/linuxrc (Old)
 and  /work/SRC/openSUSE:Factory/.linuxrc.new.26092 (New)


Package is "linuxrc"

Fri Feb 21 16:39:39 2020 rev:280 rq:775240 version:7.0.10

Changes:

--- /work/SRC/openSUSE:Factory/linuxrc/linuxrc.changes  2020-01-30 
09:41:32.673494720 +0100
+++ /work/SRC/openSUSE:Factory/.linuxrc.new.26092/linuxrc.changes   
2020-02-21 16:39:41.673713740 +0100
@@ -1,0 +2,7 @@
+Tue Feb 18 15:10:56 UTC 2020 - wfe...@opensuse.org
+
+- merge gh#openSUSE/linuxrc#213
+- move plymouthd start after screen size detection (bsc#1163115)
+- 7.0.10
+
+

Old:

  linuxrc-7.0.9.tar.xz

New:

  linuxrc-7.0.10.tar.xz



Other differences:
--
++ linuxrc.spec ++
--- /var/tmp/diff_new_pack.TzVMXz/_old  2020-02-21 16:39:42.997716386 +0100
+++ /var/tmp/diff_new_pack.TzVMXz/_new  2020-02-21 16:39:43.001716394 +0100
@@ -17,7 +17,7 @@
 
 
 Name:   linuxrc
-Version:7.0.9
+Version:7.0.10
 Release:0
 Summary:SUSE Installation Program
 License:GPL-3.0+

++ linuxrc-7.0.9.tar.xz -> linuxrc-7.0.10.tar.xz ++
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/linuxrc-7.0.9/VERSION new/linuxrc-7.0.10/VERSION
--- old/linuxrc-7.0.9/VERSION   2020-01-29 10:47:24.0 +0100
+++ new/linuxrc-7.0.10/VERSION  2020-02-18 16:10:56.0 +0100
@@ -1 +1 @@
-7.0.9
+7.0.10
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/linuxrc-7.0.9/changelog new/linuxrc-7.0.10/changelog
--- old/linuxrc-7.0.9/changelog 2020-01-29 10:47:24.0 +0100
+++ new/linuxrc-7.0.10/changelog2020-02-18 16:10:56.0 +0100
@@ -1,3 +1,7 @@
+2020-02-18:7.0.10
+   - merge gh#openSUSE/linuxrc#213
+   - move plymouthd start after screen size detection (bsc#1163115)
+
 2020-01-29:7.0.9
- merge gh#openSUSE/linuxrc#210
- For bsc#1161701, Moved the logic to retrieve the platform name
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/linuxrc-7.0.9/linuxrc.c new/linuxrc-7.0.10/linuxrc.c
--- old/linuxrc-7.0.9/linuxrc.c 2020-01-29 10:47:24.0 +0100
+++ new/linuxrc-7.0.10/linuxrc.c2020-02-18 16:10:56.0 +0100
@@ -992,8 +992,6 @@
   // now that udev is up and running, some URLs might be parsed differently
   util_reparse_blockdev_urls();
 
-  if(config.plymouth) util_run_script("plymouth_setup");
-
   util_free_mem();
 
   if(config.memoryXXX.free < config.memoryXXX.min_free) {
@@ -1012,10 +1010,6 @@
 freopen(config.console, "a", stdout);
   }
 
-  util_get_splash_status();
-
-  util_splash_bar(10, SPLASH_10);
-
   if(util_check_exist("/proc/iSeries")) {
 config.is_iseries = 1;
 config.linemode = 1;
@@ -1028,6 +1022,12 @@
   // clear keyboard queue
   while(kbd_getch_old(0));
 
+  if(config.plymouth) util_run_script("plymouth_setup");
+
+  util_get_splash_status();
+
+  util_splash_bar(10, SPLASH_10);
+
   set_activate_language(config.language);
 
   // auto2_chk_expert();




commit linuxrc for openSUSE:Factory

2020-01-30 Thread root
Hello community,

here is the log from the commit of package linuxrc for openSUSE:Factory checked 
in at 2020-01-30 09:40:45

Comparing /work/SRC/openSUSE:Factory/linuxrc (Old)
 and  /work/SRC/openSUSE:Factory/.linuxrc.new.26092 (New)


Package is "linuxrc"

Thu Jan 30 09:40:45 2020 rev:279 rq:768258 version:7.0.9

Changes:

--- /work/SRC/openSUSE:Factory/linuxrc/linuxrc.changes  2020-01-10 
18:40:21.371490181 +0100
+++ /work/SRC/openSUSE:Factory/.linuxrc.new.26092/linuxrc.changes   
2020-01-30 09:41:32.673494720 +0100
@@ -0,0 +1,22 @@
+
+Wed Jan 29 09:47:24 UTC 2020 - wfe...@opensuse.org
+
+- merge gh#openSUSE/linuxrc#210
+- For bsc#1161701, Moved the logic to retrieve the platform name
+  into a subroutine, and moved the invocation of it until after the
+  call to lxrc_add_parts so that the squashfs files have been
+  loopback mounted. Move the definition for the platform variable
+  outside the ifdef. Replace a direct assignment to platform with a
+  call to str_copy.
+- Modified the startup message from "1996-2019" to "1996-2020"
+- 7.0.9
+
+
+Fri Jan 24 16:07:04 UTC 2020 - wfe...@opensuse.org
+
+- merge gh#openSUSE/linuxrc#209
+- rework 'extend' command to log and report an error if linuxrc
+  unexpectedly crashes (bsc#1158996)
+- Append RPM_OPT_FLAGS to CFLAGS.
+- 7.0.8
+

Old:

  linuxrc-7.0.7.tar.xz

New:

  linuxrc-7.0.9.tar.xz



Other differences:
--
++ linuxrc.spec ++
--- /var/tmp/diff_new_pack.T2CYJT/_old  2020-01-30 09:41:33.353495085 +0100
+++ /var/tmp/diff_new_pack.T2CYJT/_new  2020-01-30 09:41:33.357495087 +0100
@@ -17,7 +17,7 @@
 
 
 Name:   linuxrc
-Version:7.0.7
+Version:7.0.9
 Release:0
 Summary:SUSE Installation Program
 License:GPL-3.0+

++ linuxrc-7.0.7.tar.xz -> linuxrc-7.0.9.tar.xz ++
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/linuxrc-7.0.7/Makefile new/linuxrc-7.0.9/Makefile
--- old/linuxrc-7.0.7/Makefile  2019-12-13 15:15:51.0 +0100
+++ new/linuxrc-7.0.9/Makefile  2020-01-29 10:47:24.0 +0100
@@ -1,5 +1,5 @@
 CC = gcc
-CFLAGS = -c -g -O2 -Wall -Wno-pointer-sign
+CFLAGS = -c -g -O2 -Wall -Wno-pointer-sign $(RPM_OPT_FLAGS)
 LDFLAGS= -rdynamic -lhd -lblkid -lcurl -lreadline -lmediacheck
 ARCH   = $(shell /usr/bin/uname -m)
 ifeq ($(ARCH),s390x)
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/linuxrc-7.0.7/VERSION new/linuxrc-7.0.9/VERSION
--- old/linuxrc-7.0.7/VERSION   2019-12-13 15:15:51.0 +0100
+++ new/linuxrc-7.0.9/VERSION   2020-01-29 10:47:24.0 +0100
@@ -1 +1 @@
-7.0.7
+7.0.9
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/linuxrc-7.0.7/auto2.c new/linuxrc-7.0.9/auto2.c
--- old/linuxrc-7.0.7/auto2.c   2019-12-13 15:15:51.0 +0100
+++ new/linuxrc-7.0.9/auto2.c   2020-01-29 10:47:24.0 +0100
@@ -1123,6 +1123,11 @@
 
   log_info("instsys add extension: %s\n", extension);
 
+  if(config.test) {
+log_info("test mode - do nothing\n");
+return 0;
+  }
+
   str_copy(, new_mountpoint());
   str_copy(, new_mountpoint());
 
@@ -1198,6 +1203,11 @@
 
   log_info("instsys remove extension: %s\n", extension);
 
+  if(config.test) {
+log_info("test mode - do nothing\n");
+return 0;
+  }
+
   s = url_instsys_base(config.url.instsys->path);
   if(!s) return 3;
 
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/linuxrc-7.0.7/changelog new/linuxrc-7.0.9/changelog
--- old/linuxrc-7.0.7/changelog 2019-12-13 15:15:51.0 +0100
+++ new/linuxrc-7.0.9/changelog 2020-01-29 10:47:24.0 +0100
@@ -1,3 +1,23 @@
+2020-01-29:7.0.9
+   - merge gh#openSUSE/linuxrc#210
+   - For bsc#1161701, Moved the logic to retrieve the platform name
+ into a subroutine, and moved the invocation of it until after the
+ call to lxrc_add_parts so that the squashfs files have been
+ loopback mounted.
+   - For bsc#1161701, Moved the logic to retrieve the platform name
+ into a subroutine, and moved the invocation of it until after the
+ call to lxrc_add_parts so that the squashfs files have been
+ loopback mounted. Move the definition for the platform variable
+ outside the ifdef. Replace a direct assignment to platform with a
+ call to str_copy.
+   - Modified the startup message from "1996-2019" to "1996-2020"
+
+2020-01-24:7.0.8
+   - merge gh#openSUSE/linuxrc#209
+   - rework 'extend' command to log and report an 

commit linuxrc for openSUSE:Factory

2020-01-10 Thread root
Hello community,

here is the log from the commit of package linuxrc for openSUSE:Factory checked 
in at 2020-01-10 18:39:53

Comparing /work/SRC/openSUSE:Factory/linuxrc (Old)
 and  /work/SRC/openSUSE:Factory/.linuxrc.new.6675 (New)


Package is "linuxrc"

Fri Jan 10 18:39:53 2020 rev:278 rq:761562 version:7.0.7

Changes:

--- /work/SRC/openSUSE:Factory/linuxrc/linuxrc.changes  2019-12-14 
12:04:48.803389084 +0100
+++ /work/SRC/openSUSE:Factory/.linuxrc.new.6675/linuxrc.changes
2020-01-10 18:40:21.371490181 +0100
@@ -0,0 +1,5 @@
+---
+Tue Jan  7 10:59:38 UTC 2020 - Steffen Winterfeldt 
+
+- s390x needs qclib-devel to build
+



Other differences:
--
++ linuxrc.spec ++
--- /var/tmp/diff_new_pack.4Pg7US/_old  2020-01-10 18:40:22.139490470 +0100
+++ /var/tmp/diff_new_pack.4Pg7US/_new  2020-01-10 18:40:22.143490472 +0100
@@ -30,6 +30,9 @@
 BuildRequires:  pkgconfig(blkid)
 BuildRequires:  pkgconfig(hwinfo)
 BuildRequires:  pkgconfig(libcurl)
+%ifarch s390x
+BuildRequires:  qclib-devel
+%endif
 BuildRoot:  %{_tmppath}/%{name}-%{version}-build
 
 %description




commit linuxrc for openSUSE:Factory

2019-12-14 Thread root
Hello community,

here is the log from the commit of package linuxrc for openSUSE:Factory checked 
in at 2019-12-14 12:04:18

Comparing /work/SRC/openSUSE:Factory/linuxrc (Old)
 and  /work/SRC/openSUSE:Factory/.linuxrc.new.4691 (New)


Package is "linuxrc"

Sat Dec 14 12:04:18 2019 rev:277 rq:756828 version:7.0.7

Changes:

--- /work/SRC/openSUSE:Factory/linuxrc/linuxrc.changes  2019-12-07 
15:23:10.959730519 +0100
+++ /work/SRC/openSUSE:Factory/.linuxrc.new.4691/linuxrc.changes
2019-12-14 12:04:48.803389084 +0100
@@ -1,0 +2,22 @@
+Fri Dec 13 14:15:51 UTC 2019 - wfe...@opensuse.org
+
+- merge gh#openSUSE/linuxrc#207
+- Revert "Append RPM_OPT_FLAGS to CFLAGS." (bsc#1158996)
+- 7.0.7
+
+---
+Thu Dec 12 11:31:50 UTC 2019 - Steffen Winterfeldt 
+
+- enhance shell login and installer to indicate IBM Z model
+  (jsc#SLE-9424)
+
+
+Tue Dec 10 12:18:47 UTC 2019 - wfe...@opensuse.org
+
+- merge gh#openSUSE/linuxrc#206
+- For jsc#SLE-9474, Added logic to linuxrc.c and util.c to retrieve
+  the name of the processor linuxrc is running on, for mainframe
+  systems only.
+- 7.0.6
+
+

Old:

  linuxrc-7.0.5.tar.xz

New:

  linuxrc-7.0.7.tar.xz



Other differences:
--
++ linuxrc.spec ++
--- /var/tmp/diff_new_pack.6jhsAv/_old  2019-12-14 12:04:51.451388625 +0100
+++ /var/tmp/diff_new_pack.6jhsAv/_new  2019-12-14 12:04:51.455388623 +0100
@@ -17,7 +17,7 @@
 
 
 Name:   linuxrc
-Version:7.0.5
+Version:7.0.7
 Release:0
 Summary:SUSE Installation Program
 License:GPL-3.0+

++ linuxrc-7.0.5.tar.xz -> linuxrc-7.0.7.tar.xz ++
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/linuxrc-7.0.5/Makefile new/linuxrc-7.0.7/Makefile
--- old/linuxrc-7.0.5/Makefile  2019-12-05 11:19:42.0 +0100
+++ new/linuxrc-7.0.7/Makefile  2019-12-13 15:15:51.0 +0100
@@ -1,6 +1,10 @@
 CC = gcc
-CFLAGS = -c -g -O2 -Wall -Wno-pointer-sign $(RPM_OPT_FLAGS)
+CFLAGS = -c -g -O2 -Wall -Wno-pointer-sign
 LDFLAGS= -rdynamic -lhd -lblkid -lcurl -lreadline -lmediacheck
+ARCH   = $(shell /usr/bin/uname -m)
+ifeq ($(ARCH),s390x)
+LDFLAGS+= -lqc
+endif
 
 GIT2LOG := $(shell if [ -x ./git2log ] ; then echo ./git2log --update ; else 
echo true ; fi)
 GITDEPS := $(shell [ -d .git ] && echo .git/HEAD .git/refs/heads 
.git/refs/tags)
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/linuxrc-7.0.5/VERSION new/linuxrc-7.0.7/VERSION
--- old/linuxrc-7.0.5/VERSION   2019-12-05 11:19:42.0 +0100
+++ new/linuxrc-7.0.7/VERSION   2019-12-13 15:15:51.0 +0100
@@ -1 +1 @@
-7.0.5
+7.0.7
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/linuxrc-7.0.5/changelog new/linuxrc-7.0.7/changelog
--- old/linuxrc-7.0.5/changelog 2019-12-05 11:19:42.0 +0100
+++ new/linuxrc-7.0.7/changelog 2019-12-13 15:15:51.0 +0100
@@ -1,3 +1,13 @@
+2019-12-13:7.0.7
+   - merge gh#openSUSE/linuxrc#207
+   - Revert "Append RPM_OPT_FLAGS to CFLAGS."
+
+2019-12-10:7.0.6
+   - merge gh#openSUSE/linuxrc#206
+   - For jsc#SLE-9474, Added logic to linuxrc.c and util.c to retrieve
+ the name of the processor linuxrc is running on, for mainframe
+ systems only.
+
 2019-12-05:7.0.5
- merge gh#openSUSE/linuxrc#204
- Append RPM_OPT_FLAGS to CFLAGS.
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/linuxrc-7.0.5/global.h new/linuxrc-7.0.7/global.h
--- old/linuxrc-7.0.5/global.h  2019-12-05 11:19:42.0 +0100
+++ new/linuxrc-7.0.7/global.h  2019-12-13 15:15:51.0 +0100
@@ -527,6 +527,7 @@
  * 2: if necessary, with user dialog (default)
  * 3: if necessary, no user dialog
  */
+  char *platform_name;   /* Human-readable name of the hardware */
 
   struct {
 unsigned failed:1; /**< digest check failed */
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/linuxrc-7.0.5/linuxrc.c new/linuxrc-7.0.7/linuxrc.c
--- old/linuxrc-7.0.5/linuxrc.c 2019-12-05 11:19:42.0 +0100
+++ new/linuxrc-7.0.7/linuxrc.c 2019-12-13 15:15:51.0 +0100
@@ -46,6 +46,9 @@
 #include "checkmedia.h"
 #include "url.h"
 #include 
+#ifdef __s390x__
+#include 
+#endif
 
 #if defined(__alpha__) || defined(__ia64__)
 #define SIGNAL_ARGSint signum, int x, struct 

commit linuxrc for openSUSE:Factory

2019-12-07 Thread root
Hello community,

here is the log from the commit of package linuxrc for openSUSE:Factory checked 
in at 2019-12-07 15:20:05

Comparing /work/SRC/openSUSE:Factory/linuxrc (Old)
 and  /work/SRC/openSUSE:Factory/.linuxrc.new.4691 (New)


Package is "linuxrc"

Sat Dec  7 15:20:05 2019 rev:276 rq:754323 version:7.0.5

Changes:

--- /work/SRC/openSUSE:Factory/linuxrc/linuxrc.changes  2019-11-24 
23:44:13.440033762 +0100
+++ /work/SRC/openSUSE:Factory/.linuxrc.new.4691/linuxrc.changes
2019-12-07 15:23:10.959730519 +0100
@@ -1,0 +2,30 @@
+Thu Dec 5 10:19:42 UTC 2019 - wfe...@opensuse.org
+
+- merge gh#openSUSE/linuxrc#204
+- Append RPM_OPT_FLAGS to CFLAGS.
+- Append EXTRA_CFLAGS to CFLAGS.
+- 7.0.5
+
+
+Thu Dec 5 10:05:01 UTC 2019 - wfe...@opensuse.org
+
+- merge gh#openSUSE/linuxrc#205
+- Fix building with -fno-common.
+- 7.0.4
+
+
+Thu Nov 28 15:33:47 UTC 2019 - wfe...@opensuse.org
+
+- merge gh#openSUSE/linuxrc#200
+- fix 'label' URL scheme parsing
+- 7.0.3
+
+
+Thu Nov 28 14:15:05 UTC 2019 - wfe...@opensuse.org
+
+- merge gh#openSUSE/linuxrc#199
+- fix URL parsing (bsc#1156967)
+- re-parse URLs after udevd has been started (bsc#1156967)
+- 7.0.2
+
+

Old:

  linuxrc-7.0.1.tar.xz

New:

  linuxrc-7.0.5.tar.xz



Other differences:
--
++ linuxrc.spec ++
--- /var/tmp/diff_new_pack.3P6AxP/_old  2019-12-07 15:23:11.363730463 +0100
+++ /var/tmp/diff_new_pack.3P6AxP/_new  2019-12-07 15:23:11.367730463 +0100
@@ -17,7 +17,7 @@
 
 
 Name:   linuxrc
-Version:7.0.1
+Version:7.0.5
 Release:0
 Summary:SUSE Installation Program
 License:GPL-3.0+

++ linuxrc-7.0.1.tar.xz -> linuxrc-7.0.5.tar.xz ++
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/linuxrc-7.0.1/Makefile new/linuxrc-7.0.5/Makefile
--- old/linuxrc-7.0.1/Makefile  2019-11-19 16:15:43.0 +0100
+++ new/linuxrc-7.0.5/Makefile  2019-12-05 11:19:42.0 +0100
@@ -1,5 +1,5 @@
 CC = gcc
-CFLAGS = -c -g -O2 -Wall -Wno-pointer-sign
+CFLAGS = -c -g -O2 -Wall -Wno-pointer-sign $(RPM_OPT_FLAGS)
 LDFLAGS= -rdynamic -lhd -lblkid -lcurl -lreadline -lmediacheck
 
 GIT2LOG := $(shell if [ -x ./git2log ] ; then echo ./git2log --update ; else 
echo true ; fi)
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/linuxrc-7.0.1/VERSION new/linuxrc-7.0.5/VERSION
--- old/linuxrc-7.0.1/VERSION   2019-11-19 16:15:43.0 +0100
+++ new/linuxrc-7.0.5/VERSION   2019-12-05 11:19:42.0 +0100
@@ -1 +1 @@
-7.0.1
+7.0.5
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/linuxrc-7.0.1/auto2.c new/linuxrc-7.0.5/auto2.c
--- old/linuxrc-7.0.1/auto2.c   2019-11-19 16:15:43.0 +0100
+++ new/linuxrc-7.0.5/auto2.c   2019-12-05 11:19:42.0 +0100
@@ -1253,7 +1253,7 @@
   if(url->scheme == inst_rel) return;
 
   /*
-   * If the AutoYaST url is a directory we have to very its existence
+   * If the AutoYaST url is a directory we have to verify its existence
* somehow.
*
* That works for mountable url schemes.
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/linuxrc-7.0.1/changelog new/linuxrc-7.0.5/changelog
--- old/linuxrc-7.0.1/changelog 2019-11-19 16:15:43.0 +0100
+++ new/linuxrc-7.0.5/changelog 2019-12-05 11:19:42.0 +0100
@@ -1,3 +1,20 @@
+2019-12-05:7.0.5
+   - merge gh#openSUSE/linuxrc#204
+   - Append RPM_OPT_FLAGS to CFLAGS.
+
+2019-12-05:7.0.4
+   - merge gh#openSUSE/linuxrc#205
+   - Fix building with -fno-common.
+
+2019-11-28:7.0.3
+   - merge gh#openSUSE/linuxrc#200
+   - fix 'label' URL scheme parsing
+
+2019-11-28:7.0.2
+   - merge gh#openSUSE/linuxrc#199
+   - fix URL parsing (bsc#1156967)
+   - re-parse URLs after udevd has been started (bsc#1156967)
+
 2019-11-19:7.0.1
- merge gh#openSUSE/linuxrc#198
- ensure autoyast url is passed to yast when autoyast2 option is
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/linuxrc-7.0.1/file.c new/linuxrc-7.0.5/file.c
--- old/linuxrc-7.0.1/file.c2019-11-19 16:15:43.0 +0100
+++ new/linuxrc-7.0.5/file.c2019-12-05 11:19:42.0 +0100
@@ -335,34 +335,7 @@
   { "Reboot",1  },
   { "Halt",  2  },
   { "kexec", 3  },
-  { "no 

commit linuxrc for openSUSE:Factory

2019-11-24 Thread root
Hello community,

here is the log from the commit of package linuxrc for openSUSE:Factory checked 
in at 2019-11-24 23:44:12

Comparing /work/SRC/openSUSE:Factory/linuxrc (Old)
 and  /work/SRC/openSUSE:Factory/.linuxrc.new.26869 (New)


Package is "linuxrc"

Sun Nov 24 23:44:12 2019 rev:275 rq:749651 version:7.0.1

Changes:

--- /work/SRC/openSUSE:Factory/linuxrc/linuxrc.changes  2019-10-28 
16:45:48.996658917 +0100
+++ /work/SRC/openSUSE:Factory/.linuxrc.new.26869/linuxrc.changes   
2019-11-24 23:44:13.440033762 +0100
@@ -1,0 +2,8 @@
+Tue Nov 19 15:15:43 UTC 2019 - wfe...@opensuse.org
+
+- merge gh#openSUSE/linuxrc#198
+- ensure autoyast url is passed to yast when autoyast2 option is
+  used (bsc#1157031)
+- 7.0.1
+
+

Old:

  linuxrc-7.0.0.tar.xz

New:

  linuxrc-7.0.1.tar.xz



Other differences:
--
++ linuxrc.spec ++
--- /var/tmp/diff_new_pack.yhQIMb/_old  2019-11-24 23:44:13.908033734 +0100
+++ /var/tmp/diff_new_pack.yhQIMb/_new  2019-11-24 23:44:13.912033734 +0100
@@ -17,7 +17,7 @@
 
 
 Name:   linuxrc
-Version:7.0.0
+Version:7.0.1
 Release:0
 Summary:SUSE Installation Program
 License:GPL-3.0+

++ linuxrc-7.0.0.tar.xz -> linuxrc-7.0.1.tar.xz ++
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/linuxrc-7.0.0/VERSION new/linuxrc-7.0.1/VERSION
--- old/linuxrc-7.0.0/VERSION   2019-10-23 15:46:25.0 +0200
+++ new/linuxrc-7.0.1/VERSION   2019-11-19 16:15:43.0 +0100
@@ -1 +1 @@
-7.0.0
+7.0.1
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/linuxrc-7.0.0/auto2.c new/linuxrc-7.0.1/auto2.c
--- old/linuxrc-7.0.0/auto2.c   2019-10-23 15:46:25.0 +0200
+++ new/linuxrc-7.0.1/auto2.c   2019-11-19 16:15:43.0 +0100
@@ -1280,6 +1280,10 @@
   url_umount(url);
 
   if(!err) {
+if(!config.url.autoyast) {
+  // this means 'autoyast2' has been used; point autoyast url to 
downloaded file
+  config.url.autoyast = url_set("file:/download/autoinst.xml");
+}
 // parse for embedded linuxrc options in  element
 log_info("parsing AutoYaST file\n");
 file_read_info_file("file:/download/autoinst.xml", kf_cfg);
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/linuxrc-7.0.0/changelog new/linuxrc-7.0.1/changelog
--- old/linuxrc-7.0.0/changelog 2019-10-23 15:46:25.0 +0200
+++ new/linuxrc-7.0.1/changelog 2019-11-19 16:15:43.0 +0100
@@ -1,3 +1,8 @@
+2019-11-19:7.0.1
+   - merge gh#openSUSE/linuxrc#198
+   - ensure autoyast url is passed to yast when autoyast2 option is
+ used (bsc#1157031)
+
 2019-10-23:7.0.0
- merge gh#openSUSE/linuxrc#196
- show debug info also on console device




commit linuxrc for openSUSE:Factory

2019-10-28 Thread root
Hello community,

here is the log from the commit of package linuxrc for openSUSE:Factory checked 
in at 2019-10-28 16:45:33

Comparing /work/SRC/openSUSE:Factory/linuxrc (Old)
 and  /work/SRC/openSUSE:Factory/.linuxrc.new.2990 (New)


Package is "linuxrc"

Mon Oct 28 16:45:33 2019 rev:274 rq:742160 version:7.0.0

Changes:

--- /work/SRC/openSUSE:Factory/linuxrc/linuxrc.changes  2019-09-27 
14:44:19.821407266 +0200
+++ /work/SRC/openSUSE:Factory/.linuxrc.new.2990/linuxrc.changes
2019-10-28 16:45:48.996658917 +0100
@@ -1,0 +2,19 @@
+Wed Oct 23 13:46:25 UTC 2019 - wfe...@opensuse.org
+
+- merge gh#openSUSE/linuxrc#196
+- show debug info also on console device
+- fix reading slp data
+- show both autoyast and autoyast2 options on linuxrc info page
+- support autoyast-style URL syntax
+- read and parse autoyast file
+- add needed entries to global config struct
+- add new autoyast.parse key
+- parse autoyast/autoyast2 options and add new autoyast url schemes
+- activate new autoyast code
+- fix parsing linuxrc options embedded in AutoYaST file (bsc#1145574)
+- document autoyast option behavior
+- small additions to autoyast handling doc
+- support autoyast url schemes in linuxrc
+- 7.0.0
+
+

Old:

  linuxrc-6.0.15.tar.xz

New:

  linuxrc-7.0.0.tar.xz



Other differences:
--
++ linuxrc.spec ++
--- /var/tmp/diff_new_pack.bXcVVm/_old  2019-10-28 16:45:49.596659680 +0100
+++ /var/tmp/diff_new_pack.bXcVVm/_new  2019-10-28 16:45:49.604659691 +0100
@@ -17,7 +17,7 @@
 
 
 Name:   linuxrc
-Version:6.0.15
+Version:7.0.0
 Release:0
 Summary:SUSE Installation Program
 License:GPL-3.0+

++ linuxrc-6.0.15.tar.xz -> linuxrc-7.0.0.tar.xz ++
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/linuxrc-6.0.15/VERSION new/linuxrc-7.0.0/VERSION
--- old/linuxrc-6.0.15/VERSION  2019-09-24 15:39:06.0 +0200
+++ new/linuxrc-7.0.0/VERSION   2019-10-23 15:46:25.0 +0200
@@ -1 +1 @@
-6.0.15
+7.0.0
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/linuxrc-6.0.15/auto2.c new/linuxrc-7.0.0/auto2.c
--- old/linuxrc-6.0.15/auto2.c  2019-09-24 15:39:06.0 +0200
+++ new/linuxrc-7.0.0/auto2.c   2019-10-23 15:46:25.0 +0200
@@ -36,11 +36,13 @@
 
 static int driver_is_active(hd_t *hd);
 static void auto2_progress(char *pos, char *msg);
+static void auto2_read_repo_file(url_t *url, char *src, char *dst);
 static void auto2_read_repo_files(url_t *url);
 static void auto2_read_repomd_files(url_t *url);
 static char *auto2_splash_name(void);
 
 static int test_and_add_dud(url_t *url);
+static void auto2_read_autoyast(url_t *url);
 
 
 /*
@@ -364,31 +366,9 @@
   }
 
   /*
-   * load autoyast file unless the user has specified an autoyast option
-   * -- ok this sounds weird but actually makes sense...
+   * load autoyast file; prefer autoyast option over autoyast2
*/
-  if(config.autoyast2 && !config.autoyast) {
-url = url_set(config.autoyast2);
-log_show_maybe(!url->quiet, "Downloading AutoYaST file: %s\n", 
config.autoyast2);
-
-err = url_read_file_anywhere(url, NULL, NULL, "/download/autoinst.xml", 
NULL, URL_FLAG_PROGRESS + URL_FLAG_NODIGEST);
-url_umount(url);
-url_free(url);
-if(!err) {
-  log_info("setting AutoYaST option to file:///download/autoinst.xml\n");
-  str_copy(, "file:///download/autoinst.xml");
-  /* parse it:
-   * you can embed linuxrc options between lines with '# 
{start,end}_linuxrc_conf';
-   * otherwise the file content is ignored
-   */
-  log_info("parsing AutoYaST file\n");
-  file_read_info_file("file:/download/autoinst.xml", kf_cfg);
-  net_update_ifcfg(IFCFG_IFUP);
-}
-else {
-  log_show_maybe(!url->quiet, "Failed to download AutoYaST file.\n");
-}
-  }
+  auto2_read_autoyast(config.url.autoyast && config.autoyast_parse ? 
config.url.autoyast : config.url.autoyast2);
 
   /* load & run driverupdates */
   if(config.update.urls) {
@@ -863,6 +843,28 @@
   return console;
 }
 
+/*
+ * Read a single file from repo directory.
+ *
+ * Be careful not to replace an existing file unless we successfully got
+ * a new version.
+ */
+void auto2_read_repo_file(url_t *url, char *src, char *dst)
+{
+  char *tmp_file = NULL;
+
+  str_copy(_file, new_download());
+  if(
+!url_read_file(url, NULL, src, tmp_file, NULL, URL_FLAG_NODIGEST + 
URL_FLAG_OPTIONAL) &&
+util_check_exist(tmp_file)
+  ) {
+rename(tmp_file, dst);
+log_info("mv %s -> %s\n", tmp_file, dst);
+  }
+
+  str_copy(_file, NULL);
+}
+
 
 /*
  * Get various files from repositrory for 

commit linuxrc for openSUSE:Factory

2019-09-27 Thread root
Hello community,

here is the log from the commit of package linuxrc for openSUSE:Factory checked 
in at 2019-09-27 14:44:12

Comparing /work/SRC/openSUSE:Factory/linuxrc (Old)
 and  /work/SRC/openSUSE:Factory/.linuxrc.new.2352 (New)


Package is "linuxrc"

Fri Sep 27 14:44:12 2019 rev:273 rq:732951 version:6.0.15

Changes:

--- /work/SRC/openSUSE:Factory/linuxrc/linuxrc.changes  2019-08-19 
20:49:13.705074812 +0200
+++ /work/SRC/openSUSE:Factory/.linuxrc.new.2352/linuxrc.changes
2019-09-27 14:44:19.821407266 +0200
@@ -1,0 +2,7 @@
+Tue Sep 24 13:39:06 UTC 2019 - wfe...@opensuse.org
+
+- merge gh#openSUSE/linuxrc#195
+- add support for compressed modules
+- 6.0.15
+
+

Old:

  linuxrc-6.0.14.tar.xz

New:

  linuxrc-6.0.15.tar.xz



Other differences:
--
++ linuxrc.spec ++
--- /var/tmp/diff_new_pack.EoFPHA/_old  2019-09-27 14:44:20.513405466 +0200
+++ /var/tmp/diff_new_pack.EoFPHA/_new  2019-09-27 14:44:20.513405466 +0200
@@ -17,7 +17,7 @@
 
 
 Name:   linuxrc
-Version:6.0.14
+Version:6.0.15
 Release:0
 Summary:SUSE Installation Program
 License:GPL-3.0+

++ linuxrc-6.0.14.tar.xz -> linuxrc-6.0.15.tar.xz ++
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/linuxrc-6.0.14/VERSION new/linuxrc-6.0.15/VERSION
--- old/linuxrc-6.0.14/VERSION  2019-08-15 10:49:34.0 +0200
+++ new/linuxrc-6.0.15/VERSION  2019-09-24 15:39:06.0 +0200
@@ -1 +1 @@
-6.0.14
+6.0.15
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/linuxrc-6.0.14/changelog new/linuxrc-6.0.15/changelog
--- old/linuxrc-6.0.14/changelog2019-08-15 10:49:34.0 +0200
+++ new/linuxrc-6.0.15/changelog2019-09-24 15:39:06.0 +0200
@@ -1,3 +1,7 @@
+2019-09-24:6.0.15
+   - merge gh#openSUSE/linuxrc#195
+   - add support for compressed modules
+
 2019-08-15:6.0.14
- merge gh#openSUSE/linuxrc#193
- choose correct kernel image on aarch64 (bsc#1145625)
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/linuxrc-6.0.14/global.h new/linuxrc-6.0.15/global.h
--- old/linuxrc-6.0.14/global.h 2019-08-15 10:49:34.0 +0200
+++ new/linuxrc-6.0.15/global.h 2019-09-24 15:39:06.0 +0200
@@ -131,8 +131,6 @@
 
 #define MAX_FILENAME 300
 
-#define MODULE_SUFFIX  ".ko"
-
 typedef struct {
int c;
char attr;
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/linuxrc-6.0.14/linuxrc.c new/linuxrc-6.0.15/linuxrc.c
--- old/linuxrc-6.0.14/linuxrc.c2019-08-15 10:49:34.0 +0200
+++ new/linuxrc-6.0.15/linuxrc.c2019-09-24 15:39:06.0 +0200
@@ -1577,6 +1577,33 @@
   return cmp_entry(*sl0, *sl1);
 }
 
+static void insmod_basics(void)
+{
+  static const struct {
+char *name;
+char *param;
+int mandatory;
+  } *i, basics[] = {
+{ "loop", "max_loop=64", 1 },
+{ "lz4_decompress" },
+{ "xxhash" },
+{ "zstd_decompress" },
+{ }
+  };
+  char file[MAX_FILENAME], insmod[MAX_FILENAME + 200];
+
+  for (i = basics; i->name; i++) {
+if(!mod_find_module("/modules", i->name, file)) {
+  if(i->mandatory)
+   log_show("Cannot find module %s!\n", i->name);
+  continue;
+}
+
+sprintf(insmod, "/sbin/insmod %s%s%s", file, i->param ? " " : "",
+   i->param ? : "");
+lxrc_run(insmod);
+  }
+}
 
 void lxrc_add_parts()
 {
@@ -1603,16 +1630,7 @@
 if(!config.test) {
   if(!insmod_done) {
 insmod_done = 1;
-lxrc_run("/sbin/insmod /modules/loop.ko max_loop=64");
-if(util_check_exist("/modules/lz4_decompress.ko")) {
-  lxrc_run("/sbin/insmod /modules/lz4_decompress.ko");
-}
-if(util_check_exist("/modules/xxhash.ko")) {
-  lxrc_run("/sbin/insmod /modules/xxhash.ko");
-}
-if(util_check_exist("/modules/zstd_decompress.ko")) {
-  lxrc_run("/sbin/insmod /modules/zstd_decompress.ko");
-}
+insmod_basics();
   }
   strprintf(, "/parts/mp_%04u", config.mountpoint.initrd_parts++);
   mkdir(mp, 0755);
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/linuxrc-6.0.14/module.c new/linuxrc-6.0.15/module.c
--- old/linuxrc-6.0.14/module.c 2019-08-15 10:49:34.0 +0200
+++ new/linuxrc-6.0.15/module.c 2019-09-24 15:39:06.0 +0200
@@ -39,6 +39,21 @@
 #define MODULE_CONFIG  "module.config"
 #define CARDMGR_PIDFILE"/run/cardmgr.pid"
 
+#define MODULE_SUFFIX  ".ko"
+#define MODULE_COMP1   

commit linuxrc for openSUSE:Factory

2019-08-19 Thread root
Hello community,

here is the log from the commit of package linuxrc for openSUSE:Factory checked 
in at 2019-08-19 20:49:11

Comparing /work/SRC/openSUSE:Factory/linuxrc (Old)
 and  /work/SRC/openSUSE:Factory/.linuxrc.new.22127 (New)


Package is "linuxrc"

Mon Aug 19 20:49:11 2019 rev:272 rq:723472 version:6.0.14

Changes:

--- /work/SRC/openSUSE:Factory/linuxrc/linuxrc.changes  2019-07-23 
22:28:22.599069761 +0200
+++ /work/SRC/openSUSE:Factory/.linuxrc.new.22127/linuxrc.changes   
2019-08-19 20:49:13.705074812 +0200
@@ -1,0 +2,7 @@
+Thu Aug 15 08:49:34 UTC 2019 - wfe...@opensuse.org
+
+- merge gh#openSUSE/linuxrc#193
+- choose correct kernel image on aarch64 (bsc#1145625)
+- 6.0.14
+
+

Old:

  linuxrc-6.0.13.tar.xz

New:

  linuxrc-6.0.14.tar.xz



Other differences:
--
++ linuxrc.spec ++
--- /var/tmp/diff_new_pack.pXcCa7/_old  2019-08-19 20:49:14.833074570 +0200
+++ /var/tmp/diff_new_pack.pXcCa7/_new  2019-08-19 20:49:14.837074569 +0200
@@ -17,7 +17,7 @@
 
 
 Name:   linuxrc
-Version:6.0.13
+Version:6.0.14
 Release:0
 Summary:SUSE Installation Program
 License:GPL-3.0+

++ linuxrc-6.0.13.tar.xz -> linuxrc-6.0.14.tar.xz ++
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/linuxrc-6.0.13/VERSION new/linuxrc-6.0.14/VERSION
--- old/linuxrc-6.0.13/VERSION  2019-07-19 10:47:42.0 +0200
+++ new/linuxrc-6.0.14/VERSION  2019-08-15 10:49:34.0 +0200
@@ -1 +1 @@
-6.0.13
+6.0.14
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/linuxrc-6.0.13/changelog new/linuxrc-6.0.14/changelog
--- old/linuxrc-6.0.13/changelog2019-07-19 10:47:42.0 +0200
+++ new/linuxrc-6.0.14/changelog2019-08-15 10:49:34.0 +0200
@@ -1,3 +1,7 @@
+2019-08-15:6.0.14
+   - merge gh#openSUSE/linuxrc#193
+   - choose correct kernel image on aarch64 (bsc#1145625)
+
 2019-07-19:6.0.13
- merge gh#openSUSE/linuxrc#192
- Added support for a multi-repository installation medium
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/linuxrc-6.0.13/util.c new/linuxrc-6.0.14/util.c
--- old/linuxrc-6.0.13/util.c   2019-07-19 10:47:42.0 +0200
+++ new/linuxrc-6.0.14/util.c   2019-08-15 10:49:34.0 +0200
@@ -4972,6 +4972,8 @@
   char *kernel_pattern = "image-*";
 #elif defined(__x86_64__) || defined(__i386__)
   char *kernel_pattern = "vmlinuz-*";
+#elif defined(__aarch64__)
+  char *kernel_pattern = "Image-*";
 #else
   char *kernel_pattern = "vmlinux-*";
 #endif




commit linuxrc for openSUSE:Factory

2019-07-23 Thread root
Hello community,

here is the log from the commit of package linuxrc for openSUSE:Factory checked 
in at 2019-07-23 22:28:21

Comparing /work/SRC/openSUSE:Factory/linuxrc (Old)
 and  /work/SRC/openSUSE:Factory/.linuxrc.new.4126 (New)


Package is "linuxrc"

Tue Jul 23 22:28:21 2019 rev:271 rq:716803 version:6.0.13

Changes:

--- /work/SRC/openSUSE:Factory/linuxrc/linuxrc.changes  2019-06-12 
13:04:41.685224031 +0200
+++ /work/SRC/openSUSE:Factory/.linuxrc.new.4126/linuxrc.changes
2019-07-23 22:28:22.599069761 +0200
@@ -1,0 +2,17 @@
+Fri Jul 19 08:47:42 UTC 2019 - lsle...@suse.cz
+
+- merge gh#openSUSE/linuxrc#192
+- Added support for a multi-repository installation medium
+  (bsc#1141889)
+- Travis CI: Use the Docker image from OBS
+- Updated linuxrc_repo.md documentation
+- 6.0.13
+
+
+Wed Jul 17 13:56:13 UTC 2019 - shundham...@suse.de
+
+- merge gh#openSUSE/linuxrc#191
+- Disable MD/RAID auto-assembly by default (bsc#1132688)
+- 6.0.12
+
+

Old:

  linuxrc-6.0.11.tar.xz

New:

  linuxrc-6.0.13.tar.xz



Other differences:
--
++ linuxrc.spec ++
--- /var/tmp/diff_new_pack.xObA9a/_old  2019-07-23 22:28:23.091069690 +0200
+++ /var/tmp/diff_new_pack.xObA9a/_new  2019-07-23 22:28:23.091069690 +0200
@@ -17,7 +17,7 @@
 
 
 Name:   linuxrc
-Version:6.0.11
+Version:6.0.13
 Release:0
 Summary:SUSE Installation Program
 License:GPL-3.0+

++ linuxrc-6.0.11.tar.xz -> linuxrc-6.0.13.tar.xz ++
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/linuxrc-6.0.11/Dockerfile 
new/linuxrc-6.0.13/Dockerfile
--- old/linuxrc-6.0.11/Dockerfile   2019-05-29 16:10:51.0 +0200
+++ new/linuxrc-6.0.13/Dockerfile   2019-07-19 10:47:42.0 +0200
@@ -1,4 +1,4 @@
-FROM yastdevel/cpp
+FROM registry.opensuse.org/yast/head/containers/yast-cpp:latest
 
 RUN zypper --non-interactive in --no-recommends \
   e2fsprogs-devel \
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/linuxrc-6.0.11/VERSION new/linuxrc-6.0.13/VERSION
--- old/linuxrc-6.0.11/VERSION  2019-05-29 16:10:51.0 +0200
+++ new/linuxrc-6.0.13/VERSION  2019-07-19 10:47:42.0 +0200
@@ -1 +1 @@
-6.0.11
+6.0.13
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/linuxrc-6.0.11/changelog new/linuxrc-6.0.13/changelog
--- old/linuxrc-6.0.11/changelog2019-05-29 16:10:51.0 +0200
+++ new/linuxrc-6.0.13/changelog2019-07-19 10:47:42.0 +0200
@@ -1,3 +1,14 @@
+2019-07-19:6.0.13
+   - merge gh#openSUSE/linuxrc#192
+   - Added support for a multi-repository installation medium
+ (bsc#1141889)
+   - Travis CI: Use the Docker image from OBS
+   - Updated linuxrc_repo.md documentation
+
+2019-07-17:6.0.12
+   - merge gh#openSUSE/linuxrc#191
+   - Disable MD/RAID auto-assembly by default (bsc#1132688)
+
 2019-05-29:6.0.11
- merge gh#openSUSE/linuxrc#189
- iterate through device list in sorted order (bsc#1058039)
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/linuxrc-6.0.11/linuxrc.c new/linuxrc-6.0.13/linuxrc.c
--- old/linuxrc-6.0.11/linuxrc.c2019-05-29 16:10:51.0 +0200
+++ new/linuxrc-6.0.13/linuxrc.c2019-07-19 10:47:42.0 +0200
@@ -800,7 +800,7 @@
   config.udev_mods = 1;
   config.devtmpfs = 1;
   config.kexec = 2;/* kexec if necessary, with user dialog */
-  config.auto_assembly = 1;/* default to allow MD/RAID auto-assembly for 
now (bsc#1132688) */
+  config.auto_assembly = 0;/* default to disable MD/RAID auto-assembly 
(bsc#1132688) */
 
   // defaults for self-update feature
   config.self_update_url = NULL;
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/linuxrc-6.0.11/linuxrc_repo.md 
new/linuxrc-6.0.13/linuxrc_repo.md
--- old/linuxrc-6.0.11/linuxrc_repo.md  2019-05-29 16:10:51.0 +0200
+++ new/linuxrc-6.0.13/linuxrc_repo.md  2019-07-19 10:47:42.0 +0200
@@ -1,9 +1,12 @@
 # specifying installation repositories in linuxrc
 
-## 1. regular install media
+## 1. SUSE tags install media
 
 *(repo meta data are in /suse/setup/descr/)*
 
+:warning: *Note: This is obsolete since SLE15/openSUSE Leap 15, the newer
+products use the repomd repositories on the installation media, see below.*
+
 linuxrc identifies this repo by checking for a file '/content' in the
 installation repository. The file must have a valid signature
 ('/content.asc'). 

commit linuxrc for openSUSE:Factory

2019-06-12 Thread root
Hello community,

here is the log from the commit of package linuxrc for openSUSE:Factory checked 
in at 2019-06-12 13:04:39

Comparing /work/SRC/openSUSE:Factory/linuxrc (Old)
 and  /work/SRC/openSUSE:Factory/.linuxrc.new.4811 (New)


Package is "linuxrc"

Wed Jun 12 13:04:39 2019 rev:270 rq:706341 version:6.0.11

Changes:

--- /work/SRC/openSUSE:Factory/linuxrc/linuxrc.changes  2019-05-03 
22:27:25.688337709 +0200
+++ /work/SRC/openSUSE:Factory/.linuxrc.new.4811/linuxrc.changes
2019-06-12 13:04:41.685224031 +0200
@@ -1,0 +2,7 @@
+Wed May 29 14:10:51 UTC 2019 - wfe...@opensuse.org
+
+- merge gh#openSUSE/linuxrc#189
+- iterate through device list in sorted order (bsc#1058039)
+- 6.0.11
+
+

Old:

  linuxrc-6.0.10.tar.xz

New:

  linuxrc-6.0.11.tar.xz



Other differences:
--
++ linuxrc.spec ++
--- /var/tmp/diff_new_pack.4F2eLX/_old  2019-06-12 13:04:42.201223814 +0200
+++ /var/tmp/diff_new_pack.4F2eLX/_new  2019-06-12 13:04:42.205223812 +0200
@@ -17,7 +17,7 @@
 
 
 Name:   linuxrc
-Version:6.0.10
+Version:6.0.11
 Release:0
 Summary:SUSE Installation Program
 License:GPL-3.0+

++ linuxrc-6.0.10.tar.xz -> linuxrc-6.0.11.tar.xz ++
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/linuxrc-6.0.10/VERSION new/linuxrc-6.0.11/VERSION
--- old/linuxrc-6.0.10/VERSION  2019-05-02 14:00:28.0 +0200
+++ new/linuxrc-6.0.11/VERSION  2019-05-29 16:10:51.0 +0200
@@ -1 +1 @@
-6.0.10
+6.0.11
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/linuxrc-6.0.10/changelog new/linuxrc-6.0.11/changelog
--- old/linuxrc-6.0.10/changelog2019-05-02 14:00:28.0 +0200
+++ new/linuxrc-6.0.11/changelog2019-05-29 16:10:51.0 +0200
@@ -1,3 +1,7 @@
+2019-05-29:6.0.11
+   - merge gh#openSUSE/linuxrc#189
+   - iterate through device list in sorted order (bsc#1058039)
+
 2019-05-02:6.0.10
- merge gh#openSUSE/linuxrc#188
- add 'autoassembly' boot option to prevent MD/RAID autoassembly
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/linuxrc-6.0.10/url.c new/linuxrc-6.0.11/url.c
--- old/linuxrc-6.0.10/url.c2019-05-02 14:00:28.0 +0200
+++ new/linuxrc-6.0.11/url.c2019-05-29 16:10:51.0 +0200
@@ -1,4 +1,4 @@
-#define _GNU_SOURCE/* strnlen, getline, strcasestr */
+#define _GNU_SOURCE/* strnlen, getline, strcasestr, strverscmp */
 
 /*
 
@@ -69,6 +69,7 @@
 static int same_device_name(hd_t *hd1, hd_t *hd2);
 static hd_t *relink_array(hd_t *hd_array[]);
 static void log_hd_list(char *label, hd_t *hd);
+static int cmp_hd_entries_by_name(const void *p0, const void *p1);
 static hd_t *sort_a_bit(hd_t *hd_list);
 static int link_detected(hd_t *hd);
 static char *url_print_zypp(url_t *url);
@@ -3021,6 +3022,25 @@
 
 
 /*
+ * Compare two hardware items by name using strverscmp().
+ */
+int cmp_hd_entries_by_name(const void *p0, const void *p1)
+{
+  hd_t **hd0, **hd1;
+  char *name0, *name1;
+
+  hd0 = (hd_t **) p0;
+  hd1 = (hd_t **) p1;
+
+  name0 = (*hd0)->unix_dev_name;
+  name1 = (*hd1)->unix_dev_name;
+
+  // either string might be NULL
+  return strverscmp(name0 ?: "", name1 ?: "");
+}
+
+
+/*
  * Re-sort hardware list to make some people happy.
  */
 hd_t *sort_a_bit(hd_t *hd_list)
@@ -3047,11 +3067,20 @@
 hd_array[u++] = hd;
   }
 }
-hd_array[u] = NULL;
+
+// remember correct item count
+hds = u;
+hd_array[hds] = NULL;
+
+hd_list = relink_array(hd_array);
+
+/* 2. sort list by name */
+
+qsort(hd_array, hds, sizeof *hd_array, cmp_hd_entries_by_name);
 
 hd_list = relink_array(hd_array);
 
-/* 2. cards with link first */
+/* 3. cards with link first */
 
 for(u = 0, hd = hd_list; hd; hd = hd->next) {
   if(link_detected(hd)) hd_array[u++] = hd;
@@ -3063,7 +3092,7 @@
 
 hd_list = relink_array(hd_array);
 
-/* 3. wlan cards last */
+/* 4. wlan cards last */
 
 for(u = 0, hd = hd_list; hd; hd = hd->next) {
   if(!hd->is.wlan) hd_array[u++] = hd;
@@ -3075,7 +3104,7 @@
 
 hd_list = relink_array(hd_array);
 
-/* 4. network interfaces last */
+/* 5. network interfaces last */
 
 for(u = 0, hd = hd_list; hd; hd = hd->next) {
   if(hd->hw_class != hw_network) hd_array[u++] = hd;




commit linuxrc for openSUSE:Factory

2019-05-03 Thread root
Hello community,

here is the log from the commit of package linuxrc for openSUSE:Factory checked 
in at 2019-05-03 22:27:23

Comparing /work/SRC/openSUSE:Factory/linuxrc (Old)
 and  /work/SRC/openSUSE:Factory/.linuxrc.new.5148 (New)


Package is "linuxrc"

Fri May  3 22:27:23 2019 rev:269 rq:700121 version:6.0.10

Changes:

--- /work/SRC/openSUSE:Factory/linuxrc/linuxrc.changes  2019-03-27 
16:12:37.731648791 +0100
+++ /work/SRC/openSUSE:Factory/.linuxrc.new.5148/linuxrc.changes
2019-05-03 22:27:25.688337709 +0200
@@ -1,0 +2,9 @@
+Thu May 2 12:00:28 UTC 2019 - wfe...@opensuse.org
+
+- merge gh#openSUSE/linuxrc#188
+- add 'autoassembly' boot option to prevent MD/RAID autoassembly
+  (bsc#1132688)
+- simplify code
+- 6.0.10
+
+

Old:

  linuxrc-6.0.9.tar.xz

New:

  linuxrc-6.0.10.tar.xz



Other differences:
--
++ linuxrc.spec ++
--- /var/tmp/diff_new_pack.DjUztZ/_old  2019-05-03 22:27:26.224338807 +0200
+++ /var/tmp/diff_new_pack.DjUztZ/_new  2019-05-03 22:27:26.228338816 +0200
@@ -17,7 +17,7 @@
 
 
 Name:   linuxrc
-Version:6.0.9
+Version:6.0.10
 Release:0
 Summary:SUSE Installation Program
 License:GPL-3.0+

++ linuxrc-6.0.9.tar.xz -> linuxrc-6.0.10.tar.xz ++
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/linuxrc-6.0.9/VERSION new/linuxrc-6.0.10/VERSION
--- old/linuxrc-6.0.9/VERSION   2019-03-19 15:00:53.0 +0100
+++ new/linuxrc-6.0.10/VERSION  2019-05-02 14:00:28.0 +0200
@@ -1 +1 @@
-6.0.9
+6.0.10
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/linuxrc-6.0.9/changelog new/linuxrc-6.0.10/changelog
--- old/linuxrc-6.0.9/changelog 2019-03-19 15:00:53.0 +0100
+++ new/linuxrc-6.0.10/changelog2019-05-02 14:00:28.0 +0200
@@ -1,3 +1,9 @@
+2019-05-02:6.0.10
+   - merge gh#openSUSE/linuxrc#188
+   - add 'autoassembly' boot option to prevent MD/RAID autoassembly
+ (bsc#1132688)
+   - simplify code
+
 2019-03-19:6.0.9
- merge gh#openSUSE/linuxrc#187
- fix network dialog workflow when VLAN is active (bsc#1124654)
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/linuxrc-6.0.9/file.c new/linuxrc-6.0.10/file.c
--- old/linuxrc-6.0.9/file.c2019-03-19 15:00:53.0 +0100
+++ new/linuxrc-6.0.10/file.c   2019-05-02 14:00:28.0 +0200
@@ -312,6 +312,7 @@
   { key_ibft_devices,   "IBFTDevices",kf_cfg + kf_cmd},
   { key_linuxrc_core,   "LinuxrcCore",kf_cfg + kf_cmd_early  },
   { key_norepo, "NoRepo", kf_cfg + kf_cmd},
+  { key_auto_assembly,  "AutoAssembly",   kf_cfg + kf_cmd_early  },
 };
 
 static struct {
@@ -1771,6 +1772,10 @@
 if(f->is.numeric) config.norepo = f->nvalue;
 break;
 
+  case key_auto_assembly:
+if(f->is.numeric) config.auto_assembly = f->nvalue;
+break;
+
   default:
 break;
 }
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/linuxrc-6.0.9/file.h new/linuxrc-6.0.10/file.h
--- old/linuxrc-6.0.9/file.h2019-03-19 15:00:53.0 +0100
+++ new/linuxrc-6.0.10/file.h   2019-05-02 14:00:28.0 +0200
@@ -56,7 +56,7 @@
   key_withipoib, key_upgrade, key_media_upgrade, key_ifcfg, key_defaultinstall,
   key_nanny, key_vlanid,
   key_sshkey, key_systemboot, key_sethostname, key_debugshell, key_self_update,
-  key_ibft_devices, key_linuxrc_core, key_norepo
+  key_ibft_devices, key_linuxrc_core, key_norepo, key_auto_assembly
 } file_key_t;
 
 typedef enum {
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/linuxrc-6.0.9/global.h new/linuxrc-6.0.10/global.h
--- old/linuxrc-6.0.9/global.h  2019-03-19 15:00:53.0 +0100
+++ new/linuxrc-6.0.10/global.h 2019-05-02 14:00:28.0 +0200
@@ -447,6 +447,7 @@
   unsigned extend_running:1;   /**< currently running an 'extend' job */
   unsigned repomd:1;   /**< install repo is repo-md */
   unsigned norepo:1;/**< disable repo location check, expect YaST 
*/
+  unsigned auto_assembly:1;/**< enable MD/RAID auto-assembly */
   struct {
 unsigned check:1;  /**< check for braille displays and start brld 
if found */
 char *dev; /**< braille device */
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/linuxrc-6.0.9/linuxrc.c new/linuxrc-6.0.10/linuxrc.c
--- old/linuxrc-6.0.9/linuxrc.c 2019-03-19 15:00:53.0 +0100
+++ 

commit linuxrc for openSUSE:Factory

2019-03-27 Thread root
Hello community,

here is the log from the commit of package linuxrc for openSUSE:Factory checked 
in at 2019-03-27 16:12:36

Comparing /work/SRC/openSUSE:Factory/linuxrc (Old)
 and  /work/SRC/openSUSE:Factory/.linuxrc.new.25356 (New)


Package is "linuxrc"

Wed Mar 27 16:12:36 2019 rev:268 rq:686439 version:6.0.9

Changes:

--- /work/SRC/openSUSE:Factory/linuxrc/linuxrc.changes  2019-03-04 
09:09:00.896721590 +0100
+++ /work/SRC/openSUSE:Factory/.linuxrc.new.25356/linuxrc.changes   
2019-03-27 16:12:37.731648791 +0100
@@ -1,0 +2,16 @@
+Tue Mar 19 14:00:53 UTC 2019 - snw...@suse.de
+
+- merge gh#openSUSE/linuxrc#187
+- fix network dialog workflow when VLAN is active (bsc#1124654)
+- add more logging in test mode
+- add a bit of explanation
+- 6.0.9
+
+
+Mon Mar 18 14:46:25 UTC 2019 - snw...@suse.de
+
+- merge gh#openSUSE/linuxrc#186
+- Fix usage of a out-of-scope vector constructor.
+- 6.0.8
+
+

Old:

  linuxrc-6.0.7.tar.xz

New:

  linuxrc-6.0.9.tar.xz



Other differences:
--
++ linuxrc.spec ++
--- /var/tmp/diff_new_pack.o4mx8P/_old  2019-03-27 16:12:38.371648628 +0100
+++ /var/tmp/diff_new_pack.o4mx8P/_new  2019-03-27 16:12:38.371648628 +0100
@@ -17,7 +17,7 @@
 
 
 Name:   linuxrc
-Version:6.0.7
+Version:6.0.9
 Release:0
 Summary:SUSE Installation Program
 License:GPL-3.0+

++ linuxrc-6.0.7.tar.xz -> linuxrc-6.0.9.tar.xz ++
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/linuxrc-6.0.7/VERSION new/linuxrc-6.0.9/VERSION
--- old/linuxrc-6.0.7/VERSION   2019-03-01 15:34:45.0 +0100
+++ new/linuxrc-6.0.9/VERSION   2019-03-19 15:00:53.0 +0100
@@ -1 +1 @@
-6.0.7
+6.0.9
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/linuxrc-6.0.7/changelog new/linuxrc-6.0.9/changelog
--- old/linuxrc-6.0.7/changelog 2019-03-01 15:34:45.0 +0100
+++ new/linuxrc-6.0.9/changelog 2019-03-19 15:00:53.0 +0100
@@ -1,3 +1,13 @@
+2019-03-19:6.0.9
+   - merge gh#openSUSE/linuxrc#187
+   - fix network dialog workflow when VLAN is active (bsc#1124654)
+   - add more logging in test mode
+   - add a bit of explanation
+
+2019-03-18:6.0.8
+   - merge gh#openSUSE/linuxrc#186
+   - Fix usage of a out-of-scope vector constructor.
+
 2019-03-01:6.0.7
- merge gh#openSUSE/linuxrc#185
- adjust copyright year (bsc#1127464)
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/linuxrc-6.0.7/net.c new/linuxrc-6.0.9/net.c
--- old/linuxrc-6.0.7/net.c 2019-03-01 15:34:45.0 +0100
+++ new/linuxrc-6.0.9/net.c 2019-03-19 15:00:53.0 +0100
@@ -150,7 +150,12 @@
 if(rc) return -1;
   }
 
-  if(config.win && config.net.setup != NS_DHCP) {
+  /*
+   * VLANID is handled in net_input_vlanid() a few lines above. Take this
+   * into account when deciding if there's anything else besides DHCP to be
+   * done.
+   */
+  if(config.win && (config.net.setup & ~NS_VLANID) != NS_DHCP) {
 if(
   config.net.setup & NS_DHCP &&
 #if defined(__s390__) || defined(__s390x__)
@@ -1164,6 +1169,8 @@
   if(config.test) {
 config.net.dhcp_active = 1;
 
+log_info("test mode: DHCP activated\n");
+
 return;
   }
 
@@ -2592,7 +2599,12 @@
 strprintf(, "wicked ifup %s", ifname);
   }
 
-  if(!config.test) lxrc_run(buf);
+  if(!config.test) {
+lxrc_run(buf);
+  }
+  else {
+log_info("test mode: 'wicked ifup %s' called\n", ifname);
+  }
 
   sleep(config.net.ifup_wait + 1);
 
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/linuxrc-6.0.7/url.c new/linuxrc-6.0.9/url.c
--- old/linuxrc-6.0.7/url.c 2019-03-01 15:34:45.0 +0100
+++ new/linuxrc-6.0.9/url.c 2019-03-19 15:00:53.0 +0100
@@ -1441,7 +1441,7 @@
   hd_t *hd;
   hd_res_t *res;
   char *hwaddr;
-  hd_hw_item_t *hw_items = (hd_hw_item_t[]) { hw_network_ctrl, hw_network, 0 };
+  hd_hw_item_t hw_items[3] = { hw_network_ctrl, hw_network, 0 };
   str_list_t *sl;
   char *url_device;
 
@@ -1459,17 +1459,18 @@
   if(!url->is.network) {
 switch(url->scheme) {
   case inst_cdrom:
-hw_items = (hd_hw_item_t[]) { hw_cdrom, 0 };
+hw_items[0] = hw_cdrom;
 break;
 
   case inst_floppy:
-hw_items = (hd_hw_item_t[]) { hw_floppy, 0 };
+hw_items[0] = hw_floppy;
 break;
 
   default:
-hw_items = (hd_hw_item_t[]) { hw_block, 0 };
+hw_items[0] = hw_block;
 break;
 }
+hw_items[1] = 0;

commit linuxrc for openSUSE:Factory

2019-03-04 Thread root
Hello community,

here is the log from the commit of package linuxrc for openSUSE:Factory checked 
in at 2019-03-04 09:08:56

Comparing /work/SRC/openSUSE:Factory/linuxrc (Old)
 and  /work/SRC/openSUSE:Factory/.linuxrc.new.28833 (New)


Package is "linuxrc"

Mon Mar  4 09:08:56 2019 rev:267 rq:680521 version:6.0.7

Changes:

--- /work/SRC/openSUSE:Factory/linuxrc/linuxrc.changes  2019-02-24 
16:54:04.324946531 +0100
+++ /work/SRC/openSUSE:Factory/.linuxrc.new.28833/linuxrc.changes   
2019-03-04 09:09:00.896721590 +0100
@@ -1,0 +2,7 @@
+Fri Mar 1 14:34:45 UTC 2019 - snw...@suse.de
+
+- merge gh#openSUSE/linuxrc#185
+- adjust copyright year (bsc#1127464)
+- 6.0.7
+
+

Old:

  linuxrc-6.0.6.tar.xz

New:

  linuxrc-6.0.7.tar.xz



Other differences:
--
++ linuxrc.spec ++
--- /var/tmp/diff_new_pack.C7uPPk/_old  2019-03-04 09:09:02.300721355 +0100
+++ /var/tmp/diff_new_pack.C7uPPk/_new  2019-03-04 09:09:02.304721354 +0100
@@ -17,7 +17,7 @@
 
 
 Name:   linuxrc
-Version:6.0.6
+Version:6.0.7
 Release:0
 Summary:SUSE Installation Program
 License:GPL-3.0+

++ linuxrc-6.0.6.tar.xz -> linuxrc-6.0.7.tar.xz ++
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/linuxrc-6.0.6/VERSION new/linuxrc-6.0.7/VERSION
--- old/linuxrc-6.0.6/VERSION   2019-02-20 10:12:26.0 +0100
+++ new/linuxrc-6.0.7/VERSION   2019-03-01 15:34:45.0 +0100
@@ -1 +1 @@
-6.0.6
+6.0.7
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/linuxrc-6.0.6/changelog new/linuxrc-6.0.7/changelog
--- old/linuxrc-6.0.6/changelog 2019-02-20 10:12:26.0 +0100
+++ new/linuxrc-6.0.7/changelog 2019-03-01 15:34:45.0 +0100
@@ -1,3 +1,7 @@
+2019-03-01:6.0.7
+   - merge gh#openSUSE/linuxrc#185
+   - adjust copyright year (bsc#1127464)
+
 2019-02-20:6.0.6
- merge gh#openSUSE/linuxrc#184
- Setting manual=0 in install.inf
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/linuxrc-6.0.6/linuxrc.c new/linuxrc-6.0.7/linuxrc.c
--- old/linuxrc-6.0.6/linuxrc.c 2019-02-20 10:12:26.0 +0100
+++ new/linuxrc-6.0.7/linuxrc.c 2019-03-01 15:34:45.0 +0100
@@ -894,7 +894,7 @@
 if (config.linemode)
   putchar('\n');
 printf(
-  "\n>>> %s installation program v" LXRC_FULL_VERSION " (c) 1996-2018 SUSE 
LLC <<<\n",
+  "\n>>> %s installation program v" LXRC_FULL_VERSION " (c) 1996-2019 SUSE 
LLC <<<\n",
   config.product
 );
 if (config.linemode)




commit linuxrc for openSUSE:Factory

2019-02-24 Thread root
Hello community,

here is the log from the commit of package linuxrc for openSUSE:Factory checked 
in at 2019-02-24 16:53:55

Comparing /work/SRC/openSUSE:Factory/linuxrc (Old)
 and  /work/SRC/openSUSE:Factory/.linuxrc.new.28833 (New)


Package is "linuxrc"

Sun Feb 24 16:53:55 2019 rev:266 rq:677628 version:6.0.6

Changes:

--- /work/SRC/openSUSE:Factory/linuxrc/linuxrc.changes  2018-12-03 
10:06:14.571938020 +0100
+++ /work/SRC/openSUSE:Factory/.linuxrc.new.28833/linuxrc.changes   
2019-02-24 16:54:04.324946531 +0100
@@ -1,0 +2,7 @@
+Wed Feb 20 09:12:26 UTC 2019 - sch...@suse.de
+
+- merge gh#openSUSE/linuxrc#184
+- Setting manual=0 in install.inf (bsc#1055667)
+- 6.0.6
+
+

Old:

  linuxrc-6.0.5.tar.xz

New:

  linuxrc-6.0.6.tar.xz



Other differences:
--
++ linuxrc.spec ++
--- /var/tmp/diff_new_pack.XJN1NB/_old  2019-02-24 16:54:05.360946038 +0100
+++ /var/tmp/diff_new_pack.XJN1NB/_new  2019-02-24 16:54:05.360946038 +0100
@@ -17,7 +17,7 @@
 
 
 Name:   linuxrc
-Version:6.0.5
+Version:6.0.6
 Release:0
 Summary:SUSE Installation Program
 License:GPL-3.0+

++ linuxrc-6.0.5.tar.xz -> linuxrc-6.0.6.tar.xz ++
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/linuxrc-6.0.5/VERSION new/linuxrc-6.0.6/VERSION
--- old/linuxrc-6.0.5/VERSION   2018-11-28 16:45:17.0 +0100
+++ new/linuxrc-6.0.6/VERSION   2019-02-20 10:12:26.0 +0100
@@ -1 +1 @@
-6.0.5
+6.0.6
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/linuxrc-6.0.5/changelog new/linuxrc-6.0.6/changelog
--- old/linuxrc-6.0.5/changelog 2018-11-28 16:45:17.0 +0100
+++ new/linuxrc-6.0.6/changelog 2019-02-20 10:12:26.0 +0100
@@ -1,3 +1,8 @@
+2019-02-20:6.0.6
+   - merge gh#openSUSE/linuxrc#184
+   - Setting manual=0 in install.inf
+   - Setting manual=0 in install.inf (bsc#1055667)
+
 2018-11-28:6.0.5
- merge gh#openSUSE/linuxrc#183
- Added parameter norepo (fate#325482)
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/linuxrc-6.0.5/file.c new/linuxrc-6.0.6/file.c
--- old/linuxrc-6.0.5/file.c2018-11-28 16:45:17.0 +0100
+++ new/linuxrc-6.0.6/file.c2019-02-20 10:12:26.0 +0100
@@ -1875,7 +1875,10 @@
 return;
   }
 
-  file_write_num(f, key_manual, config.manual);
+  // 'manual' has been added at times when hardware driver loading
+  // could cause all kinds of side effects. This does not happen
+  // anymore. So we are switching it off in general in install.inf.
+  file_write_num(f, key_manual, 0);
 
   set_write_info(f);
 




commit linuxrc for openSUSE:Factory

2018-12-03 Thread root
Hello community,

here is the log from the commit of package linuxrc for openSUSE:Factory checked 
in at 2018-12-03 10:05:59

Comparing /work/SRC/openSUSE:Factory/linuxrc (Old)
 and  /work/SRC/openSUSE:Factory/.linuxrc.new.19453 (New)


Package is "linuxrc"

Mon Dec  3 10:05:59 2018 rev:265 rq:652465 version:6.0.5

Changes:

--- /work/SRC/openSUSE:Factory/linuxrc/linuxrc.changes  2018-11-14 
14:29:54.455528761 +0100
+++ /work/SRC/openSUSE:Factory/.linuxrc.new.19453/linuxrc.changes   
2018-12-03 10:06:14.571938020 +0100
@@ -1,0 +2,14 @@
+Wed Nov 28 15:45:17 UTC 2018 - shundham...@suse.de
+
+- merge gh#openSUSE/linuxrc#183
+- Added parameter norepo (fate#325482)
+- 6.0.5
+
+
+Tue Nov 27 14:55:44 UTC 2018 - shundham...@suse.de
+
+- merge gh#openSUSE/linuxrc#182
+- Added new BuildRequires to devel doc
+- 6.0.4
+
+

Old:

  linuxrc-6.0.3.tar.xz

New:

  linuxrc-6.0.5.tar.xz



Other differences:
--
++ linuxrc.spec ++
--- /var/tmp/diff_new_pack.FOzPMZ/_old  2018-12-03 10:06:18.195934698 +0100
+++ /var/tmp/diff_new_pack.FOzPMZ/_new  2018-12-03 10:06:18.195934698 +0100
@@ -17,7 +17,7 @@
 
 
 Name:   linuxrc
-Version:6.0.3
+Version:6.0.5
 Release:0
 Summary:SUSE Installation Program
 License:GPL-3.0+

++ linuxrc-6.0.3.tar.xz -> linuxrc-6.0.5.tar.xz ++
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/linuxrc-6.0.3/README.md new/linuxrc-6.0.5/README.md
--- old/linuxrc-6.0.3/README.md 2018-11-14 10:27:23.0 +0100
+++ new/linuxrc-6.0.5/README.md 2018-11-28 16:45:17.0 +0100
@@ -55,7 +55,7 @@
 
 For example on openSUSE/SUSE distributions run:
 ```sh
-zypper install e2fsprogs-devel hwinfo-devel libblkid-devel libcurl-devel 
readline-devel
+zypper install e2fsprogs-devel hwinfo-devel libblkid-devel libcurl-devel 
readline-devel libmediacheck-devel
 ```
 ## Debugging
 
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/linuxrc-6.0.3/VERSION new/linuxrc-6.0.5/VERSION
--- old/linuxrc-6.0.3/VERSION   2018-11-14 10:27:23.0 +0100
+++ new/linuxrc-6.0.5/VERSION   2018-11-28 16:45:17.0 +0100
@@ -1 +1 @@
-6.0.3
+6.0.5
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/linuxrc-6.0.3/changelog new/linuxrc-6.0.5/changelog
--- old/linuxrc-6.0.3/changelog 2018-11-14 10:27:23.0 +0100
+++ new/linuxrc-6.0.5/changelog 2018-11-28 16:45:17.0 +0100
@@ -1,3 +1,11 @@
+2018-11-28:6.0.5
+   - merge gh#openSUSE/linuxrc#183
+   - Added parameter norepo (fate#325482)
+
+2018-11-27:6.0.4
+   - merge gh#openSUSE/linuxrc#182
+   - Added new BuildRequires to devel doc
+
 2018-11-14:6.0.3
- merge gh#openSUSE/linuxrc#181
- setctsid is dead, long live setsid (bsc#1109290)
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/linuxrc-6.0.3/file.c new/linuxrc-6.0.5/file.c
--- old/linuxrc-6.0.3/file.c2018-11-14 10:27:23.0 +0100
+++ new/linuxrc-6.0.5/file.c2018-11-28 16:45:17.0 +0100
@@ -311,6 +311,7 @@
   { key_self_update,"SelfUpdate", kf_cfg + kf_cmd},
   { key_ibft_devices,   "IBFTDevices",kf_cfg + kf_cmd},
   { key_linuxrc_core,   "LinuxrcCore",kf_cfg + kf_cmd_early  },
+  { key_norepo, "NoRepo", kf_cfg + kf_cmd},
 };
 
 static struct {
@@ -1766,6 +1767,10 @@
 str_copy(, *f->value ? f->value : NULL);
 break;
 
+  case key_norepo:
+if(f->is.numeric) config.norepo = f->nvalue;
+break;
+
   default:
 break;
 }
@@ -1883,7 +1888,7 @@
   file_write_num(f, key_sourcemounted, url->mount ? 1 : 0);
 
   fprintf(f, "RepoURL: %s\n", url_print(url, 3));
-  fprintf(f, "ZyppRepoURL: %s\n", url_print(url, 4));
+  if(!config.norepo)   fprintf(f, "ZyppRepoURL: %s\n", url_print(url, 4));
   if(!config.sslcerts) fprintf(f, "ssl_verify: no\n");
 
   if(url->used.device && !url->is.network) fprintf(f, "Device: %s\n", 
short_dev(url->used.device));
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/linuxrc-6.0.3/file.h new/linuxrc-6.0.5/file.h
--- old/linuxrc-6.0.3/file.h2018-11-14 10:27:23.0 +0100
+++ new/linuxrc-6.0.5/file.h2018-11-28 16:45:17.0 +0100
@@ -56,7 +56,7 @@
   key_withipoib, key_upgrade, key_media_upgrade, key_ifcfg, key_defaultinstall,
   key_nanny, key_vlanid,
   key_sshkey, key_systemboot, key_sethostname, key_debugshell, 

commit linuxrc for openSUSE:Factory

2018-11-14 Thread root
Hello community,

here is the log from the commit of package linuxrc for openSUSE:Factory checked 
in at 2018-11-14 14:29:49

Comparing /work/SRC/openSUSE:Factory/linuxrc (Old)
 and  /work/SRC/openSUSE:Factory/.linuxrc.new (New)


Package is "linuxrc"

Wed Nov 14 14:29:49 2018 rev:264 rq:648871 version:6.0.3

Changes:

--- /work/SRC/openSUSE:Factory/linuxrc/linuxrc.changes  2018-09-20 
11:40:11.672901067 +0200
+++ /work/SRC/openSUSE:Factory/.linuxrc.new/linuxrc.changes 2018-11-14 
14:29:54.455528761 +0100
@@ -1,0 +2,7 @@
+Wed Nov 14 09:27:23 UTC 2018 - snw...@suse.de
+
+- merge gh#openSUSE/linuxrc#181
+- setctsid is dead, long live setsid (bsc#1109290)
+- 6.0.3
+
+

Old:

  linuxrc-6.0.2.tar.xz

New:

  linuxrc-6.0.3.tar.xz



Other differences:
--
++ linuxrc.spec ++
--- /var/tmp/diff_new_pack.gqYkpZ/_old  2018-11-14 14:29:56.335526947 +0100
+++ /var/tmp/diff_new_pack.gqYkpZ/_new  2018-11-14 14:29:56.339526943 +0100
@@ -17,7 +17,7 @@
 
 
 Name:   linuxrc
-Version:6.0.2
+Version:6.0.3
 Release:0
 Summary:SUSE Installation Program
 License:GPL-3.0+

++ linuxrc-6.0.2.tar.xz -> linuxrc-6.0.3.tar.xz ++
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/linuxrc-6.0.2/VERSION new/linuxrc-6.0.3/VERSION
--- old/linuxrc-6.0.2/VERSION   2018-09-10 13:43:05.0 +0200
+++ new/linuxrc-6.0.3/VERSION   2018-11-14 10:27:23.0 +0100
@@ -1 +1 @@
-6.0.2
+6.0.3
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/linuxrc-6.0.2/changelog new/linuxrc-6.0.3/changelog
--- old/linuxrc-6.0.2/changelog 2018-09-10 13:43:05.0 +0200
+++ new/linuxrc-6.0.3/changelog 2018-11-14 10:27:23.0 +0100
@@ -1,3 +1,7 @@
+2018-11-14:6.0.3
+   - merge gh#openSUSE/linuxrc#181
+   - setctsid is dead, long live setsid (bsc#1109290)
+
 2018-09-10:6.0.2
- merge gh#openSUSE/linuxrc#180
- request s390 network device dialog only if really needed
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/linuxrc-6.0.2/install.c new/linuxrc-6.0.3/install.c
--- old/linuxrc-6.0.2/install.c 2018-09-10 13:43:05.0 +0200
+++ new/linuxrc-6.0.3/install.c 2018-11-14 10:27:23.0 +0100
@@ -1367,7 +1367,7 @@
   str_copy(, config.setupcmd);
 
   if(config.url.install->scheme == inst_exec) {
-strprintf(, "setctsid `showconsole` %s",
+strprintf(, "setsid -wc %s",
   *config.url.install->path ? config.url.install->path : "/bin/sh"
 );
   }
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/linuxrc-6.0.2/linuxrc.c new/linuxrc-6.0.3/linuxrc.c
--- old/linuxrc-6.0.2/linuxrc.c 2018-09-10 13:43:05.0 +0200
+++ new/linuxrc-6.0.3/linuxrc.c 2018-11-14 10:27:23.0 +0100
@@ -762,9 +762,9 @@
 
   config.mountpoint.instdata = strdup("/var/adm/mount");
 
-  config.setupcmd = strdup("setctsid `showconsole` inst_setup yast");
+  config.setupcmd = strdup("setsid -wc inst_setup yast");
 
-  config.debugshell = strdup("setctsid `showconsole` /bin/bash -l");
+  config.debugshell = strdup("setsid -wc /bin/bash -l");
 
   config.update.map = calloc(1, MAX_UPDATES);
 




commit linuxrc for openSUSE:Factory

2018-09-20 Thread root
Hello community,

here is the log from the commit of package linuxrc for openSUSE:Factory checked 
in at 2018-09-20 11:40:07

Comparing /work/SRC/openSUSE:Factory/linuxrc (Old)
 and  /work/SRC/openSUSE:Factory/.linuxrc.new (New)


Package is "linuxrc"

Thu Sep 20 11:40:07 2018 rev:263 rq:634728 version:6.0.2

Changes:

--- /work/SRC/openSUSE:Factory/linuxrc/linuxrc.changes  2018-07-25 
16:03:47.056807784 +0200
+++ /work/SRC/openSUSE:Factory/.linuxrc.new/linuxrc.changes 2018-09-20 
11:40:11.672901067 +0200
@@ -1,0 +2,8 @@
+Mon Sep 10 11:43:05 UTC 2018 - snw...@suse.de
+
+- merge gh#openSUSE/linuxrc#180
+- request s390 network device dialog only if really needed
+  (bsc#1106466)
+- 6.0.2
+
+

Old:

  linuxrc-6.0.1.tar.xz

New:

  linuxrc-6.0.2.tar.xz



Other differences:
--
++ linuxrc.spec ++
--- /var/tmp/diff_new_pack.gpMcWZ/_old  2018-09-20 11:40:12.144900790 +0200
+++ /var/tmp/diff_new_pack.gpMcWZ/_new  2018-09-20 11:40:12.144900790 +0200
@@ -17,7 +17,7 @@
 
 
 Name:   linuxrc
-Version:6.0.1
+Version:6.0.2
 Release:0
 Summary:SUSE Installation Program
 License:GPL-3.0+

++ linuxrc-6.0.1.tar.xz -> linuxrc-6.0.2.tar.xz ++
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/linuxrc-6.0.1/VERSION new/linuxrc-6.0.2/VERSION
--- old/linuxrc-6.0.1/VERSION   2018-07-16 14:08:11.0 +0200
+++ new/linuxrc-6.0.2/VERSION   2018-09-10 13:43:05.0 +0200
@@ -1 +1 @@
-6.0.1
+6.0.2
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/linuxrc-6.0.1/auto2.c new/linuxrc-6.0.2/auto2.c
--- old/linuxrc-6.0.1/auto2.c   2018-07-16 14:08:11.0 +0200
+++ new/linuxrc-6.0.2/auto2.c   2018-09-10 13:43:05.0 +0200
@@ -576,7 +576,11 @@
*/
   if(config.url.install->is.network) {
 #if defined(__s390__) || defined(__s390x__)
-if(!config.net.configured && net_activate_s390_devs()) return 0;
+if(
+  !config.net.configured &&
+  net_config_needed(0) &&
+  net_activate_s390_devs()
+) return 0;
 #endif
 
 if((config.net.do_setup & DS_SETUP)) auto2_user_netconfig();
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/linuxrc-6.0.1/changelog new/linuxrc-6.0.2/changelog
--- old/linuxrc-6.0.1/changelog 2018-07-16 14:08:11.0 +0200
+++ new/linuxrc-6.0.2/changelog 2018-09-10 13:43:05.0 +0200
@@ -1,3 +1,8 @@
+2018-09-10:6.0.2
+   - merge gh#openSUSE/linuxrc#180
+   - request s390 network device dialog only if really needed
+ (bsc#1106466)
+
 2018-07-16:6.0.1
- merge gh#openSUSE/linuxrc#177
- add check_media() function (bsc#1000947, bsc#1036004)




commit linuxrc for openSUSE:Factory

2018-07-25 Thread root
Hello community,

here is the log from the commit of package linuxrc for openSUSE:Factory checked 
in at 2018-07-25 16:03:43

Comparing /work/SRC/openSUSE:Factory/linuxrc (Old)
 and  /work/SRC/openSUSE:Factory/.linuxrc.new (New)


Package is "linuxrc"

Wed Jul 25 16:03:43 2018 rev:262 rq:623124 version:6.0.1

Changes:

--- /work/SRC/openSUSE:Factory/linuxrc/linuxrc.changes  2018-07-04 
23:54:43.183919345 +0200
+++ /work/SRC/openSUSE:Factory/.linuxrc.new/linuxrc.changes 2018-07-25 
16:03:47.056807784 +0200
@@ -1,0 +2,10 @@
+Mon Jul 16 12:08:11 UTC 2018 - wfe...@opensuse.org
+
+- merge gh#openSUSE/linuxrc#177
+- add check_media() function (bsc#1000947, bsc#1036004)
+- run check_media() _before_ locating the repository
+- move mediacheck from expert settings to install menu
+- fix docker setup
+- 6.0.1
+
+

Old:

  linuxrc-6.0.0.tar.xz

New:

  linuxrc-6.0.1.tar.xz



Other differences:
--
++ linuxrc.spec ++
--- /var/tmp/diff_new_pack.JIMiYN/_old  2018-07-25 16:03:48.172810039 +0200
+++ /var/tmp/diff_new_pack.JIMiYN/_new  2018-07-25 16:03:48.176810047 +0200
@@ -17,7 +17,7 @@
 
 
 Name:   linuxrc
-Version:6.0.0
+Version:6.0.1
 Release:0
 Summary:SUSE Installation Program
 License:GPL-3.0+

++ linuxrc-6.0.0.tar.xz -> linuxrc-6.0.1.tar.xz ++
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/linuxrc-6.0.0/Dockerfile new/linuxrc-6.0.1/Dockerfile
--- old/linuxrc-6.0.0/Dockerfile2018-07-02 10:28:42.0 +0200
+++ new/linuxrc-6.0.1/Dockerfile2018-07-16 14:08:11.0 +0200
@@ -5,6 +5,7 @@
   libblkid-devel \
   libcurl-devel \
   readline-devel \
+  libmediacheck-devel \
   tmux
 
 COPY . /usr/src/app
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/linuxrc-6.0.0/VERSION new/linuxrc-6.0.1/VERSION
--- old/linuxrc-6.0.0/VERSION   2018-07-02 10:28:42.0 +0200
+++ new/linuxrc-6.0.1/VERSION   2018-07-16 14:08:11.0 +0200
@@ -1 +1 @@
-6.0.0
+6.0.1
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/linuxrc-6.0.0/auto2.c new/linuxrc-6.0.1/auto2.c
--- old/linuxrc-6.0.0/auto2.c   2018-07-02 10:28:42.0 +0200
+++ new/linuxrc-6.0.1/auto2.c   2018-07-16 14:08:11.0 +0200
@@ -90,6 +90,12 @@
 return 1;
   }
 
+  if(config.mediacheck) {
+if(!config.win) util_disp_init();
+ok = check_media(NULL);
+if(!ok) return 0;
+  }
+
   if(config.win && !win_old) util_disp_done();
 
   ok = auto2_find_repo();
@@ -106,8 +112,6 @@
 
   device = config.url.install->used.device ?: config.url.install->device;
 
-  win_old = config.win;
-
   log_debug("find repo:\n");
   log_debug("  ok = %d\n", ok);
   log_debug("  is.network = %d\n", config.url.install->is.network);
@@ -115,19 +119,6 @@
   log_debug("  device = %s\n", device ?: "");
   log_debug("  ZyppRepoURL: %s\n", url_print(config.url.install, 4));
 
-  if(
-ok &&
-config.mediacheck &&
-!config.url.install->is.network &&
-config.url.install->is.mountable &&
-device
-  ) {
-if(!config.win) util_disp_init();
-digest_media_verify(device);
-  }
-
-  if(config.win && !win_old) util_disp_done();
-
   LXRC_WAIT
 
   util_splash_bar(50, SPLASH_50);
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/linuxrc-6.0.0/changelog new/linuxrc-6.0.1/changelog
--- old/linuxrc-6.0.0/changelog 2018-07-02 10:28:42.0 +0200
+++ new/linuxrc-6.0.1/changelog 2018-07-16 14:08:11.0 +0200
@@ -1,3 +1,10 @@
+2018-07-16:6.0.1
+   - merge gh#openSUSE/linuxrc#177
+   - add check_media() function (bsc#1000947, bsc#1036004)
+   - run check_media() _before_ locating the repository
+   - move mediacheck from expert settings to install menu
+   - fix docker setup
+
 2018-07-02:6.0.0
- merge gh#openSUSE/linuxrc#176
- rewrite digest_media_verify() to use new mediacheck lib
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/linuxrc-6.0.0/checkmedia.c 
new/linuxrc-6.0.1/checkmedia.c
--- old/linuxrc-6.0.0/checkmedia.c  2018-07-02 10:28:42.0 +0200
+++ new/linuxrc-6.0.1/checkmedia.c  2018-07-16 14:08:11.0 +0200
@@ -1,3 +1,5 @@
+#define _GNU_SOURCE
+
 #include 
 #include 
 #include 
@@ -5,35 +7,32 @@
 
 #include "global.h"
 #include "dialog.h"
+#include "window.h"
 #include "util.h"
 #include "keyboard.h"
 
 #include 
 
+static int check_media_device(char *device);
 static int progress(unsigned percent);
 
 window_t win;
 
-void digest_media_verify(char *device)
+/*
+ * 

commit linuxrc for openSUSE:Factory

2018-07-04 Thread root
Hello community,

here is the log from the commit of package linuxrc for openSUSE:Factory checked 
in at 2018-07-04 23:53:36

Comparing /work/SRC/openSUSE:Factory/linuxrc (Old)
 and  /work/SRC/openSUSE:Factory/.linuxrc.new (New)


Package is "linuxrc"

Wed Jul  4 23:53:36 2018 rev:261 rq:620441 version:6.0.0

Changes:

--- /work/SRC/openSUSE:Factory/linuxrc/linuxrc.changes  2018-06-03 
12:31:01.503568533 +0200
+++ /work/SRC/openSUSE:Factory/.linuxrc.new/linuxrc.changes 2018-07-04 
23:54:43.183919345 +0200
@@ -1,0 +2,33 @@
+Mon Jul 2 08:28:42 UTC 2018 - wfe...@opensuse.org
+
+- merge gh#openSUSE/linuxrc#176
+- rewrite digest_media_verify() to use new mediacheck lib
+  (bsc#1000947)
+- adjust Makefile
+- fix minor linemode issue
+- replace all remaining digest calculation in linuxrc with
+  libmediacheck calls
+- code adjustments
+- 6.0.0
+
+
+Tue Jun 19 13:55:33 UTC 2018 - wfe...@opensuse.org
+
+- merge gh#openSUSE/linuxrc#173
+- address some gcc warnings
+- 5.1.14
+
+
+Tue Jun 19 11:55:59 UTC 2018 - opensuse-packag...@opensuse.org
+
+- merge gh#openSUSE/linuxrc#170
+- Eliminate chance of read() hang on size check
+- 5.1.13
+
+
+Tue Jun 19 11:55:36 UTC 2018 - wfe...@opensuse.org
+
+- merge gh#openSUSE/linuxrc#171
+- don't impose limits on /proc/cmdline size (bsc#1092154)
+
+

Old:

  linuxrc-5.1.12.tar.xz

New:

  linuxrc-6.0.0.tar.xz



Other differences:
--
++ linuxrc.spec ++
--- /var/tmp/diff_new_pack.CkuybH/_old  2018-07-04 23:54:43.695918780 +0200
+++ /var/tmp/diff_new_pack.CkuybH/_new  2018-07-04 23:54:43.699918776 +0200
@@ -17,7 +17,7 @@
 
 
 Name:   linuxrc
-Version:5.1.12
+Version:6.0.0
 Release:0
 Summary:SUSE Installation Program
 License:GPL-3.0+
@@ -26,6 +26,7 @@
 BuildRequires:  e2fsprogs-devel
 BuildRequires:  pkgconfig
 BuildRequires:  readline-devel
+BuildRequires:  libmediacheck-devel
 BuildRequires:  pkgconfig(blkid)
 BuildRequires:  pkgconfig(hwinfo)
 BuildRequires:  pkgconfig(libcurl)

++ linuxrc-5.1.12.tar.xz -> linuxrc-6.0.0.tar.xz ++
 3937 lines of diff (skipped)




commit linuxrc for openSUSE:Factory

2018-06-03 Thread root
Hello community,

here is the log from the commit of package linuxrc for openSUSE:Factory checked 
in at 2018-06-03 12:31:00

Comparing /work/SRC/openSUSE:Factory/linuxrc (Old)
 and  /work/SRC/openSUSE:Factory/.linuxrc.new (New)


Package is "linuxrc"

Sun Jun  3 12:31:00 2018 rev:260 rq:613090 version:5.1.12

Changes:

--- /work/SRC/openSUSE:Factory/linuxrc/linuxrc.changes  2018-04-26 
13:33:22.918302886 +0200
+++ /work/SRC/openSUSE:Factory/.linuxrc.new/linuxrc.changes 2018-06-03 
12:31:01.503568533 +0200
@@ -1,0 +2,8 @@
+Wed May 30 14:37:49 UTC 2018 - wfe...@opensuse.org
+
+- merge gh#openSUSE/linuxrc#169
+- write s390 config values into /boot/zipl/active_devices.txt
+  (bsc#1095062)
+- 5.1.12
+
+

Old:

  linuxrc-5.1.11.tar.xz

New:

  linuxrc-5.1.12.tar.xz



Other differences:
--
++ linuxrc.spec ++
--- /var/tmp/diff_new_pack.sSSMSv/_old  2018-06-03 12:31:05.019439819 +0200
+++ /var/tmp/diff_new_pack.sSSMSv/_new  2018-06-03 12:31:05.047438794 +0200
@@ -17,7 +17,7 @@
 
 
 Name:   linuxrc
-Version:5.1.11
+Version:5.1.12
 Release:0
 Summary:SUSE Installation Program
 License:GPL-3.0+

++ linuxrc-5.1.11.tar.xz -> linuxrc-5.1.12.tar.xz ++
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/linuxrc-5.1.11/VERSION new/linuxrc-5.1.12/VERSION
--- old/linuxrc-5.1.11/VERSION  2018-04-20 11:56:38.0 +0200
+++ new/linuxrc-5.1.12/VERSION  2018-05-30 16:37:49.0 +0200
@@ -1 +1 @@
-5.1.11
+5.1.12
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/linuxrc-5.1.11/changelog new/linuxrc-5.1.12/changelog
--- old/linuxrc-5.1.11/changelog2018-04-20 11:56:38.0 +0200
+++ new/linuxrc-5.1.12/changelog2018-05-30 16:37:49.0 +0200
@@ -1,3 +1,8 @@
+2018-05-30:5.1.12
+   - merge gh#openSUSE/linuxrc#169
+   - write s390 config values into /boot/zipl/active_devices.txt
+ (bsc#1095062)
+
 2018-04-20:5.1.11
- merge gh#openSUSE/linuxrc#168
 
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/linuxrc-5.1.11/linuxrc.c new/linuxrc-5.1.12/linuxrc.c
--- old/linuxrc-5.1.11/linuxrc.c2018-04-20 11:56:38.0 +0200
+++ new/linuxrc-5.1.12/linuxrc.c2018-05-30 16:37:49.0 +0200
@@ -1089,6 +1089,7 @@
 if(util_read_and_chop("/sys/firmware/ipl/device", device, sizeof 
device))
 {
   sprintf(cmd,"/sbin/chzdev -e zfcp-host --no-root-update %s",device);
+  util_write_active_devices("%s\n", device);
   if(!config.test) lxrc_run(cmd);
   if(util_read_and_chop("/sys/firmware/ipl/wwpn", wwpn, sizeof wwpn))
   {
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/linuxrc-5.1.11/net.c new/linuxrc-5.1.12/net.c
--- old/linuxrc-5.1.11/net.c2018-04-20 11:56:38.0 +0200
+++ new/linuxrc-5.1.12/net.c2018-05-30 16:37:49.0 +0200
@@ -1599,11 +1599,13 @@
 sprintf(cmd, "/sbin/chzdev -e ctc --no-root-update %s-%s protocol=%d", 
config.hwp.readchan, config.hwp.writechan, config.hwp.protocol - 1);
   else
 sprintf(cmd, "/sbin/chzdev -e ctc --no-root-update %s-%s", 
config.hwp.readchan, config.hwp.writechan);
+  util_write_active_devices("%s,%s\n", config.hwp.readchan, 
config.hwp.writechan);
   break;
 case di_390net_hsi:
 case di_390net_osa:
   if (config.hwp.interface == di_osa_lcs) {
 sprintf(cmd, "/sbin/chzdev -e lcs --no-root-update %s-%s", 
config.hwp.readchan, config.hwp.writechan);
+util_write_active_devices("%s,%s\n", config.hwp.readchan, 
config.hwp.writechan);
   /* For whatever reason, LCS devices need to be enabled twice before 
they
* actually come online. So, we execute lxrc_run here, and again 
after the end
* of the case statement. */
@@ -1618,6 +1620,7 @@
 config.hwp.readchan,
 config.hwp.writechan,
 config.hwp.datachan);
+util_write_active_devices("%s,%s,%s\n", config.hwp.readchan, 
config.hwp.writechan, config.hwp.datachan);
   }
   break;
 default:
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/linuxrc-5.1.11/util.c new/linuxrc-5.1.12/util.c
--- old/linuxrc-5.1.11/util.c   2018-04-20 11:56:38.0 +0200
+++ new/linuxrc-5.1.12/util.c   2018-05-30 16:37:49.0 +0200
@@ -,3 +,25 @@
   config.core_setup = 1;
 }
 
+
+/*
+ * Write s390 config values into /boot/zipl/active_devices.txt
+ * (see bsc#1095062).
+ */
+void 

commit linuxrc for openSUSE:Factory

2018-04-26 Thread root
Hello community,

here is the log from the commit of package linuxrc for openSUSE:Factory checked 
in at 2018-04-26 13:33:21

Comparing /work/SRC/openSUSE:Factory/linuxrc (Old)
 and  /work/SRC/openSUSE:Factory/.linuxrc.new (New)


Package is "linuxrc"

Thu Apr 26 13:33:21 2018 rev:259 rq:599223 version:5.1.11

Changes:

--- /work/SRC/openSUSE:Factory/linuxrc/linuxrc.changes  2018-04-17 
11:12:20.120991759 +0200
+++ /work/SRC/openSUSE:Factory/.linuxrc.new/linuxrc.changes 2018-04-26 
13:33:22.918302886 +0200
@@ -1,0 +2,13 @@
+Fri Apr 20 09:56:38 UTC 2018 - snw...@suse.de
+
+- merge gh#openSUSE/linuxrc#168
+- 5.1.11
+
+
+Wed Apr 18 10:26:06 UTC 2018 - wfe...@opensuse.org
+
+- activate s390 devices when reading driver updates via nfs & cifs
+  (bsc#1089937)
+- 5.1.10
+
+

Old:

  linuxrc-5.1.9.tar.xz

New:

  linuxrc-5.1.11.tar.xz



Other differences:
--
++ linuxrc.spec ++
--- /var/tmp/diff_new_pack.4rHR2E/_old  2018-04-26 13:33:23.410284860 +0200
+++ /var/tmp/diff_new_pack.4rHR2E/_new  2018-04-26 13:33:23.414284713 +0200
@@ -17,7 +17,7 @@
 
 
 Name:   linuxrc
-Version:5.1.9
+Version:5.1.11
 Release:0
 Summary:SUSE Installation Program
 License:GPL-3.0+

++ linuxrc-5.1.9.tar.xz -> linuxrc-5.1.11.tar.xz ++
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/linuxrc-5.1.9/VERSION new/linuxrc-5.1.11/VERSION
--- old/linuxrc-5.1.9/VERSION   2018-04-11 11:51:13.0 +0200
+++ new/linuxrc-5.1.11/VERSION  2018-04-20 11:56:38.0 +0200
@@ -1 +1 @@
-5.1.9
+5.1.11
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/linuxrc-5.1.9/auto2.c new/linuxrc-5.1.11/auto2.c
--- old/linuxrc-5.1.9/auto2.c   2018-04-11 11:51:13.0 +0200
+++ new/linuxrc-5.1.11/auto2.c  2018-04-20 11:56:38.0 +0200
@@ -419,6 +419,9 @@
   strprintf(_buf, "Failed to load driver update:\n%s", url_print(url, 
0));
 
   if(url->is.mountable) {
+#if defined(__s390__) || defined(__s390x__)
+  if(url->is.network) net_activate_s390_devs();
+#endif
 err = url_mount(url, config.mountpoint.update, test_and_add_dud);
 if(!url->quiet) {
   if(err) {
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/linuxrc-5.1.9/changelog new/linuxrc-5.1.11/changelog
--- old/linuxrc-5.1.9/changelog 2018-04-11 11:51:13.0 +0200
+++ new/linuxrc-5.1.11/changelog2018-04-20 11:56:38.0 +0200
@@ -1,3 +1,10 @@
+2018-04-20:5.1.11
+   - merge gh#openSUSE/linuxrc#168
+
+2018-04-18:5.1.10
+   - activate s390 devices when reading driver updates via nfs & cifs
+ (bsc#1089937)
+
 2018-04-11:5.1.9
- merge gh#openSUSE/linuxrc#167
- kexec uses '-a' option now (bsc#1076839)




commit linuxrc for openSUSE:Factory

2018-04-17 Thread root
Hello community,

here is the log from the commit of package linuxrc for openSUSE:Factory checked 
in at 2018-04-17 11:12:13

Comparing /work/SRC/openSUSE:Factory/linuxrc (Old)
 and  /work/SRC/openSUSE:Factory/.linuxrc.new (New)


Package is "linuxrc"

Tue Apr 17 11:12:13 2018 rev:258 rq:595562 version:5.1.9

Changes:

--- /work/SRC/openSUSE:Factory/linuxrc/linuxrc.changes  2018-03-29 
11:50:37.197173549 +0200
+++ /work/SRC/openSUSE:Factory/.linuxrc.new/linuxrc.changes 2018-04-17 
11:12:20.120991759 +0200
@@ -1,0 +2,7 @@
+Wed Apr 11 09:51:13 UTC 2018 - wfe...@opensuse.org
+
+- merge gh#openSUSE/linuxrc#167
+- kexec uses '-a' option now (bsc#1076839)
+- 5.1.9
+
+

Old:

  linuxrc-5.1.8.tar.xz

New:

  linuxrc-5.1.9.tar.xz



Other differences:
--
++ linuxrc.spec ++
--- /var/tmp/diff_new_pack.F05rMY/_old  2018-04-17 11:12:20.700964555 +0200
+++ /var/tmp/diff_new_pack.F05rMY/_new  2018-04-17 11:12:20.704964367 +0200
@@ -17,7 +17,7 @@
 
 
 Name:   linuxrc
-Version:5.1.8
+Version:5.1.9
 Release:0
 Summary:SUSE Installation Program
 License:GPL-3.0+

++ linuxrc-5.1.8.tar.xz -> linuxrc-5.1.9.tar.xz ++
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/linuxrc-5.1.8/VERSION new/linuxrc-5.1.9/VERSION
--- old/linuxrc-5.1.8/VERSION   2018-03-26 10:40:12.0 +0200
+++ new/linuxrc-5.1.9/VERSION   2018-04-11 11:51:13.0 +0200
@@ -1 +1 @@
-5.1.8
+5.1.9
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/linuxrc-5.1.8/auto2.c new/linuxrc-5.1.9/auto2.c
--- old/linuxrc-5.1.8/auto2.c   2018-03-26 10:40:12.0 +0200
+++ new/linuxrc-5.1.9/auto2.c   2018-04-11 11:51:13.0 +0200
@@ -1036,14 +1036,7 @@
 
 sync();
 
-// sometimes you need it, sometimes not - see bsc#1076839
-#if defined(__x86_64__)
-  #define KEXEC_OPT" -s"
-#else
-  #define KEXEC_OPT ""
-#endif
-
-strprintf(, "kexec" KEXEC_OPT " -l %s --initrd=%s --append='%s 
kexec=0'", kernel, initrd, cmdline);
+strprintf(, "kexec -a -l %s --initrd=%s --append='%s kexec=0'", 
kernel, initrd, cmdline);
 
 if(!config.test) {
   lxrc_run(buf);
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/linuxrc-5.1.8/changelog new/linuxrc-5.1.9/changelog
--- old/linuxrc-5.1.8/changelog 2018-03-26 10:40:12.0 +0200
+++ new/linuxrc-5.1.9/changelog 2018-04-11 11:51:13.0 +0200
@@ -1,3 +1,7 @@
+2018-04-11:5.1.9
+   - merge gh#openSUSE/linuxrc#167
+   - kexec uses '-a' option now (bsc#1076839)
+
 2018-03-26:5.1.8
- merge gh#openSUSE/linuxrc#166
- Fix for bsc#1085860 Change chzdev call to conform to documented
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/linuxrc-5.1.8/util.c new/linuxrc-5.1.9/util.c
--- old/linuxrc-5.1.8/util.c2018-03-26 10:40:12.0 +0200
+++ new/linuxrc-5.1.9/util.c2018-04-11 11:51:13.0 +0200
@@ -5202,15 +5202,8 @@
 return;
   }
 
-  // sometimes you need it, sometimes not - see bsc#1076839
-  #if defined(__x86_64__)
-#define KEXEC_OPT  " -s"
-  #else
-#define KEXEC_OPT  ""
-  #endif
-
   strprintf(,
-"kexec" KEXEC_OPT " -l '/mnt/%s' --initrd='/mnt/%s' --append='%s'",
+"kexec -a -l '/mnt/%s' --initrd='/mnt/%s' --append='%s'",
 kernel_name, initrd_name, kernel_options
   );
 




commit linuxrc for openSUSE:Factory

2018-03-29 Thread root
Hello community,

here is the log from the commit of package linuxrc for openSUSE:Factory checked 
in at 2018-03-29 11:50:35

Comparing /work/SRC/openSUSE:Factory/linuxrc (Old)
 and  /work/SRC/openSUSE:Factory/.linuxrc.new (New)


Package is "linuxrc"

Thu Mar 29 11:50:35 2018 rev:257 rq:590985 version:5.1.8

Changes:

--- /work/SRC/openSUSE:Factory/linuxrc/linuxrc.changes  2018-03-16 
10:35:44.736900011 +0100
+++ /work/SRC/openSUSE:Factory/.linuxrc.new/linuxrc.changes 2018-03-29 
11:50:37.197173549 +0200
@@ -1,0 +2,8 @@
+Mon Mar 26 08:40:12 UTC 2018 - opensuse-packag...@opensuse.org
+
+- merge gh#openSUSE/linuxrc#166
+- Fix for bsc#1085860 Change chzdev call to conform to documented
+  syntax
+- 5.1.8
+
+

Old:

  linuxrc-5.1.7.tar.xz

New:

  linuxrc-5.1.8.tar.xz



Other differences:
--
++ linuxrc.spec ++
--- /var/tmp/diff_new_pack.QCrk2p/_old  2018-03-29 11:50:37.753153525 +0200
+++ /var/tmp/diff_new_pack.QCrk2p/_new  2018-03-29 11:50:37.753153525 +0200
@@ -17,7 +17,7 @@
 
 
 Name:   linuxrc
-Version:5.1.7
+Version:5.1.8
 Release:0
 Summary:SUSE Installation Program
 License:GPL-3.0+

++ linuxrc-5.1.7.tar.xz -> linuxrc-5.1.8.tar.xz ++
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/linuxrc-5.1.7/VERSION new/linuxrc-5.1.8/VERSION
--- old/linuxrc-5.1.7/VERSION   2018-03-15 14:49:25.0 +0100
+++ new/linuxrc-5.1.8/VERSION   2018-03-26 10:40:12.0 +0200
@@ -1 +1 @@
-5.1.7
+5.1.8
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/linuxrc-5.1.7/changelog new/linuxrc-5.1.8/changelog
--- old/linuxrc-5.1.7/changelog 2018-03-15 14:49:25.0 +0100
+++ new/linuxrc-5.1.8/changelog 2018-03-26 10:40:12.0 +0200
@@ -1,3 +1,8 @@
+2018-03-26:5.1.8
+   - merge gh#openSUSE/linuxrc#166
+   - Fix for bsc#1085860 Change chzdev call to conform to documented
+ syntax
+
 2018-03-15:5.1.7
- merge gh#openSUSE/linuxrc#165
- be carefull with 'kexec -s', it's not always available (bsc#1076839)
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/linuxrc-5.1.7/net.c new/linuxrc-5.1.8/net.c
--- old/linuxrc-5.1.7/net.c 2018-03-15 14:49:25.0 +0100
+++ new/linuxrc-5.1.8/net.c 2018-03-26 10:40:12.0 +0200
@@ -1595,24 +1595,30 @@
   break;
 case di_390net_ctc:
 case di_390net_escon:
-setup_ctc:
   if(config.hwp.protocol > 0)
-sprintf(cmd, "/sbin/chzdev -e ctc --no-root-update %s:%s protocol=%d", 
config.hwp.readchan, config.hwp.writechan, config.hwp.protocol - 1);
+sprintf(cmd, "/sbin/chzdev -e ctc --no-root-update %s-%s protocol=%d", 
config.hwp.readchan, config.hwp.writechan, config.hwp.protocol - 1);
   else
-sprintf(cmd, "/sbin/chzdev -e ctc --no-root-update %s %s", 
config.hwp.readchan, config.hwp.writechan);
+sprintf(cmd, "/sbin/chzdev -e ctc --no-root-update %s-%s", 
config.hwp.readchan, config.hwp.writechan);
   break;
 case di_390net_hsi:
 case di_390net_osa:
-  if (config.hwp.interface == di_osa_lcs)
-goto setup_ctc;
-  ccmd += sprintf(ccmd, "/sbin/chzdev -e qeth --no-root-update ");
-  if(config.hwp.portno)
-ccmd += sprintf(ccmd, "portno=%d ", config.hwp.portno - 1);
-  ccmd += sprintf(ccmd, "%s %s:%s:%s ",
+  if (config.hwp.interface == di_osa_lcs) {
+sprintf(cmd, "/sbin/chzdev -e lcs --no-root-update %s-%s", 
config.hwp.readchan, config.hwp.writechan);
+  /* For whatever reason, LCS devices need to be enabled twice before 
they
+   * actually come online. So, we execute lxrc_run here, and again 
after the end
+   * of the case statement. */
+  rc = lxrc_run(cmd);
+  }
+  else {
+ccmd += sprintf(ccmd, "/sbin/chzdev -e qeth --no-root-update ");
+if(config.hwp.portno)
+  ccmd += sprintf(ccmd, "portno=%d ", config.hwp.portno - 1);
+ccmd += sprintf(ccmd, "%s %s:%s:%s ",
 config.hwp.layer2 == LAYER2_YES ? "layer2=1 " : "layer2=0 ",
 config.hwp.readchan,
 config.hwp.writechan,
 config.hwp.datachan);
+  }
   break;
 default:
   sprintf(cmd, "unknown s390 network type %d", config.hwp.type);




commit linuxrc for openSUSE:Factory

2018-03-16 Thread root
Hello community,

here is the log from the commit of package linuxrc for openSUSE:Factory checked 
in at 2018-03-16 10:35:43

Comparing /work/SRC/openSUSE:Factory/linuxrc (Old)
 and  /work/SRC/openSUSE:Factory/.linuxrc.new (New)


Package is "linuxrc"

Fri Mar 16 10:35:43 2018 rev:256 rq:587526 version:5.1.7

Changes:

--- /work/SRC/openSUSE:Factory/linuxrc/linuxrc.changes  2018-02-28 
20:01:32.774537742 +0100
+++ /work/SRC/openSUSE:Factory/.linuxrc.new/linuxrc.changes 2018-03-16 
10:35:44.736900011 +0100
@@ -1,0 +2,7 @@
+Thu Mar 15 13:49:25 UTC 2018 - wfe...@opensuse.org
+
+- merge gh#openSUSE/linuxrc#165
+- be carefull with 'kexec -s', it's not always available (bsc#1076839)
+- 5.1.7
+
+

Old:

  linuxrc-5.1.6.tar.xz

New:

  linuxrc-5.1.7.tar.xz



Other differences:
--
++ linuxrc.spec ++
--- /var/tmp/diff_new_pack.iiDBb1/_old  2018-03-16 10:35:45.572869912 +0100
+++ /var/tmp/diff_new_pack.iiDBb1/_new  2018-03-16 10:35:45.580869623 +0100
@@ -17,7 +17,7 @@
 
 
 Name:   linuxrc
-Version:5.1.6
+Version:5.1.7
 Release:0
 Summary:SUSE Installation Program
 License:GPL-3.0+

++ linuxrc-5.1.6.tar.xz -> linuxrc-5.1.7.tar.xz ++
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/linuxrc-5.1.6/VERSION new/linuxrc-5.1.7/VERSION
--- old/linuxrc-5.1.6/VERSION   2018-02-26 12:00:42.0 +0100
+++ new/linuxrc-5.1.7/VERSION   2018-03-15 14:49:25.0 +0100
@@ -1 +1 @@
-5.1.6
+5.1.7
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/linuxrc-5.1.6/auto2.c new/linuxrc-5.1.7/auto2.c
--- old/linuxrc-5.1.6/auto2.c   2018-02-26 12:00:42.0 +0100
+++ new/linuxrc-5.1.7/auto2.c   2018-03-15 14:49:25.0 +0100
@@ -1036,7 +1036,14 @@
 
 sync();
 
-strprintf(, "kexec -s -l %s --initrd=%s --append='%s kexec=0'", 
kernel, initrd, cmdline);
+// sometimes you need it, sometimes not - see bsc#1076839
+#if defined(__x86_64__)
+  #define KEXEC_OPT" -s"
+#else
+  #define KEXEC_OPT ""
+#endif
+
+strprintf(, "kexec" KEXEC_OPT " -l %s --initrd=%s --append='%s 
kexec=0'", kernel, initrd, cmdline);
 
 if(!config.test) {
   lxrc_run(buf);
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/linuxrc-5.1.6/changelog new/linuxrc-5.1.7/changelog
--- old/linuxrc-5.1.6/changelog 2018-02-26 12:00:42.0 +0100
+++ new/linuxrc-5.1.7/changelog 2018-03-15 14:49:25.0 +0100
@@ -1,3 +1,7 @@
+2018-03-15:5.1.7
+   - merge gh#openSUSE/linuxrc#165
+   - be carefull with 'kexec -s', it's not always available (bsc#1076839)
+
 2018-02-26:5.1.6
- merge gh#openSUSE/linuxrc#164
- fix code flow (bsc#1082468)
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/linuxrc-5.1.6/util.c new/linuxrc-5.1.7/util.c
--- old/linuxrc-5.1.6/util.c2018-02-26 12:00:42.0 +0100
+++ new/linuxrc-5.1.7/util.c2018-03-15 14:49:25.0 +0100
@@ -5202,8 +5202,15 @@
 return;
   }
 
+  // sometimes you need it, sometimes not - see bsc#1076839
+  #if defined(__x86_64__)
+#define KEXEC_OPT  " -s"
+  #else
+#define KEXEC_OPT  ""
+  #endif
+
   strprintf(,
-"kexec -s -l '/mnt/%s' --initrd='/mnt/%s' --append='%s'",
+"kexec" KEXEC_OPT " -l '/mnt/%s' --initrd='/mnt/%s' --append='%s'",
 kernel_name, initrd_name, kernel_options
   );
 




commit linuxrc for openSUSE:Factory

2018-02-28 Thread root
Hello community,

here is the log from the commit of package linuxrc for openSUSE:Factory checked 
in at 2018-02-28 20:01:30

Comparing /work/SRC/openSUSE:Factory/linuxrc (Old)
 and  /work/SRC/openSUSE:Factory/.linuxrc.new (New)


Package is "linuxrc"

Wed Feb 28 20:01:30 2018 rev:255 rq:580190 version:5.1.6

Changes:

--- /work/SRC/openSUSE:Factory/linuxrc/linuxrc.changes  2018-02-14 
09:18:37.163753879 +0100
+++ /work/SRC/openSUSE:Factory/.linuxrc.new/linuxrc.changes 2018-02-28 
20:01:32.774537742 +0100
@@ -1,0 +2,7 @@
+Mon Feb 26 11:00:42 UTC 2018 - wfe...@opensuse.org
+
+- merge gh#openSUSE/linuxrc#164
+- fix code flow (bsc#1082468)
+- 5.1.6
+
+

Old:

  linuxrc-5.1.5.tar.xz

New:

  linuxrc-5.1.6.tar.xz



Other differences:
--
++ linuxrc.spec ++
--- /var/tmp/diff_new_pack.HdtKjA/_old  2018-02-28 20:01:33.722503442 +0100
+++ /var/tmp/diff_new_pack.HdtKjA/_new  2018-02-28 20:01:33.726503298 +0100
@@ -17,7 +17,7 @@
 
 
 Name:   linuxrc
-Version:5.1.5
+Version:5.1.6
 Release:0
 Summary:SUSE Installation Program
 License:GPL-3.0+

++ linuxrc-5.1.5.tar.xz -> linuxrc-5.1.6.tar.xz ++
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/linuxrc-5.1.5/VERSION new/linuxrc-5.1.6/VERSION
--- old/linuxrc-5.1.5/VERSION   2018-02-07 14:07:05.0 +0100
+++ new/linuxrc-5.1.6/VERSION   2018-02-26 12:00:42.0 +0100
@@ -1 +1 @@
-5.1.5
+5.1.6
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/linuxrc-5.1.5/changelog new/linuxrc-5.1.6/changelog
--- old/linuxrc-5.1.5/changelog 2018-02-07 14:07:05.0 +0100
+++ new/linuxrc-5.1.6/changelog 2018-02-26 12:00:42.0 +0100
@@ -1,3 +1,7 @@
+2018-02-26:5.1.6
+   - merge gh#openSUSE/linuxrc#164
+   - fix code flow (bsc#1082468)
+
 2018-02-07:5.1.5
- merge gh#openSUSE/linuxrc#156
- Don't include RPC headers if we don't need them. RPC is
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/linuxrc-5.1.5/file.c new/linuxrc-5.1.6/file.c
--- old/linuxrc-5.1.5/file.c2018-02-07 14:07:05.0 +0100
+++ new/linuxrc-5.1.6/file.c2018-02-26 12:00:42.0 +0100
@@ -1948,11 +1948,12 @@
   file_write_num(f, key_insecure, !config.secure);
   if(config.upgrade) file_write_num(f, key_upgrade, config.upgrade);
   if(config.media_upgrade) file_write_num(f, key_media_upgrade, 
config.media_upgrade);
-  if(config.self_update_url)
+  if(config.self_update_url) {
 file_write_str(f, key_self_update, config.self_update_url);
-  else if (config.self_update == 0 || config.self_update == 1)
+  }
+  else if (config.self_update == 0 || config.self_update == 1) {
 file_write_num(f, key_self_update, config.self_update);
-  else
+  }
 
   if(
 config.rootpassword &&




commit linuxrc for openSUSE:Factory

2018-02-14 Thread root
Hello community,

here is the log from the commit of package linuxrc for openSUSE:Factory checked 
in at 2018-02-14 09:18:32

Comparing /work/SRC/openSUSE:Factory/linuxrc (Old)
 and  /work/SRC/openSUSE:Factory/.linuxrc.new (New)


Package is "linuxrc"

Wed Feb 14 09:18:32 2018 rev:254 rq:573704 version:5.1.5

Changes:

--- /work/SRC/openSUSE:Factory/linuxrc/linuxrc.changes  2018-01-13 
21:35:33.751866596 +0100
+++ /work/SRC/openSUSE:Factory/.linuxrc.new/linuxrc.changes 2018-02-14 
09:18:37.163753879 +0100
@@ -1,0 +2,8 @@
+Wed Feb 7 13:07:05 UTC 2018 - opensuse-packag...@opensuse.org
+
+- merge gh#openSUSE/linuxrc#156
+- Don't include RPC headers if we don't need them. RPC is
+  deprecated in glibc.
+- 5.1.5
+
+

Old:

  linuxrc-5.1.4.tar.xz

New:

  linuxrc-5.1.5.tar.xz



Other differences:
--
++ linuxrc.spec ++
--- /var/tmp/diff_new_pack.70kGpd/_old  2018-02-14 09:18:38.315712123 +0100
+++ /var/tmp/diff_new_pack.70kGpd/_new  2018-02-14 09:18:38.319711978 +0100
@@ -17,7 +17,7 @@
 
 
 Name:   linuxrc
-Version:5.1.4
+Version:5.1.5
 Release:0
 Summary:SUSE Installation Program
 License:GPL-3.0+

++ linuxrc-5.1.4.tar.xz -> linuxrc-5.1.5.tar.xz ++
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/linuxrc-5.1.4/VERSION new/linuxrc-5.1.5/VERSION
--- old/linuxrc-5.1.4/VERSION   2018-01-11 15:32:57.0 +0100
+++ new/linuxrc-5.1.5/VERSION   2018-02-07 14:07:05.0 +0100
@@ -1 +1 @@
-5.1.4
+5.1.5
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/linuxrc-5.1.4/changelog new/linuxrc-5.1.5/changelog
--- old/linuxrc-5.1.4/changelog 2018-01-11 15:32:57.0 +0100
+++ new/linuxrc-5.1.5/changelog 2018-02-07 14:07:05.0 +0100
@@ -1,3 +1,8 @@
+2018-02-07:5.1.5
+   - merge gh#openSUSE/linuxrc#156
+   - Don't include RPC headers if we don't need them. RPC is
+ deprecated in glibc.
+
 2018-01-11:5.1.4
- merge gh#openSUSE/linuxrc#163
- extend 'kexec' option to allow updating kernel/initrd only if
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/linuxrc-5.1.4/net.c new/linuxrc-5.1.5/net.c
--- old/linuxrc-5.1.4/net.c 2018-01-11 15:32:57.0 +0100
+++ new/linuxrc-5.1.5/net.c 2018-02-07 14:07:05.0 +0100
@@ -15,10 +15,6 @@
 #include 
 #include 
 #include 
-#include 
-#include 
-#include 
-#include 
 #include 
 #include 
 #include 




commit linuxrc for openSUSE:Factory

2018-01-13 Thread root
Hello community,

here is the log from the commit of package linuxrc for openSUSE:Factory checked 
in at 2018-01-13 21:35:27

Comparing /work/SRC/openSUSE:Factory/linuxrc (Old)
 and  /work/SRC/openSUSE:Factory/.linuxrc.new (New)


Package is "linuxrc"

Sat Jan 13 21:35:27 2018 rev:253 rq:563619 version:5.1.4

Changes:

--- /work/SRC/openSUSE:Factory/linuxrc/linuxrc.changes  2017-12-19 
10:45:38.574554074 +0100
+++ /work/SRC/openSUSE:Factory/.linuxrc.new/linuxrc.changes 2018-01-13 
21:35:33.751866596 +0100
@@ -1,0 +2,16 @@
+Thu Jan 11 14:32:57 UTC 2018 - wfe...@opensuse.org
+
+- merge gh#openSUSE/linuxrc#163
+- extend 'kexec' option to allow updating kernel/initrd only if
+  necessary (bsc#990374)
+- 5.1.4
+
+
+Wed Jan 10 12:06:12 UTC 2018 - wfe...@opensuse.org
+
+- merge gh#openSUSE/linuxrc#162
+- allow kexec to work with secure boot (bsc#1075051)
+- adjust copyright notice
+- 5.1.3
+
+

Old:

  linuxrc-5.1.2.tar.xz

New:

  linuxrc-5.1.4.tar.xz



Other differences:
--
++ linuxrc.spec ++
--- /var/tmp/diff_new_pack.3WZzbg/_old  2018-01-13 21:35:34.443834361 +0100
+++ /var/tmp/diff_new_pack.3WZzbg/_new  2018-01-13 21:35:34.447834174 +0100
@@ -17,7 +17,7 @@
 
 
 Name:   linuxrc
-Version:5.1.2
+Version:5.1.4
 Release:0
 Summary:SUSE Installation Program
 License:GPL-3.0+

++ linuxrc-5.1.2.tar.xz -> linuxrc-5.1.4.tar.xz ++
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/linuxrc-5.1.2/VERSION new/linuxrc-5.1.4/VERSION
--- old/linuxrc-5.1.2/VERSION   2017-12-14 14:35:13.0 +0100
+++ new/linuxrc-5.1.4/VERSION   2018-01-11 15:32:57.0 +0100
@@ -1 +1 @@
-5.1.2
+5.1.4
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/linuxrc-5.1.2/auto2.c new/linuxrc-5.1.4/auto2.c
--- old/linuxrc-5.1.2/auto2.c   2017-12-14 14:35:13.0 +0100
+++ new/linuxrc-5.1.4/auto2.c   2018-01-11 15:32:57.0 +0100
@@ -39,7 +39,6 @@
 static void auto2_read_repo_files(url_t *url);
 static void auto2_read_repomd_files(url_t *url);
 static char *auto2_splash_name(void);
-static void auto2_kexec(url_t *url);
 
 static int test_and_add_dud(url_t *url);
 
@@ -595,7 +594,7 @@
   /* now go and look for repo */
   err = url_find_repo(config.url.install, config.mountpoint.instdata);
 
-  if(!err && config.kexec) {
+  if(!err && config.kexec == 1) {
 auto2_kexec(config.url.install);
 log_info("kexec failed\n");
 return 0;
@@ -1037,10 +1036,11 @@
 
 sync();
 
-strprintf(, "kexec -l %s --initrd=%s --append='%s kexec=0'", kernel, 
initrd, cmdline);
+strprintf(, "kexec -s -l %s --initrd=%s --append='%s kexec=0'", 
kernel, initrd, cmdline);
 
 if(!config.test) {
   lxrc_run(buf);
+  LXRC_WAIT
   util_umount_all();
   sync();
   lxrc_run("kexec -e");
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/linuxrc-5.1.2/auto2.h new/linuxrc-5.1.4/auto2.h
--- old/linuxrc-5.1.2/auto2.h   2017-12-14 14:35:13.0 +0100
+++ new/linuxrc-5.1.4/auto2.h   2018-01-11 15:32:57.0 +0100
@@ -10,3 +10,4 @@
 void load_drivers(hd_data_t *hd_data, hd_hw_item_t hw_item);
 void auto2_user_netconfig(void);
 void auto2_user_netconfig(void);
+void auto2_kexec(url_t *url);
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/linuxrc-5.1.2/changelog new/linuxrc-5.1.4/changelog
--- old/linuxrc-5.1.2/changelog 2017-12-14 14:35:13.0 +0100
+++ new/linuxrc-5.1.4/changelog 2018-01-11 15:32:57.0 +0100
@@ -1,3 +1,13 @@
+2018-01-11:5.1.4
+   - merge gh#openSUSE/linuxrc#163
+   - extend 'kexec' option to allow updating kernel/initrd only if
+ necessary (bsc#990374)
+
+2018-01-10:5.1.3
+   - merge gh#openSUSE/linuxrc#162
+   - allow kexec to work with secure boot (bsc#1075051)
+   - adjust copyright notice
+
 2017-12-14:5.1.2
- merge gh#openSUSE/linuxrc#161
- fix network interface handling (bnc#1068336)
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/linuxrc-5.1.2/global.h new/linuxrc-5.1.4/global.h
--- old/linuxrc-5.1.2/global.h  2017-12-14 14:35:13.0 +0100
+++ new/linuxrc-5.1.4/global.h  2018-01-11 15:32:57.0 +0100
@@ -419,7 +419,6 @@
   unsigned secure_always_fail:1;   /**< in secure mode: never ask the user 
but always fail directly */
   unsigned sslcerts:1; /**< whether to check ssl certificates */
   unsigned sig_failed:2;   /**< signature check 

commit linuxrc for openSUSE:Factory

2017-12-19 Thread root
Hello community,

here is the log from the commit of package linuxrc for openSUSE:Factory checked 
in at 2017-12-19 10:45:35

Comparing /work/SRC/openSUSE:Factory/linuxrc (Old)
 and  /work/SRC/openSUSE:Factory/.linuxrc.new (New)


Package is "linuxrc"

Tue Dec 19 10:45:35 2017 rev:252 rq:557022 version:5.1.2

Changes:

--- /work/SRC/openSUSE:Factory/linuxrc/linuxrc.changes  2017-12-08 
12:55:07.446590873 +0100
+++ /work/SRC/openSUSE:Factory/.linuxrc.new/linuxrc.changes 2017-12-19 
10:45:38.574554074 +0100
@@ -1,0 +2,7 @@
+Thu Dec 14 13:35:13 UTC 2017 - wfe...@opensuse.org
+
+- merge gh#openSUSE/linuxrc#161
+- fix network interface handling (bnc#1068336)
+- 5.1.2
+
+

Old:

  linuxrc-5.1.1.tar.xz

New:

  linuxrc-5.1.2.tar.xz



Other differences:
--
++ linuxrc.spec ++
--- /var/tmp/diff_new_pack.qV1KS9/_old  2017-12-19 10:45:39.330517581 +0100
+++ /var/tmp/diff_new_pack.qV1KS9/_new  2017-12-19 10:45:39.334517388 +0100
@@ -17,7 +17,7 @@
 
 
 Name:   linuxrc
-Version:5.1.1
+Version:5.1.2
 Release:0
 Summary:SUSE Installation Program
 License:GPL-3.0+

++ linuxrc-5.1.1.tar.xz -> linuxrc-5.1.2.tar.xz ++
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/linuxrc-5.1.1/VERSION new/linuxrc-5.1.2/VERSION
--- old/linuxrc-5.1.1/VERSION   2017-12-05 09:59:00.0 +0100
+++ new/linuxrc-5.1.2/VERSION   2017-12-14 14:35:13.0 +0100
@@ -1 +1 @@
-5.1.1
+5.1.2
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/linuxrc-5.1.1/changelog new/linuxrc-5.1.2/changelog
--- old/linuxrc-5.1.1/changelog 2017-12-05 09:59:00.0 +0100
+++ new/linuxrc-5.1.2/changelog 2017-12-14 14:35:13.0 +0100
@@ -1,3 +1,7 @@
+2017-12-14:5.1.2
+   - merge gh#openSUSE/linuxrc#161
+   - fix network interface handling (bnc#1068336)
+
 2017-12-05:5.1.1
- merge gh#openSUSE/linuxrc#160
- read digests also from CHECKSUMS file
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/linuxrc-5.1.1/url.c new/linuxrc-5.1.2/url.c
--- old/linuxrc-5.1.1/url.c 2017-12-05 09:59:00.0 +0100
+++ new/linuxrc-5.1.2/url.c 2017-12-14 14:35:13.0 +0100
@@ -66,6 +66,7 @@
 static char *url_config_get_path(char *entry);
 static slist_t *url_config_get_file_list(char *entry);
 static hd_t *find_parent_in_list(hd_t *hd_list, hd_t *hd);
+static int same_device_name(hd_t *hd1, hd_t *hd2);
 static hd_t *relink_array(hd_t *hd_array[]);
 static void log_hd_list(char *label, hd_t *hd);
 static hd_t *sort_a_bit(hd_t *hd_list);
@@ -2975,6 +2976,22 @@
 
 
 /*
+ * Compare device names of two hardware items.
+ *
+ * Return 1 if hd1 and hd2 are both not NULL and have the same unix_dev_name
+ * entry, else 0.
+ */
+int same_device_name(hd_t *hd1, hd_t *hd2)
+{
+  if(!hd1 || !hd2) return 0;
+
+  if(!hd1->unix_dev_name || !hd2->unix_dev_name) return 0;
+
+  return !strcmp(hd1->unix_dev_name, hd2->unix_dev_name);
+}
+
+
+/*
  * Turn hd_array elements into a linked list, in order.
  *
  * Last element in hd_array must be NULL.
@@ -3022,7 +3039,10 @@
 /* 1. drop network interfaces if there's also a corresponding card  */
 for(u = 0, hd = hd_list; hd; hd = hd->next) {
   if(
-!(hd->hw_class == hw_network && find_parent_in_list(hd_list, hd))
+!(
+  hd->hw_class == hw_network &&
+  same_device_name(hd, find_parent_in_list(hd_list, hd))
+)
   ) {
 hd_array[u++] = hd;
   }




commit linuxrc for openSUSE:Factory

2017-12-08 Thread root
Hello community,

here is the log from the commit of package linuxrc for openSUSE:Factory checked 
in at 2017-12-08 12:55:04

Comparing /work/SRC/openSUSE:Factory/linuxrc (Old)
 and  /work/SRC/openSUSE:Factory/.linuxrc.new (New)


Package is "linuxrc"

Fri Dec  8 12:55:04 2017 rev:251 rq:548561 version:5.1.1

Changes:

--- /work/SRC/openSUSE:Factory/linuxrc/linuxrc.changes  2017-12-03 
10:07:44.767369057 +0100
+++ /work/SRC/openSUSE:Factory/.linuxrc.new/linuxrc.changes 2017-12-08 
12:55:07.446590873 +0100
@@ -1,0 +2,8 @@
+Tue Dec 5 08:59:00 UTC 2017 - wfe...@opensuse.org
+
+- merge gh#openSUSE/linuxrc#160
+- read digests also from CHECKSUMS file
+- adjust date
+- 5.1.1
+
+

Old:

  linuxrc-5.1.0.tar.xz

New:

  linuxrc-5.1.1.tar.xz



Other differences:
--
++ linuxrc.spec ++
--- /var/tmp/diff_new_pack.CdwC4O/_old  2017-12-08 12:55:08.714545080 +0100
+++ /var/tmp/diff_new_pack.CdwC4O/_new  2017-12-08 12:55:08.718544936 +0100
@@ -17,7 +17,7 @@
 
 
 Name:   linuxrc
-Version:5.1.0
+Version:5.1.1
 Release:0
 Summary:SUSE Installation Program
 License:GPL-3.0+

++ linuxrc-5.1.0.tar.xz -> linuxrc-5.1.1.tar.xz ++
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/linuxrc-5.1.0/VERSION new/linuxrc-5.1.1/VERSION
--- old/linuxrc-5.1.0/VERSION   2017-11-27 14:35:21.0 +0100
+++ new/linuxrc-5.1.1/VERSION   2017-12-05 09:59:00.0 +0100
@@ -1 +1 @@
-5.1.0
+5.1.1
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/linuxrc-5.1.0/changelog new/linuxrc-5.1.1/changelog
--- old/linuxrc-5.1.0/changelog 2017-11-27 14:35:21.0 +0100
+++ new/linuxrc-5.1.1/changelog 2017-12-05 09:59:00.0 +0100
@@ -1,3 +1,8 @@
+2017-12-05:5.1.1
+   - merge gh#openSUSE/linuxrc#160
+   - read digests also from CHECKSUMS file
+   - adjust date
+
 2017-11-27:5.1.0
- merge gh#openSUSE/linuxrc#159
- try harder to find a suitable network interface (bsc#1068336)
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/linuxrc-5.1.0/file.c new/linuxrc-5.1.1/file.c
--- old/linuxrc-5.1.0/file.c2017-11-27 14:35:21.0 +0100
+++ new/linuxrc-5.1.1/file.c2017-12-05 09:59:00.0 +0100
@@ -6,6 +6,8 @@
  *
  */
 
+#define _GNU_SOURCE/* getline */
+
 #include 
 #include 
 #include 
@@ -2705,3 +2707,35 @@
   slist_free(repo);
 }
 
+
+/*
+ * Parse CHECKSUMS file.
+ *
+ * Add digest info to config.digests.list.
+ *
+ * File format: lines with
+ *   SHA256 FILENAME
+ */
+void file_parse_checksums(char *file)
+{
+  FILE *fh;
+  char *buf = NULL;
+  size_t buf_size = 0;
+  char sha256[65], name[256];
+  slist_t *sl_digest;
+
+  if(!(fh = fopen(file, "r"))) return;
+
+  while(getline(, _size, fh) > 0) {
+if(sscanf(buf, "%64s %255s", sha256, name) == 2) {
+  sl_digest = slist_append(, slist_new());
+  strprintf(_digest->key, "sha256 %s", sha256);
+  str_copy(_digest->value, name);
+}
+  }
+
+  free(buf);
+
+  fclose(fh);
+}
+
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/linuxrc-5.1.0/file.h new/linuxrc-5.1.1/file.h
--- old/linuxrc-5.1.0/file.h2017-11-27 14:35:21.0 +0100
+++ new/linuxrc-5.1.1/file.h2017-12-05 09:59:00.0 +0100
@@ -107,4 +107,5 @@
 void get_ide_options(void);
 slist_t *file_parse_xmllike(char *name, char *tag);
 void file_parse_repomd(char *file);
+void file_parse_checksums(char *file);
 
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/linuxrc-5.1.0/linuxrc.c new/linuxrc-5.1.1/linuxrc.c
--- old/linuxrc-5.1.0/linuxrc.c 2017-11-27 14:35:21.0 +0100
+++ new/linuxrc-5.1.1/linuxrc.c 2017-12-05 09:59:00.0 +0100
@@ -894,7 +894,7 @@
 if (config.linemode)
   putchar('\n');
 printf(
-  "\n>>> %s installation program v" LXRC_FULL_VERSION " (c) 1996-2016 SUSE 
LLC <<<\n",
+  "\n>>> %s installation program v" LXRC_FULL_VERSION " (c) 1996-2017 SUSE 
LLC <<<\n",
   config.product
 );
 if (config.linemode)
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/linuxrc-5.1.0/linuxrc_repo.md 
new/linuxrc-5.1.1/linuxrc_repo.md
--- old/linuxrc-5.1.0/linuxrc_repo.md   2017-11-27 14:35:21.0 +0100
+++ new/linuxrc-5.1.1/linuxrc_repo.md   2017-12-05 09:59:00.0 +0100
@@ -79,12 +79,19 @@
 
 Lets see how to avoid this.
 
-### 2.1. solving the digest problem
+### 2.1. getting file digests
 
-As there's no longer a `content` file, linuxrc needs to get the 

commit linuxrc for openSUSE:Factory

2017-12-03 Thread root
Hello community,

here is the log from the commit of package linuxrc for openSUSE:Factory checked 
in at 2017-12-03 10:07:43

Comparing /work/SRC/openSUSE:Factory/linuxrc (Old)
 and  /work/SRC/openSUSE:Factory/.linuxrc.new (New)


Package is "linuxrc"

Sun Dec  3 10:07:43 2017 rev:250 rq:546018 version:5.1.0

Changes:

--- /work/SRC/openSUSE:Factory/linuxrc/linuxrc.changes  2017-11-18 
00:19:26.051176216 +0100
+++ /work/SRC/openSUSE:Factory/.linuxrc.new/linuxrc.changes 2017-12-03 
10:07:44.767369057 +0100
@@ -1,0 +2,7 @@
+Mon Nov 27 13:35:21 UTC 2017 - wfe...@opensuse.org
+
+- merge gh#openSUSE/linuxrc#159
+- try harder to find a suitable network interface (bsc#1068336)
+- 5.1.0
+
+

Old:

  linuxrc-5.0.116.tar.xz

New:

  linuxrc-5.1.0.tar.xz



Other differences:
--
++ linuxrc.spec ++
--- /var/tmp/diff_new_pack.BjtENO/_old  2017-12-03 10:07:46.303313214 +0100
+++ /var/tmp/diff_new_pack.BjtENO/_new  2017-12-03 10:07:46.307313068 +0100
@@ -17,7 +17,7 @@
 
 
 Name:   linuxrc
-Version:5.0.116
+Version:5.1.0
 Release:0
 Summary:SUSE Installation Program
 License:GPL-3.0+

++ linuxrc-5.0.116.tar.xz -> linuxrc-5.1.0.tar.xz ++
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/linuxrc-5.0.116/VERSION new/linuxrc-5.1.0/VERSION
--- old/linuxrc-5.0.116/VERSION 2017-11-17 14:58:23.0 +0100
+++ new/linuxrc-5.1.0/VERSION   2017-11-27 14:35:21.0 +0100
@@ -1 +1 @@
-5.0.116
+5.1.0
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/linuxrc-5.0.116/changelog new/linuxrc-5.1.0/changelog
--- old/linuxrc-5.0.116/changelog   2017-11-17 14:58:23.0 +0100
+++ new/linuxrc-5.1.0/changelog 2017-11-27 14:35:21.0 +0100
@@ -1,3 +1,7 @@
+2017-11-27:5.1.0
+   - merge gh#openSUSE/linuxrc#159
+   - try harder to find a suitable network interface (bsc#1068336)
+
 2017-11-17:5.0.116
- merge gh#openSUSE/linuxrc#158
- squashfs.ko might depend on zstd_decompress
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/linuxrc-5.0.116/url.c new/linuxrc-5.1.0/url.c
--- old/linuxrc-5.0.116/url.c   2017-11-17 14:58:23.0 +0100
+++ new/linuxrc-5.1.0/url.c 2017-11-27 14:35:21.0 +0100
@@ -65,6 +65,9 @@
 static char *url_instsys_config(char *path);
 static char *url_config_get_path(char *entry);
 static slist_t *url_config_get_file_list(char *entry);
+static hd_t *find_parent_in_list(hd_t *hd_list, hd_t *hd);
+static hd_t *relink_array(hd_t *hd_array[]);
+static void log_hd_list(char *label, hd_t *hd);
 static hd_t *sort_a_bit(hd_t *hd_list);
 static int link_detected(hd_t *hd);
 static char *url_print_zypp(url_t *url);
@@ -1437,7 +1440,7 @@
   hd_t *hd;
   hd_res_t *res;
   char *hwaddr;
-  hd_hw_item_t hw_item = hw_network_ctrl;
+  hd_hw_item_t *hw_items = (hd_hw_item_t[]) { hw_network_ctrl, hw_network, 0 };
   str_list_t *sl;
   char *url_device;
 
@@ -1455,15 +1458,15 @@
   if(!url->is.network) {
 switch(url->scheme) {
   case inst_cdrom:
-hw_item = hw_cdrom;
+hw_items = (hd_hw_item_t[]) { hw_cdrom, 0 };
 break;
 
   case inst_floppy:
-hw_item = hw_floppy;
+hw_items = (hd_hw_item_t[]) { hw_floppy, 0 };
 break;
 
   default:
-hw_item = hw_block;
+hw_items = (hd_hw_item_t[]) { hw_block, 0 };
 break;
 }
   }
@@ -1471,7 +1474,7 @@
   url_device = url->device;
   if(!url_device) url_device = url->is.network ? config.ifcfg.manual->device : 
config.device;
 
-  for(found = 0, hd = sort_a_bit(fix_device_names(hd_list(config.hd_data, 
hw_item, 0, NULL))); hd; hd = hd->next) {
+  for(found = 0, hd = sort_a_bit(fix_device_names(hd_list2(config.hd_data, 
hw_items, 0))); hd; hd = hd->next) {
 for(hwaddr = NULL, res = hd->res; res; res = res->next) {
   if(res->any.type == res_hwaddr) {
 hwaddr = res->hwaddr.addr;
@@ -1522,6 +1525,10 @@
 }
   }
 
+  if(!found) {
+log_info("device not found (err = %d): %s\n", err, url_device ?: "");
+  }
+
   /*
* should not happen, but anyway: device name was not in our list
*
@@ -2077,6 +2084,7 @@
   char *hwaddr;
   str_list_t *sl;
   char *url_device;
+  hd_hw_item_t hw_items[] = { hw_network_ctrl, hw_network, 0 };
 
   if(!url || !url->is.network || config.ifcfg.if_up) return url_read_file(url, 
dir, src, dst, label, flags);
 
@@ -2093,7 +2101,7 @@
   if(config.hd_data) {
 url_device = url->device ?: config.ifcfg.manual->device;
 
-for(found = 0, hd = sort_a_bit(hd_list(config.hd_data, hw_network_ctrl, 0, 

commit linuxrc for openSUSE:Factory

2017-11-17 Thread root
Hello community,

here is the log from the commit of package linuxrc for openSUSE:Factory checked 
in at 2017-11-18 00:19:19

Comparing /work/SRC/openSUSE:Factory/linuxrc (Old)
 and  /work/SRC/openSUSE:Factory/.linuxrc.new (New)


Package is "linuxrc"

Sat Nov 18 00:19:19 2017 rev:249 rq:542652 version:5.0.116

Changes:

--- /work/SRC/openSUSE:Factory/linuxrc/linuxrc.changes  2017-11-10 
14:42:57.703397852 +0100
+++ /work/SRC/openSUSE:Factory/.linuxrc.new/linuxrc.changes 2017-11-18 
00:19:26.051176216 +0100
@@ -1,0 +2,7 @@
+Fri Nov 17 13:58:23 UTC 2017 - jsl...@suse.cz
+
+- merge gh#openSUSE/linuxrc#158
+- squashfs.ko might depend on zstd_decompress
+- 5.0.116
+
+

Old:

  linuxrc-5.0.115.tar.xz

New:

  linuxrc-5.0.116.tar.xz



Other differences:
--
++ linuxrc.spec ++
--- /var/tmp/diff_new_pack.jL505q/_old  2017-11-18 00:19:26.919144614 +0100
+++ /var/tmp/diff_new_pack.jL505q/_new  2017-11-18 00:19:26.923144469 +0100
@@ -17,7 +17,7 @@
 
 
 Name:   linuxrc
-Version:5.0.115
+Version:5.0.116
 Release:0
 Summary:SUSE Installation Program
 License:GPL-3.0+

++ linuxrc-5.0.115.tar.xz -> linuxrc-5.0.116.tar.xz ++
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/linuxrc-5.0.115/VERSION new/linuxrc-5.0.116/VERSION
--- old/linuxrc-5.0.115/VERSION 2017-11-09 16:41:15.0 +0100
+++ new/linuxrc-5.0.116/VERSION 2017-11-17 14:58:23.0 +0100
@@ -1 +1 @@
-5.0.115
+5.0.116
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/linuxrc-5.0.115/changelog 
new/linuxrc-5.0.116/changelog
--- old/linuxrc-5.0.115/changelog   2017-11-09 16:41:15.0 +0100
+++ new/linuxrc-5.0.116/changelog   2017-11-17 14:58:23.0 +0100
@@ -1,3 +1,7 @@
+2017-11-17:5.0.116
+   - merge gh#openSUSE/linuxrc#158
+   - squashfs.ko might depend on zstd_decompress
+
 2017-11-09:5.0.115
- merge gh#openSUSE/linuxrc#155
- update broken module config even if list is empty
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/linuxrc-5.0.115/linuxrc.c 
new/linuxrc-5.0.116/linuxrc.c
--- old/linuxrc-5.0.115/linuxrc.c   2017-11-09 16:41:15.0 +0100
+++ new/linuxrc-5.0.116/linuxrc.c   2017-11-17 14:58:23.0 +0100
@@ -1605,6 +1605,12 @@
 if(util_check_exist("/modules/lz4_decompress.ko")) {
   lxrc_run("/sbin/insmod /modules/lz4_decompress.ko");
 }
+if(util_check_exist("/modules/xxhash.ko")) {
+  lxrc_run("/sbin/insmod /modules/xxhash.ko");
+}
+if(util_check_exist("/modules/zstd_decompress.ko")) {
+  lxrc_run("/sbin/insmod /modules/zstd_decompress.ko");
+}
   }
   strprintf(, "/parts/mp_%04u", config.mountpoint.initrd_parts++);
   mkdir(mp, 0755);




commit linuxrc for openSUSE:Factory

2017-11-10 Thread root
Hello community,

here is the log from the commit of package linuxrc for openSUSE:Factory checked 
in at 2017-11-10 14:42:55

Comparing /work/SRC/openSUSE:Factory/linuxrc (Old)
 and  /work/SRC/openSUSE:Factory/.linuxrc.new (New)


Package is "linuxrc"

Fri Nov 10 14:42:55 2017 rev:248 rq:540256 version:5.0.115

Changes:

--- /work/SRC/openSUSE:Factory/linuxrc/linuxrc.changes  2017-10-28 
14:19:26.804460673 +0200
+++ /work/SRC/openSUSE:Factory/.linuxrc.new/linuxrc.changes 2017-11-10 
14:42:57.703397852 +0100
@@ -1,0 +2,16 @@
+Thu Nov 9 15:41:15 UTC 2017 - wfe...@opensuse.org
+
+- merge gh#openSUSE/linuxrc#155
+- update broken module config even if list is empty
+- 5.0.115
+
+
+Mon Nov 6 09:15:36 UTC 2017 - mp...@suse.com
+
+- merge gh#openSUSE/linuxrc#153
+- Updates for fate#322567 Changed *_configure calls to chzdev calls
+  with the --no-root-update option so that we won't run into
+  problems in the initrd environment.
+- 5.0.114
+
+

Old:

  linuxrc-5.0.113.tar.xz

New:

  linuxrc-5.0.115.tar.xz



Other differences:
--
++ linuxrc.spec ++
--- /var/tmp/diff_new_pack.8Nbme4/_old  2017-11-10 14:42:58.775359102 +0100
+++ /var/tmp/diff_new_pack.8Nbme4/_new  2017-11-10 14:42:58.779358957 +0100
@@ -17,7 +17,7 @@
 
 
 Name:   linuxrc
-Version:5.0.113
+Version:5.0.115
 Release:0
 Summary:SUSE Installation Program
 License:GPL-3.0+

++ linuxrc-5.0.113.tar.xz -> linuxrc-5.0.115.tar.xz ++
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/linuxrc-5.0.113/VERSION new/linuxrc-5.0.115/VERSION
--- old/linuxrc-5.0.113/VERSION 2017-10-24 15:42:56.0 +0200
+++ new/linuxrc-5.0.115/VERSION 2017-11-09 16:41:15.0 +0100
@@ -1 +1 @@
-5.0.113
+5.0.115
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/linuxrc-5.0.113/changelog 
new/linuxrc-5.0.115/changelog
--- old/linuxrc-5.0.113/changelog   2017-10-24 15:42:56.0 +0200
+++ new/linuxrc-5.0.115/changelog   2017-11-09 16:41:15.0 +0100
@@ -1,3 +1,13 @@
+2017-11-09:5.0.115
+   - merge gh#openSUSE/linuxrc#155
+   - update broken module config even if list is empty
+
+2017-11-06:5.0.114
+   - merge gh#openSUSE/linuxrc#153
+   - Updates for fate#322567 Changed *_configure calls to chzdev calls
+ with the --no-root-update option so that we won't run into
+ problems in the initrd environment.
+
 2017-10-24:5.0.113
- merge gh#openSUSE/linuxrc#152
- Revert "Fate322567"
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/linuxrc-5.0.113/file.c new/linuxrc-5.0.115/file.c
--- old/linuxrc-5.0.113/file.c  2017-10-24 15:42:56.0 +0200
+++ new/linuxrc-5.0.115/file.c  2017-11-09 16:41:15.0 +0100
@@ -1008,7 +1008,7 @@
 
   case key_brokenmodules:
 slist_assign_values(, f->value);
-if(config.module.broken && !config.test) {
+if(!config.test) {
   if((w = fopen("/etc/modprobe.d/blacklist.conf", "w"))) {
 for(sl = config.module.broken; sl; sl = sl->next) {
   if(sl->key) fprintf(w, "blacklist %s\n", sl->key);
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/linuxrc-5.0.113/linuxrc.c 
new/linuxrc-5.0.115/linuxrc.c
--- old/linuxrc-5.0.113/linuxrc.c   2017-10-24 15:42:56.0 +0200
+++ new/linuxrc-5.0.115/linuxrc.c   2017-11-09 16:41:15.0 +0100
@@ -1087,13 +1087,13 @@
 mod_modprobe("zfcp","");
 if(util_read_and_chop("/sys/firmware/ipl/device", device, sizeof 
device))
 {
-  sprintf(cmd,"/sbin/zfcp_host_configure %s 1",device);
+  sprintf(cmd,"/sbin/chzdev -e zfcp-host --no-root-update %s",device);
   if(!config.test) lxrc_run(cmd);
   if(util_read_and_chop("/sys/firmware/ipl/wwpn", wwpn, sizeof wwpn))
   {
 if(util_read_and_chop("/sys/firmware/ipl/lun", lun, sizeof lun))
 {
-  sprintf(cmd,"/sbin/zfcp_disk_configure %s %s %s 
1",device,wwpn,lun);
+  sprintf(cmd,"/sbin/chzdev -e zfcp-lun --no-root-update 
%s:%s:%s",device,wwpn,lun);
   if(!config.test) lxrc_run(cmd);
 }
   }
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/linuxrc-5.0.113/net.c new/linuxrc-5.0.115/net.c
--- old/linuxrc-5.0.113/net.c   2017-10-24 15:42:56.0 +0200
+++ new/linuxrc-5.0.115/net.c   2017-11-09 16:41:15.0 +0100
@@ 

commit linuxrc for openSUSE:Factory

2017-10-28 Thread root
Hello community,

here is the log from the commit of package linuxrc for openSUSE:Factory checked 
in at 2017-10-28 14:19:04

Comparing /work/SRC/openSUSE:Factory/linuxrc (Old)
 and  /work/SRC/openSUSE:Factory/.linuxrc.new (New)


Package is "linuxrc"

Sat Oct 28 14:19:04 2017 rev:247 rq:536395 version:5.0.113

Changes:

--- /work/SRC/openSUSE:Factory/linuxrc/linuxrc.changes  2017-10-13 
14:03:55.080337196 +0200
+++ /work/SRC/openSUSE:Factory/.linuxrc.new/linuxrc.changes 2017-10-28 
14:19:26.804460673 +0200
@@ -1,0 +2,29 @@
+Tue Oct 24 13:42:56 UTC 2017 - snw...@suse.de
+
+- merge gh#openSUSE/linuxrc#152
+- Revert "Fate322567"
+- 5.0.113
+
+
+Mon Oct 23 08:09:27 UTC 2017 - lsle...@suse.cz
+
+- merge gh#openSUSE/linuxrc#151
+- Support "media_upgrade=1" boot option, pass it to YaST
+  (fate#323163)
+- Update git2log script
+- Initial Travis support, added a simple smoke test
+- Fix a GCC warning
+- 5.0.112
+
+
+Fri Oct 20 11:35:44 UTC 2017 - mp...@suse.com
+
+- merge gh#openSUSE/linuxrc#150
+- Changed zfcp_host_configure, zfcp_disk_configure, ctc_configure
+  and qeth_configure calls to the new chzdev command, per
+  fate#322567.
+- Corrected two syntax errors in the chzdev command for qeth
+  devices. Signed off: Mark Post (mp...@suse.com)
+- 5.0.111
+
+

Old:

  linuxrc-5.0.110.tar.xz

New:

  linuxrc-5.0.113.tar.xz



Other differences:
--
++ linuxrc.spec ++
--- /var/tmp/diff_new_pack.HfAXNL/_old  2017-10-28 14:19:27.240444731 +0200
+++ /var/tmp/diff_new_pack.HfAXNL/_new  2017-10-28 14:19:27.24585 +0200
@@ -17,7 +17,7 @@
 
 
 Name:   linuxrc
-Version:5.0.110
+Version:5.0.113
 Release:0
 Summary:SUSE Installation Program
 License:GPL-3.0+

++ linuxrc-5.0.110.tar.xz -> linuxrc-5.0.113.tar.xz ++
 3640 lines of diff (skipped)




commit linuxrc for openSUSE:Factory

2017-10-13 Thread root
Hello community,

here is the log from the commit of package linuxrc for openSUSE:Factory checked 
in at 2017-10-13 14:03:53

Comparing /work/SRC/openSUSE:Factory/linuxrc (Old)
 and  /work/SRC/openSUSE:Factory/.linuxrc.new (New)


Package is "linuxrc"

Fri Oct 13 14:03:53 2017 rev:246 rq:532183 version:5.0.110

Changes:

--- /work/SRC/openSUSE:Factory/linuxrc/linuxrc.changes  2017-10-02 
16:51:44.239162231 +0200
+++ /work/SRC/openSUSE:Factory/.linuxrc.new/linuxrc.changes 2017-10-13 
14:03:55.080337196 +0200
@@ -1,0 +2,8 @@
+Fri Oct 6 11:26:32 UTC 2017 - wfe...@opensuse.org
+
+- merge gh#openSUSE/linuxrc#149
+- fix segfault when using an invalid url scheme (bsc#1061824)
+- show error message when reading an 'info' or 'autoyast2' url fails
+- 5.0.110
+
+

Old:

  linuxrc-5.0.109.tar.xz

New:

  linuxrc-5.0.110.tar.xz



Other differences:
--
++ linuxrc.spec ++
--- /var/tmp/diff_new_pack.dLXz9L/_old  2017-10-13 14:03:55.620313449 +0200
+++ /var/tmp/diff_new_pack.dLXz9L/_new  2017-10-13 14:03:55.620313449 +0200
@@ -17,7 +17,7 @@
 
 
 Name:   linuxrc
-Version:5.0.109
+Version:5.0.110
 Release:0
 Summary:SUSE Installation Program
 License:GPL-3.0+

++ linuxrc-5.0.109.tar.xz -> linuxrc-5.0.110.tar.xz ++
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/linuxrc-5.0.109/VERSION new/linuxrc-5.0.110/VERSION
--- old/linuxrc-5.0.109/VERSION 2017-09-26 11:53:55.0 +0200
+++ new/linuxrc-5.0.110/VERSION 2017-10-06 13:26:32.0 +0200
@@ -1 +1 @@
-5.0.109
+5.0.110
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/linuxrc-5.0.109/auto2.c new/linuxrc-5.0.110/auto2.c
--- old/linuxrc-5.0.109/auto2.c 2017-09-26 11:53:55.0 +0200
+++ new/linuxrc-5.0.110/auto2.c 2017-10-06 13:26:32.0 +0200
@@ -352,6 +352,9 @@
   file_read_info_file("file:/download/info", kf_cfg);
   net_update_ifcfg(IFCFG_IFUP);
 }
+else {
+  log_show("Failed to read info file.\n");
+}
   }
 
   /*
@@ -392,6 +395,9 @@
   file_read_info_file("file:/download/autoinst.xml", kf_cfg);
   net_update_ifcfg(IFCFG_IFUP);
 }
+else {
+  log_show_maybe(!url->quiet, "Failed to download AutoYaST file.\n");
+}
   }
 
   /* load & run driverupdates */
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/linuxrc-5.0.109/changelog 
new/linuxrc-5.0.110/changelog
--- old/linuxrc-5.0.109/changelog   2017-09-26 11:53:55.0 +0200
+++ new/linuxrc-5.0.110/changelog   2017-10-06 13:26:32.0 +0200
@@ -1,3 +1,7 @@
+2017-10-06:5.0.110
+   - show error message when reading an 'info' or 'autoyast2' url fails
+   - fix segfault when using an invalid url scheme (bsc #1061824)
+
 2017-09-26:5.0.109
- clarify SetHostname option usage
 
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/linuxrc-5.0.109/url.c new/linuxrc-5.0.110/url.c
--- old/linuxrc-5.0.109/url.c   2017-09-26 11:53:55.0 +0200
+++ new/linuxrc-5.0.110/url.c   2017-10-06 13:26:32.0 +0200
@@ -1998,7 +1998,7 @@
   tc_flags = flags;
   tc_label = label;
   
-  if(!dst) return 1;
+  if(!dst || !url->scheme) return 1;
   if(!(flags & URL_FLAG_NOUNLINK)) unlink(dst);
 
   /* create missing directories */
@@ -2034,6 +2034,10 @@
 
   tc_src = src;
 
+  // it is expected that tc_src holds a non-NULL pointer
+  // (else there's no source to read from)
+  if(!tc_src) return 1;
+
   if(url->mount) {
 strprintf(, "file:%s", url->mount);
 url = url_set(buf1);




commit linuxrc for openSUSE:Factory

2017-10-02 Thread root
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 - wfe...@opensuse.org
+
+- merge gh#openSUSE/linuxrc#148
+- clarify SetHostname option usage
+- 5.0.109
+
+
+Mon Sep 25 14:49:03 UTC 2017 - wfe...@opensuse.org
+
+- 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.0 +0200
+++ new/linuxrc-5.0.109/VERSION 2017-09-26 11:53:55.0 +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.0 +0200
+++ new/linuxrc-5.0.109/changelog   2017-09-26 11:53:55.0 +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.0 +0200
+++ new/linuxrc-5.0.109/file.c  2017-09-26 11:53:55.0 +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.h2017-09-20 13:57:07.0 +0200
+++ new/linuxrc-5.0.109/global.h2017-09-26 11:53:55.0 +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.0 +0200
+++ new/linuxrc-5.0.109/linuxrc_yast_interface.txt  2017-09-26 
11:53:55.0 +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 

commit linuxrc for openSUSE:Factory

2017-09-25 Thread root
Hello community,

here is the log from the commit of package linuxrc for openSUSE:Factory checked 
in at 2017-09-25 13:53:24

Comparing /work/SRC/openSUSE:Factory/linuxrc (Old)
 and  /work/SRC/openSUSE:Factory/.linuxrc.new (New)


Package is "linuxrc"

Mon Sep 25 13:53:24 2017 rev:244 rq:527537 version:5.0.107

Changes:

--- /work/SRC/openSUSE:Factory/linuxrc/linuxrc.changes  2017-09-13 
21:35:30.158570107 +0200
+++ /work/SRC/openSUSE:Factory/.linuxrc.new/linuxrc.changes 2017-09-25 
13:53:26.269305021 +0200
@@ -1,0 +2,7 @@
+Wed Sep 20 11:57:07 UTC 2017 - wfe...@opensuse.org
+
+- merge gh#openSUSE/linuxrc#146
+- pass SetHostname setting to install.inf (bsc#1054933)
+- 5.0.107
+
+

Old:

  linuxrc-5.0.106.tar.xz

New:

  linuxrc-5.0.107.tar.xz



Other differences:
--
++ linuxrc.spec ++
--- /var/tmp/diff_new_pack.Oyc0pz/_old  2017-09-25 13:53:27.481134519 +0200
+++ /var/tmp/diff_new_pack.Oyc0pz/_new  2017-09-25 13:53:27.481134519 +0200
@@ -17,7 +17,7 @@
 
 
 Name:   linuxrc
-Version:5.0.106
+Version:5.0.107
 Release:0
 Summary:SUSE Installation Program
 License:GPL-3.0+

++ linuxrc-5.0.106.tar.xz -> linuxrc-5.0.107.tar.xz ++
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/linuxrc-5.0.106/VERSION new/linuxrc-5.0.107/VERSION
--- old/linuxrc-5.0.106/VERSION 2017-09-12 10:45:43.0 +0200
+++ new/linuxrc-5.0.107/VERSION 2017-09-20 13:57:07.0 +0200
@@ -1 +1 @@
-5.0.106
+5.0.107
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/linuxrc-5.0.106/changelog 
new/linuxrc-5.0.107/changelog
--- old/linuxrc-5.0.106/changelog   2017-09-12 10:45:43.0 +0200
+++ new/linuxrc-5.0.107/changelog   2017-09-20 13:57:07.0 +0200
@@ -1,3 +1,6 @@
+2017-09-20:5.0.107
+   - pass SetHostname setting to install.inf
+
 2017-05-27:5.0.106
- sort input files (boo#1041090)
 
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/linuxrc-5.0.106/file.c new/linuxrc-5.0.107/file.c
--- old/linuxrc-5.0.106/file.c  2017-09-12 10:45:43.0 +0200
+++ new/linuxrc-5.0.107/file.c  2017-09-20 13:57:07.0 +0200
@@ -1898,6 +1898,7 @@
   if(config.net.realhostname) {
 file_write_str(f, key_hostname, config.net.realhostname);
   }
+  file_write_num(f, key_sethostname, config.net.sethostname);
 
   LXRC_WAIT
 
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/linuxrc-5.0.106/linuxrc_yast_interface.txt 
new/linuxrc-5.0.107/linuxrc_yast_interface.txt
--- old/linuxrc-5.0.106/linuxrc_yast_interface.txt  2017-09-12 
10:45:43.0 +0200
+++ new/linuxrc-5.0.107/linuxrc_yast_interface.txt  2017-09-20 
13:57:07.0 +0200
@@ -131,6 +131,11 @@
 # entry is missing if unset
 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
+SetHostname: 0|1
+
 # URL for registration server, use 'regurl' boot option to set
 # fate#303335
 # entry is missing if unset




commit linuxrc for openSUSE:Factory

2017-09-13 Thread root
Hello community,

here is the log from the commit of package linuxrc for openSUSE:Factory checked 
in at 2017-09-13 21:35:27

Comparing /work/SRC/openSUSE:Factory/linuxrc (Old)
 and  /work/SRC/openSUSE:Factory/.linuxrc.new (New)


Package is "linuxrc"

Wed Sep 13 21:35:27 2017 rev:243 rq:523605 version:5.0.106

Changes:

--- /work/SRC/openSUSE:Factory/linuxrc/linuxrc.changes  2017-09-05 
16:06:56.488969926 +0200
+++ /work/SRC/openSUSE:Factory/.linuxrc.new/linuxrc.changes 2017-09-13 
21:35:30.158570107 +0200
@@ -1,0 +2,7 @@
+Tue Sep 12 08:45:43 UTC 2017 - bwiedem...@suse.de
+
+- merge gh#openSUSE/linuxrc#141
+- sort input files (boo#1041090)
+- 5.0.106
+
+

Old:

  linuxrc-5.0.105.tar.xz

New:

  linuxrc-5.0.106.tar.xz



Other differences:
--
++ linuxrc.spec ++
--- /var/tmp/diff_new_pack.2pCmOR/_old  2017-09-13 21:35:30.690495266 +0200
+++ /var/tmp/diff_new_pack.2pCmOR/_new  2017-09-13 21:35:30.694494703 +0200
@@ -17,7 +17,7 @@
 
 
 Name:   linuxrc
-Version:5.0.105
+Version:5.0.106
 Release:0
 Summary:SUSE Installation Program
 License:GPL-3.0+

++ linuxrc-5.0.105.tar.xz -> linuxrc-5.0.106.tar.xz ++
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/linuxrc-5.0.105/Makefile new/linuxrc-5.0.106/Makefile
--- old/linuxrc-5.0.105/Makefile2017-08-30 09:57:07.0 +0200
+++ new/linuxrc-5.0.106/Makefile2017-09-12 10:45:43.0 +0200
@@ -8,7 +8,7 @@
 BRANCH  := $(shell [ -d .git ] && git branch | perl -ne 'print $$_ if 
s/^\*\s*//')
 PREFIX  := linuxrc-$(VERSION)
 
-SRC= $(filter-out inflate.c,$(wildcard *.c))
+SRC= $(filter-out inflate.c,$(sort $(wildcard *.c)))
 INC= $(wildcard *.h)
 OBJ= $(SRC:.c=.o)
 
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/linuxrc-5.0.105/VERSION new/linuxrc-5.0.106/VERSION
--- old/linuxrc-5.0.105/VERSION 2017-08-30 09:57:07.0 +0200
+++ new/linuxrc-5.0.106/VERSION 2017-09-12 10:45:43.0 +0200
@@ -1 +1 @@
-5.0.105
+5.0.106
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/linuxrc-5.0.105/changelog 
new/linuxrc-5.0.106/changelog
--- old/linuxrc-5.0.105/changelog   2017-08-30 09:57:07.0 +0200
+++ new/linuxrc-5.0.106/changelog   2017-09-12 10:45:43.0 +0200
@@ -1,3 +1,6 @@
+2017-05-27:5.0.106
+   - sort input files (boo#1041090)
+
 2017-08-30:5.0.105
- README.BETA accessible during installation
 




commit linuxrc for openSUSE:Factory

2017-09-05 Thread root
Hello community,

here is the log from the commit of package linuxrc for openSUSE:Factory checked 
in at 2017-09-05 16:06:53

Comparing /work/SRC/openSUSE:Factory/linuxrc (Old)
 and  /work/SRC/openSUSE:Factory/.linuxrc.new (New)


Package is "linuxrc"

Tue Sep  5 16:06:53 2017 rev:242 rq:519612 version:5.0.105

Changes:

--- /work/SRC/openSUSE:Factory/linuxrc/linuxrc.changes  2017-06-23 
09:16:54.302811059 +0200
+++ /work/SRC/openSUSE:Factory/.linuxrc.new/linuxrc.changes 2017-09-05 
16:06:56.488969926 +0200
@@ -1,0 +2,7 @@
+Wed Aug 30 07:57:07 UTC 2017 - gsouzadossan...@suse.com
+
+- merge gh#openSUSE/linuxrc#145
+- README.BETA accessible during installation
+- 5.0.105
+
+

Old:

  linuxrc-5.0.104.tar.xz

New:

  linuxrc-5.0.105.tar.xz



Other differences:
--
++ linuxrc.spec ++
--- /var/tmp/diff_new_pack.40RZaP/_old  2017-09-05 16:06:58.024753965 +0200
+++ /var/tmp/diff_new_pack.40RZaP/_new  2017-09-05 16:06:58.024753965 +0200
@@ -17,7 +17,7 @@
 
 
 Name:   linuxrc
-Version:5.0.104
+Version:5.0.105
 Release:0
 Summary:SUSE Installation Program
 License:GPL-3.0+

++ linuxrc-5.0.104.tar.xz -> linuxrc-5.0.105.tar.xz ++
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/linuxrc-5.0.104/VERSION new/linuxrc-5.0.105/VERSION
--- old/linuxrc-5.0.104/VERSION 2017-06-16 14:27:54.0 +0200
+++ new/linuxrc-5.0.105/VERSION 2017-08-30 09:57:07.0 +0200
@@ -1 +1 @@
-5.0.104
+5.0.105
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/linuxrc-5.0.104/auto2.c new/linuxrc-5.0.105/auto2.c
--- old/linuxrc-5.0.104/auto2.c 2017-06-16 14:27:54.0 +0200
+++ new/linuxrc-5.0.105/auto2.c 2017-08-30 09:57:07.0 +0200
@@ -869,11 +869,12 @@
   int i;
   char *tmp_file = NULL;
   static char *default_list[][2] = {
-{ "/media.1/info.txt", "/info.txt" },
+{ "/autoinst.xml", "/tmp/autoinst.xml" },
+{ "/control.xml", "/control.xml" },
 { "/license.tar.gz", "/license.tar.gz" },
+{ "/media.1/info.txt", "/info.txt" },
 { "/part.info", "/part.info" },
-{ "/control.xml", "/control.xml" },
-{ "/autoinst.xml", "/tmp/autoinst.xml" }
+{ "/README.BETA", "/README.BETA" }
   };
 
   for(i = 0; i < sizeof default_list / sizeof *default_list; i++) {
@@ -919,6 +920,7 @@
   char *tmp_file = NULL;
   static char *default_list[][2] = {
 { "license", "/license.tar.gz" },
+{ "/README.BETA", "/README.BETA" }
   };
 
   for(i = 0; i < sizeof default_list / sizeof *default_list; i++) {
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/linuxrc-5.0.104/changelog 
new/linuxrc-5.0.105/changelog
--- old/linuxrc-5.0.104/changelog   2017-06-16 14:27:54.0 +0200
+++ new/linuxrc-5.0.105/changelog   2017-08-30 09:57:07.0 +0200
@@ -1,3 +1,6 @@
+2017-08-30:5.0.105
+   - README.BETA accessible during installation
+
 2017-06-16:5.0.104
- set kernel and initrd to use with kexec option (bsc #1044683)
 




commit linuxrc for openSUSE:Factory

2017-06-23 Thread root
Hello community,

here is the log from the commit of package linuxrc for openSUSE:Factory checked 
in at 2017-06-23 09:16:52

Comparing /work/SRC/openSUSE:Factory/linuxrc (Old)
 and  /work/SRC/openSUSE:Factory/.linuxrc.new (New)


Package is "linuxrc"

Fri Jun 23 09:16:52 2017 rev:241 rq:504199 version:5.0.104

Changes:

--- /work/SRC/openSUSE:Factory/linuxrc/linuxrc.changes  2017-06-01 
16:28:30.926817291 +0200
+++ /work/SRC/openSUSE:Factory/.linuxrc.new/linuxrc.changes 2017-06-23 
09:16:54.302811059 +0200
@@ -1,0 +2,7 @@
+Fri Jun 16 12:27:54 UTC 2017 - wfe...@opensuse.org
+
+- merge gh#openSUSE/linuxrc#143
+- set kernel and initrd to use with kexec option (bsc#1044683)
+- 5.0.104
+
+

Old:

  linuxrc-5.0.103.tar.xz

New:

  linuxrc-5.0.104.tar.xz



Other differences:
--
++ linuxrc.spec ++
--- /var/tmp/diff_new_pack.aLLk5x/_old  2017-06-23 09:16:55.178687298 +0200
+++ /var/tmp/diff_new_pack.aLLk5x/_new  2017-06-23 09:16:55.182686733 +0200
@@ -17,7 +17,7 @@
 
 
 Name:   linuxrc
-Version:5.0.103
+Version:5.0.104
 Release:0
 Summary:SUSE Installation Program
 License:GPL-3.0+

++ linuxrc-5.0.103.tar.xz -> linuxrc-5.0.104.tar.xz ++
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/linuxrc-5.0.103/VERSION new/linuxrc-5.0.104/VERSION
--- old/linuxrc-5.0.103/VERSION 2017-05-22 13:48:48.0 +0200
+++ new/linuxrc-5.0.104/VERSION 2017-06-16 14:27:54.0 +0200
@@ -1 +1 @@
-5.0.103
+5.0.104
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/linuxrc-5.0.103/changelog 
new/linuxrc-5.0.104/changelog
--- old/linuxrc-5.0.103/changelog   2017-05-22 13:48:48.0 +0200
+++ new/linuxrc-5.0.104/changelog   2017-06-16 14:27:54.0 +0200
@@ -1,3 +1,6 @@
+2017-06-16:5.0.104
+   - set kernel and initrd to use with kexec option (bsc #1044683)
+
 2017-05-19:5.0.103
- increase maximun screen size to cover at least 4k displays
- enforce linuxrc's maximum screen dimensions properly (bsc #1027354)
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/linuxrc-5.0.103/util.c new/linuxrc-5.0.104/util.c
--- old/linuxrc-5.0.103/util.c  2017-05-22 13:48:48.0 +0200
+++ new/linuxrc-5.0.104/util.c  2017-06-16 14:27:54.0 +0200
@@ -3154,6 +3154,10 @@
 strprintf(_kernel, "boot/%s/loader/linux", arch);
 strprintf(_initrd, "boot/%s/loader/initrd", arch);
   }
+  else {
+strprintf(_kernel, "boot/%s/linux", arch);
+strprintf(_initrd, "boot/%s/initrd", arch);
+  }
 }
 
 




commit linuxrc for openSUSE:Factory

2017-06-01 Thread root
Hello community,

here is the log from the commit of package linuxrc for openSUSE:Factory checked 
in at 2017-06-01 16:28:29

Comparing /work/SRC/openSUSE:Factory/linuxrc (Old)
 and  /work/SRC/openSUSE:Factory/.linuxrc.new (New)


Package is "linuxrc"

Thu Jun  1 16:28:29 2017 rev:240 rq:497300 version:5.0.103

Changes:

--- /work/SRC/openSUSE:Factory/linuxrc/linuxrc.changes  2017-05-04 
08:53:34.415998534 +0200
+++ /work/SRC/openSUSE:Factory/.linuxrc.new/linuxrc.changes 2017-06-01 
16:28:30.926817291 +0200
@@ -1,0 +2,9 @@
+Mon May 22 11:48:48 UTC 2017 - wfe...@opensuse.org
+
+- merge gh#openSUSE/linuxrc#140
+- enforce linuxrc's maximum screen dimensions properly
+  (bsc#1027354)
+- increase maximun screen size to cover at least 4k displays
+- 5.0.103
+
+

Old:

  linuxrc-5.0.102.tar.xz

New:

  linuxrc-5.0.103.tar.xz



Other differences:
--
++ linuxrc.spec ++
--- /var/tmp/diff_new_pack.PaO4ZR/_old  2017-06-01 16:28:31.458742287 +0200
+++ /var/tmp/diff_new_pack.PaO4ZR/_new  2017-06-01 16:28:31.458742287 +0200
@@ -17,7 +17,7 @@
 
 
 Name:   linuxrc
-Version:5.0.102
+Version:5.0.103
 Release:0
 Summary:SUSE Installation Program
 License:GPL-3.0+

++ linuxrc-5.0.102.tar.xz -> linuxrc-5.0.103.tar.xz ++
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/linuxrc-5.0.102/VERSION new/linuxrc-5.0.103/VERSION
--- old/linuxrc-5.0.102/VERSION 2017-04-28 14:12:04.0 +0200
+++ new/linuxrc-5.0.103/VERSION 2017-05-22 13:48:48.0 +0200
@@ -1 +1 @@
-5.0.102
+5.0.103
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/linuxrc-5.0.102/changelog 
new/linuxrc-5.0.103/changelog
--- old/linuxrc-5.0.102/changelog   2017-04-28 14:12:04.0 +0200
+++ new/linuxrc-5.0.103/changelog   2017-05-22 13:48:48.0 +0200
@@ -1,3 +1,7 @@
+2017-05-19:5.0.103
+   - increase maximun screen size to cover at least 4k displays
+   - enforce linuxrc's maximum screen dimensions properly (bsc #1027354)
+
 2017-04-28:5.0.102
- some small fixes
- read license.tar.gz from repomd repositories (fate #322286)
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/linuxrc-5.0.102/global.h new/linuxrc-5.0.103/global.h
--- old/linuxrc-5.0.102/global.h2017-04-28 14:12:04.0 +0200
+++ new/linuxrc-5.0.103/global.h2017-05-22 13:48:48.0 +0200
@@ -83,7 +83,7 @@
 /* terminal sizes */
 #define X_DEFAULT  80
 #define Y_DEFAULT  24
-#define MAX_X  250
+#define MAX_X  500
 #define MAX_Y  150
 #define MIN_X  8
 #define MIN_Y  4
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/linuxrc-5.0.102/keyboard.c 
new/linuxrc-5.0.103/keyboard.c
--- old/linuxrc-5.0.102/keyboard.c  2017-04-28 14:12:04.0 +0200
+++ new/linuxrc-5.0.103/keyboard.c  2017-05-22 13:48:48.0 +0200
@@ -84,6 +84,7 @@
 static void kbd_timeout (int signal_iv);
 
 static void get_screen_size(int fd);
+static void adjust_screen_size(void);
 
 
 /*
@@ -148,15 +149,7 @@
 if(first && config.serial) {
   get_screen_size(config.kbd_fd);
 
-  if(max_x_ig > MAX_X) max_x_ig = MAX_X;
-  if(max_y_ig > MAX_Y) max_y_ig = MAX_Y;
-
-  if(max_x_ig < MIN_X || max_y_ig < MIN_Y) {
-max_x_ig = X_DEFAULT;
-max_y_ig = Y_DEFAULT;
-  }
-
-  if(!config.had_segv) log_info("Window size: %d x %d\n", max_x_ig, 
max_y_ig);
+  adjust_screen_size();
 
   memset(_ri, 0, sizeof winsize_ri);
 
@@ -166,6 +159,11 @@
   ioctl(config.kbd_fd, TIOCSWINSZ, _ri);
 }
 
+if(first) {
+  adjust_screen_size();
+  log_info("Window size: %d x %d\n", max_x_ig, max_y_ig);
+}
+
 }
 
 
@@ -529,3 +527,18 @@
   if(fd >= 0) close(fd);
 }
 
+
+/*
+ * Clip screen size to maximum linuxrc can handle.
+ */
+void adjust_screen_size()
+{
+  if(max_x_ig > MAX_X) max_x_ig = MAX_X;
+  if(max_y_ig > MAX_Y) max_y_ig = MAX_Y;
+
+  if(max_x_ig < MIN_X || max_y_ig < MIN_Y) {
+max_x_ig = X_DEFAULT;
+max_y_ig = Y_DEFAULT;
+  }
+}
+




commit linuxrc for openSUSE:Factory

2017-05-04 Thread root
Hello community,

here is the log from the commit of package linuxrc for openSUSE:Factory checked 
in at 2017-05-04 08:53:25

Comparing /work/SRC/openSUSE:Factory/linuxrc (Old)
 and  /work/SRC/openSUSE:Factory/.linuxrc.new (New)


Package is "linuxrc"

Thu May  4 08:53:25 2017 rev:239 rq:491834 version:5.0.102

Changes:

--- /work/SRC/openSUSE:Factory/linuxrc/linuxrc.changes  2017-04-18 
13:47:35.590292251 +0200
+++ /work/SRC/openSUSE:Factory/.linuxrc.new/linuxrc.changes 2017-05-04 
08:53:34.415998534 +0200
@@ -1,0 +2,15 @@
+Fri Apr 28 12:12:04 UTC 2017 - wfe...@opensuse.org
+
+- read license.tar.gz from repomd repositories (fate#322286)
+- merge gh#openSUSE/linuxrc#139
+- some small fixes
+- 5.0.102
+
+
+Tue Apr 25 14:22:17 UTC 2017 - wfe...@opensuse.org
+
+- merge gh#openSUSE/linuxrc#138
+- enhance linuxrc documentation
+- 5.0.101
+
+

Old:

  linuxrc-5.0.100.tar.xz

New:

  linuxrc-5.0.102.tar.xz



Other differences:
--
++ linuxrc.spec ++
--- /var/tmp/diff_new_pack.aWtjIL/_old  2017-05-04 08:53:37.323588480 +0200
+++ /var/tmp/diff_new_pack.aWtjIL/_new  2017-05-04 08:53:37.327587916 +0200
@@ -17,7 +17,7 @@
 
 
 Name:   linuxrc
-Version:5.0.100
+Version:5.0.102
 Release:0
 Summary:SUSE Installation Program
 License:GPL-3.0+
@@ -49,6 +49,6 @@
 %{_sbindir}/linuxrc
 %{_bindir}/mkpsfu
 %{_datadir}/linuxrc
-%doc COPYING *.html *.md *.txt
+%doc COPYING *.html *.md *.txt *.png
 
 %changelog

++ linuxrc-5.0.100.tar.xz -> linuxrc-5.0.102.tar.xz ++
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/linuxrc-5.0.100/README.md 
new/linuxrc-5.0.102/README.md
--- old/linuxrc-5.0.100/README.md   2017-04-13 11:39:07.0 +0200
+++ new/linuxrc-5.0.102/README.md   2017-04-28 14:12:04.0 +0200
@@ -1,10 +1,57 @@
-This is the early part of the SUSE installation process, before
-[YaST](https://en.opensuse.org/Portal:YaST) runs.
+# linuxrc
 
-See .
+linuxrc is run as the first part of the SUSE installation process, right
+after the linux kernel has been loaded - before
+the installer [YaST](https://en.opensuse.org/Portal:YaST) runs.
 
-## Requirements
-Building linuxrc will require some additional dependencies.
+Its task is to setup the installation environment, download the installer 
YaST, and start the installation.
+Normally it does everything automatically and you don't see anything of 
linuxrc except for some status messages.
+
+But there is also a manual mode where it presents you with a set of menus to 
setup the installation environment
+and start the installation.
+
+You can activate this mode by booting with the boot option `manual=1`.
+
+There are actually two variants. One is a curses-like interface that looks 
like this:
+
+![linuxrc screenshot](linuxrc.png)
+
+The other is much simpler for line-oriented terminals. It is enabled with the 
option `linemode=1` and looks like this:
+
+```
+>>> linuxrc 5.0.99 (Kernel 4.10.8-1-default) <<<
+
+Main Menu
+
+0) <-- Back <--
+1) Start Installation  
+2) Settings   
+3) Expert
+4) Exit or Reboot
+
+> 1
+
+Start Installation
+
+0) <-- Back <--
+1) Installation  
+2) Upgrade
+3) Rescue System 
+4) Boot Installed System 
+5) Network Setup 
+
+> 
+```
+
+Both variants are functionally identical. You can use the one that suits you 
best,
+
+As you've noticed, linuxrc can be controlled using a number of boot options. 
Quite a big number, actually.
+
+In fact, linuxrc's functionality is fully covered by boot options. See 
[SBD:Linuxrc](https://en.opensuse.org/SDB:Linuxrc)
+for reference.
+
+## Build Requirements
+Compiling linuxrc will require some additional dependencies.
 
 For example on openSUSE/SUSE distributions run:
 ```sh
@@ -12,29 +59,64 @@
 ```
 ## Debugging
 
-### Run on Installed System
-Linuxrc can run on installed system. It runs in testmode that make debugging 
easier.
-Parameters are passed as common parametrs like: `linuxrc linemode=0 manual=1 
linuxrc.debug=1`
+### Running on a normal system
+
+Linuxrc can be run on a normal system. It detects this and runs in a test 
mode, trying not to disrupt your system too much.
+For instance, it will not configure your network and be very careful not to 
take over your system in any way..
 
-### Useful Shortcuts
+This also means you cannot test everything this way (for example the network 
setup code).
 
-* ctrl+c then 'q' - exit linuxrc
+When you run linuxrc on a normal 

commit linuxrc for openSUSE:Factory

2017-04-18 Thread root
Hello community,

here is the log from the commit of package linuxrc for openSUSE:Factory checked 
in at 2017-04-18 13:47:33

Comparing /work/SRC/openSUSE:Factory/linuxrc (Old)
 and  /work/SRC/openSUSE:Factory/.linuxrc.new (New)


Package is "linuxrc"

Tue Apr 18 13:47:33 2017 rev:238 rq:487800 version:5.0.100

Changes:

--- /work/SRC/openSUSE:Factory/linuxrc/linuxrc.changes  2017-02-14 
00:38:40.192665621 +0100
+++ /work/SRC/openSUSE:Factory/.linuxrc.new/linuxrc.changes 2017-04-18 
13:47:35.590292251 +0200
@@ -0,0 +1,7 @@
+
+Thu Apr 13 09:39:07 UTC 2017 - wfe...@opensuse.org
+
+- merge gh#openSUSE/linuxrc#137
+- fix segfault when loading installer (bsc#1033441)
+- 5.0.100
+

Old:

  linuxrc-5.0.99.tar.xz

New:

  linuxrc-5.0.100.tar.xz



Other differences:
--
++ linuxrc.spec ++
--- /var/tmp/diff_new_pack.V70Gji/_old  2017-04-18 13:47:36.290193188 +0200
+++ /var/tmp/diff_new_pack.V70Gji/_new  2017-04-18 13:47:36.290193188 +0200
@@ -17,7 +17,7 @@
 
 
 Name:   linuxrc
-Version:5.0.99
+Version:5.0.100
 Release:0
 Summary:SUSE Installation Program
 License:GPL-3.0+

++ linuxrc-5.0.99.tar.xz -> linuxrc-5.0.100.tar.xz ++
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/linuxrc-5.0.99/VERSION new/linuxrc-5.0.100/VERSION
--- old/linuxrc-5.0.99/VERSION  2017-02-10 11:18:01.0 +0100
+++ new/linuxrc-5.0.100/VERSION 2017-04-13 11:39:07.0 +0200
@@ -1 +1 @@
-5.0.99
+5.0.100
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/linuxrc-5.0.99/changelog 
new/linuxrc-5.0.100/changelog
--- old/linuxrc-5.0.99/changelog2017-02-10 11:18:01.0 +0100
+++ new/linuxrc-5.0.100/changelog   2017-04-13 11:39:07.0 +0200
@@ -1,3 +1,6 @@
+2017-04-13:5.0.100
+   - fix segfault when loading installer (bsc #1033441)
+
 2017-02-09:5.0.99
- avoid segfault when image files are missing
- match only file name, not path when checking digests
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/linuxrc-5.0.99/display.c 
new/linuxrc-5.0.100/display.c
--- old/linuxrc-5.0.99/display.c2017-02-10 11:18:01.0 +0100
+++ new/linuxrc-5.0.100/display.c   2017-04-13 11:39:07.0 +0200
@@ -314,6 +314,14 @@
 }
 
 
+/*
+ * Save window area.
+ *
+ * You can restore the window area later by calling disp_restore_area().
+ *
+ * Note: it is a programming error to call disp_save_area() two times in a
+ * row without disp_restore_area() in between.
+ */
 void disp_save_area(window_t *win)
 {
   int i, x_len, y_len;
@@ -332,10 +340,14 @@
 
   if(y_len + win->y_left > max_y_ig) y_len = max_y_ig - win->y_left + 1;
 
-//  log_info("save area at %d x %d (size %d x %d)\n", win->x_left, 
win->y_left, x_len, y_len);
+  log_debug("save area %p at %d x %d (size %d x %d)\n", win, win->x_left, 
win->y_left, x_len, y_len);
 
 //  dump_screen("save area, start");
 
+  if(win->save_area) {
+log_info("Warning: save area already in use!");
+  }
+
   win->save_area = malloc(sizeof (character_t *) * y_len);
 
   for(i = 0; i < y_len; i++) {
@@ -351,6 +363,13 @@
 }
 
 
+/*
+ * Restore saved window area.
+ *
+ * Note: it is actually allowed to call this function without a prior
+ * disp_save_area(). It will do nothing in this case.
+ *
+ */
 void disp_restore_area(window_t *win)
 {
   int x, x_len;
@@ -373,6 +392,13 @@
   if(x_len + win->x_left > max_x_ig) x_len = max_x_ig - win->x_left + 1;
   if(y_len + win->y_left > max_y_ig) y_len = max_y_ig - win->y_left + 1;
 
+  log_debug("restore area %p at %d x %d (size %d x %d)\n", win, win->x_left, 
win->y_left, x_len, y_len);
+
+  if(!win->save_area) {
+log_debug("Warning: restore area not initialized!");
+return;
+  }
+
   for(y = 0; y < y_len; y++) {
 disp_gotoxy(win->x_left, win->y_left + y);
 for(x = 0; x < x_len;) {
@@ -385,6 +411,8 @@
   for(y = 0; y < y_len; y++) free(win->save_area[y]);
   free(win->save_area);
 
+  win->save_area = NULL;
+
   disp_set_attr(save_attr);
 }
 
@@ -394,6 +422,9 @@
   window_t tmp_win;
 
   tmp_win = *win;
+  /* we must not copy .save_area as it's modified by disp_{save,restore}_area 
*/
+  tmp_win.save_area = NULL;
+
   disp_save_area(_win);
   disp_restore_area(_win);
 }
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/linuxrc-5.0.99/url.c new/linuxrc-5.0.100/url.c
--- old/linuxrc-5.0.99/url.c2017-02-10 11:18:01.0 +0100
+++ new/linuxrc-5.0.100/url.c   2017-04-13 11:39:07.0 +0200
@@ -935,6 +935,8 @@
  * return:
  *   0: ok

commit linuxrc for openSUSE:Factory

2017-02-13 Thread root
Hello community,

here is the log from the commit of package linuxrc for openSUSE:Factory checked 
in at 2017-02-14 00:38:38

Comparing /work/SRC/openSUSE:Factory/linuxrc (Old)
 and  /work/SRC/openSUSE:Factory/.linuxrc.new (New)


Package is "linuxrc"

Changes:

--- /work/SRC/openSUSE:Factory/linuxrc/linuxrc.changes  2017-01-24 
10:30:41.449458812 +0100
+++ /work/SRC/openSUSE:Factory/.linuxrc.new/linuxrc.changes 2017-02-14 
00:38:40.192665621 +0100
@@ -1,0 +2,7 @@
+Fri Feb 10 10:20:26 UTC 2017 - snw...@suse.com
+
+- avoid segfault when image files are missing
+- match only file name, not path when checking digests
+- 5.0.99
+
+---

Old:

  linuxrc-5.0.98.tar.xz

New:

  linuxrc-5.0.99.tar.xz



Other differences:
--
++ linuxrc.spec ++
--- /var/tmp/diff_new_pack.DDN8cV/_old  2017-02-14 00:38:40.880568503 +0100
+++ /var/tmp/diff_new_pack.DDN8cV/_new  2017-02-14 00:38:40.880568503 +0100
@@ -17,7 +17,7 @@
 
 
 Name:   linuxrc
-Version:5.0.98
+Version:5.0.99
 Release:0
 Summary:SUSE Installation Program
 License:GPL-3.0+

++ linuxrc-5.0.98.tar.xz -> linuxrc-5.0.99.tar.xz ++
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/linuxrc-5.0.98/VERSION new/linuxrc-5.0.99/VERSION
--- old/linuxrc-5.0.98/VERSION  2017-01-19 16:35:56.0 +0100
+++ new/linuxrc-5.0.99/VERSION  2017-02-10 11:18:01.0 +0100
@@ -1 +1 @@
-5.0.98
+5.0.99
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/linuxrc-5.0.98/changelog new/linuxrc-5.0.99/changelog
--- old/linuxrc-5.0.98/changelog2017-01-19 16:35:56.0 +0100
+++ new/linuxrc-5.0.99/changelog2017-02-10 11:18:01.0 +0100
@@ -1,3 +1,7 @@
+2017-02-09:5.0.99
+   - avoid segfault when image files are missing
+   - match only file name, not path when checking digests
+
 2017-01-19:5.0.98
- allow reading of config files from instsys location, part 2
 
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/linuxrc-5.0.98/install.c new/linuxrc-5.0.99/install.c
--- old/linuxrc-5.0.98/install.c2017-01-19 16:35:56.0 +0100
+++ new/linuxrc-5.0.99/install.c2017-02-10 11:18:01.0 +0100
@@ -1176,6 +1176,8 @@
 
   if(!config.test) {
 for(sl = config.url.instsys_list; sl; sl = sl->next) {
+  log_debug("instsys_list: key = %s, value = %s\n", sl->key, sl->value);
+  if(!sl->value) return 1;
   argv[1] = sl->value;
   argv[2] = "/";
   util_lndir_main(3, argv);
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/linuxrc-5.0.98/url.c new/linuxrc-5.0.99/url.c
--- old/linuxrc-5.0.98/url.c2017-01-19 16:35:56.0 +0100
+++ new/linuxrc-5.0.99/url.c2017-02-10 11:18:01.0 +0100
@@ -1951,7 +1951,7 @@
 strprintf(,
   "%s: %s\n\n%s",
   url_print2(url_data->url, NULL),
-  "SHA1 sum wrong.",
+  "Digest verification failed.",
   "If you really trust your repository, you may continue in an 
insecure mode."
 );
 if(!(win = config.win)) util_disp_init();
@@ -3057,13 +3057,19 @@
   slist_t *sl, *sl0;
   int len, file_name_len, ok = 0;
 
+  // match only last path element
+  if(file_name) {
+char *s = strrchr(file_name, '/');
+if(s) file_name = s + 1;
+  }
+
   file_name_len = file_name ? strlen(file_name) : 0;
 
   for(sl = config.digests.list; sl; sl = sl->next) {
 // first check file name
 if(file_name_len) {
   len = strlen(sl->value);
-  if(len > file_name_len || strcmp(file_name + file_name_len - len, 
sl->value)) continue;
+  if(len < file_name_len || strcmp(file_name, sl->value + len - 
file_name_len)) continue;
 }
 
 // compare digest




commit linuxrc for openSUSE:Factory

2017-01-24 Thread root
Hello community,

here is the log from the commit of package linuxrc for openSUSE:Factory checked 
in at 2017-01-24 10:30:40

Comparing /work/SRC/openSUSE:Factory/linuxrc (Old)
 and  /work/SRC/openSUSE:Factory/.linuxrc.new (New)


Package is "linuxrc"

Changes:

--- /work/SRC/openSUSE:Factory/linuxrc/linuxrc.changes  2017-01-19 
10:39:00.374078010 +0100
+++ /work/SRC/openSUSE:Factory/.linuxrc.new/linuxrc.changes 2017-01-24 
10:30:41.449458812 +0100
@@ -1,0 +2,11 @@
+Thu Jan 19 15:48:48 UTC 2017 - snw...@suse.com
+
+- allow reading of config files from instsys location, part 2
+- 5.0.98
+
+---
+Thu Jan 19 11:25:09 CET 2017 - snw...@suse.de
+
+- include all doc files in package
+
+---

Old:

  linuxrc-5.0.97.tar.xz

New:

  linuxrc-5.0.98.tar.xz



Other differences:
--
++ linuxrc.spec ++
--- /var/tmp/diff_new_pack.FAudrz/_old  2017-01-24 10:30:41.837403797 +0100
+++ /var/tmp/diff_new_pack.FAudrz/_new  2017-01-24 10:30:41.837403797 +0100
@@ -17,7 +17,7 @@
 
 
 Name:   linuxrc
-Version:5.0.97
+Version:5.0.98
 Release:0
 Summary:SUSE Installation Program
 License:GPL-3.0+
@@ -49,6 +49,6 @@
 %{_sbindir}/linuxrc
 %{_bindir}/mkpsfu
 %{_datadir}/linuxrc
-%doc linuxrc.html
+%doc COPYING *.html *.md *.txt
 
 %changelog

++ linuxrc-5.0.97.tar.xz -> linuxrc-5.0.98.tar.xz ++
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/linuxrc-5.0.97/VERSION new/linuxrc-5.0.98/VERSION
--- old/linuxrc-5.0.97/VERSION  2017-01-18 15:19:23.0 +0100
+++ new/linuxrc-5.0.98/VERSION  2017-01-19 16:35:56.0 +0100
@@ -1 +1 @@
-5.0.97
+5.0.98
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/linuxrc-5.0.97/changelog new/linuxrc-5.0.98/changelog
--- old/linuxrc-5.0.97/changelog2017-01-18 15:19:23.0 +0100
+++ new/linuxrc-5.0.98/changelog2017-01-19 16:35:56.0 +0100
@@ -1,3 +1,6 @@
+2017-01-19:5.0.98
+   - allow reading of config files from instsys location, part 2
+
 2017-01-18:5.0.97
- avoid passing uninitialized value
- make md parser happy
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/linuxrc-5.0.97/url.c new/linuxrc-5.0.98/url.c
--- old/linuxrc-5.0.97/url.c2017-01-18 15:19:23.0 +0100
+++ new/linuxrc-5.0.98/url.c2017-01-19 16:35:56.0 +0100
@@ -2385,7 +2385,7 @@
  */
 int url_find_instsys(url_t *url, char *dir)
 {
-  int opt, part, parts, ok, i;
+  int opt, copy, part, parts, ok, i;
   char *s, *t;
   char *file_name = NULL, *buf = NULL, *buf2 = NULL, *url_path = NULL;
   slist_t *sl, *file_list, *old_file_list;
@@ -2459,6 +2459,7 @@
 
 for(part = 1, sl = config.url.instsys_list; ok && sl; sl = sl->next, 
part++) {
   opt = *(s = sl->key) == '?' && s++;
+  copy = strstr(s, "?copy=1") ? 1 : 0;
   t = url_config_get_path(s);
   file_list = url_config_get_file_list(s);
 
@@ -2477,7 +2478,7 @@
 
   if(
 url->is.mountable &&
-(util_is_mountable(buf) || !util_check_exist(buf)) &&
+(copy || util_is_mountable(buf) || !util_check_exist(buf)) &&
 !config.rescue &&
 (!config.download.instsys || util_check_exist(buf) == 'd')
   ) {
@@ -2485,11 +2486,19 @@
   log_info("mount %s -> %s failed (ignored)\n", buf, sl->value);
 }
 else {
-  log_info("mount %s -> %s\n", buf, sl->value);
-
-  i = util_mount_ro(buf, sl->value, url->file_list) ? 0 : 1;
-  ok &= i;
-  if(!i) log_info("instsys mount failed: %s\n", sl->value);
+  if(copy) {
+char *dst = strrchr(t, '/') ?: t;
+log_info("copy %s -> %s\n", buf, dst);
+i = !util_cp_main(3, (char *[]) {0, buf, dst});
+ok &= i;
+if(!i) log_info("adding %s to instsys failed\n", dst);
+  }
+  else {
+log_info("mount %s -> %s\n", buf, sl->value);
+i = util_mount_ro(buf, sl->value, url->file_list) ? 0 : 1;
+ok &= i;
+if(!i) log_info("instsys mount failed: %s\n", sl->value);
+  }
 }
   }
   else {
@@ -2509,11 +2518,19 @@
   buf2,
   URL_FLAG_PROGRESS + URL_FLAG_UNZIP + opt * URL_FLAG_OPTIONAL
 )) {
-  log_info("mount %s -> %s\n", file_name, sl->value);
-
-  i = util_mount_ro(file_name, sl->value, url->file_list) ? 0 : 1;
-  ok &= i;
-  if(!i) log_info("instsys mount failed: %s\n", sl->value);
+  if(copy) {
+

commit linuxrc for openSUSE:Factory

2017-01-19 Thread root
Hello community,

here is the log from the commit of package linuxrc for openSUSE:Factory checked 
in at 2017-01-19 10:38:59

Comparing /work/SRC/openSUSE:Factory/linuxrc (Old)
 and  /work/SRC/openSUSE:Factory/.linuxrc.new (New)


Package is "linuxrc"

Changes:

--- /work/SRC/openSUSE:Factory/linuxrc/linuxrc.changes  2016-12-22 
15:55:24.576039206 +0100
+++ /work/SRC/openSUSE:Factory/.linuxrc.new/linuxrc.changes 2017-01-19 
10:39:00.374078010 +0100
@@ -1,0 +2,16 @@
+Wed Jan 18 14:27:46 UTC 2017 - snw...@suse.com
+
+- avoid passing uninitialized value
+- make md parser happy
+- extend repo documentation
+- allow reading of config files from instsys location (/boot/ARCH/) 
(fate#322283)
+- 5.0.97
+
+---
+Fri Jan 13 15:27:44 UTC 2017 - snw...@suse.com
+
+- document linuxrc's repo handling
+- have linuxrc accept plain repomd repo as install source (fate#322286)
+- 5.0.96
+
+---
@@ -312 +328 @@
-- s390x: handle kvm virtio devices
+- s390x: handle kvm virtio devices (bsc#941122)

Old:

  linuxrc-5.0.95.tar.xz

New:

  linuxrc-5.0.97.tar.xz



Other differences:
--
++ linuxrc.spec ++
--- /var/tmp/diff_new_pack.yXSZz8/_old  2017-01-19 10:39:00.993990568 +0100
+++ /var/tmp/diff_new_pack.yXSZz8/_new  2017-01-19 10:39:00.993990568 +0100
@@ -17,7 +17,7 @@
 
 
 Name:   linuxrc
-Version:5.0.95
+Version:5.0.97
 Release:0
 Summary:SUSE Installation Program
 License:GPL-3.0+

++ linuxrc-5.0.95.tar.xz -> linuxrc-5.0.97.tar.xz ++
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/linuxrc-5.0.95/VERSION new/linuxrc-5.0.97/VERSION
--- old/linuxrc-5.0.95/VERSION  2016-12-21 14:28:43.0 +0100
+++ new/linuxrc-5.0.97/VERSION  2017-01-18 15:19:23.0 +0100
@@ -1 +1 @@
-5.0.95
+5.0.97
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/linuxrc-5.0.95/auto2.c new/linuxrc-5.0.97/auto2.c
--- old/linuxrc-5.0.95/auto2.c  2016-12-21 14:28:43.0 +0100
+++ new/linuxrc-5.0.97/auto2.c  2017-01-18 15:19:23.0 +0100
@@ -863,7 +863,7 @@
 void auto2_read_repo_files(url_t *url)
 {
   int i;
-  char *dst = NULL;
+  char *tmp_file = NULL;
   static char *default_list[][2] = {
 { "/media.1/info.txt", "/info.txt" },
 { "/license.tar.gz", "/license.tar.gz" },
@@ -873,10 +873,19 @@
   };
 
   for(i = 0; i < sizeof default_list / sizeof *default_list; i++) {
-url_read_file(url, NULL, default_list[i][0], default_list[i][1], NULL, 
URL_FLAG_NODIGEST);
+// be careful not to replace an existing file unless we successfully got
+// a new version
+str_copy(_file, new_download());
+if(
+  !url_read_file(url, NULL, default_list[i][0], tmp_file, NULL, 
URL_FLAG_NODIGEST + URL_FLAG_OPTIONAL) &&
+  util_check_exist(tmp_file)
+) {
+  rename(tmp_file, default_list[i][1]);
+  log_info("mv %s -> %s\n", tmp_file, default_list[i][1]);
+}
   }
 
-  str_copy(, NULL);
+  str_copy(_file, NULL);
 
   if(!config.autoyast) {
 if(util_check_exist("/tmp/autoinst.xml")) rename("/tmp/autoinst.xml", 
"/autoinst.xml");
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/linuxrc-5.0.95/changelog new/linuxrc-5.0.97/changelog
--- old/linuxrc-5.0.95/changelog2016-12-21 14:28:43.0 +0100
+++ new/linuxrc-5.0.97/changelog2017-01-18 15:19:23.0 +0100
@@ -1,3 +1,13 @@
+2017-01-18:5.0.97
+   - avoid passing uninitialized value
+   - make md parser happy
+   - extend repo documentation
+   - allow reading of config files from instsys location (/boot/ARCH/) 
(fate #322283)
+
+2017-01-13:5.0.96
+   - document linuxrc's repo handling
+   - have linuxrc accept plain repomd repo as install source (fate #322286)
+
 2016-12-21:5.0.95
- cleanup include list in install.c
- add linuxrc.core option to enable core dumps in linuxrc (to debug bsc 
#1010505)
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/linuxrc-5.0.95/linuxrc_repo.md 
new/linuxrc-5.0.97/linuxrc_repo.md
--- old/linuxrc-5.0.95/linuxrc_repo.md  1970-01-01 01:00:00.0 +0100
+++ new/linuxrc-5.0.97/linuxrc_repo.md  2017-01-18 15:19:23.0 +0100
@@ -0,0 +1,183 @@
+#specifying installation repositories in linuxrc
+
+##1. regular install media
+
+*(repo meta data are in /suse/setup/descr/)*
+
+linuxrc identifies this repo by checking for a file '/content' in the
+installation repository. The file must have a valid signature
+('/content.asc'). linuxrc parses this 

commit linuxrc for openSUSE:Factory

2016-12-03 Thread h_root
Hello community,

here is the log from the commit of package linuxrc for openSUSE:Factory checked 
in at 2016-12-03 18:23:53

Comparing /work/SRC/openSUSE:Factory/linuxrc (Old)
 and  /work/SRC/openSUSE:Factory/.linuxrc.new (New)


Package is "linuxrc"

Changes:

--- /work/SRC/openSUSE:Factory/linuxrc/linuxrc.changes  2016-11-29 
12:48:32.0 +0100
+++ /work/SRC/openSUSE:Factory/.linuxrc.new/linuxrc.changes 2016-12-03 
18:23:54.0 +0100
@@ -1,0 +2,8 @@
+Wed Nov 30 13:35:20 UTC 2016 - snw...@suse.com
+
+- more verbose shared library matching description
+- Described symptoms of missing shared libraries
+- shared libraries mentioned in README
+- 5.0.92
+
+---

Old:

  linuxrc-5.0.91.tar.xz

New:

  linuxrc-5.0.92.tar.xz



Other differences:
--
++ linuxrc.spec ++
--- /var/tmp/diff_new_pack.m37gwi/_old  2016-12-03 18:23:55.0 +0100
+++ /var/tmp/diff_new_pack.m37gwi/_new  2016-12-03 18:23:55.0 +0100
@@ -17,7 +17,7 @@
 
 
 Name:   linuxrc
-Version:5.0.91
+Version:5.0.92
 Release:0
 Summary:SUSE Installation Program
 License:GPL-3.0+

++ linuxrc-5.0.91.tar.xz -> linuxrc-5.0.92.tar.xz ++
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/linuxrc-5.0.91/README.md new/linuxrc-5.0.92/README.md
--- old/linuxrc-5.0.91/README.md2016-11-28 08:55:46.0 +0100
+++ new/linuxrc-5.0.92/README.md2016-11-30 14:32:28.0 +0100
@@ -49,7 +49,7 @@
 Use:
 
 ```sh
-mksusecd --initrd ./linuxrc.rpm ...
+mksusecd --initrd ./linuxrc.rpm --create $OUTPUT_ISO $INPUT
 ```
 
 or, without an RPM:
@@ -58,7 +58,25 @@
 make
 mkdir /tmp/initrd
 cp linuxrc /tmp/initrd/init
-mksusecd --initrd /tmp/initrd ...
+mksusecd --initrd /tmp/initrd --create $OUTPUT_ISO $INPUT
+```
+Forgetting about the correct shared libraries usually leads to crashes and 
backtraces printed on the terminal.
+When compiling linuxrc on a system different from the one in the input iso, 
make sure that shared libraries are passed with matching versions; typically 
you'll need libreadline.so and libhd.so but your mileage may vary. In the 
following example, linuxrc was compiled on Leap 42.1 to build against 
Tumbleweed; the versions of the two libraries were not matching on the two 
versions of openSUSE so the correct versions (including symlinks) were attached 
with `mksusecd` using the following folder structure:
+
+```sh 
+#tree /tmp/initrd
+/tmp/initrd
+├── init
+├── lib64
+│   ├── libreadline.so.6 -> libreadline.so.6.2
+│   └── libreadline.so.6.2
+└── usr
+└── lib64
+├── libhd.so -> libhd.so.21
+├── libhd.so.21 -> libhd.so.21.30
+└── libhd.so.21.30
+
+3 directories, 6 files
 ```
 
 You may also use `mksusecd --micro` in case you only want to test Stage 1
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/linuxrc-5.0.91/VERSION new/linuxrc-5.0.92/VERSION
--- old/linuxrc-5.0.91/VERSION  2016-11-28 08:55:46.0 +0100
+++ new/linuxrc-5.0.92/VERSION  2016-11-30 14:32:28.0 +0100
@@ -1 +1 @@
-5.0.91
+5.0.92
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/linuxrc-5.0.91/changelog new/linuxrc-5.0.92/changelog
--- old/linuxrc-5.0.91/changelog2016-11-28 08:55:46.0 +0100
+++ new/linuxrc-5.0.92/changelog2016-11-30 14:32:28.0 +0100
@@ -1,3 +1,8 @@
+2016-11-29:5.0.92
+   - more verbose shared library matching description
+   - Described symptoms of missing shared libraries
+   - shared libraries mentioned in README
+
 2016-10-06:5.0.91
- added dependencies to README
 




commit linuxrc for openSUSE:Factory

2016-11-29 Thread h_root
Hello community,

here is the log from the commit of package linuxrc for openSUSE:Factory checked 
in at 2016-11-29 12:48:31

Comparing /work/SRC/openSUSE:Factory/linuxrc (Old)
 and  /work/SRC/openSUSE:Factory/.linuxrc.new (New)


Package is "linuxrc"

Changes:

--- /work/SRC/openSUSE:Factory/linuxrc/linuxrc.changes  2016-11-21 
14:22:25.0 +0100
+++ /work/SRC/openSUSE:Factory/.linuxrc.new/linuxrc.changes 2016-11-29 
12:48:32.0 +0100
@@ -1,0 +2,18 @@
+Mon Nov 28 08:00:19 UTC 2016 - snw...@suse.com
+
+- added dependencies to README
+- 5.0.91
+
+---
+Thu Nov 24 16:05:23 UTC 2016 - snw...@suse.com
+
+- keep rsyslogd running
+- 5.0.90
+
+---
+Thu Nov 24 14:00:55 UTC 2016 - snw...@suse.com
+
+- Implemented Loghost functionality
+- 5.0.89
+
+---

Old:

  linuxrc-5.0.88.tar.xz

New:

  linuxrc-5.0.91.tar.xz



Other differences:
--
++ linuxrc.spec ++
--- /var/tmp/diff_new_pack.c1m6Lh/_old  2016-11-29 12:48:33.0 +0100
+++ /var/tmp/diff_new_pack.c1m6Lh/_new  2016-11-29 12:48:33.0 +0100
@@ -17,7 +17,7 @@
 
 
 Name:   linuxrc
-Version:5.0.88
+Version:5.0.91
 Release:0
 Summary:SUSE Installation Program
 License:GPL-3.0+

++ linuxrc-5.0.88.tar.xz -> linuxrc-5.0.91.tar.xz ++
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/linuxrc-5.0.88/README.md new/linuxrc-5.0.91/README.md
--- old/linuxrc-5.0.88/README.md2016-11-18 15:14:07.0 +0100
+++ new/linuxrc-5.0.91/README.md2016-11-28 08:55:46.0 +0100
@@ -3,6 +3,13 @@
 
 See .
 
+## Requirements
+Building linuxrc will require some additional dependencies.
+
+For example on openSUSE/SUSE distributions run:
+```sh
+zypper install e2fsprogs-devel hwinfo-devel libblkid-devel libcurl-devel 
readline-devel
+```
 ## Debugging
 
 ### Run on Installed System
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/linuxrc-5.0.88/VERSION new/linuxrc-5.0.91/VERSION
--- old/linuxrc-5.0.88/VERSION  2016-11-18 15:14:07.0 +0100
+++ new/linuxrc-5.0.91/VERSION  2016-11-28 08:55:46.0 +0100
@@ -1 +1 @@
-5.0.88
+5.0.91
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/linuxrc-5.0.88/changelog new/linuxrc-5.0.91/changelog
--- old/linuxrc-5.0.88/changelog2016-11-18 15:14:07.0 +0100
+++ new/linuxrc-5.0.91/changelog2016-11-28 08:55:46.0 +0100
@@ -1,3 +1,12 @@
+2016-10-06:5.0.91
+   - added dependencies to README
+
+2016-11-24:5.0.90
+   - keep rsyslogd running
+
+2016-11-22:5.0.89
+   - Implemented Loghost functionality
+
 2016-11-18:5.0.88
- Clean up: removed "regcert", "smturl" and "smtcert" options. (bsc 
#943966)
 
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/linuxrc-5.0.88/linuxrc.c new/linuxrc-5.0.91/linuxrc.c
--- old/linuxrc-5.0.88/linuxrc.c2016-11-18 15:14:07.0 +0100
+++ new/linuxrc-5.0.91/linuxrc.c2016-11-28 08:55:46.0 +0100
@@ -521,7 +521,7 @@
 "portmap", "rpciod", "lockd", "cifsd", "mount.smbfs", "udevd",
 "mount.ntfs-3g", "brld", "sbl", "wickedd", "wickedd-auto4", 
"wickedd-dhcp4",
 "wickedd-dhcp6", "wickedd-nanny", "dbus-daemon", "rpc.idmapd", "sh", 
"haveged",
-"wpa_supplicant"
+"wpa_supplicant", "rsyslogd"
   };
   int i;
 
@@ -1278,6 +1278,8 @@
 
   util_update_kernellog();
 
+  if(config.loghost) util_run_script("remote_log_setup");
+
 #if !(defined(__PPC__) || defined(__sparc__))
   if(config.manual || reboot_wait_ig) {
 config.rebootmsg = 1;
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/linuxrc-5.0.88/util.c new/linuxrc-5.0.91/util.c
--- old/linuxrc-5.0.88/util.c   2016-11-18 15:14:07.0 +0100
+++ new/linuxrc-5.0.91/util.c   2016-11-28 08:55:46.0 +0100
@@ -4549,6 +4549,8 @@
 setenv("linuxrc_debug", buf, 1);
   }
 
+  if(config.loghost) setenv("LOGHOST", config.loghost, 1);
+
   strprintf(, "/scripts/%s", name);
 
   lxrc_run(buf);




commit linuxrc for openSUSE:Factory

2016-11-21 Thread h_root
Hello community,

here is the log from the commit of package linuxrc for openSUSE:Factory checked 
in at 2016-11-21 14:22:24

Comparing /work/SRC/openSUSE:Factory/linuxrc (Old)
 and  /work/SRC/openSUSE:Factory/.linuxrc.new (New)


Package is "linuxrc"

Changes:

--- /work/SRC/openSUSE:Factory/linuxrc/linuxrc.changes  2016-10-18 
10:09:51.0 +0200
+++ /work/SRC/openSUSE:Factory/.linuxrc.new/linuxrc.changes 2016-11-21 
14:22:25.0 +0100
@@ -1,0 +2,6 @@
+Fri Nov 18 14:15:58 UTC 2016 - snw...@suse.com
+
+- Clean up: removed "regcert", "smturl" and "smtcert" options. (bsc#943966)
+- 5.0.88
+
+---

Old:

  linuxrc-5.0.87.tar.xz

New:

  linuxrc-5.0.88.tar.xz



Other differences:
--
++ linuxrc.spec ++
--- /var/tmp/diff_new_pack.wJyW9o/_old  2016-11-21 14:22:26.0 +0100
+++ /var/tmp/diff_new_pack.wJyW9o/_new  2016-11-21 14:22:26.0 +0100
@@ -17,7 +17,7 @@
 
 
 Name:   linuxrc
-Version:5.0.87
+Version:5.0.88
 Release:0
 Summary:SUSE Installation Program
 License:GPL-3.0+

++ linuxrc-5.0.87.tar.xz -> linuxrc-5.0.88.tar.xz ++
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/linuxrc-5.0.87/VERSION new/linuxrc-5.0.88/VERSION
--- old/linuxrc-5.0.87/VERSION  2016-10-14 13:55:49.0 +0200
+++ new/linuxrc-5.0.88/VERSION  2016-11-18 15:14:07.0 +0100
@@ -1 +1 @@
-5.0.87
+5.0.88
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/linuxrc-5.0.87/changelog new/linuxrc-5.0.88/changelog
--- old/linuxrc-5.0.87/changelog2016-10-14 13:55:49.0 +0200
+++ new/linuxrc-5.0.88/changelog2016-11-18 15:14:07.0 +0100
@@ -1,3 +1,6 @@
+2016-11-18:5.0.88
+   - Clean up: removed "regcert", "smturl" and "smtcert" options. (bsc 
#943966)
+
 2016-10-14:5.0.87
- parse netwait option earlier (bsc #995304)
 
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/linuxrc-5.0.87/file.c new/linuxrc-5.0.88/file.c
--- old/linuxrc-5.0.87/file.c   2016-10-14 13:55:49.0 +0200
+++ new/linuxrc-5.0.88/file.c   2016-11-18 15:14:07.0 +0100
@@ -273,9 +273,6 @@
   { key_device, "Device", kf_cfg + kf_cmd},
   { key_nomdns, "NoMDNS", kf_cfg + kf_cmd},
   { key_yepurl, "regurl", kf_cfg + kf_cmd},
-  { key_yepcert,"regcert",kf_cfg + kf_cmd},
-  { key_yepurl, "smturl", kf_cfg + kf_cmd},
-  { key_yepcert,"smtcert",kf_cfg + kf_cmd},
   { key_mediacheck, "mediacheck", kf_cfg + kf_cmd_early  },
   { key_y2gdb,  "Y2GDB",  kf_cfg + kf_cmd},
   { key_squash, "squash", kf_cfg + kf_cmd},
@@ -1574,10 +1571,6 @@
 str_copy(, f->value);
 break;
 
-  case key_yepcert:
-str_copy(, f->value);
-break;
-
   case key_y2gdb:
 if(f->is.numeric) config.y2gdb = f->nvalue;
 break;
@@ -2005,7 +1998,6 @@
   }
 
   file_write_str(f, key_yepurl, config.yepurl);
-  file_write_str(f, key_yepcert, config.yepcert);
 
   file_write_str(f, key_supporturl, config.supporturl);
 
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/linuxrc-5.0.87/file.h new/linuxrc-5.0.88/file.h
--- old/linuxrc-5.0.87/file.h   2016-10-14 13:55:49.0 +0200
+++ new/linuxrc-5.0.88/file.h   2016-11-18 15:14:07.0 +0100
@@ -47,7 +47,7 @@
   key_ibft_hwaddr, key_ibft_ipaddr, key_ibft_netmask, key_ibft_gateway,
   key_ibft_dns, key_net_retry, key_bootif, key_swap_size, key_ntfs_3g,
   key_hash, key_insecure, key_kexec, key_nisdomain, key_nomodprobe, key_device,
-  key_nomdns, key_yepurl, key_yepcert, key_mediacheck, key_y2gdb, key_squash,
+  key_nomdns, key_yepurl, key_mediacheck, key_y2gdb, key_squash,
   key_kexec_reboot, key_devbyid, key_braille, key_nfsopts, key_ipv4, 
key_ipv4only,
   key_ipv6, key_ipv6only, key_efi, key_supporturl, key_portno,
   key_osahwaddr, key_zen, key_zenconfig, key_udevrule, key_dhcpfail,
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/linuxrc-5.0.87/global.h new/linuxrc-5.0.88/global.h
--- old/linuxrc-5.0.87/global.h 2016-10-14 13:55:49.0 +0200
+++ new/linuxrc-5.0.88/global.h 2016-11-18 15:14:07.0 +0100
@@ -466,7 +466,6 @@
   char *autoyast;  /* yast autoinstall parameter */
   char *autoyast2; /* yast autoinstall parameter, loaded 

commit linuxrc for openSUSE:Factory

2016-10-18 Thread h_root
Hello community,

here is the log from the commit of package linuxrc for openSUSE:Factory checked 
in at 2016-10-18 10:09:51

Comparing /work/SRC/openSUSE:Factory/linuxrc (Old)
 and  /work/SRC/openSUSE:Factory/.linuxrc.new (New)


Package is "linuxrc"

Changes:

--- /work/SRC/openSUSE:Factory/linuxrc/linuxrc.changes  2016-10-10 
17:33:34.0 +0200
+++ /work/SRC/openSUSE:Factory/.linuxrc.new/linuxrc.changes 2016-10-18 
10:09:51.0 +0200
@@ -1,0 +2,11 @@
+Fri Oct 14 12:03:46 UTC 2016 - snw...@suse.com
+
+- parse netwait option earlier (bsc#995304)
+- 5.0.87
+
+---
+Tue Oct 11 16:17:12 UTC 2016 - dw...@suse.com
+
+- ran spec-cleaner on the .spec file
+
+---

Old:

  linuxrc-5.0.86.tar.xz

New:

  linuxrc-5.0.87.tar.xz



Other differences:
--
++ linuxrc.spec ++
--- /var/tmp/diff_new_pack.JuOiFG/_old  2016-10-18 10:09:52.0 +0200
+++ /var/tmp/diff_new_pack.JuOiFG/_new  2016-10-18 10:09:52.0 +0200
@@ -1,7 +1,7 @@
 #
 # spec file for package linuxrc
 #
-# Copyright (c) 2016 SUSE LINUX Products GmbH, Nuernberg, Germany.
+# Copyright (c) 2016 SUSE LINUX GmbH, Nuernberg, Germany.
 #
 # All modifications and additions to the file contributed by third parties
 # remain the property of their copyright owners, unless otherwise agreed
@@ -17,46 +17,38 @@
 
 
 Name:   linuxrc
-BuildRequires:  e2fsprogs-devel
-BuildRequires:  hwinfo-devel
-BuildRequires:  libblkid-devel
-BuildRequires:  libcurl-devel
-BuildRequires:  readline-devel
+Version:5.0.87
+Release:0
 Summary:SUSE Installation Program
 License:GPL-3.0+
 Group:  System/Boot
-Version:5.0.86
-Release:0
 Source: %{name}-%{version}.tar.xz
+BuildRequires:  e2fsprogs-devel
+BuildRequires:  pkgconfig
+BuildRequires:  readline-devel
+BuildRequires:  pkgconfig(blkid)
+BuildRequires:  pkgconfig(hwinfo)
+BuildRequires:  pkgconfig(libcurl)
 BuildRoot:  %{_tmppath}/%{name}-%{version}-build
 
 %description
 SUSE installation program.
 
-
-
-Authors:
-
-Hubert Mantel 
-
 %prep
-%setup
+%setup -q
 
 %build
   make
 
 %install
-  install -d -m 755 %{buildroot}/usr/{s,}bin
-  make install DESTDIR=%{buildroot}
-
-%clean 
-rm -rf %{buildroot}
+  install -d -m 755 %{buildroot}%{_prefix}/{s,}bin
+make %{?_smp_mflags} DESTDIR=%{buildroot} install
 
 %files
 %defattr(-,root,root)
-/usr/sbin/linuxrc
-/usr/bin/mkpsfu
-/usr/share/linuxrc
+%{_sbindir}/linuxrc
+%{_bindir}/mkpsfu
+%{_datadir}/linuxrc
 %doc linuxrc.html
 
 %changelog

++ linuxrc-5.0.86.tar.xz -> linuxrc-5.0.87.tar.xz ++
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/linuxrc-5.0.86/VERSION new/linuxrc-5.0.87/VERSION
--- old/linuxrc-5.0.86/VERSION  2016-09-30 16:50:19.0 +0200
+++ new/linuxrc-5.0.87/VERSION  2016-10-14 13:55:49.0 +0200
@@ -1 +1 @@
-5.0.86
+5.0.87
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/linuxrc-5.0.86/changelog new/linuxrc-5.0.87/changelog
--- old/linuxrc-5.0.86/changelog2016-09-30 16:50:19.0 +0200
+++ new/linuxrc-5.0.87/changelog2016-10-14 13:55:49.0 +0200
@@ -1,3 +1,6 @@
+2016-10-14:5.0.87
+   - parse netwait option earlier (bsc #995304)
+
 2016-09-30:5.0.86
- don't configure ibft devices in linuxrc (bsc #997598)
 
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/linuxrc-5.0.86/file.c new/linuxrc-5.0.87/file.c
--- old/linuxrc-5.0.86/file.c   2016-09-30 16:50:19.0 +0200
+++ new/linuxrc-5.0.87/file.c   2016-10-14 13:55:49.0 +0200
@@ -229,7 +229,7 @@
   { key_portno, "PortNo", kf_cfg + kf_cmd},
   { key_osahwaddr, "OSAHWAddr",  kf_cfg + kf_cmd},
 #endif
-  { key_netwait,"NetWait",kf_cfg + kf_cmd},
+  { key_netwait,"NetWait",kf_cfg + kf_cmd_early  },
   { key_newid,  "NewID",  kf_cfg + kf_cmd_early  },
   { key_moduledisks,"ModuleDisks",kf_cfg + kf_cmd},
   { key_zen,"Zen",kf_cfg + kf_cmd + kf_cmd_early },




commit linuxrc for openSUSE:Factory

2016-10-10 Thread h_root
Hello community,

here is the log from the commit of package linuxrc for openSUSE:Factory checked 
in at 2016-10-10 17:33:33

Comparing /work/SRC/openSUSE:Factory/linuxrc (Old)
 and  /work/SRC/openSUSE:Factory/.linuxrc.new (New)


Package is "linuxrc"

Changes:

--- /work/SRC/openSUSE:Factory/linuxrc/linuxrc.changes  2016-09-17 
14:31:48.0 +0200
+++ /work/SRC/openSUSE:Factory/.linuxrc.new/linuxrc.changes 2016-10-10 
17:33:34.0 +0200
@@ -1,0 +2,6 @@
+Fri Sep 30 14:55:23 UTC 2016 - snw...@suse.com
+
+- don't configure ibft devices in linuxrc (bsc#997598)
+- 5.0.86
+
+---

Old:

  linuxrc-5.0.85.tar.xz

New:

  linuxrc-5.0.86.tar.xz



Other differences:
--
++ linuxrc.spec ++
--- /var/tmp/diff_new_pack.xZ7FGz/_old  2016-10-10 17:33:35.0 +0200
+++ /var/tmp/diff_new_pack.xZ7FGz/_new  2016-10-10 17:33:35.0 +0200
@@ -25,7 +25,7 @@
 Summary:SUSE Installation Program
 License:GPL-3.0+
 Group:  System/Boot
-Version:5.0.85
+Version:5.0.86
 Release:0
 Source: %{name}-%{version}.tar.xz
 BuildRoot:  %{_tmppath}/%{name}-%{version}-build

++ linuxrc-5.0.85.tar.xz -> linuxrc-5.0.86.tar.xz ++
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/linuxrc-5.0.85/VERSION new/linuxrc-5.0.86/VERSION
--- old/linuxrc-5.0.85/VERSION  2016-09-13 15:10:49.0 +0200
+++ new/linuxrc-5.0.86/VERSION  2016-09-30 16:50:19.0 +0200
@@ -1 +1 @@
-5.0.85
+5.0.86
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/linuxrc-5.0.85/changelog new/linuxrc-5.0.86/changelog
--- old/linuxrc-5.0.85/changelog2016-09-13 15:10:49.0 +0200
+++ new/linuxrc-5.0.86/changelog2016-09-30 16:50:19.0 +0200
@@ -1,3 +1,6 @@
+2016-09-30:5.0.86
+   - don't configure ibft devices in linuxrc (bsc #997598)
+
 2016-09-13:5.0.85
- Don't enforce keymap conversion to unicode
- Unify keymaps with YaST after recent changes in yast2-country
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/linuxrc-5.0.85/file.c new/linuxrc-5.0.86/file.c
--- old/linuxrc-5.0.85/file.c   2016-09-13 15:10:49.0 +0200
+++ new/linuxrc-5.0.86/file.c   2016-09-30 16:50:19.0 +0200
@@ -309,6 +309,7 @@
   { key_sethostname,"SetHostname",kf_cfg + kf_cmd_early  },
   { key_debugshell, "DebugShell", kf_cfg + kf_cmd + kf_cmd_early },
   { key_self_update,"SelfUpdate", kf_cfg + kf_cmd},
+  { key_ibft_devices,   "IBFTDevices",kf_cfg + kf_cmd},
 };
 
 static struct {
@@ -1768,6 +1769,10 @@
 }
 break;
 
+  case key_ibft_devices:
+slist_assign_values(, f->value);
+break;
+
   default:
 break;
 }
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/linuxrc-5.0.85/file.h new/linuxrc-5.0.86/file.h
--- old/linuxrc-5.0.85/file.h   2016-09-13 15:10:49.0 +0200
+++ new/linuxrc-5.0.86/file.h   2016-09-30 16:50:19.0 +0200
@@ -54,7 +54,8 @@
   key_namescheme, key_ptoptions, key_is_ptoption, key_withfcoe, key_digests,
   key_plymouth, key_sslcerts, key_restart, key_restarted, key_autoyast2,
   key_withipoib, key_upgrade, key_ifcfg, key_defaultinstall, key_nanny, 
key_vlanid,
-  key_sshkey, key_systemboot, key_sethostname, key_debugshell, key_self_update
+  key_sshkey, key_systemboot, key_sethostname, key_debugshell, key_self_update,
+  key_ibft_devices
 } file_key_t;
 
 typedef enum {
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/linuxrc-5.0.85/global.h new/linuxrc-5.0.86/global.h
--- old/linuxrc-5.0.85/global.h 2016-09-13 15:10:49.0 +0200
+++ new/linuxrc-5.0.86/global.h 2016-09-30 16:50:19.0 +0200
@@ -690,6 +690,7 @@
 slist_t *if_up;/* network interfaces != lo that are 'up' */
 char *current; /* interface name for last written ifcfg file */
 slist_t *to_global;/* keys that go to global 
/etc/sysconfig/network/config */
+slist_t *ibft; /* list of ibft interfaces (not to be 
configured by linuxrc) */
   } ifcfg;
 
   struct {
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/linuxrc-5.0.85/linuxrc.c new/linuxrc-5.0.86/linuxrc.c
--- old/linuxrc-5.0.85/linuxrc.c2016-09-13 15:10:49.0 +0200
+++ new/linuxrc-5.0.86/linuxrc.c2016-09-30 16:50:19.0 +0200
@@ -676,6 +676,7 @@
 void lxrc_init()
 {
   int i;
+  slist_t *sl;
 
   

commit linuxrc for openSUSE:Factory

2016-09-17 Thread h_root
Hello community,

here is the log from the commit of package linuxrc for openSUSE:Factory checked 
in at 2016-09-17 14:31:47

Comparing /work/SRC/openSUSE:Factory/linuxrc (Old)
 and  /work/SRC/openSUSE:Factory/.linuxrc.new (New)


Package is "linuxrc"

Changes:

--- /work/SRC/openSUSE:Factory/linuxrc/linuxrc.changes  2016-07-20 
09:16:00.0 +0200
+++ /work/SRC/openSUSE:Factory/.linuxrc.new/linuxrc.changes 2016-09-17 
14:31:48.0 +0200
@@ -1,0 +2,7 @@
+Tue Sep 13 13:15:23 UTC 2016 - snw...@suse.com
+
+- Don't enforce keymap conversion to unicode
+- Unify keymaps with YaST after recent changes in yast2-country
+- 5.0.85
+
+---

Old:

  linuxrc-5.0.84.tar.xz

New:

  linuxrc-5.0.85.tar.xz



Other differences:
--
++ linuxrc.spec ++
--- /var/tmp/diff_new_pack.2XOOH1/_old  2016-09-17 14:31:49.0 +0200
+++ /var/tmp/diff_new_pack.2XOOH1/_new  2016-09-17 14:31:49.0 +0200
@@ -25,7 +25,7 @@
 Summary:SUSE Installation Program
 License:GPL-3.0+
 Group:  System/Boot
-Version:5.0.84
+Version:5.0.85
 Release:0
 Source: %{name}-%{version}.tar.xz
 BuildRoot:  %{_tmppath}/%{name}-%{version}-build

++ linuxrc-5.0.84.tar.xz -> linuxrc-5.0.85.tar.xz ++
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/linuxrc-5.0.84/VERSION new/linuxrc-5.0.85/VERSION
--- old/linuxrc-5.0.84/VERSION  2016-07-13 14:51:26.0 +0200
+++ new/linuxrc-5.0.85/VERSION  2016-09-13 15:10:49.0 +0200
@@ -1 +1 @@
-5.0.84
+5.0.85
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/linuxrc-5.0.84/changelog new/linuxrc-5.0.85/changelog
--- old/linuxrc-5.0.84/changelog2016-07-13 14:51:26.0 +0200
+++ new/linuxrc-5.0.85/changelog2016-09-13 15:10:49.0 +0200
@@ -1,3 +1,7 @@
+2016-09-13:5.0.85
+   - Don't enforce keymap conversion to unicode
+   - Unify keymaps with YaST after recent changes in yast2-country
+
 2016-07-13:5.0.84
- fix reading instsys id (related to bsc #974601)
 
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/linuxrc-5.0.84/settings.c 
new/linuxrc-5.0.85/settings.c
--- old/linuxrc-5.0.84/settings.c   2016-07-13 14:51:26.0 +0200
+++ new/linuxrc-5.0.85/settings.c   2016-09-13 15:10:49.0 +0200
@@ -26,66 +26,34 @@
 #include "url.h"
 #include "net.h"
 
-
-#define KM_L1 "iso-8859-15"
-#define KM_L2 "iso-8859-2"
-#define KM_L7 "iso-8859-7"
-#define KM_KOI "koi8-r"
-
-
-/* keymap encodings */
-struct {
-  char *map;
-  char *enc;
-} km_enc[] = {
-  { "Pl02", KM_L2  },
-  { "be-latin1",KM_L1  },
-  { "br-abnt2", KM_L1  },
-  { "cz-us-qwertz", KM_L2  },
-  { "de-latin1-nodeadkeys",   KM_L1  },
-  { "es",   KM_L1  },
-  { "fr-latin1",KM_L1  },
-  { "gr",   KM_L7  },
-  { "hu",   KM_L2  },
-  { "it",   KM_L1  },
-  { "no-latin1",KM_L1  },
-  { "pt-latin1",KM_L1  },
-  { "fi-latin1",KM_L1  },
-  { "sv-latin1",KM_L1  },
-  { "ru1",  KM_KOI },
-  { "sk-qwerty",KM_L2  },
-  { "slovene",  KM_L2  }
-};
-
-
 #define LANG_DEFAULT lang_en
 static language_t set_languages_arm[] = {
   { lang_af, "Afrikaans", "us", "af_ZA", "af" },
   { lang_bg, "Bulgarian", "us", "bg_BG", "bg" },
   { lang_ca, "Catala", "us", "ca_ES", "ca" },
-  { lang_cs, "Cestina", "cz-us-qwertz", "cs_CZ", "cs" },
+  { lang_cs, "Cestina", "cz", "cs_CZ", "cs" },
   { lang_da, "Dansk", "dk", "da_DK", "da" },
-  { lang_de, "Deutsch", "de-latin1-nodeadkeys", "de_DE", "de" },
+  { lang_de, "Deutsch", "de-nodeadkeys", "de_DE", "de" },
   { lang_en, "English", "us", "en_US", "en_US" },
   { lang_es, "Espanol", "es", "es_ES", "es" },
-  { lang_fr, "Francais", "fr-latin1", "fr_FR", "fr" },
+  { lang_fr, "Francais", "fr", "fr_FR", "fr" },
   { lang_el, "Greek", "gr", "el_GR", "el" },
   { lang_it, "Italiano", "it", "it_IT", "it" },
-  { lang_ja, "Japanese", "jp106", "ja_JP", "ja" },
+  { lang_ja, "Japanese", "jp", "ja_JP", "ja" },
   { lang_hu, "Magyar", "hu", "hu_HU", "hu" },
-  { lang_nl, "Nederlands", "us", "nl_NL", "nl" },
-  { lang_nb, "Norsk", "no-latin1", "nb_NO", "nb" },
-  { lang_pl, "Polski", "Pl02", "pl_PL", "pl" },
-  { lang_pt, "Portugues", "pt-latin1", "pt_PT", "pt" },
-  { lang_pt_BR, "Portugues brasileiro", "br-abnt2", "pt_BR", "pt_BR" },
-  { lang_ru, "Russian", "ru1", "ru_RU", "ru" },
+  { lang_nl, "Nederlands", "nl", "nl_NL", "nl" },
+  { lang_nb, "Norsk", "no", "nb_NO", "nb" },
+  { lang_pl, "Polski", "pl", "pl_PL", "pl" },
+  { lang_pt, "Portugues", "pt", "pt_PT", "pt" 

commit linuxrc for openSUSE:Factory

2016-07-20 Thread h_root
Hello community,

here is the log from the commit of package linuxrc for openSUSE:Factory checked 
in at 2016-07-20 09:15:57

Comparing /work/SRC/openSUSE:Factory/linuxrc (Old)
 and  /work/SRC/openSUSE:Factory/.linuxrc.new (New)


Package is "linuxrc"

Changes:

--- /work/SRC/openSUSE:Factory/linuxrc/linuxrc.changes  2016-06-26 
23:51:38.0 +0200
+++ /work/SRC/openSUSE:Factory/.linuxrc.new/linuxrc.changes 2016-07-20 
09:16:00.0 +0200
@@ -1,0 +2,6 @@
+Wed Jul 13 12:56:17 UTC 2016 - snw...@suse.com
+
+- fix reading instsys id (related to bsc#974601)
+- 5.0.84
+
+---

Old:

  linuxrc-5.0.83.tar.xz

New:

  linuxrc-5.0.84.tar.xz



Other differences:
--
++ linuxrc.spec ++
--- /var/tmp/diff_new_pack.1f7SQ1/_old  2016-07-20 09:16:01.0 +0200
+++ /var/tmp/diff_new_pack.1f7SQ1/_new  2016-07-20 09:16:01.0 +0200
@@ -25,7 +25,7 @@
 Summary:SUSE Installation Program
 License:GPL-3.0+
 Group:  System/Boot
-Version:5.0.83
+Version:5.0.84
 Release:0
 Source: %{name}-%{version}.tar.xz
 BuildRoot:  %{_tmppath}/%{name}-%{version}-build

++ linuxrc-5.0.83.tar.xz -> linuxrc-5.0.84.tar.xz ++
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/linuxrc-5.0.83/VERSION new/linuxrc-5.0.84/VERSION
--- old/linuxrc-5.0.83/VERSION  2016-06-22 16:37:25.0 +0200
+++ new/linuxrc-5.0.84/VERSION  2016-07-13 14:51:26.0 +0200
@@ -1 +1 @@
-5.0.83
+5.0.84
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/linuxrc-5.0.83/changelog new/linuxrc-5.0.84/changelog
--- old/linuxrc-5.0.83/changelog2016-06-22 16:37:25.0 +0200
+++ new/linuxrc-5.0.84/changelog2016-07-13 14:51:26.0 +0200
@@ -1,3 +1,6 @@
+2016-07-13:5.0.84
+   - fix reading instsys id (related to bsc #974601)
+
 2016-06-22:5.0.83
- document XVideo option (bsc #974821)
 
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/linuxrc-5.0.83/install.c new/linuxrc-5.0.84/install.c
--- old/linuxrc-5.0.83/install.c2016-06-22 16:37:25.0 +0200
+++ new/linuxrc-5.0.84/install.c2016-07-13 14:51:26.0 +0200
@@ -1194,7 +1194,7 @@
 }
   }
 
-  file_read_info_file("/.instsys.config", kf_cfg);
+  file_read_info_file("file:/.instsys.config", kf_cfg);
 
   file_write_install_inf("");
 




commit linuxrc for openSUSE:Factory

2016-06-26 Thread h_root
Hello community,

here is the log from the commit of package linuxrc for openSUSE:Factory checked 
in at 2016-06-26 23:51:37

Comparing /work/SRC/openSUSE:Factory/linuxrc (Old)
 and  /work/SRC/openSUSE:Factory/.linuxrc.new (New)


Package is "linuxrc"

Changes:

--- /work/SRC/openSUSE:Factory/linuxrc/linuxrc.changes  2016-05-23 
16:36:20.0 +0200
+++ /work/SRC/openSUSE:Factory/.linuxrc.new/linuxrc.changes 2016-06-26 
23:51:38.0 +0200
@@ -1,0 +2,12 @@
+Wed Jun 22 14:40:18 UTC 2016 - snw...@suse.com
+
+- document XVideo option (bsc#974821)
+- 5.0.83
+
+---
+Tue Jun 14 08:25:25 UTC 2016 - snw...@suse.com
+
+- restore standard IO file descriptors when returning from external shell 
(bsc#983014)
+- 5.0.82
+
+---

Old:

  linuxrc-5.0.81.tar.xz

New:

  linuxrc-5.0.83.tar.xz



Other differences:
--
++ linuxrc.spec ++
--- /var/tmp/diff_new_pack.0HSgRg/_old  2016-06-26 23:51:39.0 +0200
+++ /var/tmp/diff_new_pack.0HSgRg/_new  2016-06-26 23:51:39.0 +0200
@@ -25,7 +25,7 @@
 Summary:SUSE Installation Program
 License:GPL-3.0+
 Group:  System/Boot
-Version:5.0.81
+Version:5.0.83
 Release:0
 Source: %{name}-%{version}.tar.xz
 BuildRoot:  %{_tmppath}/%{name}-%{version}-build

++ linuxrc-5.0.81.tar.xz -> linuxrc-5.0.83.tar.xz ++
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/linuxrc-5.0.81/VERSION new/linuxrc-5.0.83/VERSION
--- old/linuxrc-5.0.81/VERSION  2016-05-18 11:50:57.0 +0200
+++ new/linuxrc-5.0.83/VERSION  2016-06-22 16:37:25.0 +0200
@@ -1 +1 @@
-5.0.81
+5.0.83
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/linuxrc-5.0.81/changelog new/linuxrc-5.0.83/changelog
--- old/linuxrc-5.0.81/changelog2016-05-18 11:50:57.0 +0200
+++ new/linuxrc-5.0.83/changelog2016-06-22 16:37:25.0 +0200
@@ -1,3 +1,9 @@
+2016-06-22:5.0.83
+   - document XVideo option (bsc #974821)
+
+2016-06-14:5.0.82
+   - restore standard IO file descriptors when returning from external 
shell (bsc #983014)
+
 2016-05-18:5.0.81
- activate AutoUpgrade if Upgrade + AutoYaST are set (bsc #978252)
 
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/linuxrc-5.0.81/dialog.c new/linuxrc-5.0.83/dialog.c
--- old/linuxrc-5.0.81/dialog.c 2016-05-18 11:50:57.0 +0200
+++ new/linuxrc-5.0.83/dialog.c 2016-06-22 16:37:25.0 +0200
@@ -1508,27 +1508,7 @@
}
   }
   else if(i == -74) {
-kbd_end(0);
-if(config.win) {
-  disp_cursor_on();
-}
-if(!config.linemode) {
-  printf("\033c");
-  if(config.utf8) printf("\033%%G");
-  fflush(stdout);
-}
-
-char *cmd = NULL;
-strprintf(, "exec %s 2>&1", config.debugshell ?: "/bin/sh");
-system(cmd);
-free(cmd);
-
-kbd_init(0);
-if(config.win) {
-  disp_cursor_off();
-  if(!config.linemode) disp_restore_screen();
-}
-
+util_run_debugshell();
   } else {
break;
   }
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/linuxrc-5.0.81/linuxrc_yast_interface.txt 
new/linuxrc-5.0.83/linuxrc_yast_interface.txt
--- old/linuxrc-5.0.81/linuxrc_yast_interface.txt   2016-05-18 
11:50:57.0 +0200
+++ new/linuxrc-5.0.83/linuxrc_yast_interface.txt   2016-06-22 
16:37:25.0 +0200
@@ -303,6 +303,17 @@
 # 0: secure mode enabled
 Insecure: 0|1
 
+# xvideo option as passed at the boot prompt
+#
+# Option accepts a screen size ("1024x768") optionally followed by a
+# screen resolution in dpi ("1024x768,100").
+#
+# This is expected to only change the installer screen size and not to be
+# applied to the installed system.
+#
+# entry is missing if no xvideo option was used
+XVideo: %s
+
 *** Note ***
 
  There may be some more entries in install.inf but they are put there by
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/linuxrc-5.0.81/settings.c 
new/linuxrc-5.0.83/settings.c
--- old/linuxrc-5.0.81/settings.c   2016-05-18 11:50:57.0 +0200
+++ new/linuxrc-5.0.83/settings.c   2016-06-22 16:37:25.0 +0200
@@ -587,26 +587,7 @@
break;
 
 case di_extras_shell:
-kbd_end(0);
-if(config.win) {
-  disp_cursor_on();
-}
-if(!config.linemode) {
-  printf("\033c");
-  if(config.utf8) 

commit linuxrc for openSUSE:Factory

2016-05-23 Thread h_root
Hello community,

here is the log from the commit of package linuxrc for openSUSE:Factory checked 
in at 2016-05-23 16:36:19

Comparing /work/SRC/openSUSE:Factory/linuxrc (Old)
 and  /work/SRC/openSUSE:Factory/.linuxrc.new (New)


Package is "linuxrc"

Changes:

--- /work/SRC/openSUSE:Factory/linuxrc/linuxrc.changes  2016-05-02 
10:43:37.0 +0200
+++ /work/SRC/openSUSE:Factory/.linuxrc.new/linuxrc.changes 2016-05-23 
16:36:20.0 +0200
@@ -1,0 +2,27 @@
+Wed May 18 09:55:14 UTC 2016 - snw...@suse.com
+
+- activate AutoUpgrade if Upgrade + AutoYaST are set (bsc#978252)
+- 5.0.81
+
+---
+Wed May 18 09:35:17 UTC 2016 - snw...@suse.com
+
+- Removed unnecessary definition for win
+- Converted multiple dialog calls to one
+- Added definition for win variable used by dia_info
+- Updated the copyright information that is displayed on the console.
+- 5.0.80
+
+---
+Tue May 17 13:30:17 UTC 2016 - snw...@suse.com
+
+- ensure the correct interfaces are (de-)activated when using vlan tagging 
(bsc#971166)
+- 5.0.79
+
+---
+Tue May 17 12:50:17 UTC 2016 - snw...@suse.com
+
+- sanitize hostname handling (fate#319639)
+- 5.0.78
+
+---

Old:

  linuxrc-5.0.77.tar.xz

New:

  linuxrc-5.0.81.tar.xz



Other differences:
--
++ linuxrc.spec ++
--- /var/tmp/diff_new_pack.cfUyC1/_old  2016-05-23 16:36:21.0 +0200
+++ /var/tmp/diff_new_pack.cfUyC1/_new  2016-05-23 16:36:21.0 +0200
@@ -25,7 +25,7 @@
 Summary:SUSE Installation Program
 License:GPL-3.0+
 Group:  System/Boot
-Version:5.0.77
+Version:5.0.81
 Release:0
 Source: %{name}-%{version}.tar.xz
 BuildRoot:  %{_tmppath}/%{name}-%{version}-build

++ linuxrc-5.0.77.tar.xz -> linuxrc-5.0.81.tar.xz ++
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/linuxrc-5.0.77/VERSION new/linuxrc-5.0.81/VERSION
--- old/linuxrc-5.0.77/VERSION  2016-04-25 16:14:36.0 +0200
+++ new/linuxrc-5.0.81/VERSION  2016-05-18 11:50:57.0 +0200
@@ -1 +1 @@
-5.0.77
+5.0.81
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/linuxrc-5.0.77/changelog new/linuxrc-5.0.81/changelog
--- old/linuxrc-5.0.77/changelog2016-04-25 16:14:36.0 +0200
+++ new/linuxrc-5.0.81/changelog2016-05-18 11:50:57.0 +0200
@@ -1,3 +1,18 @@
+2016-05-18:5.0.81
+   - activate AutoUpgrade if Upgrade + AutoYaST are set (bsc #978252)
+
+2016-05-09:5.0.80
+   - Removed unnecessary definition for win
+   - Converted multiple dialog calls to one
+   - Added definition for win variable used by dia_info
+   - Updated the copyright information that is displayed on the console.
+
+2016-05-02:5.0.79
+   - ensure the correct interfaces are (de-)activated when using vlan 
tagging (bsc #971166)
+
+2016-05-04:5.0.78
+   - sanitize hostname handling (fate #319639)
+
 2016-04-25:5.0.77
- remove O_TMPFILE workaround needed for bsc #964709 and bsc #965068
 
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/linuxrc-5.0.77/file.c new/linuxrc-5.0.81/file.c
--- old/linuxrc-5.0.77/file.c   2016-04-25 16:14:36.0 +0200
+++ new/linuxrc-5.0.81/file.c   2016-05-18 11:50:57.0 +0200
@@ -1895,13 +1895,6 @@
   if(config.net.realhostname) {
 file_write_str(f, key_hostname, config.net.realhostname);
   }
-  else {
-char buf[256];
-if(!gethostname(buf, sizeof buf)) {
-  log_debug("hostname = \"%s\"\n", buf);
-  if(*buf && strcmp(buf, "(none)")) file_write_str(f, key_hostname, buf);
-}
-  }
 
   LXRC_WAIT
 
@@ -1914,6 +1907,14 @@
   file_write_num(f, key_yast2update, config.update.ask || config.update.count 
? 1 : 0);
   file_write_num(f, key_textmode, config.textmode);
   file_write_str(f, key_autoyast, config.autoyast);
+  /*
+   * autoyast + upgrade = autoupgrade
+   *
+   * autoyast uses a different config var to trigger updates for historical 
reasons
+   */
+  if(config.autoyast && config.upgrade) {
+fprintf(f, "AutoUpgrade: 1\n");
+  }
   file_write_num(f, key_memfree, config.memoryXXX.current >> 10);  // 
convention: in kB
   file_write_num(f, key_vnc, config.vnc);
   file_write_str(f, key_vncpassword, config.net.vncpassword);
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/linuxrc-5.0.77/install.c new/linuxrc-5.0.81/install.c
--- 

commit linuxrc for openSUSE:Factory

2016-05-02 Thread h_root
Hello community,

here is the log from the commit of package linuxrc for openSUSE:Factory checked 
in at 2016-05-02 10:43:36

Comparing /work/SRC/openSUSE:Factory/linuxrc (Old)
 and  /work/SRC/openSUSE:Factory/.linuxrc.new (New)


Package is "linuxrc"

Changes:

--- /work/SRC/openSUSE:Factory/linuxrc/linuxrc.changes  2016-04-05 
10:41:21.0 +0200
+++ /work/SRC/openSUSE:Factory/.linuxrc.new/linuxrc.changes 2016-05-02 
10:43:37.0 +0200
@@ -1,0 +2,6 @@
+Mon Apr 25 14:15:24 UTC 2016 - snw...@suse.com
+
+- remove O_TMPFILE workaround needed for bsc#964709 and bsc#965068
+- 5.0.77
+
+---

Old:

  linuxrc-5.0.76.tar.xz

New:

  linuxrc-5.0.77.tar.xz



Other differences:
--
++ linuxrc.spec ++
--- /var/tmp/diff_new_pack.cDeBIk/_old  2016-05-02 10:43:38.0 +0200
+++ /var/tmp/diff_new_pack.cDeBIk/_new  2016-05-02 10:43:38.0 +0200
@@ -25,7 +25,7 @@
 Summary:SUSE Installation Program
 License:GPL-3.0+
 Group:  System/Boot
-Version:5.0.76
+Version:5.0.77
 Release:0
 Source: %{name}-%{version}.tar.xz
 BuildRoot:  %{_tmppath}/%{name}-%{version}-build

++ linuxrc-5.0.76.tar.xz -> linuxrc-5.0.77.tar.xz ++
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/linuxrc-5.0.76/VERSION new/linuxrc-5.0.77/VERSION
--- old/linuxrc-5.0.76/VERSION  2016-03-31 10:27:44.0 +0200
+++ new/linuxrc-5.0.77/VERSION  2016-04-25 16:14:36.0 +0200
@@ -1 +1 @@
-5.0.76
+5.0.77
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/linuxrc-5.0.76/changelog new/linuxrc-5.0.77/changelog
--- old/linuxrc-5.0.76/changelog2016-03-31 10:27:44.0 +0200
+++ new/linuxrc-5.0.77/changelog2016-04-25 16:14:36.0 +0200
@@ -1,3 +1,6 @@
+2016-04-25:5.0.77
+   - remove O_TMPFILE workaround needed for bsc #964709 and bsc #965068
+
 2015-10-15:5.0.76
- Do not limit number of inodes in tmpfs overlay (bsc #951015)
 
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/linuxrc-5.0.76/util.c new/linuxrc-5.0.77/util.c
--- old/linuxrc-5.0.76/util.c   2016-03-31 10:27:44.0 +0200
+++ new/linuxrc-5.0.77/util.c   2016-04-25 16:14:36.0 +0200
@@ -5353,14 +5353,7 @@
 
   if(!cmd) return err;
 
-#ifdef __aarch64__
-#warning "ugly workaround activated - please remove as soon as glibc is fixed"
-  // O_TMPFILE definition is broken - see (bsc#965068)
-  fd = open("/tmp", 0x404000 | O_RDWR, S_IRUSR | S_IWUSR);
-#else
-  // workaround: include O_DIRECTORY so it works on ppc64 (bsc #964709)
-  fd = open("/tmp", O_TMPFILE | O_DIRECTORY | O_RDWR, S_IRUSR | S_IWUSR);
-#endif
+  fd = open("/tmp", O_TMPFILE | O_RDWR, S_IRUSR | S_IWUSR);
 
   if(fd == -1) {
 perror_debug("failed to create tmp file");




commit linuxrc for openSUSE:Factory

2016-04-05 Thread h_root
Hello community,

here is the log from the commit of package linuxrc for openSUSE:Factory checked 
in at 2016-04-05 10:41:20

Comparing /work/SRC/openSUSE:Factory/linuxrc (Old)
 and  /work/SRC/openSUSE:Factory/.linuxrc.new (New)


Package is "linuxrc"

Changes:

--- /work/SRC/openSUSE:Factory/linuxrc/linuxrc.changes  2016-03-18 
21:37:38.0 +0100
+++ /work/SRC/openSUSE:Factory/.linuxrc.new/linuxrc.changes 2016-04-05 
10:41:21.0 +0200
@@ -1,0 +2,6 @@
+Thu Mar 31 08:30:18 UTC 2016 - snw...@suse.com
+
+- Do not limit number of inodes in tmpfs overlay (bsc#951015)
+- 5.0.76
+
+---

Old:

  linuxrc-5.0.75.tar.xz

New:

  linuxrc-5.0.76.tar.xz



Other differences:
--
++ linuxrc.spec ++
--- /var/tmp/diff_new_pack.HTGyDv/_old  2016-04-05 10:41:22.0 +0200
+++ /var/tmp/diff_new_pack.HTGyDv/_new  2016-04-05 10:41:22.0 +0200
@@ -25,7 +25,7 @@
 Summary:SUSE Installation Program
 License:GPL-3.0+
 Group:  System/Boot
-Version:5.0.75
+Version:5.0.76
 Release:0
 Source: %{name}-%{version}.tar.xz
 BuildRoot:  %{_tmppath}/%{name}-%{version}-build

++ linuxrc-5.0.75.tar.xz -> linuxrc-5.0.76.tar.xz ++
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/linuxrc-5.0.75/VERSION new/linuxrc-5.0.76/VERSION
--- old/linuxrc-5.0.75/VERSION  2016-03-14 11:40:28.0 +0100
+++ new/linuxrc-5.0.76/VERSION  2016-03-31 10:27:44.0 +0200
@@ -1 +1 @@
-5.0.75
+5.0.76
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/linuxrc-5.0.75/changelog new/linuxrc-5.0.76/changelog
--- old/linuxrc-5.0.75/changelog2016-03-14 11:40:28.0 +0100
+++ new/linuxrc-5.0.76/changelog2016-03-31 10:27:44.0 +0200
@@ -1,3 +1,6 @@
+2015-10-15:5.0.76
+   - Do not limit number of inodes in tmpfs overlay (bsc #951015)
+
 2016-03-10:5.0.75
- fix network url handling (fate #318899)
 
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/linuxrc-5.0.75/linuxrc.c new/linuxrc-5.0.76/linuxrc.c
--- old/linuxrc-5.0.75/linuxrc.c2016-03-14 11:40:28.0 +0100
+++ new/linuxrc-5.0.76/linuxrc.c2016-03-31 10:27:44.0 +0200
@@ -421,7 +421,7 @@
 return;
   }
 
-  i = mount("tmpfs", newroot, "tmpfs", 0, "size=100%");
+  i = mount("tmpfs", newroot, "tmpfs", 0, "size=100%,nr_inodes=0");
   if(i) {
 perror(newroot);
 return;




commit linuxrc for openSUSE:Factory

2016-03-19 Thread h_root
Hello community,

here is the log from the commit of package linuxrc for openSUSE:Factory checked 
in at 2016-03-18 21:37:37

Comparing /work/SRC/openSUSE:Factory/linuxrc (Old)
 and  /work/SRC/openSUSE:Factory/.linuxrc.new (New)


Package is "linuxrc"

Changes:

--- /work/SRC/openSUSE:Factory/linuxrc/linuxrc.changes  2016-02-23 
16:53:02.0 +0100
+++ /work/SRC/openSUSE:Factory/.linuxrc.new/linuxrc.changes 2016-03-18 
21:37:38.0 +0100
@@ -1,0 +2,26 @@
+Mon Mar 14 10:45:15 UTC 2016 - snw...@suse.com
+
+- fix network url handling (fate#318899)
+- 5.0.75
+
+---
+Mon Mar 14 10:40:15 UTC 2016 - snw...@suse.com
+
+- Made the following changes for fate#320112
+- Removed all the code that asks for an OSA Portname
+- If a Portname is found in the parameters, output a message saying it's 
deprecated
+- Updated linuxrc.html to indicate that Portname is deprecated
+- Updated linuxrc.html to also indicate that OsaMedium was deprecated, since 
people are still specifying it
+- 5.0.74
+
+---
+Mon Mar 14 10:30:18 UTC 2016 - snw...@suse.com
+
+- Bring back Insecure documentation
+- Simplify calculation of Insecure value in /etc/install.inf
+- Writes Insecure parameter in install.inf
+- Uses a string to store self.self_update_url
+- Add SelfUpdate parameter (fate#319716)
+- 5.0.73
+
+---

Old:

  linuxrc-5.0.72.tar.xz

New:

  linuxrc-5.0.75.tar.xz



Other differences:
--
++ linuxrc.spec ++
--- /var/tmp/diff_new_pack.gHb8bs/_old  2016-03-18 21:37:39.0 +0100
+++ /var/tmp/diff_new_pack.gHb8bs/_new  2016-03-18 21:37:39.0 +0100
@@ -25,7 +25,7 @@
 Summary:SUSE Installation Program
 License:GPL-3.0+
 Group:  System/Boot
-Version:5.0.72
+Version:5.0.75
 Release:0
 Source: %{name}-%{version}.tar.xz
 BuildRoot:  %{_tmppath}/%{name}-%{version}-build

++ linuxrc-5.0.72.tar.xz -> linuxrc-5.0.75.tar.xz ++
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/linuxrc-5.0.72/VERSION new/linuxrc-5.0.75/VERSION
--- old/linuxrc-5.0.72/VERSION  2016-02-18 11:18:29.0 +0100
+++ new/linuxrc-5.0.75/VERSION  2016-03-14 11:40:28.0 +0100
@@ -1 +1 @@
-5.0.72
+5.0.75
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/linuxrc-5.0.72/changelog new/linuxrc-5.0.75/changelog
--- old/linuxrc-5.0.72/changelog2016-02-18 11:18:29.0 +0100
+++ new/linuxrc-5.0.75/changelog2016-03-14 11:40:28.0 +0100
@@ -1,3 +1,20 @@
+2016-03-10:5.0.75
+   - fix network url handling (fate #318899)
+
+2016-02-19:5.0.74
+   - Made the following changes for FATE#320112
+   - Removed all the code that asks for an OSA Portname
+   - If a Portname is found in the parameters, output a message saying 
it's deprecated
+   - Updated linuxrc.html to indicate that Portname is deprecated
+   - Updated linuxrc.html to also indicate that OsaMedium was deprecated, 
since people are still specifying it
+
+2016-03-14:5.0.73
+   - Bring back Insecure documentation
+   - Simplify calculation of Insecure value in /etc/install.inf
+   - Writes Insecure parameter in install.inf
+   - Uses a string to store self.self_update_url
+   - Add SelfUpdate parameter (FATE#319716)
+
 2016-02-17:5.0.72
- fix extension handling
- improve user-defined url doc (fate #318899)
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/linuxrc-5.0.72/file.c new/linuxrc-5.0.75/file.c
--- old/linuxrc-5.0.72/file.c   2016-02-18 11:18:29.0 +0100
+++ new/linuxrc-5.0.75/file.c   2016-03-14 11:40:28.0 +0100
@@ -308,6 +308,7 @@
   { key_systemboot, "SystemBoot", kf_cfg + kf_cmd},
   { key_sethostname,"SetHostname",kf_cfg + kf_cmd_early  },
   { key_debugshell, "DebugShell", kf_cfg + kf_cmd + kf_cmd_early },
+  { key_self_update,"SelfUpdate", kf_cfg + kf_cmd},
 };
 
 static struct {
@@ -1224,7 +1225,9 @@
 if(*f->value) str_copy(, f->value);
 break;
   case key_portname:
-str_copy(, f->value);
+log_show("***\n"); 
+log_show("*** The Portname parameter is no longer needed. Please do 
not specify it.\n"); 
+log_show("***\n"); 
 break;
   case key_readchan:
 if(*f->value) str_copy(, f->value);
@@ -1756,6 +1759,15 @@
 str_copy(, *f->value ? f->value : NULL);
 break;
 
+  

commit linuxrc for openSUSE:Factory

2016-02-23 Thread h_root
Hello community,

here is the log from the commit of package linuxrc for openSUSE:Factory checked 
in at 2016-02-23 16:53:01

Comparing /work/SRC/openSUSE:Factory/linuxrc (Old)
 and  /work/SRC/openSUSE:Factory/.linuxrc.new (New)


Package is "linuxrc"

Changes:

--- /work/SRC/openSUSE:Factory/linuxrc/linuxrc.changes  2016-02-17 
12:15:15.0 +0100
+++ /work/SRC/openSUSE:Factory/.linuxrc.new/linuxrc.changes 2016-02-23 
16:53:02.0 +0100
@@ -1,0 +2,14 @@
+Thu Feb 18 10:20:17 UTC 2016 - snw...@suse.com
+
+- fix extension handling
+- improve user-defined url doc (fate#318899)
+- handle empty path component in url
+- user-defined urls: add linuxrc menus for network urls
+- user-defined urls: add linuxrc menus for local urls
+- add doc for user-defined urls
+- implement user-defined mountable url schemes
+- consolidate handling of url properties
+- introduce externally handled URL schemes
+- 5.0.72
+
+---

Old:

  linuxrc-5.0.71.tar.xz

New:

  linuxrc-5.0.72.tar.xz



Other differences:
--
++ linuxrc.spec ++
--- /var/tmp/diff_new_pack.1ZS5GX/_old  2016-02-23 16:53:03.0 +0100
+++ /var/tmp/diff_new_pack.1ZS5GX/_new  2016-02-23 16:53:03.0 +0100
@@ -25,7 +25,7 @@
 Summary:SUSE Installation Program
 License:GPL-3.0+
 Group:  System/Boot
-Version:5.0.71
+Version:5.0.72
 Release:0
 Source: %{name}-%{version}.tar.xz
 BuildRoot:  %{_tmppath}/%{name}-%{version}-build

++ linuxrc-5.0.71.tar.xz -> linuxrc-5.0.72.tar.xz ++
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/linuxrc-5.0.71/VERSION new/linuxrc-5.0.72/VERSION
--- old/linuxrc-5.0.71/VERSION  2016-02-12 10:38:43.0 +0100
+++ new/linuxrc-5.0.72/VERSION  2016-02-18 11:18:29.0 +0100
@@ -1 +1 @@
-5.0.71
+5.0.72
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/linuxrc-5.0.71/auto2.c new/linuxrc-5.0.72/auto2.c
--- old/linuxrc-5.0.71/auto2.c  2016-02-12 10:38:43.0 +0100
+++ new/linuxrc-5.0.72/auto2.c  2016-02-18 11:18:29.0 +0100
@@ -514,7 +514,7 @@
 
   log_debug("test_and_add_dud: all = %u\n", url->search_all);
 
-  is_dud = util_chk_driver_update(config.mountpoint.update, 
get_instmode_name(url->scheme));
+  is_dud = util_chk_driver_update(config.mountpoint.update, 
url_scheme2name(url->scheme));
 
   LXRC_WAIT;
 
@@ -1032,7 +1032,7 @@
 
   if(!err) err = util_mount_ro(file_name, config.mountpoint.update, NULL);
 
-  if(!err) util_chk_driver_update(config.mountpoint.update, 
get_instmode_name(url->scheme));
+  if(!err) util_chk_driver_update(config.mountpoint.update, 
url_scheme2name(url->scheme));
 
   util_umount(config.mountpoint.update);
 
@@ -1042,7 +1042,7 @@
 
   /* then, look for unpacked version */
   if(url->mount) {
-util_chk_driver_update(url->mount, get_instmode_name(url->scheme));
+util_chk_driver_update(url->mount, url_scheme2name(url->scheme));
   }
 
   if(config.win) win_close();
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/linuxrc-5.0.71/changelog new/linuxrc-5.0.72/changelog
--- old/linuxrc-5.0.71/changelog2016-02-12 10:38:43.0 +0100
+++ new/linuxrc-5.0.72/changelog2016-02-18 11:18:29.0 +0100
@@ -1,3 +1,14 @@
+2016-02-17:5.0.72
+   - fix extension handling
+   - improve user-defined url doc (fate #318899)
+   - handle empty path component in url
+   - user-defined urls: add linuxrc menus for network urls
+   - user-defined urls: add linuxrc menus for local urls
+   - add doc for user-defined urls
+   - implement user-defined mountable url schemes
+   - consolidate handling of url properties
+   - introduce externally handled URL schemes
+
 2016-02-11:5.0.71
- Workaround O_TMPFILE definition on SLE12 / aarch64 (bsc #965068)
 
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/linuxrc-5.0.71/dialog.c new/linuxrc-5.0.72/dialog.c
--- old/linuxrc-5.0.71/dialog.c 2016-02-12 10:38:43.0 +0100
+++ new/linuxrc-5.0.72/dialog.c 2016-02-18 11:18:29.0 +0100
@@ -118,7 +118,6 @@
   { di_wlan_open,"No Authentication"   },
   { di_wlan_wpa_psk, "WPA-PSK" },
   { di_wlan_wpa_peap,"WPA-PEAP"},
-
 };
 
 
@@ -1541,15 +1540,29 @@
 }
 
 
+/*
+ * Return menu text for item di.
+ */
 char *dia_get_text(dia_item_t di)
 {
   int i;
+  slist_t *sl;
   char *s = "";
 
-  for(i = 0; (unsigned) i < sizeof dia_texts / sizeof *dia_texts; i++) {
-if(dia_texts[i].item == di) {
-  s = dia_texts[i].text;
-

commit linuxrc for openSUSE:Factory

2016-02-17 Thread h_root
Hello community,

here is the log from the commit of package linuxrc for openSUSE:Factory checked 
in at 2016-02-17 10:33:11

Comparing /work/SRC/openSUSE:Factory/linuxrc (Old)
 and  /work/SRC/openSUSE:Factory/.linuxrc.new (New)


Package is "linuxrc"

Changes:

--- /work/SRC/openSUSE:Factory/linuxrc/linuxrc.changes  2016-02-11 
12:33:15.0 +0100
+++ /work/SRC/openSUSE:Factory/.linuxrc.new/linuxrc.changes 2016-02-17 
12:15:15.0 +0100
@@ -1,0 +2,6 @@
+Fri Feb 12 09:40:23 UTC 2016 - snw...@suse.com
+
+- Workaround O_TMPFILE definition on SLE12 / aarch64 (bsc#965068)
+- 5.0.71
+
+---

Old:

  linuxrc-5.0.70.tar.xz

New:

  linuxrc-5.0.71.tar.xz



Other differences:
--
++ linuxrc.spec ++
--- /var/tmp/diff_new_pack.WzRxzJ/_old  2016-02-17 12:15:16.0 +0100
+++ /var/tmp/diff_new_pack.WzRxzJ/_new  2016-02-17 12:15:16.0 +0100
@@ -25,7 +25,7 @@
 Summary:SUSE Installation Program
 License:GPL-3.0+
 Group:  System/Boot
-Version:5.0.70
+Version:5.0.71
 Release:0
 Source: %{name}-%{version}.tar.xz
 BuildRoot:  %{_tmppath}/%{name}-%{version}-build

++ linuxrc-5.0.70.tar.xz -> linuxrc-5.0.71.tar.xz ++
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/linuxrc-5.0.70/VERSION new/linuxrc-5.0.71/VERSION
--- old/linuxrc-5.0.70/VERSION  2016-02-05 16:23:18.0 +0100
+++ new/linuxrc-5.0.71/VERSION  2016-02-12 10:38:43.0 +0100
@@ -1 +1 @@
-5.0.70
+5.0.71
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/linuxrc-5.0.70/changelog new/linuxrc-5.0.71/changelog
--- old/linuxrc-5.0.70/changelog2016-02-05 16:23:18.0 +0100
+++ new/linuxrc-5.0.71/changelog2016-02-12 10:38:43.0 +0100
@@ -1,3 +1,6 @@
+2016-02-11:5.0.71
+   - Workaround O_TMPFILE definition on SLE12 / aarch64 (bsc #965068)
+
 2016-02-05:5.0.70
- allow commas in nameserver option for compatibility (bsc #965293)
 
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/linuxrc-5.0.70/util.c new/linuxrc-5.0.71/util.c
--- old/linuxrc-5.0.70/util.c   2016-02-05 16:23:18.0 +0100
+++ new/linuxrc-5.0.71/util.c   2016-02-12 10:38:43.0 +0100
@@ -5356,8 +5356,14 @@
 
   if(!cmd) return err;
 
+#ifdef __aarch64__
+#warning "ugly workaround activated - please remove as soon as glibc is fixed"
+  // O_TMPFILE definition is broken - see (bsc#965068)
+  fd = open("/tmp", 0x404000 | O_RDWR, S_IRUSR | S_IWUSR);
+#else
   // workaround: include O_DIRECTORY so it works on ppc64 (bsc #964709)
   fd = open("/tmp", O_TMPFILE | O_DIRECTORY | O_RDWR, S_IRUSR | S_IWUSR);
+#endif
 
   if(fd == -1) {
 perror_debug("failed to create tmp file");




commit linuxrc for openSUSE:Factory

2016-02-11 Thread h_root
Hello community,

here is the log from the commit of package linuxrc for openSUSE:Factory checked 
in at 2016-02-11 12:33:14

Comparing /work/SRC/openSUSE:Factory/linuxrc (Old)
 and  /work/SRC/openSUSE:Factory/.linuxrc.new (New)


Package is "linuxrc"

Changes:

--- /work/SRC/openSUSE:Factory/linuxrc/linuxrc.changes  2016-01-30 
11:34:39.0 +0100
+++ /work/SRC/openSUSE:Factory/.linuxrc.new/linuxrc.changes 2016-02-11 
12:33:15.0 +0100
@@ -1,0 +2,12 @@
+Fri Feb  5 15:25:37 UTC 2016 - snw...@suse.com
+
+- allow commas in nameserver option for compatibility (bsc#965293)
+- 5.0.70
+
+---
+Wed Feb  3 12:30:14 UTC 2016 - snw...@suse.com
+
+- workaround: include O_DIRECTORY so open(, O_TMPFILE) works on ppc64 
(bsc#964709)
+- 5.0.69
+
+---

Old:

  linuxrc-5.0.68.tar.xz

New:

  linuxrc-5.0.70.tar.xz



Other differences:
--
++ linuxrc.spec ++
--- /var/tmp/diff_new_pack.wNxl2t/_old  2016-02-11 12:33:16.0 +0100
+++ /var/tmp/diff_new_pack.wNxl2t/_new  2016-02-11 12:33:16.0 +0100
@@ -25,7 +25,7 @@
 Summary:SUSE Installation Program
 License:GPL-3.0+
 Group:  System/Boot
-Version:5.0.68
+Version:5.0.70
 Release:0
 Source: %{name}-%{version}.tar.xz
 BuildRoot:  %{_tmppath}/%{name}-%{version}-build

++ linuxrc-5.0.68.tar.xz -> linuxrc-5.0.70.tar.xz ++
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/linuxrc-5.0.68/VERSION new/linuxrc-5.0.70/VERSION
--- old/linuxrc-5.0.68/VERSION  2016-01-28 10:56:46.0 +0100
+++ new/linuxrc-5.0.70/VERSION  2016-02-05 16:23:18.0 +0100
@@ -1 +1 @@
-5.0.68
+5.0.70
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/linuxrc-5.0.68/changelog new/linuxrc-5.0.70/changelog
--- old/linuxrc-5.0.68/changelog2016-01-28 10:56:46.0 +0100
+++ new/linuxrc-5.0.70/changelog2016-02-05 16:23:18.0 +0100
@@ -1,3 +1,9 @@
+2016-02-05:5.0.70
+   - allow commas in nameserver option for compatibility (bsc #965293)
+
+2016-02-02:5.0.69
+   - workaround: include O_DIRECTORY so open(, O_TMPFILE) works on ppc64 
(bsc #964709)
+
 2016-01-25:5.0.68
- ensure we activate the correct interface when using vlan
- fix routing config when using vlan (bsc #961624)
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/linuxrc-5.0.68/file.c new/linuxrc-5.0.70/file.c
--- old/linuxrc-5.0.68/file.c   2016-01-28 10:56:46.0 +0100
+++ new/linuxrc-5.0.70/file.c   2016-02-05 16:23:18.0 +0100
@@ -686,7 +686,15 @@
 break;
   
   case key_nameserver:
-if(*f->value) str_copy(>ns, f->value);
+if(*f->value) {
+  str_copy(>ns, f->value);
+  // normally space separated list
+  // but allow comma separated list for compatibility
+  char *s = config.ifcfg.manual->ns;
+  do {
+if(*s == ',') *s = ' ';
+  } while(*s++);
+}
 break;
 
   case key_proxy:
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/linuxrc-5.0.68/util.c new/linuxrc-5.0.70/util.c
--- old/linuxrc-5.0.68/util.c   2016-01-28 10:56:46.0 +0100
+++ new/linuxrc-5.0.70/util.c   2016-02-05 16:23:18.0 +0100
@@ -5356,9 +5356,14 @@
 
   if(!cmd) return err;
 
-  fd = open("/tmp", O_TMPFILE | O_RDWR, S_IRUSR | S_IWUSR);
+  // workaround: include O_DIRECTORY so it works on ppc64 (bsc #964709)
+  fd = open("/tmp", O_TMPFILE | O_DIRECTORY | O_RDWR, S_IRUSR | S_IWUSR);
 
-  if(fd < 0) return err;
+  if(fd == -1) {
+perror_debug("failed to create tmp file");
+
+return err;
+  }
 
   strprintf(, "%s 2>&%d%s", cmd, fd, log_stdout ? " >&2" : "");
 




commit linuxrc for openSUSE:Factory

2016-01-30 Thread h_root
Hello community,

here is the log from the commit of package linuxrc for openSUSE:Factory checked 
in at 2016-01-30 11:34:38

Comparing /work/SRC/openSUSE:Factory/linuxrc (Old)
 and  /work/SRC/openSUSE:Factory/.linuxrc.new (New)


Package is "linuxrc"

Changes:

--- /work/SRC/openSUSE:Factory/linuxrc/linuxrc.changes  2016-01-21 
23:41:34.0 +0100
+++ /work/SRC/openSUSE:Factory/.linuxrc.new/linuxrc.changes 2016-01-30 
11:34:39.0 +0100
@@ -1,0 +2,19 @@
+Thu Jan 28 10:00:17 UTC 2016 - snw...@suse.com
+
+- ensure we activate the correct interface when using vlan
+- fix routing config when using vlan (bsc#961624)
+- 5.0.68
+
+---
+Wed Jan 27 09:05:17 UTC 2016 - snw...@suse.com
+
+- Modified file.c to only accept valid types of OsaInterface (bsc#937437)
+- 5.0.67
+
+---
+Tue Jan 26 11:00:19 UTC 2016 - snw...@suse.com
+
+- documented linuxrc/yast interface
+- 5.0.66
+
+---

Old:

  linuxrc-5.0.65.tar.xz

New:

  linuxrc-5.0.68.tar.xz



Other differences:
--
++ linuxrc.spec ++
--- /var/tmp/diff_new_pack.KNSZj7/_old  2016-01-30 11:34:40.0 +0100
+++ /var/tmp/diff_new_pack.KNSZj7/_new  2016-01-30 11:34:40.0 +0100
@@ -25,7 +25,7 @@
 Summary:SUSE Installation Program
 License:GPL-3.0+
 Group:  System/Boot
-Version:5.0.65
+Version:5.0.68
 Release:0
 Source: %{name}-%{version}.tar.xz
 BuildRoot:  %{_tmppath}/%{name}-%{version}-build

++ linuxrc-5.0.65.tar.xz -> linuxrc-5.0.68.tar.xz ++
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/linuxrc-5.0.65/VERSION new/linuxrc-5.0.68/VERSION
--- old/linuxrc-5.0.65/VERSION  2016-01-19 09:57:06.0 +0100
+++ new/linuxrc-5.0.68/VERSION  2016-01-28 10:56:46.0 +0100
@@ -1 +1 @@
-5.0.65
+5.0.68
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/linuxrc-5.0.65/changelog new/linuxrc-5.0.68/changelog
--- old/linuxrc-5.0.65/changelog2016-01-19 09:57:06.0 +0100
+++ new/linuxrc-5.0.68/changelog2016-01-28 10:56:46.0 +0100
@@ -1,3 +1,13 @@
+2016-01-25:5.0.68
+   - ensure we activate the correct interface when using vlan
+   - fix routing config when using vlan (bsc #961624)
+
+2016-01-25:5.0.67
+   - Modified file.c to only accept valid types of OsaInterface (bsc 
#937437)
+
+2016-01-26:5.0.66
+   - documented linuxrc/yast interface
+
 2016-01-19:5.0.65
- squashfs.ko might depend on lz4_decompress (bsc #962493)
 
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/linuxrc-5.0.65/file.c new/linuxrc-5.0.68/file.c
--- old/linuxrc-5.0.65/file.c   2016-01-19 09:57:06.0 +0100
+++ new/linuxrc-5.0.68/file.c   2016-01-28 10:56:46.0 +0100
@@ -1235,7 +1235,14 @@
 if(f->is.numeric) config.hwp.protocol = f->nvalue + 1;
 break;
   case key_osainterface:
-if(*f->value) config.hwp.interface=file_sym2num(f->value);
+if(*f->value) {
+  config.hwp.interface=file_sym2num(f->value);
+  if(config.hwp.interface != di_osa_lcs &&
+ config.hwp.interface != di_osa_qdio) {
+ log_show("\n*** The OsaInterface type of \"%s\" is not valid. 
Ignoring it.\n", f->value);
+ config.hwp.interface=0;
+  }
+}
 break;
 /*
  * The layer2 attribute is handled specially. We use IFNOTAUTO later on in 
net.c,
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/linuxrc-5.0.65/linuxrc_yast_interface.txt 
new/linuxrc-5.0.68/linuxrc_yast_interface.txt
--- old/linuxrc-5.0.65/linuxrc_yast_interface.txt   1970-01-01 
01:00:00.0 +0100
+++ new/linuxrc-5.0.68/linuxrc_yast_interface.txt   2016-01-28 
10:56:46.0 +0100
@@ -0,0 +1,301 @@
+linuxrc - yast interface
+
+
+linuxrc communicates with yast via two files:
+
+(1) /etc/install.inf
+  This file is written before linuxrc starts yast and contains a number of
+  variable settings in a 'key: value' (one per line) format.
+  yast is quite picky when parsing this file and makes e.g. a difference
+  between a missing key and a key set to 0.
+
+(2) /etc/yast.inf
+  This file is written by yast when it exits and tells linuxrc what it should
+  do or whether there was some error.
+  Entries are also in a 'key: value' format.
+
+
+*** Note ***
+
+  This document describes the settings in both file from a developer's
+  

commit linuxrc for openSUSE:Factory

2016-01-21 Thread h_root
Hello community,

here is the log from the commit of package linuxrc for openSUSE:Factory checked 
in at 2016-01-21 23:41:29

Comparing /work/SRC/openSUSE:Factory/linuxrc (Old)
 and  /work/SRC/openSUSE:Factory/.linuxrc.new (New)


Package is "linuxrc"

Changes:

--- /work/SRC/openSUSE:Factory/linuxrc/linuxrc.changes  2015-12-01 
09:17:25.0 +0100
+++ /work/SRC/openSUSE:Factory/.linuxrc.new/linuxrc.changes 2016-01-21 
23:41:34.0 +0100
@@ -1,0 +2,12 @@
+Tue Jan 19 09:00:14 UTC 2016 - snw...@suse.com
+
+- squashfs.ko might depend on lz4_decompress (bsc#962493)
+- 5.0.65
+
+---
+Fri Jan 15 02:30:13 UTC 2016 - snw...@suse.com
+
+- Removed the prompt for portname when configuring LCS interfaces (bsc#956603)
+- 5.0.64
+
+---

Old:

  linuxrc-5.0.63.tar.xz

New:

  linuxrc-5.0.65.tar.xz



Other differences:
--
++ linuxrc.spec ++
--- /var/tmp/diff_new_pack.eMsJdf/_old  2016-01-21 23:41:35.0 +0100
+++ /var/tmp/diff_new_pack.eMsJdf/_new  2016-01-21 23:41:35.0 +0100
@@ -1,7 +1,7 @@
 #
 # spec file for package linuxrc
 #
-# Copyright (c) 2015 SUSE LINUX Products GmbH, Nuernberg, Germany.
+# Copyright (c) 2016 SUSE LINUX Products GmbH, Nuernberg, Germany.
 #
 # All modifications and additions to the file contributed by third parties
 # remain the property of their copyright owners, unless otherwise agreed
@@ -25,7 +25,7 @@
 Summary:SUSE Installation Program
 License:GPL-3.0+
 Group:  System/Boot
-Version:5.0.63
+Version:5.0.65
 Release:0
 Source: %{name}-%{version}.tar.xz
 BuildRoot:  %{_tmppath}/%{name}-%{version}-build

++ linuxrc-5.0.63.tar.xz -> linuxrc-5.0.65.tar.xz ++
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/linuxrc-5.0.63/VERSION new/linuxrc-5.0.65/VERSION
--- old/linuxrc-5.0.63/VERSION  2015-11-23 16:42:59.0 +0100
+++ new/linuxrc-5.0.65/VERSION  2016-01-19 09:57:06.0 +0100
@@ -1 +1 @@
-5.0.63
+5.0.65
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/linuxrc-5.0.63/changelog new/linuxrc-5.0.65/changelog
--- old/linuxrc-5.0.63/changelog2015-11-23 16:42:59.0 +0100
+++ new/linuxrc-5.0.65/changelog2016-01-19 09:57:06.0 +0100
@@ -1,3 +1,9 @@
+2016-01-19:5.0.65
+   - squashfs.ko might depend on lz4_decompress (bsc #962493)
+
+2016-01-14:5.0.64
+   - Removed the prompt for portname when configuring LCS interfaces (bsc 
#956603)
+
 2015-11-23:5.0.63
- adjust buffer size to sane value
- document new logging behavior
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/linuxrc-5.0.63/linuxrc.c new/linuxrc-5.0.65/linuxrc.c
--- old/linuxrc-5.0.63/linuxrc.c2015-11-23 16:42:59.0 +0100
+++ new/linuxrc-5.0.65/linuxrc.c2016-01-19 09:57:06.0 +0100
@@ -1559,6 +1559,9 @@
   if(!insmod_done) {
 insmod_done = 1;
 lxrc_run("/sbin/insmod /modules/loop.ko max_loop=64");
+if(util_check_exist("/modules/lz4_decompress.ko")) {
+  lxrc_run("/sbin/insmod /modules/lz4_decompress.ko");
+}
   }
   strprintf(, "/parts/mp_%04u", config.mountpoint.initrd_parts++);
   mkdir(mp, 0755);
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/linuxrc-5.0.63/net.c new/linuxrc-5.0.65/net.c
--- old/linuxrc-5.0.63/net.c2015-11-23 16:42:59.0 +0100
+++ new/linuxrc-5.0.65/net.c2016-01-19 09:57:06.0 +0100
@@ -1552,9 +1552,6 @@
   
   if((rc=net_s390_getrwchans_ex(hd))) return rc;
   
-  IFNOTAUTO(config.hwp.portname)
-if((rc=dia_input2_chopspace("Enter the relative port number", 
,9,0))) return rc;
-
 }
 
 break;




commit linuxrc for openSUSE:Factory

2015-12-01 Thread h_root
Hello community,

here is the log from the commit of package linuxrc for openSUSE:Factory checked 
in at 2015-12-01 09:17:24

Comparing /work/SRC/openSUSE:Factory/linuxrc (Old)
 and  /work/SRC/openSUSE:Factory/.linuxrc.new (New)


Package is "linuxrc"

Changes:

--- /work/SRC/openSUSE:Factory/linuxrc/linuxrc.changes  2015-11-12 
19:37:13.0 +0100
+++ /work/SRC/openSUSE:Factory/.linuxrc.new/linuxrc.changes 2015-12-01 
09:17:25.0 +0100
@@ -1,0 +2,11 @@
+Mon Nov 23 14:44:09 UTC 2015 - snw...@suse.com
+
+- adjust buffer size to sane value
+- document new logging behavior
+- fix typo
+- remove old stderr handling code
+- log also function names
+- rewrite linuxrc logging function
+- 5.0.63
+
+---

Old:

  linuxrc-5.0.62.tar.xz

New:

  linuxrc-5.0.63.tar.xz



Other differences:
--
++ linuxrc.spec ++
--- /var/tmp/diff_new_pack.XCAads/_old  2015-12-01 09:17:26.0 +0100
+++ /var/tmp/diff_new_pack.XCAads/_new  2015-12-01 09:17:26.0 +0100
@@ -25,7 +25,7 @@
 Summary:SUSE Installation Program
 License:GPL-3.0+
 Group:  System/Boot
-Version:5.0.62
+Version:5.0.63
 Release:0
 Source: %{name}-%{version}.tar.xz
 BuildRoot:  %{_tmppath}/%{name}-%{version}-build

++ linuxrc-5.0.62.tar.xz -> linuxrc-5.0.63.tar.xz ++
 4364 lines of diff (skipped)




commit linuxrc for openSUSE:Factory

2015-11-12 Thread h_root
Hello community,

here is the log from the commit of package linuxrc for openSUSE:Factory checked 
in at 2015-11-12 19:37:12

Comparing /work/SRC/openSUSE:Factory/linuxrc (Old)
 and  /work/SRC/openSUSE:Factory/.linuxrc.new (New)


Package is "linuxrc"

Changes:

--- /work/SRC/openSUSE:Factory/linuxrc/linuxrc.changes  2015-10-28 
17:14:38.0 +0100
+++ /work/SRC/openSUSE:Factory/.linuxrc.new/linuxrc.changes 2015-11-12 
19:37:13.0 +0100
@@ -1,0 +2,7 @@
+Mon Nov  9 09:08:25 UTC 2015 - snw...@suse.com
+
+- remove obsolete code
+- fix wifi support in linuxrc (bsc#949938)
+- 5.0.62
+
+---

Old:

  linuxrc-5.0.61.tar.xz

New:

  linuxrc-5.0.62.tar.xz



Other differences:
--
++ linuxrc.spec ++
--- /var/tmp/diff_new_pack.KqgyjP/_old  2015-11-12 19:37:14.0 +0100
+++ /var/tmp/diff_new_pack.KqgyjP/_new  2015-11-12 19:37:14.0 +0100
@@ -25,7 +25,7 @@
 Summary:SUSE Installation Program
 License:GPL-3.0+
 Group:  System/Boot
-Version:5.0.61
+Version:5.0.62
 Release:0
 Source: %{name}-%{version}.tar.xz
 BuildRoot:  %{_tmppath}/%{name}-%{version}-build

++ linuxrc-5.0.61.tar.xz -> linuxrc-5.0.62.tar.xz ++
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/linuxrc-5.0.61/VERSION new/linuxrc-5.0.62/VERSION
--- old/linuxrc-5.0.61/VERSION  2015-10-21 13:56:31.0 +0200
+++ new/linuxrc-5.0.62/VERSION  2015-11-09 11:08:05.0 +0100
@@ -1 +1 @@
-5.0.61
+5.0.62
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/linuxrc-5.0.61/changelog new/linuxrc-5.0.62/changelog
--- old/linuxrc-5.0.61/changelog2015-10-21 13:56:31.0 +0200
+++ new/linuxrc-5.0.62/changelog2015-11-09 11:08:05.0 +0100
@@ -1,3 +1,7 @@
+2015-11-06:5.0.62
+   - remove obsolete code
+   - fix wifi support in linuxrc (bsc #949938)
+
 2015-10-21:5.0.61
- skip also hostname check when sslcerts option is 0 (bsc #951001)
 
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/linuxrc-5.0.61/dialog.c new/linuxrc-5.0.62/dialog.c
--- old/linuxrc-5.0.61/dialog.c 2015-10-21 13:56:31.0 +0200
+++ new/linuxrc-5.0.62/dialog.c 2015-11-09 11:08:05.0 +0100
@@ -116,9 +116,8 @@
   { di_osa_qdio,"QDIO" },
 
   { di_wlan_open,"No Authentication"   },
-  { di_wlan_wep_o,   "WEP - Open"  },
-  { di_wlan_wep_r,   "WEP - Shared Key"},
-  { di_wlan_wpa, "WPA-PSK" },
+  { di_wlan_wpa_psk, "WPA-PSK" },
+  { di_wlan_wpa_peap,"WPA-PEAP"},
 
 };
 
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/linuxrc-5.0.61/dialog.h new/linuxrc-5.0.62/dialog.h
--- old/linuxrc-5.0.61/dialog.h 2015-10-21 13:56:31.0 +0200
+++ new/linuxrc-5.0.62/dialog.h 2015-11-09 11:08:05.0 +0100
@@ -99,9 +99,8 @@
   di_osa_qdio,
 
   di_wlan_open,
-  di_wlan_wep_o,
-  di_wlan_wep_r,
-  di_wlan_wpa,
+  di_wlan_wpa_psk,
+  di_wlan_wpa_peap,
 
 } dia_item_t;
 
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/linuxrc-5.0.61/file.c new/linuxrc-5.0.62/file.c
--- old/linuxrc-5.0.61/file.c   2015-10-21 13:56:31.0 +0200
+++ new/linuxrc-5.0.62/file.c   2015-11-09 11:08:05.0 +0100
@@ -246,13 +246,13 @@
   { key_ethtool,"ethtool",kf_cfg + kf_cmd_early  },
   { key_listen, "listen", kf_cfg + kf_cmd},
   { key_zombies,"Zombies",kf_cfg + kf_cmd},
-  { key_forceip,"forceip",kf_cfg + kf_cmd},
-  { key_wlan_essid, "WlanESSID",  kf_cfg + kf_cmd},
-  { key_wlan_auth,  "WlanAuth",   kf_cfg + kf_cmd},
-  { key_wlan_key_ascii, "WlanKeyAscii",   kf_cfg + kf_cmd},
-  { key_wlan_key_hex,   "WlanKeyHex", kf_cfg + kf_cmd},
-  { key_wlan_key_pass,  "WlanKeyPass",kf_cfg + kf_cmd},
-  { key_wlan_key_len,   "WlanKeyLen", kf_cfg + kf_cmd},
+  { key_wlan_essid, "WlanESSID",  kf_cfg + kf_cmd_early  },
+  { key_wlan_essid, "ESSID",  kf_cfg + kf_cmd_early  },
+  { key_wlan_auth,  "WlanAuth",   kf_cfg + kf_cmd_early  },
+  { key_wlan_wpa_psk,   "WPAPSK", kf_cfg + kf_cmd_early  },
+  { key_wlan_wpa_pass,  "WPAPassword",kf_cfg + kf_cmd_early  },
+  { key_wlan_wpa_id,"WPAIdentity",kf_cfg + kf_cmd_early

commit linuxrc for openSUSE:Factory

2015-10-28 Thread h_root
Hello community,

here is the log from the commit of package linuxrc for openSUSE:Factory checked 
in at 2015-10-28 17:14:36

Comparing /work/SRC/openSUSE:Factory/linuxrc (Old)
 and  /work/SRC/openSUSE:Factory/.linuxrc.new (New)


Package is "linuxrc"

Changes:

--- /work/SRC/openSUSE:Factory/linuxrc/linuxrc.changes  2015-10-14 
16:41:51.0 +0200
+++ /work/SRC/openSUSE:Factory/.linuxrc.new/linuxrc.changes 2015-10-28 
17:14:38.0 +0100
@@ -1,0 +2,6 @@
+Wed Oct 21 11:58:15 UTC 2015 - snw...@suse.com
+
+- skip also hostname check when sslcerts option is 0 (bsc#951001)
+- 5.0.61
+
+---

Old:

  linuxrc-5.0.60.tar.xz

New:

  linuxrc-5.0.61.tar.xz



Other differences:
--
++ linuxrc.spec ++
--- /var/tmp/diff_new_pack.Som5c6/_old  2015-10-28 17:14:39.0 +0100
+++ /var/tmp/diff_new_pack.Som5c6/_new  2015-10-28 17:14:39.0 +0100
@@ -25,7 +25,7 @@
 Summary:SUSE Installation Program
 License:GPL-3.0+
 Group:  System/Boot
-Version:5.0.60
+Version:5.0.61
 Release:0
 Source: %{name}-%{version}.tar.xz
 BuildRoot:  %{_tmppath}/%{name}-%{version}-build

++ linuxrc-5.0.60.tar.xz -> linuxrc-5.0.61.tar.xz ++
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/linuxrc-5.0.60/VERSION new/linuxrc-5.0.61/VERSION
--- old/linuxrc-5.0.60/VERSION  2015-10-08 11:00:39.0 +0200
+++ new/linuxrc-5.0.61/VERSION  2015-10-21 13:56:31.0 +0200
@@ -1 +1 @@
-5.0.60
+5.0.61
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/linuxrc-5.0.60/changelog new/linuxrc-5.0.61/changelog
--- old/linuxrc-5.0.60/changelog2015-10-08 11:00:39.0 +0200
+++ new/linuxrc-5.0.61/changelog2015-10-21 13:56:31.0 +0200
@@ -1,3 +1,6 @@
+2015-10-21:5.0.61
+   - skip also hostname check when sslcerts option is 0 (bsc #951001)
+
 2015-10-07:5.0.60
- ensure ifcfg options don't get lost (bsc #948774)
 
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/linuxrc-5.0.60/url.c new/linuxrc-5.0.61/url.c
--- old/linuxrc-5.0.60/url.c2015-10-08 11:00:39.0 +0200
+++ new/linuxrc-5.0.61/url.c2015-10-21 13:56:31.0 +0200
@@ -98,7 +98,7 @@
   curl_easy_setopt(c_handle, CURLOPT_FOLLOWLOCATION, 1);
   curl_easy_setopt(c_handle, CURLOPT_MAXREDIRS, 10);
   curl_easy_setopt(c_handle, CURLOPT_SSL_VERIFYPEER, config.sslcerts ? 1 : 0);
-  // curl_easy_setopt(c_handle, CURLOPT_SSL_VERIFYHOST, 2);
+  curl_easy_setopt(c_handle, CURLOPT_SSL_VERIFYHOST, config.sslcerts ? 2 : 0);
 
   curl_easy_setopt(c_handle, CURLOPT_PROGRESSFUNCTION, url_progress_cb);
   curl_easy_setopt(c_handle, CURLOPT_PROGRESSDATA, url_data);




commit linuxrc for openSUSE:Factory

2015-10-14 Thread h_root
Hello community,

here is the log from the commit of package linuxrc for openSUSE:Factory checked 
in at 2015-10-14 16:41:49

Comparing /work/SRC/openSUSE:Factory/linuxrc (Old)
 and  /work/SRC/openSUSE:Factory/.linuxrc.new (New)


Package is "linuxrc"

Changes:

--- /work/SRC/openSUSE:Factory/linuxrc/linuxrc.changes  2015-10-02 
09:23:09.0 +0200
+++ /work/SRC/openSUSE:Factory/.linuxrc.new/linuxrc.changes 2015-10-14 
16:41:51.0 +0200
@@ -1,0 +2,13 @@
+Thu Oct  8 09:01:25 UTC 2015 - snw...@suse.com
+
+- ensure ifcfg options don't get lost (bsc#948774)
+- 5.0.60
+
+---
+Fri Oct  2 13:56:26 UTC 2015 - snw...@suse.com
+
+- put udev modprobe rules file into /run so it doesn't get copied into the
+  final system (bsc#947807)
+- 5.0.59
+
+---

Old:

  linuxrc-5.0.58.tar.xz

New:

  linuxrc-5.0.60.tar.xz



Other differences:
--
++ linuxrc.spec ++
--- /var/tmp/diff_new_pack.ehSywm/_old  2015-10-14 16:41:52.0 +0200
+++ /var/tmp/diff_new_pack.ehSywm/_new  2015-10-14 16:41:52.0 +0200
@@ -25,7 +25,7 @@
 Summary:SUSE Installation Program
 License:GPL-3.0+
 Group:  System/Boot
-Version:5.0.58
+Version:5.0.60
 Release:0
 Source: %{name}-%{version}.tar.xz
 BuildRoot:  %{_tmppath}/%{name}-%{version}-build

++ linuxrc-5.0.58.tar.xz -> linuxrc-5.0.60.tar.xz ++
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/linuxrc-5.0.58/VERSION new/linuxrc-5.0.60/VERSION
--- old/linuxrc-5.0.58/VERSION  2015-09-29 11:12:58.0 +0200
+++ new/linuxrc-5.0.60/VERSION  2015-10-08 11:00:39.0 +0200
@@ -1 +1 @@
-5.0.58
+5.0.60
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/linuxrc-5.0.58/changelog new/linuxrc-5.0.60/changelog
--- old/linuxrc-5.0.58/changelog2015-09-29 11:12:58.0 +0200
+++ new/linuxrc-5.0.60/changelog2015-10-08 11:00:39.0 +0200
@@ -1,3 +1,10 @@
+2015-10-07:5.0.60
+   - ensure ifcfg options don't get lost (bsc #948774)
+
+2015-10-02:5.0.59
+   - put udev modprobe rules file into /run so it doesn't get copied into 
the
+ final system (bsc #947807)
+
 2015-09-28:5.0.58
- Add documentation about how the project is sent to the distribution
 
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/linuxrc-5.0.58/linuxrc.c new/linuxrc-5.0.60/linuxrc.c
--- old/linuxrc-5.0.58/linuxrc.c2015-09-29 11:12:58.0 +0200
+++ new/linuxrc-5.0.60/linuxrc.c2015-10-08 11:00:39.0 +0200
@@ -886,10 +886,16 @@
 
   util_redirect_kmsg();
 
+  LXRC_WAIT
+
   util_setup_udevrules();
 
   if(!config.udev_mods) {
-system("cp /usr/lib/udev/80-drivers.rules.no_modprobe 
/etc/udev/rules.d/80-drivers.rules");
+mkdir("/run/udev", 0755);
+mkdir("/run/udev/rules.d", 0755);
+
+system("cp /usr/lib/udev/80-drivers.rules.no_modprobe 
/run/udev/rules.d/80-drivers.rules");
+
 LXRC_WAIT
   }
 
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/linuxrc-5.0.58/net.c new/linuxrc-5.0.60/net.c
--- old/linuxrc-5.0.58/net.c2015-09-29 11:12:58.0 +0200
+++ new/linuxrc-5.0.60/net.c2015-10-08 11:00:39.0 +0200
@@ -76,6 +76,7 @@
 static int net_get_ip(char *text, char **ip, int with_prefix);
 static int net_check_ip(char *buf, int multi, int with_prefix);
 static int compare_subnet(char *ip1, char *ip2, unsigned prefix);
+static void get_and_copy_ifcfg_flags(ifcfg_t *ifcfg, char *device);
 
 
 /*
@@ -251,6 +252,9 @@
   }
 
   config.ifcfg.manual->dhcp = 0;
+
+  get_and_copy_ifcfg_flags(config.ifcfg.manual, config.ifcfg.manual->device);
+
   ifcfg_write(config.ifcfg.manual->device, config.ifcfg.manual, 0);
 
   net_wicked_up(config.ifcfg.manual->device);
@@ -1123,6 +1127,8 @@
 config.ifcfg.manual->device = s;
   }
 
+  get_and_copy_ifcfg_flags(config.ifcfg.manual, config.ifcfg.manual->device);
+
   net_wicked_dhcp();
 
   return config.net.dhcp_active ? 0 : 1;
@@ -1180,6 +1186,8 @@
 
   strprintf(>type, "dhcp%s", type);
 
+  ifcfg->flags = config.ifcfg.manual->flags;
+
   ifcfg_write(device, ifcfg, 0);
 
   free(ifcfg->type);
@@ -2970,3 +2978,56 @@
   return ok;
 }
 
+
+/*
+ * If there's an 'ifcfg' boot option matching 'device', copy any flags
+ * specified there.
+ *
+ * This is used to supply config.ifcfg.manual with ifcfg flags.
+ */
+void get_and_copy_ifcfg_flags(ifcfg_t *ifcfg, char *device)
+{
+  ifcfg_t *tmp;
+
+  if(!ifcfg || !device) return;
+
+  ifcfg->flags = 

commit linuxrc for openSUSE:Factory

2015-10-02 Thread h_root
Hello community,

here is the log from the commit of package linuxrc for openSUSE:Factory checked 
in at 2015-10-02 09:23:07

Comparing /work/SRC/openSUSE:Factory/linuxrc (Old)
 and  /work/SRC/openSUSE:Factory/.linuxrc.new (New)


Package is "linuxrc"

Changes:

--- /work/SRC/openSUSE:Factory/linuxrc/linuxrc.changes  2015-09-13 
09:44:07.0 +0200
+++ /work/SRC/openSUSE:Factory/.linuxrc.new/linuxrc.changes 2015-10-02 
09:23:09.0 +0200
@@ -1,0 +2,26 @@
+Tue Sep 29 09:15:32 UTC 2015 - snw...@suse.com
+
+- Add documentation about how the project is sent to the distribution
+- 5.0.58
+
+---
+Wed Sep 16 12:22:33 UTC 2015 - snw...@suse.com
+
+- get rid of 'no job control' bash messages (bsc#945607)
+- 5.0.57
+
+---
+Tue Sep 15 17:26:10 CEST 2015 - snw...@suse.com
+
+- Added hwaddr to netdevice identifier (bsc#944347)
+- 5.0.56
+
+---
+Mon Sep 14 16:21:08 CEST 2015 - snw...@suse.com
+
+- further simplify module param code
+- fix typo
+- fix segfault when asking for module params (bsc#945608)
+- 5.0.55
+
+---

Old:

  linuxrc-5.0.54.tar.xz

New:

  linuxrc-5.0.58.tar.xz



Other differences:
--
++ linuxrc.spec ++
--- /var/tmp/diff_new_pack.s1ZoO7/_old  2015-10-02 09:23:09.0 +0200
+++ /var/tmp/diff_new_pack.s1ZoO7/_new  2015-10-02 09:23:09.0 +0200
@@ -1,7 +1,7 @@
 #
 # spec file for package linuxrc
 #
-# Copyright (c) 2015 SUSE LINUX GmbH, Nuernberg, Germany.
+# Copyright (c) 2015 SUSE LINUX Products GmbH, Nuernberg, Germany.
 #
 # All modifications and additions to the file contributed by third parties
 # remain the property of their copyright owners, unless otherwise agreed
@@ -25,7 +25,7 @@
 Summary:SUSE Installation Program
 License:GPL-3.0+
 Group:  System/Boot
-Version:5.0.54
+Version:5.0.58
 Release:0
 Source: %{name}-%{version}.tar.xz
 BuildRoot:  %{_tmppath}/%{name}-%{version}-build

++ linuxrc-5.0.54.tar.xz -> linuxrc-5.0.58.tar.xz ++
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/linuxrc-5.0.54/README.md new/linuxrc-5.0.58/README.md
--- old/linuxrc-5.0.54/README.md2015-09-07 18:14:10.0 +0200
+++ new/linuxrc-5.0.58/README.md2015-09-29 11:12:58.0 +0200
@@ -57,3 +57,6 @@
 
[system:install:head](https://build.opensuse.org/package/show/system:install:head/linuxrc)
 OBS project. From that place it is forwarded to
 [openSUSE Factory](https://build.opensuse.org/project/show/openSUSE:Factory).
+
+You can find more information about this workflow in the [linuxrc-devtools
+documentation](https://github.com/openSUSE/linuxrc-devtools#opensuse-development).
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/linuxrc-5.0.54/VERSION new/linuxrc-5.0.58/VERSION
--- old/linuxrc-5.0.54/VERSION  2015-09-07 18:14:10.0 +0200
+++ new/linuxrc-5.0.58/VERSION  2015-09-29 11:12:58.0 +0200
@@ -1 +1 @@
-5.0.54
+5.0.58
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/linuxrc-5.0.54/changelog new/linuxrc-5.0.58/changelog
--- old/linuxrc-5.0.54/changelog2015-09-07 18:14:10.0 +0200
+++ new/linuxrc-5.0.58/changelog2015-09-29 11:12:58.0 +0200
@@ -1,3 +1,17 @@
+2015-09-28:5.0.58
+   - Add documentation about how the project is sent to the distribution
+
+2015-09-16:5.0.57
+   - get rid of 'no job control' bash messages (bsc #945607)
+
+2015-09-15:5.0.56
+   - Added hwaddr to netdevice identifier (bsc #944347)
+
+2015-09-14:5.0.55
+   - further simplify module param code
+   - fix typo
+   - fix segfault when asking for module params (bsc #945608)
+
 2015-09-07:5.0.54
- s390x: keep ssh active when selecting vnc (bsc #943744)
 
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/linuxrc-5.0.54/dialog.c new/linuxrc-5.0.58/dialog.c
--- old/linuxrc-5.0.54/dialog.c 2015-09-07 18:14:10.0 +0200
+++ new/linuxrc-5.0.58/dialog.c 2015-09-29 11:12:58.0 +0200
@@ -1520,7 +1520,10 @@
   fflush(stdout);
 }
 
-system("exec bash -l 2>&1");
+char *cmd = NULL;
+strprintf(, "exec %s 2>&1", config.debugshell ?: "/bin/sh");
+system(cmd);
+free(cmd);
 
 kbd_init(0);
 if(config.win) {
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 

commit linuxrc for openSUSE:Factory

2015-09-13 Thread h_root
Hello community,

here is the log from the commit of package linuxrc for openSUSE:Factory checked 
in at 2015-09-13 09:44:06

Comparing /work/SRC/openSUSE:Factory/linuxrc (Old)
 and  /work/SRC/openSUSE:Factory/.linuxrc.new (New)


Package is "linuxrc"

Changes:

--- /work/SRC/openSUSE:Factory/linuxrc/linuxrc.changes  2015-08-15 
11:39:01.0 +0200
+++ /work/SRC/openSUSE:Factory/.linuxrc.new/linuxrc.changes 2015-09-13 
09:44:07.0 +0200
@@ -1,0 +2,19 @@
+Mon Sep  7 18:16:05 CEST 2015 - snw...@suse.com
+
+- s390x: keep ssh active when selecting vnc (bsc#943744)
+- 5.0.54
+
+---
+Mon Sep  7 14:01:11 CEST 2015 - snw...@suse.com
+
+- fix typo
+- s390x: in install type dialog, make vnc & ssh mutually exclusive (bsc#943744)
+- 5.0.53
+
+---
+Wed Sep  2 10:21:11 CEST 2015 - snw...@suse.com
+
+- s390x: treat virtio network device as 'normal' network device (bsc#943743)
+- 5.0.52
+
+---

Old:

  linuxrc-5.0.51.tar.xz

New:

  linuxrc-5.0.54.tar.xz



Other differences:
--
++ linuxrc.spec ++
--- /var/tmp/diff_new_pack.Bk01px/_old  2015-09-13 09:44:08.0 +0200
+++ /var/tmp/diff_new_pack.Bk01px/_new  2015-09-13 09:44:08.0 +0200
@@ -25,7 +25,7 @@
 Summary:SUSE Installation Program
 License:GPL-3.0+
 Group:  System/Boot
-Version:5.0.51
+Version:5.0.54
 Release:0
 Source: %{name}-%{version}.tar.xz
 BuildRoot:  %{_tmppath}/%{name}-%{version}-build

++ linuxrc-5.0.51.tar.xz -> linuxrc-5.0.54.tar.xz ++
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/linuxrc-5.0.51/VERSION new/linuxrc-5.0.54/VERSION
--- old/linuxrc-5.0.51/VERSION  2015-08-12 12:45:46.0 +0200
+++ new/linuxrc-5.0.54/VERSION  2015-09-07 18:14:10.0 +0200
@@ -1 +1 @@
-5.0.51
+5.0.54
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/linuxrc-5.0.51/changelog new/linuxrc-5.0.54/changelog
--- old/linuxrc-5.0.51/changelog2015-08-12 12:45:46.0 +0200
+++ new/linuxrc-5.0.54/changelog2015-09-07 18:14:10.0 +0200
@@ -1,3 +1,13 @@
+2015-09-07:5.0.54
+   - s390x: keep ssh active when selecting vnc (bsc #943744)
+
+2015-09-07:5.0.53
+   - fix typo
+   - s390x: in install type dialog, make vnc & ssh mutually exclusive (bsc 
#943744)
+
+2015-09-01:5.0.52
+   - s390x: treat virtio network device as 'normal' network device (bsc 
#943743)
+
 2015-08-11:5.0.51
- s390x: in kvm, don't ask for net device type
 
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/linuxrc-5.0.51/install.c new/linuxrc-5.0.54/install.c
--- old/linuxrc-5.0.51/install.c2015-08-12 12:45:46.0 +0200
+++ new/linuxrc-5.0.54/install.c2015-09-07 18:14:10.0 +0200
@@ -309,6 +309,7 @@
 
 case di_display_ssh:
   config.usessh=1;
+  config.vnc=0;
   net_ask_password();
   break;
 
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/linuxrc-5.0.51/net.c new/linuxrc-5.0.54/net.c
--- old/linuxrc-5.0.51/net.c2015-08-12 12:45:46.0 +0200
+++ new/linuxrc-5.0.54/net.c2015-09-07 18:14:10.0 +0200
@@ -50,6 +50,12 @@
 
 
 #if defined(__s390__) || defined(__s390x__)
+// settings for config.hwp.layer2
+// (layer2 attribute for network cards)
+#define LAYER2_UNDEF   0
+#define LAYER2_NO  1
+#define LAYER2_YES 2
+
 int net_activate_s390_devs_ex(hd_t* hd, char** device);
 #endif
 
@@ -150,7 +156,7 @@
 if(
   config.net.setup & NS_DHCP &&
 #if defined(__s390__) || defined(__s390x__)
-  config.hwp.layer2 - 1 &&
+  config.hwp.layer2 != LAYER2_NO &&
 #endif
   !config.ifcfg.manual->ptp
 ) {
@@ -776,8 +782,17 @@
   char *type;
   sprintf(path, "/sys/class/net/%s/device/layer2", item_devs[choice - 1]);
   type = util_get_attr(path);
-  if(!strncmp(type, "1", sizeof "1" )) {config.hwp.layer2=2; }
-  else {config.hwp.layer2=1;}
+  // set the layer2 tag for network cards
+  // LAYER2_UNDEF means it doesn't have this attribute (e.g. virtio)
+  if(*type == 0) {
+config.hwp.layer2 = LAYER2_UNDEF;
+  }
+  else if(*type == '1') {
+config.hwp.layer2 = LAYER2_YES;
+  }
+  else {
+config.hwp.layer2 = LAYER2_NO;
+  }
 }
   }
 #endif
@@ -1509,9 +1524,9 @@
   
   IFNOTAUTO(config.hwp.layer2)
   {
-config.hwp.layer2 = dia_yesno("Enable OSI Layer 2 

commit linuxrc for openSUSE:Factory

2015-08-15 Thread h_root
Hello community,

here is the log from the commit of package linuxrc for openSUSE:Factory checked 
in at 2015-08-15 11:39:00

Comparing /work/SRC/openSUSE:Factory/linuxrc (Old)
 and  /work/SRC/openSUSE:Factory/.linuxrc.new (New)


Package is linuxrc

Changes:

--- /work/SRC/openSUSE:Factory/linuxrc/linuxrc.changes  2015-08-11 
08:25:55.0 +0200
+++ /work/SRC/openSUSE:Factory/.linuxrc.new/linuxrc.changes 2015-08-15 
11:39:01.0 +0200
@@ -1,0 +2,7 @@
+Fri Aug 14 15:15:11 CEST 2015 - snw...@suse.com
+
+- s390x: handle kvm virtio devices
+- s390x: in kvm, don't ask for net device type
+- 5.0.51
+
+---

Old:

  linuxrc-5.0.49.tar.xz

New:

  linuxrc-5.0.51.tar.xz



Other differences:
--
++ linuxrc.spec ++
--- /var/tmp/diff_new_pack.aC8QIC/_old  2015-08-15 11:39:02.0 +0200
+++ /var/tmp/diff_new_pack.aC8QIC/_new  2015-08-15 11:39:02.0 +0200
@@ -25,7 +25,7 @@
 Summary:SUSE Installation Program
 License:GPL-3.0+
 Group:  System/Boot
-Version:5.0.49
+Version:5.0.51
 Release:0
 Source: %{name}-%{version}.tar.xz
 BuildRoot:  %{_tmppath}/%{name}-%{version}-build

++ linuxrc-5.0.49.tar.xz - linuxrc-5.0.51.tar.xz ++
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/linuxrc-5.0.49/VERSION new/linuxrc-5.0.51/VERSION
--- old/linuxrc-5.0.49/VERSION  2015-08-10 11:38:43.0 +0200
+++ new/linuxrc-5.0.51/VERSION  2015-08-12 12:45:46.0 +0200
@@ -1 +1 @@
-5.0.49
+5.0.51
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/linuxrc-5.0.49/changelog new/linuxrc-5.0.51/changelog
--- old/linuxrc-5.0.49/changelog2015-08-10 11:38:43.0 +0200
+++ new/linuxrc-5.0.51/changelog2015-08-12 12:45:46.0 +0200
@@ -1,3 +1,9 @@
+2015-08-11:5.0.51
+   - s390x: in kvm, don't ask for net device type
+
+2015-08-11:5.0.50
+   - s390x: handle kvm virtio devices
+
 2015-08-06:5.0.49
- adjust git log parser
- with netsetup=dhcp,all, do network setup at once, else we'll never 
get it done (bsc #932692)
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/linuxrc-5.0.49/net.c new/linuxrc-5.0.51/net.c
--- old/linuxrc-5.0.49/net.c2015-08-10 11:38:43.0 +0200
+++ new/linuxrc-5.0.51/net.c2015-08-12 12:45:46.0 +0200
@@ -1373,7 +1373,6 @@
 return -1;
   }
   else {   /* no hd_t entry - ask */
-dia_item_t di;
 dia_item_t items[] = {
   di_390net_osa,
   di_390net_hsi,
@@ -1384,15 +1383,13 @@
   di_none
 };
 if(!strncmp(config.hwp.hypervisor, KVM, sizeof KVM - 1)) {
-  items[0] = di_390net_virtio;
-  items[1] = di_none;
+  config.hwp.type = di_390net_virtio;
 }
-
-IFNOTAUTO(config.hwp.type) {
-  di = dia_menu2(Please select the type of your network device., 60, 0, 
items, config.hwp.type?:di_390net_iucv);
-  config.hwp.type = di;
+else {
+  IFNOTAUTO(config.hwp.type) {
+config.hwp.type = dia_menu2(Please select the type of your network 
device., 60, 0, items, config.hwp.type?:di_390net_iucv);
+  }
 }
-else di = config.hwp.type;
   }
 
   /* hwcfg parms common to all devices */
@@ -1536,6 +1533,10 @@
 }
 
 break;
+
+  case di_390net_virtio:
+return 0;
+break;
 
   default:
 return -1;




commit linuxrc for openSUSE:Factory

2015-08-11 Thread h_root
Hello community,

here is the log from the commit of package linuxrc for openSUSE:Factory checked 
in at 2015-08-11 08:25:53

Comparing /work/SRC/openSUSE:Factory/linuxrc (Old)
 and  /work/SRC/openSUSE:Factory/.linuxrc.new (New)


Package is linuxrc

Changes:

--- /work/SRC/openSUSE:Factory/linuxrc/linuxrc.changes  2015-08-10 
09:10:54.0 +0200
+++ /work/SRC/openSUSE:Factory/.linuxrc.new/linuxrc.changes 2015-08-11 
08:25:55.0 +0200
@@ -1,0 +2,7 @@
+Mon Aug 10 11:41:08 CEST 2015 - snw...@suse.com
+
+- adjust git log parser
+- with netsetup=dhcp,all, do network setup at once, else we'll never get it 
done (bsc#932692)
+- 5.0.49
+
+---

Old:

  linuxrc-5.0.48.tar.xz

New:

  linuxrc-5.0.49.tar.xz



Other differences:
--
++ linuxrc.spec ++
--- /var/tmp/diff_new_pack.IBg7D0/_old  2015-08-11 08:25:56.0 +0200
+++ /var/tmp/diff_new_pack.IBg7D0/_new  2015-08-11 08:25:56.0 +0200
@@ -25,7 +25,7 @@
 Summary:SUSE Installation Program
 License:GPL-3.0+
 Group:  System/Boot
-Version:5.0.48
+Version:5.0.49
 Release:0
 Source: %{name}-%{version}.tar.xz
 BuildRoot:  %{_tmppath}/%{name}-%{version}-build

++ linuxrc-5.0.48.tar.xz - linuxrc-5.0.49.tar.xz ++
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/linuxrc-5.0.48/VERSION new/linuxrc-5.0.49/VERSION
--- old/linuxrc-5.0.48/VERSION  2015-07-28 14:49:39.0 +0200
+++ new/linuxrc-5.0.49/VERSION  2015-08-10 11:38:43.0 +0200
@@ -1 +1 @@
-5.0.48
+5.0.49
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/linuxrc-5.0.48/changelog new/linuxrc-5.0.49/changelog
--- old/linuxrc-5.0.48/changelog2015-07-28 14:49:39.0 +0200
+++ new/linuxrc-5.0.49/changelog2015-08-10 11:38:43.0 +0200
@@ -1,3 +1,7 @@
+2015-08-06:5.0.49
+   - adjust git log parser
+   - with netsetup=dhcp,all, do network setup at once, else we'll never 
get it done (bsc #932692)
+
 2015-07-28:5.0.48
- add 'sethostname' option to have wicked set the hostname (bsc #934118)
 
@@ -75,8 +79,6 @@
- activate newly added interfaces (bnc #906817)
- improve git2log to work in sub-branches
- gpg 2.1.1 became stricter with the usage of --verify:
-   - program knows about it; either give both filenames on the command
- line or  use  '-' to specify STDIN..
 
 2014-12-01:5.0.29
- use correct mount command location
@@ -150,9 +152,6 @@
 
 2014-08-07:5.0.11
- Enhance linuxrc network code a bit.
-   - set WAIT_FOR_INTERFACES (bnc #890643)
-   - allow global network config options that should go to
- /etc/sysconfig/network/config to be set in ifcfg option
 
 2014-08-06:5.0.10
- add new 'sshd' option to start sshd during install but don't trigger 
a ssh installation
@@ -201,11 +200,6 @@
 
 2014-07-18:5.0.1
- continue network code reworking
-   - fix network re-config (bnc #887841)
-   - move network setup into separate menu item
-   - move various net_activate_s390_devs() calls into a single place
-   - unify network config code
-   - remove obsolete code
 
 2014-07-17:5.0.0
- fix proxy handling in linuxrc
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/linuxrc-5.0.48/file.c new/linuxrc-5.0.49/file.c
--- old/linuxrc-5.0.48/file.c   2015-07-28 14:49:39.0 +0200
+++ new/linuxrc-5.0.49/file.c   2015-08-10 11:38:43.0 +0200
@@ -1165,7 +1165,8 @@
  */
 if(do_all  (config.net.setup  NS_DHCP)) {
   ifcfg_append(config.ifcfg.list, ifcfg_parse(*=dhcp));
-  net_update_ifcfg(0);
+  config.net.setup = 0;
+  net_update_ifcfg(IFCFG_IFUP);
 }
 if(!config.net.setup) config.net.do_setup = 0;
 if(config.net.now) {
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/linuxrc-5.0.48/git2log new/linuxrc-5.0.49/git2log
--- old/linuxrc-5.0.48/git2log  2015-07-28 14:49:39.0 +0200
+++ new/linuxrc-5.0.49/git2log  2015-08-10 11:38:43.0 +0200
@@ -155,7 +155,7 @@
 $detail = 1 if /^$/;
 $detail = 2 if /^Conflicts:$/;
 $detail = 0 if /^commit /;
-if(!$detail || !/^[^\-\s]/) {
+if(!$detail) {
   push @t2, $_ if $detail  2;
 }
   }




commit linuxrc for openSUSE:Factory

2015-08-10 Thread h_root
Hello community,

here is the log from the commit of package linuxrc for openSUSE:Factory checked 
in at 2015-08-10 09:10:52

Comparing /work/SRC/openSUSE:Factory/linuxrc (Old)
 and  /work/SRC/openSUSE:Factory/.linuxrc.new (New)


Package is linuxrc

Changes:

--- /work/SRC/openSUSE:Factory/linuxrc/linuxrc.changes  2015-07-27 
09:09:01.0 +0200
+++ /work/SRC/openSUSE:Factory/.linuxrc.new/linuxrc.changes 2015-08-10 
09:10:54.0 +0200
@@ -1,0 +2,6 @@
+Tue Jul 28 14:51:12 CEST 2015 - snw...@suse.com
+
+- add 'sethostname' option to have wicked set the hostname (bsc#934118)
+- 5.0.48
+
+---

Old:

  linuxrc-5.0.47.tar.xz

New:

  linuxrc-5.0.48.tar.xz



Other differences:
--
++ linuxrc.spec ++
--- /var/tmp/diff_new_pack.F9Hay6/_old  2015-08-10 09:10:55.0 +0200
+++ /var/tmp/diff_new_pack.F9Hay6/_new  2015-08-10 09:10:55.0 +0200
@@ -25,7 +25,7 @@
 Summary:SUSE Installation Program
 License:GPL-3.0+
 Group:  System/Boot
-Version:5.0.47
+Version:5.0.48
 Release:0
 Source: %{name}-%{version}.tar.xz
 BuildRoot:  %{_tmppath}/%{name}-%{version}-build

++ linuxrc-5.0.47.tar.xz - linuxrc-5.0.48.tar.xz ++
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/linuxrc-5.0.47/VERSION new/linuxrc-5.0.48/VERSION
--- old/linuxrc-5.0.47/VERSION  2015-07-22 11:51:06.0 +0200
+++ new/linuxrc-5.0.48/VERSION  2015-07-28 14:49:39.0 +0200
@@ -1 +1 @@
-5.0.47
+5.0.48
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/linuxrc-5.0.47/changelog new/linuxrc-5.0.48/changelog
--- old/linuxrc-5.0.47/changelog2015-07-22 11:51:06.0 +0200
+++ new/linuxrc-5.0.48/changelog2015-07-28 14:49:39.0 +0200
@@ -1,3 +1,6 @@
+2015-07-28:5.0.48
+   - add 'sethostname' option to have wicked set the hostname (bsc #934118)
+
 2015-07-22:5.0.47
- change company name to SUSE LLC (bsc #938747, fate #319294)
- copy modprobe disabling udev rule to the correct place (bsc #938774)
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/linuxrc-5.0.47/file.c new/linuxrc-5.0.48/file.c
--- old/linuxrc-5.0.47/file.c   2015-07-22 11:51:06.0 +0200
+++ new/linuxrc-5.0.48/file.c   2015-07-28 14:49:39.0 +0200
@@ -306,6 +306,7 @@
   { key_nanny,  nanny,  kf_cfg + kf_cmd_early  },
   { key_vlanid, VLanID, kf_cfg + kf_cmd},
   { key_systemboot, SystemBoot, kf_cfg + kf_cmd},
+  { key_sethostname,SetHostname,kf_cfg + kf_cmd_early  },
 };
 
 static struct {
@@ -1715,6 +1716,10 @@
 if(f-is.numeric) config.systemboot = f-nvalue;
 break;
 
+  case key_sethostname:
+if(f-is.numeric) config.net.sethostname = f-nvalue;
+break;
+
   default:
 break;
 }
@@ -1839,7 +1844,18 @@
 
   if(config.url.proxy) fprintf(f, ProxyURL: %s\n, 
url_print(config.url.proxy, 1));
 
-  if(config.net.realhostname) file_write_str(f, key_hostname, 
config.net.realhostname);
+  if(config.net.realhostname) {
+file_write_str(f, key_hostname, config.net.realhostname);
+  }
+  else {
+char buf[256];
+if(!gethostname(buf, sizeof buf)) {
+  if(config.debug) fprintf(stderr, hostname = \%s\\n, buf);
+  if(*buf  strcmp(buf, (none))) file_write_str(f, key_hostname, buf);
+}
+  }
+
+  LXRC_WAIT
 
   file_write_modparms(f);
 
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/linuxrc-5.0.47/file.h new/linuxrc-5.0.48/file.h
--- old/linuxrc-5.0.47/file.h   2015-07-22 11:51:06.0 +0200
+++ new/linuxrc-5.0.48/file.h   2015-07-28 14:49:39.0 +0200
@@ -54,7 +54,7 @@
   key_namescheme, key_ptoptions, key_is_ptoption, key_withfcoe, key_digests,
   key_plymouth, key_sslcerts, key_restart, key_restarted, key_autoyast2,
   key_withipoib, key_upgrade, key_ifcfg, key_defaultinstall, key_nanny, 
key_vlanid,
-  key_sshkey, key_systemboot
+  key_sshkey, key_systemboot, key_sethostname
 } file_key_t;
 
 typedef enum {
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/linuxrc-5.0.47/global.h new/linuxrc-5.0.48/global.h
--- old/linuxrc-5.0.47/global.h 2015-07-22 11:51:06.0 +0200
+++ new/linuxrc-5.0.48/global.h 2015-07-28 14:49:39.0 +0200
@@ -582,6 +582,7 @@
 unsigned ipv4:1;   /* do ipv4 config */
 unsigned ipv6:1;   /* do ipv6 config */
 unsigned dhcp_timeout_set:1;   /* dhcp_timeout was set 

commit linuxrc for openSUSE:Factory

2015-07-27 Thread h_root
Hello community,

here is the log from the commit of package linuxrc for openSUSE:Factory checked 
in at 2015-07-27 09:08:59

Comparing /work/SRC/openSUSE:Factory/linuxrc (Old)
 and  /work/SRC/openSUSE:Factory/.linuxrc.new (New)


Package is linuxrc

Changes:

--- /work/SRC/openSUSE:Factory/linuxrc/linuxrc.changes  2015-06-30 
10:14:34.0 +0200
+++ /work/SRC/openSUSE:Factory/.linuxrc.new/linuxrc.changes 2015-07-27 
09:09:01.0 +0200
@@ -1,0 +2,7 @@
+Wed Jul 22 11:51:33 CEST 2015 - snw...@suse.com
+
+- change company name to SUSE LLC (bsc#938747, fate#319294)
+- copy modprobe disabling udev rule to the correct place (bsc#938774)
+- 5.0.47
+
+---

Old:

  linuxrc-5.0.46.tar.xz

New:

  linuxrc-5.0.47.tar.xz



Other differences:
--
++ linuxrc.spec ++
--- /var/tmp/diff_new_pack.rQjVRF/_old  2015-07-27 09:09:02.0 +0200
+++ /var/tmp/diff_new_pack.rQjVRF/_new  2015-07-27 09:09:02.0 +0200
@@ -25,7 +25,7 @@
 Summary:SUSE Installation Program
 License:GPL-3.0+
 Group:  System/Boot
-Version:5.0.46
+Version:5.0.47
 Release:0
 Source: %{name}-%{version}.tar.xz
 BuildRoot:  %{_tmppath}/%{name}-%{version}-build

++ linuxrc-5.0.46.tar.xz - linuxrc-5.0.47.tar.xz ++
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/linuxrc-5.0.46/VERSION new/linuxrc-5.0.47/VERSION
--- old/linuxrc-5.0.46/VERSION  2015-06-25 15:40:33.0 +0200
+++ new/linuxrc-5.0.47/VERSION  2015-07-22 11:51:06.0 +0200
@@ -1 +1 @@
-5.0.46
+5.0.47
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/linuxrc-5.0.46/changelog new/linuxrc-5.0.47/changelog
--- old/linuxrc-5.0.46/changelog2015-06-25 15:40:33.0 +0200
+++ new/linuxrc-5.0.47/changelog2015-07-22 11:51:06.0 +0200
@@ -1,3 +1,7 @@
+2015-07-22:5.0.47
+   - change company name to SUSE LLC (bsc #938747, fate #319294)
+   - copy modprobe disabling udev rule to the correct place (bsc #938774)
+
 2015-06-25:5.0.46
- avoid any interactive dialogs when checking the digest of files during
  an 'extend' command (bsc #936068)
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/linuxrc-5.0.46/linuxrc.c new/linuxrc-5.0.47/linuxrc.c
--- old/linuxrc-5.0.46/linuxrc.c2015-06-25 15:40:33.0 +0200
+++ new/linuxrc-5.0.47/linuxrc.c2015-07-22 11:51:06.0 +0200
@@ -871,7 +871,7 @@
 if (config.linemode)
   putchar('\n');
 printf(
-  \n %s installation program v LXRC_FULL_VERSION  (c) 1996-2015 SUSE 
Linux GmbH \n,
+  \n %s installation program v LXRC_FULL_VERSION  (c) 1996-2015 SUSE 
LLC \n,
   config.product
 );
 if (config.linemode)
@@ -887,7 +887,8 @@
   util_setup_udevrules();
 
   if(!config.udev_mods) {
-system(cp /lib/udev/80-drivers.rules.no_modprobe 
/lib/udev/rules.d/80-drivers.rules);
+system(cp /usr/lib/udev/80-drivers.rules.no_modprobe 
/etc/udev/rules.d/80-drivers.rules);
+LXRC_WAIT
   }
 
   config.plymouth = util_check_exist(/usr/sbin/plymouthd) == 'r' ? 1 : 0;




commit linuxrc for openSUSE:Factory

2015-06-30 Thread h_root
Hello community,

here is the log from the commit of package linuxrc for openSUSE:Factory checked 
in at 2015-06-30 10:14:32

Comparing /work/SRC/openSUSE:Factory/linuxrc (Old)
 and  /work/SRC/openSUSE:Factory/.linuxrc.new (New)


Package is linuxrc

Changes:

--- /work/SRC/openSUSE:Factory/linuxrc/linuxrc.changes  2015-06-04 
08:51:16.0 +0200
+++ /work/SRC/openSUSE:Factory/.linuxrc.new/linuxrc.changes 2015-06-30 
10:14:34.0 +0200
@@ -1,0 +2,15 @@
+Thu Jun 25 15:41:03 CEST 2015 - snw...@suse.com
+
+- avoid any interactive dialogs when checking the digest of files during
+  an 'extend' command (bsc#936068)
+- 5.0.46
+
+---
+Wed Jun 24 10:11:04 CEST 2015 - snw...@suse.com
+
+- re-arrange code a bit and fix typo
+- changed 'media not found' message into a dialog letting the user select
+  the URL to retry (bsc#923918)
+- 5.0.45
+
+---

Old:

  linuxrc-5.0.44.tar.xz

New:

  linuxrc-5.0.46.tar.xz



Other differences:
--
++ linuxrc.spec ++
--- /var/tmp/diff_new_pack.OkO5f7/_old  2015-06-30 10:14:35.0 +0200
+++ /var/tmp/diff_new_pack.OkO5f7/_new  2015-06-30 10:14:35.0 +0200
@@ -25,7 +25,7 @@
 Summary:SUSE Installation Program
 License:GPL-3.0+
 Group:  System/Boot
-Version:5.0.44
+Version:5.0.46
 Release:0
 Source: %{name}-%{version}.tar.xz
 BuildRoot:  %{_tmppath}/%{name}-%{version}-build

++ linuxrc-5.0.44.tar.xz - linuxrc-5.0.46.tar.xz ++
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/linuxrc-5.0.44/VERSION new/linuxrc-5.0.46/VERSION
--- old/linuxrc-5.0.44/VERSION  2015-06-03 11:01:55.0 +0200
+++ new/linuxrc-5.0.46/VERSION  2015-06-25 15:40:33.0 +0200
@@ -1 +1 @@
-5.0.44
+5.0.46
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/linuxrc-5.0.44/changelog new/linuxrc-5.0.46/changelog
--- old/linuxrc-5.0.44/changelog2015-06-03 11:01:55.0 +0200
+++ new/linuxrc-5.0.46/changelog2015-06-25 15:40:33.0 +0200
@@ -1,3 +1,12 @@
+2015-06-25:5.0.46
+   - avoid any interactive dialogs when checking the digest of files during
+ an 'extend' command (bsc #936068)
+
+2015-06-24:5.0.45
+   - re-arrange code a bit and fix typo
+   - changed 'media not found' message into a dialog letting the user 
select
+ the URL to retry (bsc #923918)
+
 2015-06-03:5.0.44
- some minor corrections
- added comments  prototypes
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/linuxrc-5.0.44/global.h new/linuxrc-5.0.46/global.h
--- old/linuxrc-5.0.44/global.h 2015-06-03 11:01:55.0 +0200
+++ new/linuxrc-5.0.46/global.h 2015-06-25 15:40:33.0 +0200
@@ -374,6 +374,7 @@
   char *zenconfig; /* zenworks config file */
   unsigned ntfs_3g:1;  /* use ntfs-3g */
   unsigned secure:1;   /* secure mode (check digest of all downloaded 
files) */
+  unsigned secure_always_fail:1;   /* in secure mode: never ask the user 
but always fail directly */
   unsigned sslcerts:1; /* whether to check ssl certificates */
   unsigned sig_failed:2;   /* signature check failed (1: not signed, 2: 
wrong signature) */
   unsigned kexec:1;/* kexec to kernel  initrd from repo */
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/linuxrc-5.0.44/linuxrc.c new/linuxrc-5.0.46/linuxrc.c
--- old/linuxrc-5.0.44/linuxrc.c2015-06-03 11:01:55.0 +0200
+++ new/linuxrc-5.0.46/linuxrc.c2015-06-25 15:40:33.0 +0200
@@ -84,7 +84,7 @@
 #if SWISS_ARMY_KNIFE 
 static void lxrc_makelinks(char *name);
 #endif
-// static void config_rescue(char *mp);
+static void select_repo_url(char *msg, char **repo);
 
 #if SWISS_ARMY_KNIFE
 int probe_main(int argc, char **argv);
@@ -668,8 +668,7 @@
 
 void lxrc_init()
 {
-  int i, j;
-  char buf[256];
+  int i;
 
   siginterrupt(SIGALRM, 1);
   signal(SIGHUP, SIG_IGN);
@@ -1148,53 +1147,72 @@
   if(config.braille.check) run_braille();
 
   if(!config.manual  !auto2_init()) {
+char *buf = NULL, *repo = NULL;
+
 fprintf(stderr, Automatic setup not possible.\n);
 
-util_disp_init();
+// ok, we failed to find a suitable repo
+// do something about it
 
-i = 0;
-j = 1;
+// If the file '/nextmedia' exists, get the message to show from there
+// and retry the default repo settings if the user is ready.
+// Otherwise, present the user the list of repos we have tried so 

commit linuxrc for openSUSE:Factory

2015-06-04 Thread h_root
Hello community,

here is the log from the commit of package linuxrc for openSUSE:Factory checked 
in at 2015-06-04 08:51:14

Comparing /work/SRC/openSUSE:Factory/linuxrc (Old)
 and  /work/SRC/openSUSE:Factory/.linuxrc.new (New)


Package is linuxrc

Changes:

--- /work/SRC/openSUSE:Factory/linuxrc/linuxrc.changes  2015-06-01 
09:30:51.0 +0200
+++ /work/SRC/openSUSE:Factory/.linuxrc.new/linuxrc.changes 2015-06-04 
08:51:16.0 +0200
@@ -1,0 +2,10 @@
+Wed Jun  3 11:05:57 CEST 2015 - snw...@suse.com
+
+- some minor corrections
+- added comments  prototypes
+- don't use --real-mode kexec option when booted via uefi
+- reimplement 'boot installed system' option (bsc#906990)
+- menu is directly reachable via systemboot=1 boot option
+- 5.0.44
+
+---

Old:

  linuxrc-5.0.43.tar.xz

New:

  linuxrc-5.0.44.tar.xz



Other differences:
--
++ linuxrc.spec ++
--- /var/tmp/diff_new_pack.z4eEz8/_old  2015-06-04 08:51:17.0 +0200
+++ /var/tmp/diff_new_pack.z4eEz8/_new  2015-06-04 08:51:17.0 +0200
@@ -25,7 +25,7 @@
 Summary:SUSE Installation Program
 License:GPL-3.0+
 Group:  System/Boot
-Version:5.0.43
+Version:5.0.44
 Release:0
 Source: %{name}-%{version}.tar.xz
 BuildRoot:  %{_tmppath}/%{name}-%{version}-build

++ linuxrc-5.0.43.tar.xz - linuxrc-5.0.44.tar.xz ++
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/linuxrc-5.0.43/VERSION new/linuxrc-5.0.44/VERSION
--- old/linuxrc-5.0.43/VERSION  2015-05-28 09:11:50.0 +0200
+++ new/linuxrc-5.0.44/VERSION  2015-06-03 11:01:55.0 +0200
@@ -1 +1 @@
-5.0.43
+5.0.44
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/linuxrc-5.0.43/auto2.c new/linuxrc-5.0.44/auto2.c
--- old/linuxrc-5.0.43/auto2.c  2015-05-28 09:11:50.0 +0200
+++ new/linuxrc-5.0.44/auto2.c  2015-06-03 11:01:55.0 +0200
@@ -24,7 +24,6 @@
 #include window.h
 #include net.h
 #include display.h
-#include rootimage.h
 #include module.h
 #include keyboard.h
 #include file.h
@@ -84,6 +83,13 @@
 while(!inst_update_cd());
   }
 
+  if(config.systemboot) {
+if(!config.win) util_disp_init();
+util_boot_system();
+config.manual = 1;
+return 1;
+  }
+
   if(config.win  !win_old) util_disp_done();
 
   ok = auto2_find_repo();
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/linuxrc-5.0.43/changelog new/linuxrc-5.0.44/changelog
--- old/linuxrc-5.0.43/changelog2015-05-28 09:11:50.0 +0200
+++ new/linuxrc-5.0.44/changelog2015-06-03 11:01:55.0 +0200
@@ -1,3 +1,10 @@
+2015-06-03:5.0.44
+   - some minor corrections
+   - added comments  prototypes
+   - don't use --real-mode kexec option when booted via uefi
+   - reimplement 'boot installed system' option (bsc #906990)
+   - menu is directly reachable via systemboot=1 boot option
+
 2015-05-27:5.0.43
- Update README.md
 
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/linuxrc-5.0.43/file.c new/linuxrc-5.0.44/file.c
--- old/linuxrc-5.0.43/file.c   2015-05-28 09:11:50.0 +0200
+++ new/linuxrc-5.0.44/file.c   2015-06-03 11:01:55.0 +0200
@@ -31,7 +31,6 @@
 #include net.h
 #include settings.h
 #include auto2.h
-#include rootimage.h
 #include display.h
 #include keyboard.h
 #include url.h
@@ -306,6 +305,7 @@
   { key_defaultinstall, DefaultRepo,kf_cfg + kf_cmd},
   { key_nanny,  nanny,  kf_cfg + kf_cmd_early  },
   { key_vlanid, VLanID, kf_cfg + kf_cmd},
+  { key_systemboot, SystemBoot, kf_cfg + kf_cmd},
 };
 
 static struct {
@@ -1711,6 +1711,10 @@
 }
 break;
 
+  case key_systemboot:
+if(f-is.numeric) config.systemboot = f-nvalue;
+break;
+
   default:
 break;
 }
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/linuxrc-5.0.43/file.h new/linuxrc-5.0.44/file.h
--- old/linuxrc-5.0.43/file.h   2015-05-28 09:11:50.0 +0200
+++ new/linuxrc-5.0.44/file.h   2015-06-03 11:01:55.0 +0200
@@ -54,7 +54,7 @@
   key_namescheme, key_ptoptions, key_is_ptoption, key_withfcoe, key_digests,
   key_plymouth, key_sslcerts, key_restart, key_restarted, key_autoyast2,
   key_withipoib, key_upgrade, key_ifcfg, key_defaultinstall, key_nanny, 
key_vlanid,
-  key_sshkey
+  key_sshkey, key_systemboot
 } file_key_t;
 
 typedef enum {
diff -urN '--exclude=CVS' '--exclude=.cvsignore' 

commit linuxrc for openSUSE:Factory

2015-06-01 Thread h_root
Hello community,

here is the log from the commit of package linuxrc for openSUSE:Factory checked 
in at 2015-06-01 09:30:50

Comparing /work/SRC/openSUSE:Factory/linuxrc (Old)
 and  /work/SRC/openSUSE:Factory/.linuxrc.new (New)


Package is linuxrc

Changes:

--- /work/SRC/openSUSE:Factory/linuxrc/linuxrc.changes  2015-05-26 
13:29:25.0 +0200
+++ /work/SRC/openSUSE:Factory/.linuxrc.new/linuxrc.changes 2015-06-01 
09:30:51.0 +0200
@@ -1,0 +2,6 @@
+Thu May 28 09:15:56 CEST 2015 - snw...@suse.com
+
+- Update README.md
+- 5.0.43
+
+---

Old:

  linuxrc-5.0.42.tar.xz

New:

  linuxrc-5.0.43.tar.xz



Other differences:
--
++ linuxrc.spec ++
--- /var/tmp/diff_new_pack.MZITvv/_old  2015-06-01 09:30:52.0 +0200
+++ /var/tmp/diff_new_pack.MZITvv/_new  2015-06-01 09:30:52.0 +0200
@@ -25,7 +25,7 @@
 Summary:SUSE Installation Program
 License:GPL-3.0+
 Group:  System/Boot
-Version:5.0.42
+Version:5.0.43
 Release:0
 Source: %{name}-%{version}.tar.xz
 BuildRoot:  %{_tmppath}/%{name}-%{version}-build

++ linuxrc-5.0.42.tar.xz - linuxrc-5.0.43.tar.xz ++
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/linuxrc-5.0.42/README.md new/linuxrc-5.0.43/README.md
--- old/linuxrc-5.0.42/README.md2015-05-25 17:35:16.0 +0200
+++ new/linuxrc-5.0.43/README.md2015-05-28 09:11:50.0 +0200
@@ -50,3 +50,10 @@
 
 You may also use `mksusecd --micro` in case you only want to test Stage 1
 and not a full install.
+
+## openSUSE Development
+
+The package is automatically submitted from the `master` branch to
+[system:install:head](https://build.opensuse.org/package/show/system:install:head/linuxrc)
+OBS project. From that place it is forwarded to
+[openSUSE Factory](https://build.opensuse.org/project/show/openSUSE:Factory).
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/linuxrc-5.0.42/VERSION new/linuxrc-5.0.43/VERSION
--- old/linuxrc-5.0.42/VERSION  2015-05-25 17:35:16.0 +0200
+++ new/linuxrc-5.0.43/VERSION  2015-05-28 09:11:50.0 +0200
@@ -1 +1 @@
-5.0.42
+5.0.43
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/linuxrc-5.0.42/changelog new/linuxrc-5.0.43/changelog
--- old/linuxrc-5.0.42/changelog2015-05-25 17:35:16.0 +0200
+++ new/linuxrc-5.0.43/changelog2015-05-28 09:11:50.0 +0200
@@ -1,3 +1,6 @@
+2015-05-27:5.0.43
+   - Update README.md
+
 2015-05-25:5.0.42
- do not display an error message after aborting YaST (bsc #614829)
 




commit linuxrc for openSUSE:Factory

2015-05-26 Thread h_root
Hello community,

here is the log from the commit of package linuxrc for openSUSE:Factory checked 
in at 2015-05-26 13:29:24

Comparing /work/SRC/openSUSE:Factory/linuxrc (Old)
 and  /work/SRC/openSUSE:Factory/.linuxrc.new (New)


Package is linuxrc

Changes:

--- /work/SRC/openSUSE:Factory/linuxrc/linuxrc.changes  2015-05-16 
07:14:03.0 +0200
+++ /work/SRC/openSUSE:Factory/.linuxrc.new/linuxrc.changes 2015-05-26 
13:29:25.0 +0200
@@ -1,0 +2,11 @@
+Tue May 26 10:25:23 CEST 2015 - snw...@suse.de
+
+- fixed encoding of linuxrc.changes
+
+---
+Mon May 25 17:36:00 CEST 2015 - snw...@suse.com
+
+- do not display an error message after aborting YaST (bsc#614829)
+- 5.0.42
+
+---
@@ -3579 +3590 @@
-- olh: add Mac-Portugu�s, make english the default again (for ppc)
+- olh: add Mac-Português, make english the default again (for ppc)

Old:

  linuxrc-5.0.41.tar.xz

New:

  linuxrc-5.0.42.tar.xz



Other differences:
--
++ linuxrc.spec ++
--- /var/tmp/diff_new_pack.cnTNfl/_old  2015-05-26 13:29:26.0 +0200
+++ /var/tmp/diff_new_pack.cnTNfl/_new  2015-05-26 13:29:26.0 +0200
@@ -25,7 +25,7 @@
 Summary:SUSE Installation Program
 License:GPL-3.0+
 Group:  System/Boot
-Version:5.0.41
+Version:5.0.42
 Release:0
 Source: %{name}-%{version}.tar.xz
 BuildRoot:  %{_tmppath}/%{name}-%{version}-build

++ linuxrc-5.0.41.tar.xz - linuxrc-5.0.42.tar.xz ++
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/linuxrc-5.0.41/.gitignore 
new/linuxrc-5.0.42/.gitignore
--- old/linuxrc-5.0.41/.gitignore   2015-05-15 11:22:15.0 +0200
+++ new/linuxrc-5.0.42/.gitignore   2015-05-25 17:35:16.0 +0200
@@ -1,3 +1,8 @@
 changelog
 Changelog
 VERSION
+*.o
+.depend
+linuxrc
+mkpsfu/mkpsfu
+version.h
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/linuxrc-5.0.41/VERSION new/linuxrc-5.0.42/VERSION
--- old/linuxrc-5.0.41/VERSION  2015-05-15 11:22:15.0 +0200
+++ new/linuxrc-5.0.42/VERSION  2015-05-25 17:35:16.0 +0200
@@ -1 +1 @@
-5.0.41
+5.0.42
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/linuxrc-5.0.41/changelog new/linuxrc-5.0.42/changelog
--- old/linuxrc-5.0.41/changelog2015-05-15 11:22:15.0 +0200
+++ new/linuxrc-5.0.42/changelog2015-05-25 17:35:16.0 +0200
@@ -1,3 +1,6 @@
+2015-05-25:5.0.42
+   - do not display an error message after aborting YaST (bsc #614829)
+
 2015-05-15:5.0.41
- ensure driver update medium is unmounted before applying it (bsc 
#892932)
 
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/linuxrc-5.0.41/install.c new/linuxrc-5.0.42/install.c
--- old/linuxrc-5.0.41/install.c2015-05-15 11:22:15.0 +0200
+++ new/linuxrc-5.0.42/install.c2015-05-25 17:35:16.0 +0200
@@ -1292,7 +1292,7 @@
 
   if(config.manual) util_disp_init();
 
-  if(err  config.win) {
+  if(err  !config.aborted  config.win) {
 dia_message(An error occurred during the installation., MSGTYPE_ERROR);
   }
 




commit linuxrc for openSUSE:Factory

2015-05-15 Thread h_root
Hello community,

here is the log from the commit of package linuxrc for openSUSE:Factory checked 
in at 2015-05-15 09:54:49

Comparing /work/SRC/openSUSE:Factory/linuxrc (Old)
 and  /work/SRC/openSUSE:Factory/.linuxrc.new (New)


Package is linuxrc

Changes:

--- /work/SRC/openSUSE:Factory/linuxrc/linuxrc.changes  2015-05-10 
10:56:08.0 +0200
+++ /work/SRC/openSUSE:Factory/.linuxrc.new/linuxrc.changes 2015-05-15 
09:54:50.0 +0200
@@ -1,0 +2,6 @@
+Mon May 11 15:45:57 CEST 2015 - snw...@suse.com
+
+- really setup next network interface when probing for a working one 
(bsc#928965)
+- 5.0.40
+
+---

Old:

  linuxrc-5.0.39.tar.xz

New:

  linuxrc-5.0.40.tar.xz



Other differences:
--
++ linuxrc.spec ++
--- /var/tmp/diff_new_pack.M8HOa4/_old  2015-05-15 09:54:51.0 +0200
+++ /var/tmp/diff_new_pack.M8HOa4/_new  2015-05-15 09:54:51.0 +0200
@@ -25,7 +25,7 @@
 Summary:SUSE Installation Program
 License:GPL-3.0+
 Group:  System/Boot
-Version:5.0.39
+Version:5.0.40
 Release:0
 Source: %{name}-%{version}.tar.xz
 BuildRoot:  %{_tmppath}/%{name}-%{version}-build

++ linuxrc-5.0.39.tar.xz - linuxrc-5.0.40.tar.xz ++
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/linuxrc-5.0.39/VERSION new/linuxrc-5.0.40/VERSION
--- old/linuxrc-5.0.39/VERSION  2015-05-08 08:45:32.0 +0200
+++ new/linuxrc-5.0.40/VERSION  2015-05-11 15:42:37.0 +0200
@@ -1 +1 @@
-5.0.39
+5.0.40
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/linuxrc-5.0.39/changelog new/linuxrc-5.0.40/changelog
--- old/linuxrc-5.0.39/changelog2015-05-08 08:45:32.0 +0200
+++ new/linuxrc-5.0.40/changelog2015-05-11 15:42:37.0 +0200
@@ -1,3 +1,6 @@
+2015-05-07:5.0.40
+   - really setup next network interface when probing for a working one 
(bsc #928965)
+
 2015-05-07:5.0.39
- Documented testing with mksusecd.
- removed an obsolete file
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/linuxrc-5.0.39/url.c new/linuxrc-5.0.40/url.c
--- old/linuxrc-5.0.39/url.c2015-05-08 08:45:32.0 +0200
+++ new/linuxrc-5.0.40/url.c2015-05-11 15:42:37.0 +0200
@@ -2474,9 +2474,9 @@
  */
 int url_setup_interface(url_t *url)
 {
-  // we already have at least one configured interface
-  if(config.ifcfg.if_up) {
-fprintf(stderr, setup_interface: already up\n);
+  // the interface has already been configured
+  if(slist_getentry(config.ifcfg.if_up, url-used.device)) {
+fprintf(stderr, setup_interface: %s already up\n, url-used.device);
 
 return 1;
   }
@@ -2484,7 +2484,11 @@
   if(
 !strncmp(url-used.device, lo, sizeof lo - 1) ||
 !strncmp(url-used.device, sit, sizeof sit - 1)
-  ) return 0;
+  ) {
+fprintf(stderr, setup_interface: %s ignored\n, url-used.device);
+
+return 0;
+  }
 
   net_stop();
 




commit linuxrc for openSUSE:Factory

2015-05-15 Thread h_root
Hello community,

here is the log from the commit of package linuxrc for openSUSE:Factory checked 
in at 2015-05-16 07:14:02

Comparing /work/SRC/openSUSE:Factory/linuxrc (Old)
 and  /work/SRC/openSUSE:Factory/.linuxrc.new (New)


Package is linuxrc

Changes:

--- /work/SRC/openSUSE:Factory/linuxrc/linuxrc.changes  2015-05-15 
09:54:50.0 +0200
+++ /work/SRC/openSUSE:Factory/.linuxrc.new/linuxrc.changes 2015-05-16 
07:14:03.0 +0200
@@ -1,0 +2,6 @@
+Fri May 15 11:25:58 CEST 2015 - snw...@suse.com
+
+- ensure driver update medium is unmounted before applying it (bsc#892932)
+- 5.0.41
+
+---

Old:

  linuxrc-5.0.40.tar.xz

New:

  linuxrc-5.0.41.tar.xz



Other differences:
--
++ linuxrc.spec ++
--- /var/tmp/diff_new_pack.x9FrXQ/_old  2015-05-16 07:14:04.0 +0200
+++ /var/tmp/diff_new_pack.x9FrXQ/_new  2015-05-16 07:14:04.0 +0200
@@ -25,7 +25,7 @@
 Summary:SUSE Installation Program
 License:GPL-3.0+
 Group:  System/Boot
-Version:5.0.40
+Version:5.0.41
 Release:0
 Source: %{name}-%{version}.tar.xz
 BuildRoot:  %{_tmppath}/%{name}-%{version}-build

++ linuxrc-5.0.40.tar.xz - linuxrc-5.0.41.tar.xz ++
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/linuxrc-5.0.40/VERSION new/linuxrc-5.0.41/VERSION
--- old/linuxrc-5.0.40/VERSION  2015-05-11 15:42:37.0 +0200
+++ new/linuxrc-5.0.41/VERSION  2015-05-15 11:22:15.0 +0200
@@ -1 +1 @@
-5.0.40
+5.0.41
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/linuxrc-5.0.40/auto2.c new/linuxrc-5.0.41/auto2.c
--- old/linuxrc-5.0.40/auto2.c  2015-05-11 15:42:37.0 +0200
+++ new/linuxrc-5.0.41/auto2.c  2015-05-15 11:22:15.0 +0200
@@ -619,6 +619,8 @@
 
   auto2_driverupdate(config.url.install);
 
+  util_do_driver_updates();
+
   return config.sig_failed ? 0: 1;
 }
 
@@ -1014,6 +1016,8 @@
 
 /*
  * Check for driver updates.
+ *
+ * Note: does not apply the updates, run util_do_driver_updates() afterwards.
  */
 void auto2_driverupdate(url_t *url)
 {
@@ -1050,12 +1054,9 @@
 
   free(file_name);
 
-  if(!err) util_do_driver_updates();
-
   /* then, look for unpacked version */
   if(url-mount) {
 util_chk_driver_update(url-mount, get_instmode_name(url-scheme));
-util_do_driver_updates();
   }
 
   if(config.win) win_close(win);
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/linuxrc-5.0.40/changelog new/linuxrc-5.0.41/changelog
--- old/linuxrc-5.0.40/changelog2015-05-11 15:42:37.0 +0200
+++ new/linuxrc-5.0.41/changelog2015-05-15 11:22:15.0 +0200
@@ -1,3 +1,6 @@
+2015-05-15:5.0.41
+   - ensure driver update medium is unmounted before applying it (bsc 
#892932)
+
 2015-05-07:5.0.40
- really setup next network interface when probing for a working one 
(bsc #928965)
 
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/linuxrc-5.0.40/install.c new/linuxrc-5.0.41/install.c
--- old/linuxrc-5.0.40/install.c2015-05-11 15:42:37.0 +0200
+++ new/linuxrc-5.0.41/install.c2015-05-15 11:22:15.0 +0200
@@ -1393,6 +1393,8 @@
   url_umount(url);
   url_free(url);
 
+  util_do_driver_updates();
+
   return 0;
 }
 




commit linuxrc for openSUSE:Factory

2015-05-10 Thread h_root
Hello community,

here is the log from the commit of package linuxrc for openSUSE:Factory checked 
in at 2015-05-10 10:56:06

Comparing /work/SRC/openSUSE:Factory/linuxrc (Old)
 and  /work/SRC/openSUSE:Factory/.linuxrc.new (New)


Package is linuxrc

Changes:

--- /work/SRC/openSUSE:Factory/linuxrc/linuxrc.changes  2015-04-25 
16:47:17.0 +0200
+++ /work/SRC/openSUSE:Factory/.linuxrc.new/linuxrc.changes 2015-05-10 
10:56:08.0 +0200
@@ -1,0 +2,9 @@
+Fri May  8 08:46:04 CEST 2015 - snw...@suse.com
+
+- really setup next network interface when probing for a working one 
(bsc#928965)
+- Documented testing with mksusecd.
+- removed an obsolete file
+- Fixed `make TAGS`.
+- 5.0.39
+
+---

Old:

  linuxrc-5.0.37.tar.xz

New:

  linuxrc-5.0.39.tar.xz



Other differences:
--
++ linuxrc.spec ++
--- /var/tmp/diff_new_pack.YaBpQA/_old  2015-05-10 10:56:09.0 +0200
+++ /var/tmp/diff_new_pack.YaBpQA/_new  2015-05-10 10:56:09.0 +0200
@@ -25,7 +25,7 @@
 Summary:SUSE Installation Program
 License:GPL-3.0+
 Group:  System/Boot
-Version:5.0.37
+Version:5.0.39
 Release:0
 Source: %{name}-%{version}.tar.xz
 BuildRoot:  %{_tmppath}/%{name}-%{version}-build

++ linuxrc-5.0.37.tar.xz - linuxrc-5.0.39.tar.xz ++
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/linuxrc-5.0.37/Makefile new/linuxrc-5.0.39/Makefile
--- old/linuxrc-5.0.37/Makefile 2015-04-24 11:35:41.0 +0200
+++ new/linuxrc-5.0.39/Makefile 2015-05-08 08:45:32.0 +0200
@@ -57,8 +57,8 @@
rm -f $(OBJ) *~ linuxrc linuxrc.map linuxrc-debug .depend version.h
rm -rf package
 
-TAGS: *.c *.h */*.c */*.h
-   etags *.c *.h */*.c */*.h
+TAGS: *.c *.h */*.c
+   etags $^
 
 ifeq ($(filter clean changelog VERSION, $(MAKECMDGOALS)),)
 .depend: version.h $(SRC) $(INC)
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/linuxrc-5.0.37/README.md new/linuxrc-5.0.39/README.md
--- old/linuxrc-5.0.37/README.md2015-04-24 11:35:41.0 +0200
+++ new/linuxrc-5.0.39/README.md2015-05-08 08:45:32.0 +0200
@@ -22,3 +22,31 @@
 ### Logging
 To capture log into file with maximum log verbosity use these linuxrc params:
 `linuxrc.log=/tmp/linuxrc.log linuxrc.debug=4`
+
+## Testing the Installation
+
+A regular SUSE installation DVD gets built via linuxrc.rpm,
+then installation-images.rpm,
+then a [KIWI image 
build](https://build.opensuse.org/package/show/openSUSE:Factory/_product:openSUSE-dvd5-dvd-x86_64).
+
+For testing a shortcut is available: mksusecd
+([GitHub](https://github.com/openSUSE/mksusecd),
+[OBS](https://build.opensuse.org/package/show/system:install:head/mksusecd)).
+
+Use:
+
+```sh
+mksusecd --initrd ./linuxrc.rpm ...
+```
+
+or, without an RPM:
+
+```sh
+make
+mkdir /tmp/initrd
+cp linuxrc /tmp/initrd/init
+mksusecd --initrd /tmp/initrd ...
+```
+
+You may also use `mksusecd --micro` in case you only want to test Stage 1
+and not a full install.
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/linuxrc-5.0.37/VERSION new/linuxrc-5.0.39/VERSION
--- old/linuxrc-5.0.37/VERSION  2015-04-24 11:35:41.0 +0200
+++ new/linuxrc-5.0.39/VERSION  2015-05-08 08:45:32.0 +0200
@@ -1 +1 @@
-5.0.37
+5.0.39
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/linuxrc-5.0.37/bptypes.h new/linuxrc-5.0.39/bptypes.h
--- old/linuxrc-5.0.37/bptypes.h2015-04-24 11:35:41.0 +0200
+++ new/linuxrc-5.0.39/bptypes.h1970-01-01 01:00:00.0 +0100
@@ -1,27 +0,0 @@
-/* bptypes.h */
-
-#ifndefBPTYPES_H
-#defineBPTYPES_H
-
-/*
- * 32 bit integers are different types on various architectures
- */
-
-/* I hope that this test actually works! */
-
-#ifndefint32
-/* Assume that int is 32bits -- we can't test better than this in cpp
-   If this is wrong, then define int32 externally to override this */
-# define int32 int
-#endif
-
-/* typedef unsigned int32 u_int32; */
-
-/*
- * Nice typedefs. . .
- */
-
-typedef int boolean;
-typedef unsigned char byte;
-
-#endif /* BPTYPES_H */
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/linuxrc-5.0.37/changelog new/linuxrc-5.0.39/changelog
--- old/linuxrc-5.0.37/changelog2015-04-24 11:35:41.0 +0200
+++ new/linuxrc-5.0.39/changelog2015-05-08 08:45:32.0 +0200
@@ -1,3 +1,11 @@
+2015-05-07:5.0.39
+   - Documented testing with mksusecd.
+   - removed an obsolete file
+   - 

commit linuxrc for openSUSE:Factory

2015-04-25 Thread h_root
Hello community,

here is the log from the commit of package linuxrc for openSUSE:Factory checked 
in at 2015-04-25 16:47:16

Comparing /work/SRC/openSUSE:Factory/linuxrc (Old)
 and  /work/SRC/openSUSE:Factory/.linuxrc.new (New)


Package is linuxrc

Changes:

--- /work/SRC/openSUSE:Factory/linuxrc/linuxrc.changes  2015-04-06 
00:24:16.0 +0200
+++ /work/SRC/openSUSE:Factory/.linuxrc.new/linuxrc.changes 2015-04-25 
16:47:17.0 +0200
@@ -1,0 +2,15 @@
+Fri Apr 24 11:41:04 CEST 2015 - snw...@suse.com
+
+- re-enable utf8 mode when linemode is switched off (bnc #921112)
+- 5.0.37
+
+---
+Thu Apr 23 08:16:04 CEST 2015 - snw...@suse.com
+
+- Add note about passing cli options
+- add paragraph about logging
+- add a debugging hint into readme
+- Fix BOOTIF on PowerNV
+- 5.0.36
+
+---

Old:

  linuxrc-5.0.35.tar.xz

New:

  linuxrc-5.0.37.tar.xz



Other differences:
--
++ linuxrc.spec ++
--- /var/tmp/diff_new_pack.CnYamB/_old  2015-04-25 16:47:18.0 +0200
+++ /var/tmp/diff_new_pack.CnYamB/_new  2015-04-25 16:47:18.0 +0200
@@ -25,7 +25,7 @@
 Summary:SUSE Installation Program
 License:GPL-3.0+
 Group:  System/Boot
-Version:5.0.35
+Version:5.0.37
 Release:0
 Source: %{name}-%{version}.tar.xz
 BuildRoot:  %{_tmppath}/%{name}-%{version}-build

++ linuxrc-5.0.35.tar.xz - linuxrc-5.0.37.tar.xz ++
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/linuxrc-5.0.35/README.md new/linuxrc-5.0.37/README.md
--- old/linuxrc-5.0.35/README.md2015-04-02 10:50:02.0 +0200
+++ new/linuxrc-5.0.37/README.md2015-04-24 11:35:41.0 +0200
@@ -2,3 +2,23 @@
 [YaST](https://en.opensuse.org/Portal:YaST) runs.
 
 See https://en.opensuse.org/SDB:Linuxrc.
+
+## Debugging
+
+### Run on Installed System
+Linuxrc can run on installed system. It runs in testmode that make debugging 
easier.
+Parameters are passed as common parametrs like: `linuxrc linemode=0 manual=1 
LogLevel=8`
+
+### Useful Shortcuts
+
+* ctrl+c then 'q' - exit linuxrc
+
+* ctrl+c then 'c' - change config
+
+* ctrl+c then 'i' - show info detected by linuxrc
+
+* ctrl+c then 's' - start shell
+
+### Logging
+To capture log into file with maximum log verbosity use these linuxrc params:
+`linuxrc.log=/tmp/linuxrc.log linuxrc.debug=4`
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/linuxrc-5.0.35/VERSION new/linuxrc-5.0.37/VERSION
--- old/linuxrc-5.0.35/VERSION  2015-04-02 10:50:02.0 +0200
+++ new/linuxrc-5.0.37/VERSION  2015-04-24 11:35:41.0 +0200
@@ -1 +1 @@
-5.0.35
+5.0.37
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/linuxrc-5.0.35/changelog new/linuxrc-5.0.37/changelog
--- old/linuxrc-5.0.35/changelog2015-04-02 10:50:02.0 +0200
+++ new/linuxrc-5.0.37/changelog2015-04-24 11:35:41.0 +0200
@@ -1,3 +1,12 @@
+2015-04-23:5.0.37
+   - re-enable utf8 mode when linemode is switched off (bnc #921112)
+
+2015-04-22:5.0.36
+   - Add note about passing cli options
+   - add paragraph about logging
+   - add a debugging hint into readme
+   - Fix BOOTIF on PowerNV
+
 2015-04-02:5.0.35
- match mac addresses case-insensitive (bnc #924872)
 
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/linuxrc-5.0.35/file.c new/linuxrc-5.0.37/file.c
--- old/linuxrc-5.0.35/file.c   2015-04-02 10:50:02.0 +0200
+++ new/linuxrc-5.0.37/file.c   2015-04-24 11:35:41.0 +0200
@@ -1015,7 +1015,7 @@
 
   case key_linemode:
 if(f-is.numeric) config.linemode = f-nvalue;
-if(config.linemode) config.utf8 = 0;
+config.utf8 = config.linemode ? 0 : 1;
 break;
 
   case key_moduledelay:
@@ -1451,12 +1451,21 @@
 break;
 
   case key_bootif:
-if(strlen(f-value)  3) {
-  str_copy(config.ifcfg.manual-device, f-value + 3);
-  for(s = config.ifcfg.manual-device; *s; s++) if(*s == '-') *s = ':';
-}
+{
+  /* handle both EUI-48 and EUI-64 both with and without
+   * the ipappend value
+   * EUI-48 w/o 17 : 01:23:45:67:89:0a
+   * EUI-48 w/  20 : 99-01:23:45:67:89:0a
+   * EUI-64 w/o 23 : 01:23:45:67:89:0a:bc:de
+   * EUI-64 w/  26 : 99-01:23:45:67:89:0a:bc:de
+   */
+  int len = strlen(f-value);
+  if ( len  3 ) {
+str_copy(config.ifcfg.manual-device, f-value + (len == 20 || 

commit linuxrc for openSUSE:Factory

2015-04-05 Thread h_root
Hello community,

here is the log from the commit of package linuxrc for openSUSE:Factory checked 
in at 2015-04-06 00:24:14

Comparing /work/SRC/openSUSE:Factory/linuxrc (Old)
 and  /work/SRC/openSUSE:Factory/.linuxrc.new (New)


Package is linuxrc

Changes:

--- /work/SRC/openSUSE:Factory/linuxrc/linuxrc.changes  2015-03-23 
12:14:48.0 +0100
+++ /work/SRC/openSUSE:Factory/.linuxrc.new/linuxrc.changes 2015-04-06 
00:24:16.0 +0200
@@ -1,0 +2,6 @@
+Thu Apr  2 10:51:21 CEST 2015 - snw...@suse.com
+
+- match mac addresses case-insensitive (bnc #924872)
+- 5.0.35
+
+---

Old:

  linuxrc-5.0.34.tar.xz

New:

  linuxrc-5.0.35.tar.xz



Other differences:
--
++ linuxrc.spec ++
--- /var/tmp/diff_new_pack.ImPEWe/_old  2015-04-06 00:24:16.0 +0200
+++ /var/tmp/diff_new_pack.ImPEWe/_new  2015-04-06 00:24:16.0 +0200
@@ -1,7 +1,7 @@
 #
 # spec file for package linuxrc
 #
-# Copyright (c) 2015 SUSE LINUX Products GmbH, Nuernberg, Germany.
+# Copyright (c) 2015 SUSE LINUX GmbH, Nuernberg, Germany.
 #
 # All modifications and additions to the file contributed by third parties
 # remain the property of their copyright owners, unless otherwise agreed
@@ -25,7 +25,7 @@
 Summary:SUSE Installation Program
 License:GPL-3.0+
 Group:  System/Boot
-Version:5.0.34
+Version:5.0.35
 Release:0
 Source: %{name}-%{version}.tar.xz
 BuildRoot:  %{_tmppath}/%{name}-%{version}-build

++ linuxrc-5.0.34.tar.xz - linuxrc-5.0.35.tar.xz ++
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/linuxrc-5.0.34/VERSION new/linuxrc-5.0.35/VERSION
--- old/linuxrc-5.0.34/VERSION  2015-03-18 16:32:48.0 +0100
+++ new/linuxrc-5.0.35/VERSION  2015-04-02 10:50:02.0 +0200
@@ -1 +1 @@
-5.0.34
+5.0.35
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/linuxrc-5.0.34/changelog new/linuxrc-5.0.35/changelog
--- old/linuxrc-5.0.34/changelog2015-03-18 16:32:48.0 +0100
+++ new/linuxrc-5.0.35/changelog2015-04-02 10:50:02.0 +0200
@@ -1,3 +1,6 @@
+2015-04-02:5.0.35
+   - match mac addresses case-insensitive (bnc #924872)
+
 2015-03-18:5.0.34
- update copyright string
- verify also rpm signatures
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/linuxrc-5.0.34/net.c new/linuxrc-5.0.35/net.c
--- old/linuxrc-5.0.34/net.c2015-03-18 16:32:48.0 +0100
+++ new/linuxrc-5.0.35/net.c2015-04-02 10:50:02.0 +0200
@@ -1665,7 +1665,7 @@
   for(sl = config.ethtool; sl; sl = sl-next) {
 if(
   (device  !fnmatch(sl-key, device, 0)) ||
-  (hwaddr  !fnmatch(sl-key, hwaddr, 0))
+  (hwaddr  !fnmatch(sl-key, hwaddr, FNM_CASEFOLD))
 ) {
   if(s) {
 strprintf(s, %s %s, s, sl-value);
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/linuxrc-5.0.34/util.c new/linuxrc-5.0.35/util.c
--- old/linuxrc-5.0.34/util.c   2015-03-18 16:32:48.0 +0100
+++ new/linuxrc-5.0.35/util.c   2015-04-02 10:50:02.0 +0200
@@ -3664,7 +3664,7 @@
 
   if(
 (device  !fnmatch(key, device, 0)) ||
-(hwaddr  !fnmatch(key, hwaddr, 0))
+(hwaddr  !fnmatch(key, hwaddr, FNM_CASEFOLD))
   ) return 1;
 
   return 0;




commit linuxrc for openSUSE:Factory

2015-03-23 Thread h_root
Hello community,

here is the log from the commit of package linuxrc for openSUSE:Factory checked 
in at 2015-03-23 12:14:47

Comparing /work/SRC/openSUSE:Factory/linuxrc (Old)
 and  /work/SRC/openSUSE:Factory/.linuxrc.new (New)


Package is linuxrc

Changes:

--- /work/SRC/openSUSE:Factory/linuxrc/linuxrc.changes  2015-03-18 
12:59:24.0 +0100
+++ /work/SRC/openSUSE:Factory/.linuxrc.new/linuxrc.changes 2015-03-23 
12:14:48.0 +0100
@@ -1,0 +2,8 @@
+Wed Mar 18 17:16:36 CET 2015 - snw...@suse.com
+
+- update copyright string
+- verify also rpm signatures
+- track also improper driver updates (bnc #901598)
+- 5.0.34
+
+---

Old:

  linuxrc-5.0.33.tar.xz

New:

  linuxrc-5.0.34.tar.xz



Other differences:
--
++ linuxrc.spec ++
--- /var/tmp/diff_new_pack.ky6NQi/_old  2015-03-23 12:14:49.0 +0100
+++ /var/tmp/diff_new_pack.ky6NQi/_new  2015-03-23 12:14:49.0 +0100
@@ -25,7 +25,7 @@
 Summary:SUSE Installation Program
 License:GPL-3.0+
 Group:  System/Boot
-Version:5.0.33
+Version:5.0.34
 Release:0
 Source: %{name}-%{version}.tar.xz
 BuildRoot:  %{_tmppath}/%{name}-%{version}-build

++ linuxrc-5.0.33.tar.xz - linuxrc-5.0.34.tar.xz ++
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/linuxrc-5.0.33/VERSION new/linuxrc-5.0.34/VERSION
--- old/linuxrc-5.0.33/VERSION  2015-03-09 10:41:11.0 +0100
+++ new/linuxrc-5.0.34/VERSION  2015-03-18 16:32:48.0 +0100
@@ -1 +1 @@
-5.0.33
+5.0.34
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/linuxrc-5.0.33/auto2.c new/linuxrc-5.0.34/auto2.c
--- old/linuxrc-5.0.33/auto2.c  2015-03-09 10:41:11.0 +0100
+++ new/linuxrc-5.0.34/auto2.c  2015-03-18 16:32:48.0 +0100
@@ -530,6 +530,10 @@
   if(!is_dud  (url-is.file || !url-is.mountable)) {
 is_dud = 1;
 
+// log as driver update
+config.update.count++;
+slist_append_str(config.update.name_list, url-path);
+
 s = url_print(url, 1);
 
 printf(%s: adding to %s system\n, s, config.rescue ? rescue : 
installation);
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/linuxrc-5.0.33/changelog new/linuxrc-5.0.34/changelog
--- old/linuxrc-5.0.33/changelog2015-03-09 10:41:11.0 +0100
+++ new/linuxrc-5.0.34/changelog2015-03-18 16:32:48.0 +0100
@@ -1,3 +1,8 @@
+2015-03-18:5.0.34
+   - update copyright string
+   - verify also rpm signatures
+   - track also improper driver updates (bnc #901598)
+
 2015-03-09:5.0.33
- don't set a default keymap too eagerly (bnc #857194)
 
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/linuxrc-5.0.33/linuxrc.c new/linuxrc-5.0.34/linuxrc.c
--- old/linuxrc-5.0.33/linuxrc.c2015-03-09 10:41:11.0 +0100
+++ new/linuxrc-5.0.34/linuxrc.c2015-03-18 16:32:48.0 +0100
@@ -872,7 +872,7 @@
 if (config.linemode)
   putchar('\n');
 printf(
-  \n %s installation program v LXRC_FULL_VERSION  (c) 1996-2014 SUSE 
Linux Products GmbH \n,
+  \n %s installation program v LXRC_FULL_VERSION  (c) 1996-2015 SUSE 
Linux GmbH \n,
   config.product
 );
 if (config.linemode)
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/linuxrc-5.0.33/url.c new/linuxrc-5.0.34/url.c
--- old/linuxrc-5.0.33/url.c2015-03-09 10:41:11.0 +0100
+++ new/linuxrc-5.0.34/url.c2015-03-18 16:32:48.0 +0100
@@ -1,4 +1,4 @@
-#define _GNU_SOURCE/* strnlen, getline */
+#define _GNU_SOURCE/* strnlen, getline, strcasestr */
 
 /*
 
@@ -70,6 +70,10 @@
 static void digest_process(url_data_t *url_data, void *buffer, size_t len);
 static void digest_finish(url_data_t *url_data);
 static int digest_verify(url_data_t *url_data, char *file_name);
+static int warn_signature_failed(char *file_name);
+static int is_gpg_signed(char *file);
+static int is_rpm_signed(char *file);
+static int is_signed(char *file, int check);
 
 
 void url_read(url_data_t *url_data)
@@ -1507,7 +1511,6 @@
 /*
   Test if 'file' is a gpg signed file.
   If so, unpack it (replacing 'file') and verify signature.
-  if 'check' is set, update config.sig_failed and show warning to user.
 
   Return values:
 -1: file or gpg not found
@@ -1515,7 +1518,7 @@
  1: file gpg format, sig wrong
  2: file not gpg format
 */
-int is_gpg_signed(char *file, int check)
+int is_gpg_signed(char *file)
 {
   char *cmd = NULL, *buf = NULL;
   int err = -1, is_sig = 0, sig_ok = 0;
@@ 

commit linuxrc for openSUSE:Factory

2015-03-18 Thread h_root
Hello community,

here is the log from the commit of package linuxrc for openSUSE:Factory checked 
in at 2015-03-18 12:59:22

Comparing /work/SRC/openSUSE:Factory/linuxrc (Old)
 and  /work/SRC/openSUSE:Factory/.linuxrc.new (New)


Package is linuxrc

Changes:

--- /work/SRC/openSUSE:Factory/linuxrc/linuxrc.changes  2015-03-09 
10:04:31.0 +0100
+++ /work/SRC/openSUSE:Factory/.linuxrc.new/linuxrc.changes 2015-03-18 
12:59:24.0 +0100
@@ -1,0 +2,6 @@
+Mon Mar  9 10:45:46 CET 2015 - snw...@suse.com
+
+- don't set a default keymap too eagerly (bnc #857194)
+- 5.0.33
+
+---

Old:

  linuxrc-5.0.32.tar.xz

New:

  linuxrc-5.0.33.tar.xz



Other differences:
--
++ linuxrc.spec ++
--- /var/tmp/diff_new_pack.YDWWZW/_old  2015-03-18 12:59:25.0 +0100
+++ /var/tmp/diff_new_pack.YDWWZW/_new  2015-03-18 12:59:25.0 +0100
@@ -25,7 +25,7 @@
 Summary:SUSE Installation Program
 License:GPL-3.0+
 Group:  System/Boot
-Version:5.0.32
+Version:5.0.33
 Release:0
 Source: %{name}-%{version}.tar.xz
 BuildRoot:  %{_tmppath}/%{name}-%{version}-build

++ linuxrc-5.0.32.tar.xz - linuxrc-5.0.33.tar.xz ++
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/linuxrc-5.0.32/VERSION new/linuxrc-5.0.33/VERSION
--- old/linuxrc-5.0.32/VERSION  2015-03-05 14:53:44.0 +0100
+++ new/linuxrc-5.0.33/VERSION  2015-03-09 10:41:11.0 +0100
@@ -1 +1 @@
-5.0.32
+5.0.33
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/linuxrc-5.0.32/changelog new/linuxrc-5.0.33/changelog
--- old/linuxrc-5.0.32/changelog2015-03-05 14:53:44.0 +0100
+++ new/linuxrc-5.0.33/changelog2015-03-09 10:41:11.0 +0100
@@ -1,3 +1,6 @@
+2015-03-09:5.0.33
+   - don't set a default keymap too eagerly (bnc #857194)
+
 2015-03-05:5.0.32
- quote filenames
- warn if driver update didn't contain usable data
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/linuxrc-5.0.32/linuxrc.c new/linuxrc-5.0.33/linuxrc.c
--- old/linuxrc-5.0.32/linuxrc.c2015-03-05 14:53:44.0 +0100
+++ new/linuxrc-5.0.33/linuxrc.c2015-03-09 10:41:11.0 +0100
@@ -1229,7 +1229,7 @@
 if(old_win) util_print_banner(); else util_disp_done();
   }
 
-  if(!(config.serial || config.is_iseries || config.linemode)) {
+  if(!(config.serial || config.is_iseries || config.linemode)  
config.manual) {
 set_choose_keytable(0);
   }
 

-- 
To unsubscribe, e-mail: opensuse-commit+unsubscr...@opensuse.org
For additional commands, e-mail: opensuse-commit+h...@opensuse.org



commit linuxrc for openSUSE:Factory

2015-03-09 Thread h_root
Hello community,

here is the log from the commit of package linuxrc for openSUSE:Factory checked 
in at 2015-03-09 10:04:29

Comparing /work/SRC/openSUSE:Factory/linuxrc (Old)
 and  /work/SRC/openSUSE:Factory/.linuxrc.new (New)


Package is linuxrc

Changes:

--- /work/SRC/openSUSE:Factory/linuxrc/linuxrc.changes  2015-02-06 
10:57:21.0 +0100
+++ /work/SRC/openSUSE:Factory/.linuxrc.new/linuxrc.changes 2015-03-09 
10:04:31.0 +0100
@@ -1,0 +2,9 @@
+Thu Mar  5 14:55:47 CET 2015 - snw...@suse.com
+
+- quote filenames
+- warn if driver update didn't contain usable data
+- show error message for failed driver update loads (bnc #901598)
+- allow files to be signed directly
+- 5.0.32
+
+---

Old:

  linuxrc-5.0.31.tar.xz

New:

  linuxrc-5.0.32.tar.xz



Other differences:
--
++ linuxrc.spec ++
--- /var/tmp/diff_new_pack.GjnnJJ/_old  2015-03-09 10:04:32.0 +0100
+++ /var/tmp/diff_new_pack.GjnnJJ/_new  2015-03-09 10:04:32.0 +0100
@@ -25,7 +25,7 @@
 Summary:SUSE Installation Program
 License:GPL-3.0+
 Group:  System/Boot
-Version:5.0.31
+Version:5.0.32
 Release:0
 Source: %{name}-%{version}.tar.xz
 BuildRoot:  %{_tmppath}/%{name}-%{version}-build

++ linuxrc-5.0.31.tar.xz - linuxrc-5.0.32.tar.xz ++
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/linuxrc-5.0.31/VERSION new/linuxrc-5.0.32/VERSION
--- old/linuxrc-5.0.31/VERSION  2015-02-05 11:58:44.0 +0100
+++ new/linuxrc-5.0.32/VERSION  2015-03-05 14:53:44.0 +0100
@@ -1 +1 @@
-5.0.31
+5.0.32
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/linuxrc-5.0.31/auto2.c new/linuxrc-5.0.32/auto2.c
--- old/linuxrc-5.0.31/auto2.c  2015-02-05 11:58:44.0 +0100
+++ new/linuxrc-5.0.32/auto2.c  2015-03-05 14:53:44.0 +0100
@@ -405,6 +405,8 @@
 
   /* load  run driverupdates */
   if(config.update.urls) {
+int should_have_updates = 0;
+
 dud_count = config.update.count;
 /* point at list end */
 for(names = config.update.name_list; *names; names = (*names)-next);
@@ -417,8 +419,20 @@
   fprintf(url-quiet ? stderr : stdout, Reading driver update: %s\n, 
sl-key);
   fflush(url-quiet ? stderr : stdout);
 
+  // for later...
+  char *err_buf = NULL;
+  strprintf(err_buf, Failed to load driver update:\n%s, url_print(url, 
0));
+
   if(url-is.mountable) {
 err = url_mount(url, config.mountpoint.update, test_and_add_dud);
+if(!url-quiet) {
+  if(err) {
+dia_message2(err_buf, MSGTYPE_ERROR);
+  }
+  else {
+should_have_updates = 1;
+  }
+}
   }
   else {
 char *file_name = strdup(new_download());
@@ -448,12 +462,18 @@
 free(path2);
 
 if(!err) {
+  if(!url-quiet) should_have_updates = 1;
   test_and_add_dud(url);
   LXRC_WAIT
   util_umount(config.mountpoint.update);
 }
+else if(!url-quiet) {
+  dia_message2(err_buf, MSGTYPE_ERROR);
+}
   }
 
+  str_copy(err_buf, NULL);
+
   LXRC_WAIT
 
   url_umount(url);
@@ -462,7 +482,11 @@
 util_do_driver_updates();
 
 if(dud_count == config.update.count) {
-  fprintf(stderr, No new driver updates found.\n);
+  if(should_have_updates) {
+char *msg = No applicable driver updates found.;
+fprintf(stderr, %s\n, msg);
+dia_message2(msg, MSGTYPE_INFO);
+  }
 }
 else {
   if(*names) {
@@ -1033,7 +1057,11 @@
   if(config.win) win_close(win);
 
   if(dud_count == config.update.count) {
-fprintf(stderr, No new driver updates found.\n);
+if(!err) {
+  char *msg = No applicable driver updates found.;
+  fprintf(stderr, %s\n, msg);
+  dia_message2(msg, MSGTYPE_INFO);
+}
   }
   else {
 if(*names) {
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/linuxrc-5.0.31/changelog new/linuxrc-5.0.32/changelog
--- old/linuxrc-5.0.31/changelog2015-02-05 11:58:44.0 +0100
+++ new/linuxrc-5.0.32/changelog2015-03-05 14:53:44.0 +0100
@@ -1,3 +1,9 @@
+2015-03-05:5.0.32
+   - quote filenames
+   - warn if driver update didn't contain usable data
+   - show error message for failed driver update loads (bnc #901598)
+   - allow files to be signed directly
+
 2015-02-05:5.0.31
- update git2log script
- keep default nanny setting unless explicitly changed
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 

commit linuxrc for openSUSE:Factory

2015-02-06 Thread h_root
Hello community,

here is the log from the commit of package linuxrc for openSUSE:Factory checked 
in at 2015-02-06 10:57:19

Comparing /work/SRC/openSUSE:Factory/linuxrc (Old)
 and  /work/SRC/openSUSE:Factory/.linuxrc.new (New)


Package is linuxrc

Changes:

--- /work/SRC/openSUSE:Factory/linuxrc/linuxrc.changes  2015-01-21 
21:50:44.0 +0100
+++ /work/SRC/openSUSE:Factory/.linuxrc.new/linuxrc.changes 2015-02-06 
10:57:21.0 +0100
@@ -1,0 +2,7 @@
+Thu Feb  5 12:01:12 CET 2015 - snw...@suse.com
+
+- update git2log script
+- keep default nanny setting unless explicitly changed
+- 5.0.31
+
+---

Old:

  linuxrc-5.0.30.tar.xz

New:

  linuxrc-5.0.31.tar.xz



Other differences:
--
++ linuxrc.spec ++
--- /var/tmp/diff_new_pack.m1POWY/_old  2015-02-06 10:57:22.0 +0100
+++ /var/tmp/diff_new_pack.m1POWY/_new  2015-02-06 10:57:22.0 +0100
@@ -25,7 +25,7 @@
 Summary:SUSE Installation Program
 License:GPL-3.0+
 Group:  System/Boot
-Version:5.0.30
+Version:5.0.31
 Release:0
 Source: %{name}-%{version}.tar.xz
 BuildRoot:  %{_tmppath}/%{name}-%{version}-build

++ linuxrc-5.0.30.tar.xz - linuxrc-5.0.31.tar.xz ++
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/linuxrc-5.0.30/VERSION new/linuxrc-5.0.31/VERSION
--- old/linuxrc-5.0.30/VERSION  2015-01-14 12:15:37.0 +0100
+++ new/linuxrc-5.0.31/VERSION  2015-02-05 11:58:44.0 +0100
@@ -1 +1 @@
-5.0.30
+5.0.31
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/linuxrc-5.0.30/changelog new/linuxrc-5.0.31/changelog
--- old/linuxrc-5.0.30/changelog2015-01-14 12:15:37.0 +0100
+++ new/linuxrc-5.0.31/changelog2015-02-05 11:58:44.0 +0100
@@ -1,8 +1,12 @@
-2015-01-07:2623322f6d1cd888d449930a556d8b29ddea846a-5.0.30
+2015-02-05:5.0.31
+   - update git2log script
+   - keep default nanny setting unless explicitly changed
+
+2015-01-07:5.0.30
- activate newly added interfaces (bnc #906817)
- improve git2log to work in sub-branches
- gpg 2.1.1 became stricter with the usage of --verify:
- program knows about it; either give both filenames on the command
+   - program knows about it; either give both filenames on the command
  line or  use  '-' to specify STDIN..
 
 2014-12-01:5.0.29
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/linuxrc-5.0.30/file.c new/linuxrc-5.0.31/file.c
--- old/linuxrc-5.0.30/file.c   2015-01-14 12:15:37.0 +0100
+++ new/linuxrc-5.0.31/file.c   2015-02-05 11:58:44.0 +0100
@@ -1679,7 +1679,13 @@
 break;
 
   case key_nanny:
-if(f-is.numeric) config.nanny = f-nvalue;
+if(f-is.numeric) {
+  config.nanny = f-nvalue;
+  config.nanny_set = 1;
+}
+else {
+  config.nanny_set = 0;
+}
 break;
 
   case key_vlanid:
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/linuxrc-5.0.30/git2log new/linuxrc-5.0.31/git2log
--- old/linuxrc-5.0.30/git2log  2015-01-14 12:15:37.0 +0100
+++ new/linuxrc-5.0.31/git2log  2015-02-05 11:58:44.0 +0100
@@ -64,10 +64,16 @@
 @tags = get_branch_tags;
 die no tags at all?\n unless @tags;
 
-if(!grep { /^$branch\-/ } @tags) {
-  $branch = get_parent_branch;
-  die sorry, can't determine branch\n unless $branch;
+if($branch ne 'master') {
+  if(!grep { /^$branch\-/ } @tags) {
+$branch = get_parent_branch;
+die sorry, can't determine branch\n unless $branch;
 
+@tags = get_branch_tags;
+die no tags at all?\n unless @tags;
+  }
+}
+else {
   @tags = get_branch_tags;
   die no tags at all?\n unless @tags;
 }
@@ -147,12 +153,10 @@
   my $detail = 0;
   for (@t) {
 $detail = 1 if /^$/;
+$detail = 2 if /^Conflicts:$/;
 $detail = 0 if /^commit /;
-if($detail  /^[^\-\s]/) {
-  # push @t2, # $_;
-}
-else {
-  push @t2, $_;
+if(!$detail || !/^[^\-\s]/) {
+  push @t2, $_ if $detail  2;
 }
   }
   @t = @t2;
@@ -170,7 +174,7 @@
   # handle white space in every first line once and for all
   my $empty = 1;
   for (@t) {
-$empty = 1, next if $_ eq ;
+$empty = 1, $_ = , next if $_ =~ /^\s*$/;
 next if !$empty;
 s/^\s*//;
 $empty = 0;
@@ -273,7 +277,7 @@
 
   # print parent = $p\n;
 
-  return $p;
+  return $p || master;
 }
 
 
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/linuxrc-5.0.30/global.h 

commit linuxrc for openSUSE:Factory

2015-01-21 Thread h_root
Hello community,

here is the log from the commit of package linuxrc for openSUSE:Factory checked 
in at 2015-01-21 21:50:38

Comparing /work/SRC/openSUSE:Factory/linuxrc (Old)
 and  /work/SRC/openSUSE:Factory/.linuxrc.new (New)


Package is linuxrc

Changes:

--- /work/SRC/openSUSE:Factory/linuxrc/linuxrc.changes  2014-12-03 
22:52:19.0 +0100
+++ /work/SRC/openSUSE:Factory/.linuxrc.new/linuxrc.changes 2015-01-21 
21:50:44.0 +0100
@@ -1,0 +2,10 @@
+Wed Jan 14 12:16:13 CET 2015 - snw...@suse.com
+
+- activate newly added interfaces (bnc #906817)
+- improve git2log to work in sub-branches
+- gpg 2.1.1 became stricter with the usage of --verify:
+  program knows about it; either give both filenames on the command
+  line or  use  '-' to specify STDIN..
+- 5.0.30
+
+---

Old:

  linuxrc-5.0.29.tar.xz

New:

  linuxrc-5.0.30.tar.xz



Other differences:
--
++ linuxrc.spec ++
--- /var/tmp/diff_new_pack.gMb7gu/_old  2015-01-21 21:50:45.0 +0100
+++ /var/tmp/diff_new_pack.gMb7gu/_new  2015-01-21 21:50:45.0 +0100
@@ -1,7 +1,7 @@
 #
 # spec file for package linuxrc
 #
-# Copyright (c) 2014 SUSE LINUX Products GmbH, Nuernberg, Germany.
+# Copyright (c) 2015 SUSE LINUX Products GmbH, Nuernberg, Germany.
 #
 # All modifications and additions to the file contributed by third parties
 # remain the property of their copyright owners, unless otherwise agreed
@@ -25,7 +25,7 @@
 Summary:SUSE Installation Program
 License:GPL-3.0+
 Group:  System/Boot
-Version:5.0.29
+Version:5.0.30
 Release:0
 Source: %{name}-%{version}.tar.xz
 BuildRoot:  %{_tmppath}/%{name}-%{version}-build

++ linuxrc-5.0.29.tar.xz - linuxrc-5.0.30.tar.xz ++
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/linuxrc-5.0.29/Makefile new/linuxrc-5.0.30/Makefile
--- old/linuxrc-5.0.29/Makefile 2014-12-01 09:38:39.0 +0100
+++ new/linuxrc-5.0.30/Makefile 2015-01-14 12:15:37.0 +0100
@@ -5,7 +5,7 @@
 GIT2LOG := $(shell if [ -x ./git2log ] ; then echo ./git2log --update ; else 
echo true ; fi)
 GITDEPS := $(shell [ -d .git ]  echo .git/HEAD .git/refs/heads 
.git/refs/tags)
 VERSION := $(shell $(GIT2LOG) --version VERSION ; cat VERSION)
-BRANCH  := $(shell git branch | perl -ne 'print $$_ if s/^\*\s*//')
+BRANCH  := $(shell [ -d .git ]  git branch | perl -ne 'print $$_ if 
s/^\*\s*//')
 PREFIX  := linuxrc-$(VERSION)
 
 SRC= $(filter-out inflate.c,$(wildcard *.c))
@@ -47,6 +47,7 @@
@for d in $(SUBDIRS); do $(MAKE) -C $$d $(MAKECMDGOALS); done
 
 archive: changelog
+   @if [ ! -d .git ] ; then echo no git repo ; false ; fi
mkdir -p package
git archive --prefix=$(PREFIX)/ $(BRANCH)  package/$(PREFIX).tar
tar -r -f package/$(PREFIX).tar --mode=0664 --owner=root --group=root 
--mtime=`git show -s --format=%ci` --transform='s:^:$(PREFIX)/:' VERSION 
changelog
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/linuxrc-5.0.29/VERSION new/linuxrc-5.0.30/VERSION
--- old/linuxrc-5.0.29/VERSION  2014-12-01 09:38:39.0 +0100
+++ new/linuxrc-5.0.30/VERSION  2015-01-14 12:15:37.0 +0100
@@ -1 +1 @@
-5.0.29
+5.0.30
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/linuxrc-5.0.29/auto2.c new/linuxrc-5.0.30/auto2.c
--- old/linuxrc-5.0.29/auto2.c  2014-12-01 09:38:39.0 +0100
+++ new/linuxrc-5.0.30/auto2.c  2015-01-14 12:15:37.0 +0100
@@ -354,7 +354,7 @@
 if(!err) {
   fprintf(stderr, parsing info file: %s\n, sl-key);
   file_read_info_file(file:/download/info, kf_cfg);
-  net_update_ifcfg();
+  net_update_ifcfg(IFCFG_IFUP);
 }
   }
 
@@ -399,7 +399,7 @@
*/
   fprintf(stderr, parsing AutoYaST file\n);
   file_read_info_file(file:/download/autoinst.xml, kf_cfg);
-  net_update_ifcfg();
+  net_update_ifcfg(IFCFG_IFUP);
 }
   }
 
@@ -872,7 +872,7 @@
*/
   fprintf(stderr, parsing AutoYaST file\n);
   file_read_info_file(file:/autoinst.xml, kf_cfg);
-  net_update_ifcfg();
+  net_update_ifcfg(IFCFG_IFUP);
 }
   }
 }
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/linuxrc-5.0.29/changelog new/linuxrc-5.0.30/changelog
--- old/linuxrc-5.0.29/changelog2014-12-01 09:38:39.0 +0100
+++ new/linuxrc-5.0.30/changelog2015-01-14 12:15:37.0 +0100
@@ -1,3 +1,10 @@
+2015-01-07:2623322f6d1cd888d449930a556d8b29ddea846a-5.0.30
+   - activate newly added interfaces (bnc #906817)
+   - improve git2log to work in 

commit linuxrc for openSUSE:Factory

2014-12-03 Thread h_root
Hello community,

here is the log from the commit of package linuxrc for openSUSE:Factory checked 
in at 2014-12-03 22:52:17

Comparing /work/SRC/openSUSE:Factory/linuxrc (Old)
 and  /work/SRC/openSUSE:Factory/.linuxrc.new (New)


Package is linuxrc

Changes:

--- /work/SRC/openSUSE:Factory/linuxrc/linuxrc.changes  2014-11-28 
08:47:02.0 +0100
+++ /work/SRC/openSUSE:Factory/.linuxrc.new/linuxrc.changes 2014-12-03 
22:52:19.0 +0100
@@ -1,0 +2,6 @@
+Mon Dec  1 09:40:51 CET 2014 - snw...@suse.com
+
+- use correct mount command location
+- 5.0.29
+
+---

Old:

  linuxrc-5.0.28.tar.xz

New:

  linuxrc-5.0.29.tar.xz



Other differences:
--
++ linuxrc.spec ++
--- /var/tmp/diff_new_pack.eTpZIX/_old  2014-12-03 22:52:20.0 +0100
+++ /var/tmp/diff_new_pack.eTpZIX/_new  2014-12-03 22:52:20.0 +0100
@@ -25,7 +25,7 @@
 Summary:SUSE Installation Program
 License:GPL-3.0+
 Group:  System/Boot
-Version:5.0.28
+Version:5.0.29
 Release:0
 Source: %{name}-%{version}.tar.xz
 BuildRoot:  %{_tmppath}/%{name}-%{version}-build

++ linuxrc-5.0.28.tar.xz - linuxrc-5.0.29.tar.xz ++
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/linuxrc-5.0.28/VERSION new/linuxrc-5.0.29/VERSION
--- old/linuxrc-5.0.28/VERSION  2014-11-26 13:10:00.0 +0100
+++ new/linuxrc-5.0.29/VERSION  2014-12-01 09:38:39.0 +0100
@@ -1 +1 @@
-5.0.28
+5.0.29
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/linuxrc-5.0.28/changelog new/linuxrc-5.0.29/changelog
--- old/linuxrc-5.0.28/changelog2014-11-26 13:10:00.0 +0100
+++ new/linuxrc-5.0.29/changelog2014-12-01 09:38:39.0 +0100
@@ -1,3 +1,6 @@
+2014-12-01:5.0.29
+   - use correct mount command location
+
 2014-11-26:5.0.28
- set explicit route to gateway (if outside subnet) (bnc #906771)
 
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/linuxrc-5.0.28/util.c new/linuxrc-5.0.29/util.c
--- old/linuxrc-5.0.28/util.c   2014-11-26 13:10:00.0 +0100
+++ new/linuxrc-5.0.29/util.c   2014-12-01 09:38:39.0 +0100
@@ -2862,7 +2862,7 @@
   }
 
   if(config.ntfs_3g  type  !strcmp(type, ntfs)) {
-asprintf(cmd, /bin/mount -t ntfs-3g%s %s %s, (flags  MS_RDONLY) ?  
-oro : , dev, dir);
+asprintf(cmd, mount -t ntfs-3g%s %s %s, (flags  MS_RDONLY) ?  -oro : 
, dev, dir);
 err = system(cmd);
 free(cmd);
   }

-- 
To unsubscribe, e-mail: opensuse-commit+unsubscr...@opensuse.org
For additional commands, e-mail: opensuse-commit+h...@opensuse.org



commit linuxrc for openSUSE:Factory

2014-11-27 Thread h_root
Hello community,

here is the log from the commit of package linuxrc for openSUSE:Factory checked 
in at 2014-11-28 08:47:00

Comparing /work/SRC/openSUSE:Factory/linuxrc (Old)
 and  /work/SRC/openSUSE:Factory/.linuxrc.new (New)


Package is linuxrc

Changes:

--- /work/SRC/openSUSE:Factory/linuxrc/linuxrc.changes  2014-10-14 
07:10:20.0 +0200
+++ /work/SRC/openSUSE:Factory/.linuxrc.new/linuxrc.changes 2014-11-28 
08:47:02.0 +0100
@@ -1,0 +2,6 @@
+Wed Nov 26 13:10:50 CET 2014 - snwint_jenk...@suse.com
+
+- set explicit route to gateway (if outside subnet) (bnc #906771)
+- 5.0.28
+
+---

Old:

  linuxrc-5.0.27.tar.xz

New:

  linuxrc-5.0.28.tar.xz



Other differences:
--
++ linuxrc.spec ++
--- /var/tmp/diff_new_pack.pUEdhj/_old  2014-11-28 08:47:04.0 +0100
+++ /var/tmp/diff_new_pack.pUEdhj/_new  2014-11-28 08:47:04.0 +0100
@@ -25,7 +25,7 @@
 Summary:SUSE Installation Program
 License:GPL-3.0+
 Group:  System/Boot
-Version:5.0.27
+Version:5.0.28
 Release:0
 Source: %{name}-%{version}.tar.xz
 BuildRoot:  %{_tmppath}/%{name}-%{version}-build

++ linuxrc-5.0.27.tar.xz - linuxrc-5.0.28.tar.xz ++
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/linuxrc-5.0.27/VERSION new/linuxrc-5.0.28/VERSION
--- old/linuxrc-5.0.27/VERSION  2014-10-13 13:34:49.0 +0200
+++ new/linuxrc-5.0.28/VERSION  2014-11-26 13:10:00.0 +0100
@@ -1 +1 @@
-5.0.27
+5.0.28
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/linuxrc-5.0.27/changelog new/linuxrc-5.0.28/changelog
--- old/linuxrc-5.0.27/changelog2014-10-13 13:34:49.0 +0200
+++ new/linuxrc-5.0.28/changelog2014-11-26 13:10:00.0 +0100
@@ -1,3 +1,6 @@
+2014-11-26:5.0.28
+   - set explicit route to gateway (if outside subnet) (bnc #906771)
+
 2014-10-13:5.0.27
- update git2log script
 
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/linuxrc-5.0.27/net.c new/linuxrc-5.0.28/net.c
--- old/linuxrc-5.0.27/net.c2014-10-13 13:34:49.0 +0200
+++ new/linuxrc-5.0.28/net.c2014-11-26 13:10:00.0 +0100
@@ -69,6 +69,7 @@
 static char *inet2str(inet_t *inet, int type);
 static int net_get_ip(char *text, char **ip, int with_prefix);
 static int net_check_ip(char *buf, int multi, int with_prefix);
+static int compare_subnet(char *ip1, char *ip2, unsigned prefix);
 
 
 /*
@@ -2150,6 +2151,8 @@
   slist_t *sl_ifroute = NULL;
   slist_t *sl_global = NULL;
   unsigned ptp = 0;
+  char *v4_ip = NULL;  // allocated
+  unsigned v4_prefix = 0;
 
   // obsolete: use global values
   if(!device || !ifcfg) {
@@ -2225,6 +2228,15 @@
 if(ifcfg-netmask_prefix  0  !strchr(sl-value, '/')) {
   strprintf(sl-value, %s/%d, sl-value, ifcfg-netmask_prefix);
 }
+
+// remember ip and net prefix for later use
+str_copy(v4_ip, sl0-key);
+v4_prefix = ifcfg-netmask_prefix;
+char *t = strchr(v4_ip, '/');
+if(t) {
+  *t = 0;
+  v4_prefix = atoi(t + 1);
+}
   }
   else {
 for(i = 0, sl1 = sl0; sl1; sl1 = sl1-next) {
@@ -2315,6 +2327,14 @@
 
   for(sl1 = sl0; sl1; sl1 = sl1-next) {
 sl = slist_append(sl_ifroute, slist_new());
+
+// set explicit route to gw unless gw is in the same ipv4 subnet
+// note: we might as well set it always
+if(!compare_subnet(v4_ip, sl1-key, v4_prefix)) {
+  strprintf(sl-key, %s - - %s, sl1-key, device);
+  sl = slist_append(sl_ifroute, slist_new());
+}
+
 strprintf(sl-key, default %s - %s, sl1-key, device);
   }
 
@@ -2403,6 +2423,7 @@
   str_copy(ns, NULL);
   str_copy(domain, NULL);
   str_copy(vlan, NULL);
+  str_copy(v4_ip, NULL);
 
   slist_free(sl_global);
   slist_free(sl_ifcfg);
@@ -2887,3 +2908,30 @@
   }
 }
 
+
+/*
+ * Check whether ip1 and ip2 share the same ipv4 subnet.
+ */
+int compare_subnet(char *ip1, char *ip2, unsigned prefix)
+{
+  struct in_addr ip4_1, ip4_2;
+  uint32_t mask;
+  int ok = 0;
+
+  if(prefix  32 || !ip1 || !ip2) return 0;
+
+  // no ipv6
+  if(strchr(ip1, ':') || strchr(ip2, ':')) return 0;
+
+  mask = htonl(prefix ? -1  (32 - prefix) : 0);
+
+  if(
+inet_pton(AF_INET, ip1, ip4_1)  0 
+inet_pton(AF_INET, ip2, ip4_2)  0
+  ) {
+ok = (ip4_1.s_addr  mask) == (ip4_2.s_addr  mask);
+  }
+
+  return ok;
+}
+

-- 
To unsubscribe, e-mail: opensuse-commit+unsubscr...@opensuse.org
For additional commands, e-mail: opensuse-commit+h...@opensuse.org



commit linuxrc for openSUSE:Factory

2014-10-13 Thread h_root
Hello community,

here is the log from the commit of package linuxrc for openSUSE:Factory checked 
in at 2014-10-14 07:10:02

Comparing /work/SRC/openSUSE:Factory/linuxrc (Old)
 and  /work/SRC/openSUSE:Factory/.linuxrc.new (New)


Package is linuxrc

Changes:

--- /work/SRC/openSUSE:Factory/linuxrc/linuxrc.changes  2014-10-05 
20:27:20.0 +0200
+++ /work/SRC/openSUSE:Factory/.linuxrc.new/linuxrc.changes 2014-10-14 
07:10:20.0 +0200
@@ -1,0 +2,6 @@
+Mon Oct 13 13:36:17 CEST 2014 - jenk...@suse.com
+
+- update git2log script
+- 5.0.27
+
+---

Old:

  linuxrc-5.0.26.tar.xz

New:

  linuxrc-5.0.27.tar.xz



Other differences:
--
++ linuxrc.spec ++
--- /var/tmp/diff_new_pack.fngkl4/_old  2014-10-14 07:10:21.0 +0200
+++ /var/tmp/diff_new_pack.fngkl4/_new  2014-10-14 07:10:21.0 +0200
@@ -25,9 +25,9 @@
 Summary:SUSE Installation Program
 License:GPL-3.0+
 Group:  System/Boot
-Version:5.0.26
+Version:5.0.27
 Release:0
-Source: linuxrc-5.0.26.tar.xz
+Source: %{name}-%{version}.tar.xz
 BuildRoot:  %{_tmppath}/%{name}-%{version}-build
 
 %description

++ linuxrc-5.0.26.tar.xz - linuxrc-5.0.27.tar.xz ++
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/linuxrc-5.0.26/.gitignore 
new/linuxrc-5.0.27/.gitignore
--- old/linuxrc-5.0.26/.gitignore   1970-01-01 01:00:00.0 +0100
+++ new/linuxrc-5.0.27/.gitignore   2014-10-13 13:34:49.0 +0200
@@ -0,0 +1,3 @@
+changelog
+Changelog
+VERSION
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/linuxrc-5.0.26/VERSION new/linuxrc-5.0.27/VERSION
--- old/linuxrc-5.0.26/VERSION  2014-09-29 15:27:55.0 +0200
+++ new/linuxrc-5.0.27/VERSION  2014-10-13 13:34:49.0 +0200
@@ -1 +1 @@
-5.0.26
+5.0.27
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/linuxrc-5.0.26/changelog new/linuxrc-5.0.27/changelog
--- old/linuxrc-5.0.26/changelog2014-09-29 15:28:13.0 +0200
+++ new/linuxrc-5.0.27/changelog2014-10-13 13:34:49.0 +0200
@@ -1,3 +1,6 @@
+2014-10-13:5.0.27
+   - update git2log script
+
 2014-09-29:5.0.26
- keep wpa_supplicant running
 
@@ -36,7 +39,9 @@
 2014-09-11:5.0.17
- finalize ifcfg option parsing
 
-2014-08-29:5.0.16
+2014-09-11:5.0.16
+   - fix missing parameter to dia_input2()
+   - look for autoinst.xml and keep the name (don't use autoyast.xml 
internally; fate #316530)
- increased memory thrreshold for loading inst-sys to RAM (bnc #893982)
 
 2014-08-18:5.0.15
@@ -77,7 +82,8 @@
 2014-07-31:5.0.8
- fix point-to-point interface handling (bnc #889580)
 
-2014-07-28:5.0.7
+2014-07-29:5.0.7
+   - pass along hostname if explicitly set (bnc #889374)
- Read me.
 
 2014-07-28:5.0.6
@@ -204,7 +210,8 @@
 2014-05-15:4.2.25
- suppress edd failed message
 
-2014-05-14:4.2.24
+2014-05-15:4.2.24
+   - fix compilation
- Adjust the branch to match the current master.
- Revert Initial changes to use IBM-supplied chzdev command instead of 
our *_configure commands.
- Move check for config.hwp.layer2 to the correct line.
@@ -233,7 +240,8 @@
- reworked filesystem type detection, added tar
- apply timeout option to wicked
 
-2014-04-21:4.2.19
+2014-04-22:4.2.19
+   - fix compiler warning
- Fix for bnc #843438.
  Add KVM detection on s390x.
  If running under KVM on s390x, only offer a virtio network device.
@@ -310,7 +318,8 @@
 2013-12-20:4.2.4
- make linemode default on s390, swap linemode 1  2
 
-2013-12-17:4.2.3
+2013-12-19:4.2.3
+   - allow linuxrc to be restarted
- Initial changes to use IBM-supplied chzdev command instead of our 
*_configure commands.
 
 2013-12-05:4.2.2
@@ -322,7 +331,12 @@
- allow media checks of any device (bnc #848020)
- add back language menu
 
-2012-07-05:4.2.0
+2013-11-18:4.2.0
+   - add back language defines
+   - nfs: use mount(8) and mount.nfs(8) to mount nfs exports (bnc #799496)
+   - if no install url given, try dvds, then hds
+   - s390: handle empty portname correctly (bnc #760042)
+   - s390: handle empty portname correctly (bnc #760042)
- remove i18n infrastructure and translations
 
 2013-01-16:4.1.4
@@ -337,7 +351,26 @@
 2012-12-13:4.1.1
- Revert clean-up: removed built-in extend
 
-2012-06-05:4.1.0
+2012-11-26:4.1.0
+   - make sure 

commit linuxrc for openSUSE:Factory

2014-10-05 Thread h_root
Hello community,

here is the log from the commit of package linuxrc for openSUSE:Factory checked 
in at 2014-10-05 20:27:17

Comparing /work/SRC/openSUSE:Factory/linuxrc (Old)
 and  /work/SRC/openSUSE:Factory/.linuxrc.new (New)


Package is linuxrc

Changes:

--- /work/SRC/openSUSE:Factory/linuxrc/linuxrc.changes  2014-09-28 
19:58:58.0 +0200
+++ /work/SRC/openSUSE:Factory/.linuxrc.new/linuxrc.changes 2014-10-05 
20:27:20.0 +0200
@@ -1,0 +2,20 @@
+Mon Sep 29 15:28:15 CEST 2014 - snw...@suse.de
+
+- keep wpa_supplicant running (bnc #898977)
+- 5.0.26
+
+---
+Mon Sep 29 14:20:29 CEST 2014 - snw...@suse.de
+
+- handle ifcfg options also when using dhcp (bnc #898995)
+- 5.0.25
+
+---
+Mon Sep 29 10:51:49 CEST 2014 - snw...@suse.de
+
+- improve last commit a bit
+- Correct check for value of config.hwp.layer2
+- Add check for virtual NICs to not write LLADDR to ifcfg.
+- 5.0.24
+
+---

Old:

  linuxrc-5.0.23.tar.xz

New:

  linuxrc-5.0.26.tar.xz



Other differences:
--
++ linuxrc.spec ++
--- /var/tmp/diff_new_pack.3PRWBR/_old  2014-10-05 20:27:21.0 +0200
+++ /var/tmp/diff_new_pack.3PRWBR/_new  2014-10-05 20:27:21.0 +0200
@@ -25,9 +25,9 @@
 Summary:SUSE Installation Program
 License:GPL-3.0+
 Group:  System/Boot
-Version:5.0.23
+Version:5.0.26
 Release:0
-Source: linuxrc-5.0.23.tar.xz
+Source: linuxrc-5.0.26.tar.xz
 BuildRoot:  %{_tmppath}/%{name}-%{version}-build
 
 %description

++ linuxrc-5.0.23.tar.xz - linuxrc-5.0.26.tar.xz ++
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/linuxrc-5.0.23/VERSION new/linuxrc-5.0.26/VERSION
--- old/linuxrc-5.0.23/VERSION  2014-09-26 11:09:18.0 +0200
+++ new/linuxrc-5.0.26/VERSION  2014-09-29 15:27:55.0 +0200
@@ -1 +1 @@
-5.0.23
+5.0.26
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/linuxrc-5.0.23/changelog new/linuxrc-5.0.26/changelog
--- old/linuxrc-5.0.23/changelog2014-09-26 11:09:35.0 +0200
+++ new/linuxrc-5.0.26/changelog2014-09-29 15:28:13.0 +0200
@@ -1,3 +1,14 @@
+2014-09-29:5.0.26
+   - keep wpa_supplicant running
+
+2014-09-29:5.0.25
+   - handle ifcfg options also when using dhcp
+
+2014-09-29:5.0.24
+   - improve last commit a bit
+   - Correct check for value of config.hwp.layer2
+   - Add check for virtual NICs to not write LLADDR to ifcfg.
+
 2014-09-26:5.0.23
- s390x: revert hypervisor check (bnc 887238)
 
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/linuxrc-5.0.23/linuxrc.c new/linuxrc-5.0.26/linuxrc.c
--- old/linuxrc-5.0.23/linuxrc.c2014-09-15 13:28:43.0 +0200
+++ new/linuxrc-5.0.26/linuxrc.c2014-09-29 15:27:29.0 +0200
@@ -513,7 +513,8 @@
   static char *progs[] = {
 portmap, rpciod, lockd, cifsd, mount.smbfs, udevd,
 mount.ntfs-3g, brld, sbl, wickedd, wickedd-auto4, 
wickedd-dhcp4,
-wickedd-dhcp6, wickedd-nanny, dbus-daemon, rpc.idmapd, sh, 
haveged
+wickedd-dhcp6, wickedd-nanny, dbus-daemon, rpc.idmapd, sh, 
haveged,
+wpa_supplicant
   };
   int i;
 
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/linuxrc-5.0.23/net.c new/linuxrc-5.0.26/net.c
--- old/linuxrc-5.0.23/net.c2014-09-26 11:07:47.0 +0200
+++ new/linuxrc-5.0.26/net.c2014-09-29 14:19:25.0 +0200
@@ -2145,7 +2145,7 @@
   char *domain = NULL; // allocated
   char *vlan = NULL;   // allocated
   int is_dhcp = 0;
-  slist_t *sl;
+  slist_t *sl, *sl2;
   slist_t *sl_ifcfg = NULL;
   slist_t *sl_ifroute = NULL;
   slist_t *sl_global = NULL;
@@ -2257,24 +2257,35 @@
 sl0 = slist_free(sl0);
   }
 }
+  }
 
-for(sl = ifcfg-flags; sl; sl = sl-next) {
-  if(slist_getentry(config.ifcfg.to_global, sl-key)) {
-if(!(sl1 = slist_getentry(sl_global, sl-key))) sl1 = 
slist_append(sl_global, slist_new());
-  }
-  else {
-if(!(sl1 = slist_getentry(sl_ifcfg, sl-key))) sl1 = 
slist_append(sl_ifcfg, slist_new());
-  }
-  str_copy(sl1-key, sl-key);
-  str_copy(sl1-value, sl-value);
+  // handle additional flags and put them either into 'ifcfg-*' or 'config'
+
+  for(sl = ifcfg-flags; sl; sl = sl-next) {
+if(slist_getentry(config.ifcfg.to_global, sl-key)) {
+  if(!(sl2 = slist_getentry(sl_global, sl-key))) sl2 = 
slist_append(sl_global, slist_new());
+

commit linuxrc for openSUSE:Factory

2014-09-28 Thread h_root
Hello community,

here is the log from the commit of package linuxrc for openSUSE:Factory checked 
in at 2014-09-28 19:58:49

Comparing /work/SRC/openSUSE:Factory/linuxrc (Old)
 and  /work/SRC/openSUSE:Factory/.linuxrc.new (New)


Package is linuxrc

Changes:

--- /work/SRC/openSUSE:Factory/linuxrc/linuxrc.changes  2014-09-19 
13:55:57.0 +0200
+++ /work/SRC/openSUSE:Factory/.linuxrc.new/linuxrc.changes 2014-09-28 
19:58:58.0 +0200
@@ -1,0 +2,15 @@
+Fri Sep 26 11:09:37 CEST 2014 - snw...@suse.de
+
+- s390x: revert hypervisor check (bnc #887238)
+- 5.0.23
+
+---
+Wed Sep 24 08:28:54 CEST 2014 - snw...@suse.de
+
+- s390x: write LLADDR only on LPAR
+- s390x: store MAC address for layer2 devices in ifcfg (bnc #887238)
+- add 'archive' target to Makefile
+- use improved git2log script
+- 5.0.22
+
+---

Old:

  linuxrc-5.0.21.tar.xz

New:

  linuxrc-5.0.23.tar.xz



Other differences:
--
++ linuxrc.spec ++
--- /var/tmp/diff_new_pack.ZUWc74/_old  2014-09-28 19:58:58.0 +0200
+++ /var/tmp/diff_new_pack.ZUWc74/_new  2014-09-28 19:58:58.0 +0200
@@ -25,9 +25,9 @@
 Summary:SUSE Installation Program
 License:GPL-3.0+
 Group:  System/Boot
-Version:5.0.21
+Version:5.0.23
 Release:0
-Source: linuxrc-5.0.21.tar.xz
+Source: linuxrc-5.0.23.tar.xz
 BuildRoot:  %{_tmppath}/%{name}-%{version}-build
 
 %description

++ linuxrc-5.0.21.tar.xz - linuxrc-5.0.23.tar.xz ++
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/linuxrc-5.0.21/Makefile new/linuxrc-5.0.23/Makefile
--- old/linuxrc-5.0.21/Makefile 2014-08-18 15:17:24.0 +0200
+++ new/linuxrc-5.0.23/Makefile 2014-09-23 13:21:51.0 +0200
@@ -2,7 +2,11 @@
 CFLAGS = -c -g -O2 -Wall -Wno-pointer-sign
 LDFLAGS= -rdynamic -lhd -lblkid -lcurl -lreadline
 
-GIT2LOG = $(shell [ -x ./git2log ]  echo ./git2log )
+GIT2LOG := $(shell if [ -x ./git2log ] ; then echo ./git2log --update ; else 
echo true ; fi)
+GITDEPS := $(shell [ -d .git ]  echo .git/HEAD .git/refs/heads 
.git/refs/tags)
+VERSION := $(shell $(GIT2LOG) --version VERSION ; cat VERSION)
+BRANCH  := $(shell git branch | perl -ne 'print $$_ if s/^\*\s*//')
+PREFIX  := linuxrc-$(VERSION)
 
 SRC= $(filter-out inflate.c,$(wildcard *.c))
 INC= $(wildcard *.h)
@@ -11,20 +15,15 @@
 SUBDIRS= mkpsfu
 
 .EXPORT_ALL_VARIABLES:
-.PHONY:all clean install libs
+.PHONY:all clean install libs archive
 
 %.o:   %.c
$(CC) $(CFLAGS) -o $@ $
 
 all: changelog libs linuxrc
 
-ifneq ($(GIT2LOG),)
-changelog: .git/HEAD .git/refs/heads .git/refs/tags
-   $(GIT2LOG) --log changelog
-
-VERSION: .git/HEAD .git/refs/heads .git/refs/tags
-   $(GIT2LOG) --version VERSION
-endif
+changelog: $(GITDEPS)
+   $(GIT2LOG) --changelog changelog
 
 version.h: VERSION
@echo #define LXRC_VERSION \`cut -d. -f1-2 VERSION`\ $@
@@ -47,8 +46,15 @@
 libs:
@for d in $(SUBDIRS); do $(MAKE) -C $$d $(MAKECMDGOALS); done
 
+archive: changelog
+   mkdir -p package
+   git archive --prefix=$(PREFIX)/ $(BRANCH)  package/$(PREFIX).tar
+   tar -r -f package/$(PREFIX).tar --mode=0664 --owner=root --group=root 
--mtime=`git show -s --format=%ci` --transform='s:^:$(PREFIX)/:' VERSION 
changelog
+   xz -f package/$(PREFIX).tar
+
 clean: libs
rm -f $(OBJ) *~ linuxrc linuxrc.map linuxrc-debug .depend version.h
+   rm -rf package
 
 TAGS: *.c *.h */*.c */*.h
etags *.c *.h */*.c */*.h
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/linuxrc-5.0.21/VERSION new/linuxrc-5.0.23/VERSION
--- old/linuxrc-5.0.21/VERSION  2014-09-18 09:50:58.0 +0200
+++ new/linuxrc-5.0.23/VERSION  2014-09-26 11:09:18.0 +0200
@@ -1 +1 @@
-5.0.21
+5.0.23
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/linuxrc-5.0.21/changelog new/linuxrc-5.0.23/changelog
--- old/linuxrc-5.0.21/changelog2014-09-18 09:51:10.0 +0200
+++ new/linuxrc-5.0.23/changelog2014-09-26 11:09:35.0 +0200
@@ -1,58 +1,41 @@
-2014-09-18:HEAD
-   - Merge pull request #31 from openSUSE/sw_0018
-   - add sshkey option tp support ssh pubkey authentication (bnc #230781, 
bnc...
+2014-09-26:5.0.23
+   - s390x: revert hypervisor check (bnc 887238)
+
+2014-09-23:5.0.22
+   - s390x: write LLADDR only on LPAR
+   - s390x: store MAC address for layer2 devices in ifcfg (bnc #887238)
+   - keep going without tags
+   - add 'archive' 

commit linuxrc for openSUSE:Factory

2014-09-19 Thread h_root
Hello community,

here is the log from the commit of package linuxrc for openSUSE:Factory checked 
in at 2014-09-19 13:55:44

Comparing /work/SRC/openSUSE:Factory/linuxrc (Old)
 and  /work/SRC/openSUSE:Factory/.linuxrc.new (New)


Package is linuxrc

Changes:

--- /work/SRC/openSUSE:Factory/linuxrc/linuxrc.changes  2014-09-18 
07:12:34.0 +0200
+++ /work/SRC/openSUSE:Factory/.linuxrc.new/linuxrc.changes 2014-09-19 
13:55:57.0 +0200
@@ -1,0 +2,12 @@
+Thu Sep 18 09:51:13 CEST 2014 - snw...@suse.de
+
+- add sshkey option to support ssh pubkey authentication (bnc #230781, bnc 
#421340)
+- 5.0.21
+
+---
+Thu Sep 18 08:12:17 CEST 2014 - snw...@suse.de
+
+- make ifcfg=dhcp{4,6} work as expected
+- 5.0.20
+
+---

Old:

  linuxrc-5.0.19.tar.xz

New:

  linuxrc-5.0.21.tar.xz



Other differences:
--
++ linuxrc.spec ++
--- /var/tmp/diff_new_pack.byQrZL/_old  2014-09-19 13:55:58.0 +0200
+++ /var/tmp/diff_new_pack.byQrZL/_new  2014-09-19 13:55:58.0 +0200
@@ -25,9 +25,9 @@
 Summary:SUSE Installation Program
 License:GPL-3.0+
 Group:  System/Boot
-Version:5.0.19
+Version:5.0.21
 Release:0
-Source: linuxrc-5.0.19.tar.xz
+Source: linuxrc-5.0.21.tar.xz
 BuildRoot:  %{_tmppath}/%{name}-%{version}-build
 
 %description

++ linuxrc-5.0.19.tar.xz - linuxrc-5.0.21.tar.xz ++
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/linuxrc-5.0.19/VERSION new/linuxrc-5.0.21/VERSION
--- old/linuxrc-5.0.19/VERSION  2014-09-17 10:19:26.0 +0200
+++ new/linuxrc-5.0.21/VERSION  2014-09-18 09:50:58.0 +0200
@@ -1 +1 @@
-5.0.19
+5.0.21
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/linuxrc-5.0.19/auto2.c new/linuxrc-5.0.21/auto2.c
--- old/linuxrc-5.0.19/auto2.c  2014-09-17 10:19:00.0 +0200
+++ new/linuxrc-5.0.21/auto2.c  2014-09-18 09:50:06.0 +0200
@@ -359,6 +359,24 @@
   }
 
   /*
+   * load ssh key
+   */
+  if(config.net.sshkey) {
+url = url_set(config.net.sshkey);
+fprintf(stderr, Downloading SSH key: %s\n, config.net.sshkey);
+printf(Downloading SSH key: %s\n, config.net.sshkey);
+fflush(stdout);
+err = url_read_file_anywhere(url, NULL, NULL, /download/authorized_keys, 
NULL, URL_FLAG_PROGRESS + URL_FLAG_NODIGEST);
+url_umount(url);
+url_free(url);
+if(!err) {
+  fprintf(stderr, activating SSH key\n);
+  mkdir(/root/.ssh, 0755);
+  rename(/download/authorized_keys, /root/.ssh/authorized_keys);
+}
+  }
+
+  /*
* load autoyast file unless the user has specified an autoyast option
* -- ok this sounds weird but actually makes sense...
*/
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/linuxrc-5.0.19/changelog new/linuxrc-5.0.21/changelog
--- old/linuxrc-5.0.19/changelog2014-09-17 10:19:29.0 +0200
+++ new/linuxrc-5.0.21/changelog2014-09-18 09:51:10.0 +0200
@@ -1,4 +1,14 @@
-2014-09-17:HEAD
+2014-09-18:HEAD
+   - Merge pull request #31 from openSUSE/sw_0018
+   - add sshkey option tp support ssh pubkey authentication (bnc #230781, 
bnc...
+   - add sshkey option tp support ssh pubkey authentication (bnc #230781, 
bnc #421340)
+
+2014-09-18:5.0.20
+   - Merge pull request #30 from openSUSE/sw_0017
+   - make ifcfg=dhcp{4,6} work as expected
+   - make ifcfg=dhcp{4,6} work as expected
+
+2014-09-17:5.0.19
- Merge pull request #29 from openSUSE/sw_0016
- Sw 0016
- remove unnecessary check
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/linuxrc-5.0.19/file.c new/linuxrc-5.0.21/file.c
--- old/linuxrc-5.0.19/file.c   2014-08-18 16:24:46.0 +0200
+++ new/linuxrc-5.0.21/file.c   2014-09-18 09:50:06.0 +0200
@@ -162,6 +162,7 @@
   { key_displayip, Display_IP, kf_cfg + kf_cmd},
   { key_sshpassword,SSHPassword,kf_cfg + kf_cmd},
   { key_sshpasswordenc, SSHPasswordEnc, kf_cfg + kf_cmd},
+  { key_sshkey, SSHKey, kf_cfg + kf_cmd},
   { key_term,   TERM,   kf_cfg + kf_cmd},
   { key_addswap,AddSwap,kf_cfg + kf_cmd},
   { key_aborted,Aborted,kf_yast},
@@ -880,6 +881,10 @@
 str_copy(config.net.sshpassword_enc, *f-value ? f-value : NULL);
 break;
 
+  case key_sshkey:
+

  1   2   >