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.000000000 +0200 +++ /work/SRC/openSUSE:Factory/.linuxrc.new/linuxrc.changes 2015-04-25 16:47:17.000000000 +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.000000000 +0200 +++ /var/tmp/diff_new_pack.CnYamB/_new 2015-04-25 16:47:18.000000000 +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.md 2015-04-02 10:50:02.000000000 +0200 +++ new/linuxrc-5.0.37/README.md 2015-04-24 11:35:41.000000000 +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.000000000 +0200 +++ new/linuxrc-5.0.37/VERSION 2015-04-24 11:35:41.000000000 +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/changelog 2015-04-02 10:50:02.000000000 +0200 +++ new/linuxrc-5.0.37/changelog 2015-04-24 11:35:41.000000000 +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.000000000 +0200 +++ new/linuxrc-5.0.37/file.c 2015-04-24 11:35:41.000000000 +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 || len == 26 ? 3 : 0)); + for(s = config.ifcfg.manual->device; *s; s++) if(*s == '-') *s = ':'; + } break; - + } case key_swap_size: if(f->is.numeric) config.swap_file_size = f->nvalue; break; diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/linuxrc-5.0.35/util.c new/linuxrc-5.0.37/util.c --- old/linuxrc-5.0.35/util.c 2015-04-02 10:50:02.000000000 +0200 +++ new/linuxrc-5.0.37/util.c 2015-04-24 11:35:41.000000000 +0200 @@ -1166,6 +1166,7 @@ add_flag(&sl0, buf, config.test, "test"); add_flag(&sl0, buf, config.tmpfs, "tmpfs"); add_flag(&sl0, buf, config.manual, "manual"); + add_flag(&sl0, buf, config.utf8, "utf8"); add_flag(&sl0, buf, config.rescue, "rescue"); add_flag(&sl0, buf, config.vnc, "vnc"); add_flag(&sl0, buf, config.usessh, "usessh");