commit linuxrc for openSUSE:Factory
Script 'mail_helper' called by obssrc Hello community, here is the log from the commit of package linuxrc for openSUSE:Factory checked in at 2024-03-17 22:12:39 Comparing /work/SRC/openSUSE:Factory/linuxrc (Old) and /work/SRC/openSUSE:Factory/.linuxrc.new.1905 (New) Package is "linuxrc" Sun Mar 17 22:12:39 2024 rev:318 rq:1158240 version:9.3 Changes: --- /work/SRC/openSUSE:Factory/linuxrc/linuxrc.changes 2024-01-11 21:04:47.817733938 +0100 +++ /work/SRC/openSUSE:Factory/.linuxrc.new.1905/linuxrc.changes 2024-03-17 22:12:41.381112026 +0100 @@ -1,0 +2,7 @@ +Fri Mar 15 13:54:25 UTC 2024 - wfe...@opensuse.org + +- merge gh#openSUSE/linuxrc#330 +- fix width of network device dialog (bsc#1221360) +- 9.3 + + Old: linuxrc-9.2.tar.xz New: linuxrc-9.3.tar.xz Other differences: -- ++ linuxrc.spec ++ --- /var/tmp/diff_new_pack.OUrSEO/_old 2024-03-17 22:12:42.125139117 +0100 +++ /var/tmp/diff_new_pack.OUrSEO/_new 2024-03-17 22:12:42.125139117 +0100 @@ -17,7 +17,7 @@ Name: linuxrc -Version:9.2 +Version:9.3 Release:0 Summary:SUSE Installation Program License:GPL-3.0+ ++ linuxrc-9.2.tar.xz -> linuxrc-9.3.tar.xz ++ diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/linuxrc-9.2/VERSION new/linuxrc-9.3/VERSION --- old/linuxrc-9.2/VERSION 2024-01-10 17:54:52.0 +0100 +++ new/linuxrc-9.3/VERSION 2024-03-15 14:54:25.0 +0100 @@ -1 +1 @@ -9.2 +9.3 diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/linuxrc-9.2/changelog new/linuxrc-9.3/changelog --- old/linuxrc-9.2/changelog 2024-01-10 17:54:52.0 +0100 +++ new/linuxrc-9.3/changelog 2024-03-15 14:54:25.0 +0100 @@ -1,3 +1,7 @@ +2024-03-15:9.3 + - merge gh#openSUSE/linuxrc#330 + - fix width of network device dialog (bsc#1221360) + 2024-01-10:9.2 - merge gh#openSUSE/linuxrc#329 - write /etc/locale.conf and /etc/vconsole.conf (bsc#1218621) diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/linuxrc-9.2/dialog.c new/linuxrc-9.3/dialog.c --- old/linuxrc-9.2/dialog.c2024-01-10 17:54:52.0 +0100 +++ new/linuxrc-9.3/dialog.c2024-03-15 14:54:25.0 +0100 @@ -1649,6 +1649,8 @@ /* * returns selected item (1 based), or 0 (ESC pressed) + * + * Use width = 0 to have width automatically calculated to fit the longest item. */ int dia_list(char *title, int width, int (*func)(int), char **items, int default_item, dia_align_t align) { @@ -1664,6 +1666,17 @@ item_list = calloc(item_cnt, sizeof *item_list); + if(width == 0) { +for(i = 0, it = items; *it; it++, i++) { + int w = strlen(*it); + if(w > width) width = w; +} + +width += 1; +if(width < 20) width = 20; +if(width > max_x_ig - 6) width = max_x_ig - 6; + } + util_create_items(item_list, item_cnt, width); if(default_item < 1 || default_item > item_cnt) default_item = 1; diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/linuxrc-9.2/net.c new/linuxrc-9.3/net.c --- old/linuxrc-9.2/net.c 2024-01-10 17:54:52.0 +0100 +++ new/linuxrc-9.3/net.c 2024-03-15 14:54:25.0 +0100 @@ -763,7 +763,7 @@ choice = 1; } else { -choice = dia_list("Choose the network device.", 72, NULL, items, last_item, align_left); +choice = dia_list("Choose the network device.", 0, NULL, items, last_item, align_left); if(choice) last_item = choice; }
commit linuxrc for openSUSE:Factory
Script 'mail_helper' called by obssrc Hello community, here is the log from the commit of package linuxrc for openSUSE:Factory checked in at 2024-01-11 21:04:40 Comparing /work/SRC/openSUSE:Factory/linuxrc (Old) and /work/SRC/openSUSE:Factory/.linuxrc.new.21961 (New) Package is "linuxrc" Thu Jan 11 21:04:40 2024 rev:317 rq:1137972 version:9.2 Changes: --- /work/SRC/openSUSE:Factory/linuxrc/linuxrc.changes 2023-08-16 14:16:51.194875427 +0200 +++ /work/SRC/openSUSE:Factory/.linuxrc.new.21961/linuxrc.changes 2024-01-11 21:04:47.817733938 +0100 @@ -1,0 +2,8 @@ +Wed Jan 10 16:54:52 UTC 2024 - wfe...@opensuse.org + +- merge gh#openSUSE/linuxrc#329 +- write /etc/locale.conf and /etc/vconsole.conf (bsc#1218621) +- a new year +- 9.2 + + Old: linuxrc-9.1.tar.xz New: linuxrc-9.2.tar.xz Other differences: -- ++ linuxrc.spec ++ --- /var/tmp/diff_new_pack.oGj28o/_old 2024-01-11 21:04:48.745767740 +0100 +++ /var/tmp/diff_new_pack.oGj28o/_new 2024-01-11 21:04:48.745767740 +0100 @@ -17,7 +17,7 @@ Name: linuxrc -Version:9.1 +Version:9.2 Release:0 Summary:SUSE Installation Program License:GPL-3.0+ ++ linuxrc-9.1.tar.xz -> linuxrc-9.2.tar.xz ++ diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/linuxrc-9.1/VERSION new/linuxrc-9.2/VERSION --- old/linuxrc-9.1/VERSION 2023-08-14 19:11:28.0 +0200 +++ new/linuxrc-9.2/VERSION 2024-01-10 17:54:52.0 +0100 @@ -1 +1 @@ -9.1 +9.2 diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/linuxrc-9.1/changelog new/linuxrc-9.2/changelog --- old/linuxrc-9.1/changelog 2023-08-14 19:11:28.0 +0200 +++ new/linuxrc-9.2/changelog 2024-01-10 17:54:52.0 +0100 @@ -1,3 +1,8 @@ +2024-01-10:9.2 + - merge gh#openSUSE/linuxrc#329 + - write /etc/locale.conf and /etc/vconsole.conf (bsc#1218621) + - a new year + 2023-08-14:9.1 - merge gh#openSUSE/linuxrc#229 - Fix syntax inconsistency filename::key diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/linuxrc-9.1/file.c new/linuxrc-9.2/file.c --- old/linuxrc-9.1/file.c 2023-08-14 19:11:28.0 +0200 +++ new/linuxrc-9.2/file.c 2024-01-10 17:54:52.0 +0100 @@ -2028,10 +2028,6 @@ set_write_info(f); - if(config.keymap_set || config.manual) { -file_write_str(f, key_keytable, config.keymap); - } - file_write_str(f, key_console, config.serial); // don't leave anything mounted unless we're low in memory and run yast diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/linuxrc-9.1/global.h new/linuxrc-9.2/global.h --- old/linuxrc-9.1/global.h2023-08-14 19:11:28.0 +0200 +++ new/linuxrc-9.2/global.h2024-01-10 17:54:52.0 +0100 @@ -491,6 +491,7 @@ enum langid_t language; /**< currently selected language */ char *keymap;/**< current keymap */ unsigned keymap_set:1; /**< explicitly set via 'keytable' option */ + unsigned keymap_applied:1; /**< config.keymap has been applied via loadkeys command */ unsigned sourcetype:1; /**< 0: directory, 1: file */ char *new_root; /**< root device to boot */ char *rootimage; /**< "boot//root" */ diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/linuxrc-9.1/linuxrc.c new/linuxrc-9.2/linuxrc.c --- old/linuxrc-9.1/linuxrc.c 2023-08-14 19:11:28.0 +0200 +++ new/linuxrc-9.2/linuxrc.c 2024-01-10 17:54:52.0 +0100 @@ -413,6 +413,8 @@ /* change hostname from 'install' to 'rescue' unless we've had something better */ if(!config.net.realhostname) util_set_hostname("rescue"); +file_write_install_inf(""); + lxrc_run_console("/mounts/initrd/scripts/prepare_rescue"); LXRC_WAIT @@ -953,7 +955,7 @@ if (config.linemode) putchar('\n'); printf( - "\n>>> %s installation program v" LXRC_FULL_VERSION " (c) 1996-2023 SUSE LLC %s <<<\n", + "\n>>> %s installation program v" LXRC_FULL_VERSION " (c) 1996-2024 SUSE LLC %s <<<\n", config.product, config.platform_name ); diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/linuxrc-9.1/settings.c new/linuxrc-9.2/settings.c --- old/linuxrc-9.1/settings.c 2023-08-14 19:11:28.0 +0200 +++ new/linuxrc-9.2/settings.c 2024-01-10 17:54:52.0 +0100 @@ -419,6 +419,7 @@ if((config.keymap = keymap)) { kbd_unimode();
commit linuxrc for openSUSE:Factory
Script 'mail_helper' called by obssrc Hello community, here is the log from the commit of package linuxrc for openSUSE:Factory checked in at 2023-08-16 14:16:35 Comparing /work/SRC/openSUSE:Factory/linuxrc (Old) and /work/SRC/openSUSE:Factory/.linuxrc.new.11712 (New) Package is "linuxrc" Wed Aug 16 14:16:35 2023 rev:316 rq:1104022 version:9.1 Changes: --- /work/SRC/openSUSE:Factory/linuxrc/linuxrc.changes 2023-07-06 18:28:32.503097429 +0200 +++ /work/SRC/openSUSE:Factory/.linuxrc.new.11712/linuxrc.changes 2023-08-16 14:16:51.194875427 +0200 @@ -1,0 +2,21 @@ +Mon Aug 14 17:11:28 UTC 2023 - wfe...@opensuse.org + +- merge gh#openSUSE/linuxrc#325 +- use extended shell pattern matching for 'descr' and 'url' parameters +- don't crash if 'quiet' url parameter has no value +- add 'auto' query parameter to 'slp' url scheme (bsc#1213531) +- 9.1 + + +Mon Aug 14 13:11:56 UTC 2023 - wfe...@opensuse.org + +- merge gh#openSUSE/linuxrc#324 +- fix length of service type list field in SLP request (bsc#1213683) + + +Wed Aug 9 13:41:24 UTC 2023 - wfe...@opensuse.org + +- merge gh#openSUSE/linuxrc#229 +- Fix syntax inconsistency filename::key + + Old: linuxrc-9.0.tar.xz New: linuxrc-9.1.tar.xz Other differences: -- ++ linuxrc.spec ++ --- /var/tmp/diff_new_pack.x64TMB/_old 2023-08-16 14:16:51.918880496 +0200 +++ /var/tmp/diff_new_pack.x64TMB/_new 2023-08-16 14:16:51.922880523 +0200 @@ -17,7 +17,7 @@ Name: linuxrc -Version:9.0 +Version:9.1 Release:0 Summary:SUSE Installation Program License:GPL-3.0+ ++ linuxrc-9.0.tar.xz -> linuxrc-9.1.tar.xz ++ diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/linuxrc-9.0/VERSION new/linuxrc-9.1/VERSION --- old/linuxrc-9.0/VERSION 2023-07-05 16:15:18.0 +0200 +++ new/linuxrc-9.1/VERSION 2023-08-14 19:11:28.0 +0200 @@ -1 +1 @@ -9.0 +9.1 diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/linuxrc-9.0/changelog new/linuxrc-9.1/changelog --- old/linuxrc-9.0/changelog 2023-07-05 16:15:18.0 +0200 +++ new/linuxrc-9.1/changelog 2023-08-14 19:11:28.0 +0200 @@ -1,3 +1,13 @@ +2023-08-14:9.1 + - merge gh#openSUSE/linuxrc#229 + - Fix syntax inconsistency filename::key + - merge gh#openSUSE/linuxrc#324 + - fix length of service type list field in SLP request (bsc#1213683) + - add 'auto' query parameter to 'slp' url scheme (bsc#1213531) + - merge gh#openSUSE/linuxrc#325 + - use extended shell pattern matching for 'descr' and 'url' parameters + - don't crash if 'quiet' url parameter has no value + 2023-07-05:9.0 - merge gh#openSUSE/linuxrc#321 - adjust code to updated libhd API diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/linuxrc-9.0/linuxrc_hostname.md new/linuxrc-9.1/linuxrc_hostname.md --- old/linuxrc-9.0/linuxrc_hostname.md 2023-07-05 16:15:18.0 +0200 +++ new/linuxrc-9.1/linuxrc_hostname.md 2023-08-14 19:11:28.0 +0200 @@ -18,7 +18,7 @@ ## If `ifcfg=*=dhcp` is used -- `linuxrc` writes `/etc/sysconfig/network/dhcp:DHCLIENT_SET_HOSTNAME="yes"` +- `linuxrc` writes `/etc/sysconfig/network/dhcp::DHCLIENT_SET_HOSTNAME="yes"` ## If `hostname` boot option is used diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/linuxrc-9.0/slp.c new/linuxrc-9.1/slp.c --- old/linuxrc-9.0/slp.c 2023-07-05 16:15:18.0 +0200 +++ new/linuxrc-9.1/slp.c 2023-08-14 19:11:28.0 +0200 @@ -230,12 +230,25 @@ bp = sendbuf + 16; *bp++ = 0; *bp++ = 0; /* prlistlen */ - memcpy(bp, "\000\024service:", sizeof "\000\024service:" - 1); - bp += sizeof "\000\024service:" - 1; + + /* + * Format note: each string (strings are not 0-terminated) is preceded by + * a 16-bit big-endian encoded length. + */ + + /* Get service name, use default if not set */ sl = slist_getentry(url->query, "service"); service = sl ? sl->value : "install.suse"; + + *(bp++) = 0x00; + *(bp++) = strlen(service) + sizeof "service:" - 1; + + memcpy(bp, "service:", sizeof "service:" - 1); + bp += sizeof "service:" - 1; + memcpy(bp, service, strlen(service)); bp += strlen(service); + memcpy(bp, "\000\007default", 7 + 2); bp += 7 + 2; @@ -459,6 +472,10 @@ set_activate_language(config.language); if(!config.win) util_disp_init(); *urlbuf = 0
commit linuxrc for openSUSE:Factory
Script 'mail_helper' called by obssrc Hello community, here is the log from the commit of package linuxrc for openSUSE:Factory checked in at 2023-07-06 18:28:27 Comparing /work/SRC/openSUSE:Factory/linuxrc (Old) and /work/SRC/openSUSE:Factory/.linuxrc.new.23466 (New) Package is "linuxrc" Thu Jul 6 18:28:27 2023 rev:315 rq:1096973 version:9.0 Changes: --- /work/SRC/openSUSE:Factory/linuxrc/linuxrc.changes 2023-02-09 16:22:03.918360076 +0100 +++ /work/SRC/openSUSE:Factory/.linuxrc.new.23466/linuxrc.changes 2023-07-06 18:28:32.503097429 +0200 @@ -1,0 +2,9 @@ +Wed Jul 5 14:15:18 UTC 2023 - wfe...@opensuse.org + +- merge gh#openSUSE/linuxrc#321 +- adjust code to updated libhd API +- fix mediacheck test for valid app_id +- replace obsolete CURLOPT_PROGRESSFUNCTION +- 9.0 + + Old: linuxrc-8.20.tar.xz New: linuxrc-9.0.tar.xz Other differences: -- ++ linuxrc.spec ++ --- /var/tmp/diff_new_pack.nsBmfs/_old 2023-07-06 18:28:33.587104084 +0200 +++ /var/tmp/diff_new_pack.nsBmfs/_new 2023-07-06 18:28:33.595104133 +0200 @@ -17,7 +17,7 @@ Name: linuxrc -Version:8.20 +Version:9.0 Release:0 Summary:SUSE Installation Program License:GPL-3.0+ ++ linuxrc-8.20.tar.xz -> linuxrc-9.0.tar.xz ++ diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/linuxrc-8.20/VERSION new/linuxrc-9.0/VERSION --- old/linuxrc-8.20/VERSION2023-02-08 11:01:27.0 +0100 +++ new/linuxrc-9.0/VERSION 2023-07-05 16:15:18.0 +0200 @@ -1 +1 @@ -8.20 +9.0 diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/linuxrc-8.20/changelog new/linuxrc-9.0/changelog --- old/linuxrc-8.20/changelog 2023-02-08 11:01:27.0 +0100 +++ new/linuxrc-9.0/changelog 2023-07-05 16:15:18.0 +0200 @@ -1,3 +1,9 @@ +2023-07-05:9.0 + - merge gh#openSUSE/linuxrc#321 + - adjust code to updated libhd API + - fix mediacheck test for valid app_id + - replace obsolete CURLOPT_PROGRESSFUNCTION + 2023-02-08:8.20 - really parse 'firmwaretype' key (bsc#1208042) - merge gh#openSUSE/linuxrc#318 diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/linuxrc-8.20/checkmedia.c new/linuxrc-9.0/checkmedia.c --- old/linuxrc-8.20/checkmedia.c 2023-02-08 11:01:27.0 +0100 +++ new/linuxrc-9.0/checkmedia.c2023-07-05 16:15:18.0 +0200 @@ -60,7 +60,7 @@ return 1; } - if(media->app_id) log_info("app: %s\n", media->app_id); + if(*media->app_id) log_info("app: %s\n", media->app_id); if(media->iso_blocks) { log_info( diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/linuxrc-8.20/global.h new/linuxrc-9.0/global.h --- old/linuxrc-8.20/global.h 2023-02-08 11:01:27.0 +0100 +++ new/linuxrc-9.0/global.h2023-07-05 16:15:18.0 +0200 @@ -15,9 +15,6 @@ #include #include -extern str_list_t *search_str_list(str_list_t *sl, char *str); -extern str_list_t *add_str_list(str_list_t **sl, char *str); -extern char *hd_join(char *del, str_list_t *str); /* lang_undef _must_ be 0 */ enum langid_t { diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/linuxrc-8.20/linuxrc.c new/linuxrc-9.0/linuxrc.c --- old/linuxrc-8.20/linuxrc.c 2023-02-08 11:01:27.0 +0100 +++ new/linuxrc-9.0/linuxrc.c 2023-07-05 16:15:18.0 +0200 @@ -953,7 +953,7 @@ if (config.linemode) putchar('\n'); printf( - "\n>>> %s installation program v" LXRC_FULL_VERSION " (c) 1996-2021 SUSE LLC %s <<<\n", + "\n>>> %s installation program v" LXRC_FULL_VERSION " (c) 1996-2023 SUSE LLC %s <<<\n", config.product, config.platform_name ); diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/linuxrc-8.20/scsi_rename.c new/linuxrc-9.0/scsi_rename.c --- old/linuxrc-8.20/scsi_rename.c 2023-02-08 11:01:27.0 +0100 +++ new/linuxrc-9.0/scsi_rename.c 2023-07-05 16:15:18.0 +0200 @@ -48,11 +48,6 @@ } -str_list_t *reverse_str_list(str_list_t *list); -str_list_t *free_str_list(str_list_t *list); -str_list_t *read_dir(char *dir_name, int type); -char *hd_read_sysfs_link(char *base_dir, char *link_name); - void get_scsi_list() { scsi_dev_t *scsi_dev; @@ -63,7 +58,7 @@ scsi_list = calloc(MAX_SCSI_DEVS + 1, sizeof *scsi_list); - sf_class = reverse_str_list(read_dir("/sys/block", 'D')); + sf_class = hd_reverse_str_list(hd_read_dir("/sys/block", 'D')); if(!sf
commit linuxrc for openSUSE:Factory
Script 'mail_helper' called by obssrc Hello community, here is the log from the commit of package linuxrc for openSUSE:Factory checked in at 2023-02-09 16:21:54 Comparing /work/SRC/openSUSE:Factory/linuxrc (Old) and /work/SRC/openSUSE:Factory/.linuxrc.new.4462 (New) Package is "linuxrc" Thu Feb 9 16:21:54 2023 rev:314 rq:1063784 version:8.20 Changes: --- /work/SRC/openSUSE:Factory/linuxrc/linuxrc.changes 2023-01-24 20:25:49.710330737 +0100 +++ /work/SRC/openSUSE:Factory/.linuxrc.new.4462/linuxrc.changes 2023-02-09 16:22:03.918360076 +0100 @@ -1,0 +2,7 @@ +Wed Feb 8 10:01:27 UTC 2023 - wfe...@opensuse.org + +- merge gh#openSUSE/linuxrc#318 +- really parse 'firmwaretype' key (bsc#1208042) +- 8.20 + + Old: linuxrc-8.19.tar.xz New: linuxrc-8.20.tar.xz Other differences: -- ++ linuxrc.spec ++ --- /var/tmp/diff_new_pack.v1X9Or/_old 2023-02-09 16:22:04.482362981 +0100 +++ /var/tmp/diff_new_pack.v1X9Or/_new 2023-02-09 16:22:04.486363003 +0100 @@ -17,7 +17,7 @@ Name: linuxrc -Version:8.19 +Version:8.20 Release:0 Summary:SUSE Installation Program License:GPL-3.0+ ++ linuxrc-8.19.tar.xz -> linuxrc-8.20.tar.xz ++ diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/linuxrc-8.19/VERSION new/linuxrc-8.20/VERSION --- old/linuxrc-8.19/VERSION2023-01-23 17:09:55.0 +0100 +++ new/linuxrc-8.20/VERSION2023-02-08 11:01:27.0 +0100 @@ -1 +1 @@ -8.19 +8.20 diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/linuxrc-8.19/changelog new/linuxrc-8.20/changelog --- old/linuxrc-8.19/changelog 2023-01-23 17:09:55.0 +0100 +++ new/linuxrc-8.20/changelog 2023-02-08 11:01:27.0 +0100 @@ -1,3 +1,8 @@ +2023-02-08:8.20 + - really parse 'firmwaretype' key (bsc#1208042) + - merge gh#openSUSE/linuxrc#318 + - really parse 'firmwaretype' key (bsc#1208042) + 2023-01-23:8.19 - merge gh#openSUSE/linuxrc#315 - fix buffer overflow in debug log (bsc#1207403) diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/linuxrc-8.19/file.c new/linuxrc-8.20/file.c --- old/linuxrc-8.19/file.c 2023-01-23 17:09:55.0 +0100 +++ new/linuxrc-8.20/file.c 2023-02-08 11:01:27.0 +0100 @@ -330,6 +330,7 @@ { key_edid, "EDID", kf_cmd_early }, { key_hypervisor, "Hypervisor", kf_cmd_early }, { key_usenbft,"UseNBFT",kf_cfg + kf_cmd}, + { key_firmware_types, "FirmwareTypes", kf_cfg + kf_cmd}, }; static struct {
commit linuxrc for openSUSE:Factory
Script 'mail_helper' called by obssrc Hello community, here is the log from the commit of package linuxrc for openSUSE:Factory checked in at 2023-01-24 19:42:24 Comparing /work/SRC/openSUSE:Factory/linuxrc (Old) and /work/SRC/openSUSE:Factory/.linuxrc.new.32243 (New) Package is "linuxrc" Tue Jan 24 19:42:24 2023 rev:313 rq:1060465 version:8.19 Changes: --- /work/SRC/openSUSE:Factory/linuxrc/linuxrc.changes 2022-10-27 13:53:16.252291604 +0200 +++ /work/SRC/openSUSE:Factory/.linuxrc.new.32243/linuxrc.changes 2023-01-24 20:25:49.710330737 +0100 @@ -1,0 +2,24 @@ +Mon Jan 23 16:09:55 UTC 2023 - wfe...@opensuse.org + +- merge gh#openSUSE/linuxrc#315 +- fix buffer overflow in debug log (bsc#1207403) +- 8.19 + + +Mon Jan 23 12:21:50 UTC 2023 - wfe...@opensuse.org + +- merge gh#openSUSE/linuxrc#312 +- be careful switch_to_fb option takes care of textmode setting + (bsc#1206460) +- 8.18 + + +Mon Jan 23 11:51:55 UTC 2023 - wfe...@opensuse.org + +- merge gh#openSUSE/linuxrc#311 +- support more general wicked firmware devices interface + (jsc#PED-3118, jsc#PED-967) +- add usenbft boot config setting (mainly to aid testing) +- 8.17 + + Old: linuxrc-8.16.tar.xz New: linuxrc-8.19.tar.xz Other differences: -- ++ linuxrc.spec ++ --- /var/tmp/diff_new_pack.dEv2Wx/_old 2023-01-24 20:25:50.258333541 +0100 +++ /var/tmp/diff_new_pack.dEv2Wx/_new 2023-01-24 20:25:50.258333541 +0100 @@ -17,7 +17,7 @@ Name: linuxrc -Version:8.16 +Version:8.19 Release:0 Summary:SUSE Installation Program License:GPL-3.0+ ++ linuxrc-8.16.tar.xz -> linuxrc-8.19.tar.xz ++ diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/linuxrc-8.16/VERSION new/linuxrc-8.19/VERSION --- old/linuxrc-8.16/VERSION2022-10-26 17:17:07.0 +0200 +++ new/linuxrc-8.19/VERSION2023-01-23 17:09:55.0 +0100 @@ -1 +1 @@ -8.16 +8.19 diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/linuxrc-8.16/changelog new/linuxrc-8.19/changelog --- old/linuxrc-8.16/changelog 2022-10-26 17:17:07.0 +0200 +++ new/linuxrc-8.19/changelog 2023-01-23 17:09:55.0 +0100 @@ -1,3 +1,18 @@ +2023-01-23:8.19 + - merge gh#openSUSE/linuxrc#315 + - fix buffer overflow in debug log (bsc#1207403) + +2023-01-23:8.18 + - merge gh#openSUSE/linuxrc#312 + - be careful switch_to_fb option takes care of textmode setting + (bsc#1206460) + +2023-01-23:8.17 + - merge gh#openSUSE/linuxrc#311 + - support more general wicked firmware devices interface + (jsc#PED-3118, jsc#PED-967) + - add usenbft boot config setting (mainly to aid testing) + 2022-10-26:8.16 - merge gh#openSUSE/linuxrc#307 - s390x: support PCI-attached networking device (jsc#PED-619) diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/linuxrc-8.16/file.c new/linuxrc-8.19/file.c --- old/linuxrc-8.16/file.c 2022-10-26 17:17:07.0 +0200 +++ new/linuxrc-8.19/file.c 2023-01-23 17:09:55.0 +0100 @@ -315,7 +315,8 @@ { 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}, + { key_firmware_devices, "FirmwareDevices", kf_cfg + kf_cmd }, + { key_firmware_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 }, @@ -328,6 +329,7 @@ { key_switch_to_fb, "SwitchToFB", kf_cfg + kf_cmd_early }, { key_edid, "EDID", kf_cmd_early }, { key_hypervisor, "Hypervisor", kf_cmd_early }, + { key_usenbft,"UseNBFT",kf_cfg + kf_cmd}, }; static struct { @@ -1466,6 +1468,10 @@ if(f->is.numeric) config.withfcoe = f->nvalue; break; + case key_usenbft: +if(f->is.numeric) config.usenbft = f->nvalue; +break; + case key_startshell: if(!*f->value) config.startshell = 1; if(f->is.numeric) config.st
commit linuxrc for openSUSE:Factory
Script 'mail_helper' called by obssrc Hello community, here is the log from the commit of package linuxrc for openSUSE:Factory checked in at 2022-10-27 13:53:02 Comparing /work/SRC/openSUSE:Factory/linuxrc (Old) and /work/SRC/openSUSE:Factory/.linuxrc.new.2275 (New) Package is "linuxrc" Thu Oct 27 13:53:02 2022 rev:312 rq:1031370 version:8.16 Changes: --- /work/SRC/openSUSE:Factory/linuxrc/linuxrc.changes 2022-10-16 16:09:04.730735440 +0200 +++ /work/SRC/openSUSE:Factory/.linuxrc.new.2275/linuxrc.changes 2022-10-27 13:53:16.252291604 +0200 @@ -1,0 +2,7 @@ +Wed Oct 26 15:17:07 UTC 2022 - wfe...@opensuse.org + +- merge gh#openSUSE/linuxrc#307 +- s390x: support PCI-attached networking device (jsc#PED-619) +- 8.16 + + Old: linuxrc-8.15.tar.xz New: linuxrc-8.16.tar.xz Other differences: -- ++ linuxrc.spec ++ --- /var/tmp/diff_new_pack.c3dw3p/_old 2022-10-27 13:53:17.800299500 +0200 +++ /var/tmp/diff_new_pack.c3dw3p/_new 2022-10-27 13:53:17.812299561 +0200 @@ -17,7 +17,7 @@ Name: linuxrc -Version:8.15 +Version:8.16 Release:0 Summary:SUSE Installation Program License:GPL-3.0+ ++ linuxrc-8.15.tar.xz -> linuxrc-8.16.tar.xz ++ diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/linuxrc-8.15/VERSION new/linuxrc-8.16/VERSION --- old/linuxrc-8.15/VERSION2022-10-14 19:58:15.0 +0200 +++ new/linuxrc-8.16/VERSION2022-10-26 17:17:07.0 +0200 @@ -1 +1 @@ -8.15 +8.16 diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/linuxrc-8.15/changelog new/linuxrc-8.16/changelog --- old/linuxrc-8.15/changelog 2022-10-14 19:58:15.0 +0200 +++ new/linuxrc-8.16/changelog 2022-10-26 17:17:07.0 +0200 @@ -1,3 +1,7 @@ +2022-10-26:8.16 + - merge gh#openSUSE/linuxrc#307 + - s390x: support PCI-attached networking device (jsc#PED-619) + 2022-10-14:8.15 - merge gh#openSUSE/linuxrc#304 - make s390x hypervisor setting configurable (for debugging) diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/linuxrc-8.15/dialog.c new/linuxrc-8.16/dialog.c --- old/linuxrc-8.15/dialog.c 2022-10-14 19:58:15.0 +0200 +++ new/linuxrc-8.16/dialog.c 2022-10-26 17:17:07.0 +0200 @@ -108,7 +108,8 @@ { di_390net_hsi, "HiperSockets" }, { di_390net_virtio, "VirtIO Ethernet CCW Device"}, { di_390net_sep, "#" }, - + { di_390net_pci, "PCI-attached networking device" }, + { di_ctc_compat, "Compatibility mode (default)" }, { di_ctc_ext, "Extended mode" }, { di_ctc_zos390, "Compatibility mode for OS/390 and z/OS peers" }, diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/linuxrc-8.15/dialog.h new/linuxrc-8.16/dialog.h --- old/linuxrc-8.15/dialog.h 2022-10-14 19:58:15.0 +0200 +++ new/linuxrc-8.16/dialog.h 2022-10-26 17:17:07.0 +0200 @@ -91,6 +91,7 @@ di_390net_qdio, di_390net_lcs, di_390net_sep, + di_390net_pci, di_ctc_compat, di_ctc_ext, diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/linuxrc-8.15/net.c new/linuxrc-8.16/net.c --- old/linuxrc-8.15/net.c 2022-10-14 19:58:15.0 +0200 +++ new/linuxrc-8.16/net.c 2022-10-26 17:17:07.0 +0200 @@ -1412,6 +1412,8 @@ di_390net_sep, di_390net_ctc, di_390net_iucv, + di_390net_sep, + di_390net_pci, di_none }; if(!strcmp(config.hwp.hypervisor, "KVM")) { @@ -1562,6 +1564,10 @@ return 0; break; + case di_390net_pci: +return 0; +break; + default: return -1; }
commit linuxrc for openSUSE:Factory
Script 'mail_helper' called by obssrc Hello community, here is the log from the commit of package linuxrc for openSUSE:Factory checked in at 2022-10-16 16:08:59 Comparing /work/SRC/openSUSE:Factory/linuxrc (Old) and /work/SRC/openSUSE:Factory/.linuxrc.new.2275 (New) Package is "linuxrc" Sun Oct 16 16:08:59 2022 rev:311 rq:1011006 version:8.15 Changes: --- /work/SRC/openSUSE:Factory/linuxrc/linuxrc.changes 2022-10-10 18:44:48.990901453 +0200 +++ /work/SRC/openSUSE:Factory/.linuxrc.new.2275/linuxrc.changes 2022-10-16 16:09:04.730735440 +0200 @@ -1,0 +2,8 @@ +Fri Oct 14 17:58:15 UTC 2022 - wfe...@opensuse.org + +- merge gh#openSUSE/linuxrc#304 +- make s390x hypervisor setting configurable (for debugging) +- s390x: remove deprecated ESCON support (jsc#PED-595) +- 8.15 + + Old: linuxrc-8.14.tar.xz New: linuxrc-8.15.tar.xz Other differences: -- ++ linuxrc.spec ++ --- /var/tmp/diff_new_pack.1ol4xi/_old 2022-10-16 16:09:05.414737044 +0200 +++ /var/tmp/diff_new_pack.1ol4xi/_new 2022-10-16 16:09:05.422737062 +0200 @@ -17,7 +17,7 @@ Name: linuxrc -Version:8.14 +Version:8.15 Release:0 Summary:SUSE Installation Program License:GPL-3.0+ ++ linuxrc-8.14.tar.xz -> linuxrc-8.15.tar.xz ++ diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/linuxrc-8.14/VERSION new/linuxrc-8.15/VERSION --- old/linuxrc-8.14/VERSION2022-10-05 17:53:27.0 +0200 +++ new/linuxrc-8.15/VERSION2022-10-14 19:58:15.0 +0200 @@ -1 +1 @@ -8.14 +8.15 diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/linuxrc-8.14/changelog new/linuxrc-8.15/changelog --- old/linuxrc-8.14/changelog 2022-10-05 17:53:27.0 +0200 +++ new/linuxrc-8.15/changelog 2022-10-14 19:58:15.0 +0200 @@ -1,3 +1,8 @@ +2022-10-14:8.15 + - merge gh#openSUSE/linuxrc#304 + - make s390x hypervisor setting configurable (for debugging) + - s390x: remove deprecated ESCON support (jsc#PED-595) + 2022-10-05:8.14 - merge gh#openSUSE/linuxrc#299 - add 'repo' URL scheme to linuxrc (jsc#SLE-22578, jsc#SLE-24584) diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/linuxrc-8.14/dialog.c new/linuxrc-8.15/dialog.c --- old/linuxrc-8.14/dialog.c 2022-10-05 17:53:27.0 +0200 +++ new/linuxrc-8.15/dialog.c 2022-10-14 19:58:15.0 +0200 @@ -104,7 +104,6 @@ { di_390net_osa, "OSA-2 or OSA Express" }, { di_390net_ctc, "Channel To Channel (CTC)" }, - { di_390net_escon,"ESCON" }, { di_390net_iucv, "Inter-User Communication Vehicle (IUCV)" }, { di_390net_hsi, "HiperSockets" }, { di_390net_virtio, "VirtIO Ethernet CCW Device"}, diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/linuxrc-8.14/dialog.h new/linuxrc-8.15/dialog.h --- old/linuxrc-8.14/dialog.h 2022-10-05 17:53:27.0 +0200 +++ new/linuxrc-8.15/dialog.h 2022-10-14 19:58:15.0 +0200 @@ -84,7 +84,6 @@ di_390net_osa, di_390net_ctc, - di_390net_escon, di_390net_iucv, di_390net_hsi, di_390net_virtio, diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/linuxrc-8.14/file.c new/linuxrc-8.15/file.c --- old/linuxrc-8.14/file.c 2022-10-05 17:53:27.0 +0200 +++ new/linuxrc-8.15/file.c 2022-10-14 19:58:15.0 +0200 @@ -327,6 +327,7 @@ { key_extend, "Extend", kf_cfg + kf_cmd}, { key_switch_to_fb, "SwitchToFB", kf_cfg + kf_cmd_early }, { key_edid, "EDID", kf_cmd_early }, + { key_hypervisor, "Hypervisor", kf_cmd_early }, }; static struct { @@ -351,7 +352,6 @@ #if defined(__s390__) || defined(__s390x__) { "osa", di_390net_osa }, { "ctc", di_390net_ctc }, - { "escon",di_390net_escon}, { "iucv", di_390net_iucv }, { "hsi", di_390net_hsi }, { "qdio", di_osa_qdio}, @@ -1903,6 +1903,10 @@ if(*f->value) util_parse_edid(f->value); break; + case key_hypervisor: +str_copy(&config.hwp.hypervisor, f->value); +break; + default: break; } diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/linuxrc-8.14/file.h new/linuxrc-8.15/file.h --- old/linuxrc-8.14/file.h 2022-10-05 17:53:27.0 +0200 +++ new/linuxrc-8.15
commit linuxrc for openSUSE:Factory
Script 'mail_helper' called by obssrc Hello community, here is the log from the commit of package linuxrc for openSUSE:Factory checked in at 2022-10-10 18:44:19 Comparing /work/SRC/openSUSE:Factory/linuxrc (Old) and /work/SRC/openSUSE:Factory/.linuxrc.new.2275 (New) Package is "linuxrc" Mon Oct 10 18:44:19 2022 rev:310 rq:1008253 version:8.14 Changes: --- /work/SRC/openSUSE:Factory/linuxrc/linuxrc.changes 2022-08-19 17:54:50.875895322 +0200 +++ /work/SRC/openSUSE:Factory/.linuxrc.new.2275/linuxrc.changes 2022-10-10 18:44:48.990901453 +0200 @@ -1,0 +2,10 @@ +Wed Oct 5 15:53:27 UTC 2022 - wfe...@opensuse.org + +- merge gh#openSUSE/linuxrc#299 +- add 'repo' URL scheme to linuxrc (jsc#SLE-22578, jsc#SLE-24584) +- ensure the device is passed to hd and disk Zypp schemes + (jsc#SLE-22578, jsc#SLE-24584) +- add relative flag to url struct +- 8.14 + + Old: linuxrc-8.13.tar.xz New: linuxrc-8.14.tar.xz Other differences: -- ++ linuxrc.spec ++ --- /var/tmp/diff_new_pack.v2OVrm/_old 2022-10-10 18:44:49.514902581 +0200 +++ /var/tmp/diff_new_pack.v2OVrm/_new 2022-10-10 18:44:49.522902599 +0200 @@ -17,7 +17,7 @@ Name: linuxrc -Version:8.13 +Version:8.14 Release:0 Summary:SUSE Installation Program License:GPL-3.0+ ++ linuxrc-8.13.tar.xz -> linuxrc-8.14.tar.xz ++ diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/linuxrc-8.13/VERSION new/linuxrc-8.14/VERSION --- old/linuxrc-8.13/VERSION2022-08-18 17:48:08.0 +0200 +++ new/linuxrc-8.14/VERSION2022-10-05 17:53:27.0 +0200 @@ -1 +1 @@ -8.13 +8.14 diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/linuxrc-8.13/auto2.c new/linuxrc-8.14/auto2.c --- old/linuxrc-8.13/auto2.c2022-08-18 17:48:08.0 +0200 +++ new/linuxrc-8.14/auto2.c2022-10-05 17:53:27.0 +0200 @@ -888,7 +888,7 @@ if(config.url.autoyast) { if( - config.url.autoyast->scheme == inst_rel && + config.url.autoyast->is.relative && config.autoyast_parse ) { log_show_maybe(!config.url.autoyast->quiet, "AutoYaST file in repo: %s\n", url_print(config.url.autoyast, 5)); @@ -908,9 +908,12 @@ if(util_check_exist("/tmp/autoinst.xml")) rename("/tmp/autoinst.xml", "/autoinst.xml"); if(util_check_exist("/autoinst.xml")) { - log_info("setting AutoYaST option to file:/autoinst.xml\n"); - url_free(config.url.autoyast); - config.url.autoyast = url_set("file:/autoinst.xml"); + // with repo scheme, pass the the original URL to yast + if(config.url.autoyast->scheme != inst_repo) { +log_info("setting AutoYaST option to file:/autoinst.xml\n"); +url_free(config.url.autoyast); +config.url.autoyast = url_set("file:/autoinst.xml"); + } // parse for embedded linuxrc options in element log_info("parsing AutoYaST file\n"); file_read_info_file("file:/autoinst.xml", kf_cfg); @@ -1095,7 +1098,7 @@ err = 1; } - if(config.url.instsys->scheme == inst_rel && !config.url.install) { + if(config.url.instsys->is.relative && !config.url.install) { log_info("no repo\n"); err = 2; } @@ -1107,7 +1110,7 @@ strprintf(&config.url.instsys->path, "%s/%s", s, extension); - if(config.url.instsys->scheme == inst_rel) { + if(config.url.instsys->is.relative) { err = url_find_repo(config.url.install, config.mountpoint.instdata); } @@ -1227,7 +1230,7 @@ if(!url) return; // rel url is taken care of in auto2_read_repo_files() - if(url->scheme == inst_rel) return; + if(url->is.relative) return; /* * If the AutoYaST url is a directory we have to verify its existence diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/linuxrc-8.13/changelog new/linuxrc-8.14/changelog --- old/linuxrc-8.13/changelog 2022-08-18 17:48:08.0 +0200 +++ new/linuxrc-8.14/changelog 2022-10-05 17:53:27.0 +0200 @@ -1,3 +1,10 @@ +2022-10-05:8.14 + - merge gh#openSUSE/linuxrc#299 + - add 'repo' URL scheme to linuxrc (jsc#SLE-22578, jsc#SLE-24584) + - ensure the device is passed to hd and disk Zypp schemes + (jsc#SLE-22578, jsc#SLE-24584) + - add relative flag to url struct + 2022-08-18:8.13 - merge gh#openSUSE/linuxrc#302 - pass edid firmware option via sysfs if drm is compiled into the diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/linuxrc-8.13/global.h new/linuxrc-8.14/global.h --- old/linuxrc-8.13/global.h 202
commit linuxrc for openSUSE:Factory
Script 'mail_helper' called by obssrc Hello community, here is the log from the commit of package linuxrc for openSUSE:Factory checked in at 2022-08-19 17:53:37 Comparing /work/SRC/openSUSE:Factory/linuxrc (Old) and /work/SRC/openSUSE:Factory/.linuxrc.new.2083 (New) Package is "linuxrc" Fri Aug 19 17:53:37 2022 rev:309 rq:998019 version:8.13 Changes: --- /work/SRC/openSUSE:Factory/linuxrc/linuxrc.changes 2022-05-30 12:43:18.680339500 +0200 +++ /work/SRC/openSUSE:Factory/.linuxrc.new.2083/linuxrc.changes 2022-08-19 17:54:50.875895322 +0200 @@ -1,0 +2,8 @@ +Thu Aug 18 15:48:08 UTC 2022 - wfe...@opensuse.org + +- merge gh#openSUSE/linuxrc#302 +- pass edid firmware option via sysfs if drm is compiled into the + kernel (bsc#1202529) +- 8.13 + + Old: linuxrc-8.12.tar.xz New: linuxrc-8.13.tar.xz Other differences: -- ++ linuxrc.spec ++ --- /var/tmp/diff_new_pack.uX0M5k/_old 2022-08-19 17:54:51.595896832 +0200 +++ /var/tmp/diff_new_pack.uX0M5k/_new 2022-08-19 17:54:51.599896839 +0200 @@ -17,7 +17,7 @@ Name: linuxrc -Version:8.12 +Version:8.13 Release:0 Summary:SUSE Installation Program License:GPL-3.0+ ++ linuxrc-8.12.tar.xz -> linuxrc-8.13.tar.xz ++ diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/linuxrc-8.12/VERSION new/linuxrc-8.13/VERSION --- old/linuxrc-8.12/VERSION2022-05-25 12:18:50.0 +0200 +++ new/linuxrc-8.13/VERSION2022-08-18 17:48:08.0 +0200 @@ -1 +1 @@ -8.12 +8.13 diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/linuxrc-8.12/changelog new/linuxrc-8.13/changelog --- old/linuxrc-8.12/changelog 2022-05-25 12:18:50.0 +0200 +++ new/linuxrc-8.13/changelog 2022-08-18 17:48:08.0 +0200 @@ -1,3 +1,8 @@ +2022-08-18:8.13 + - merge gh#openSUSE/linuxrc#302 + - pass edid firmware option via sysfs if drm is compiled into the + kernel (bsc#1202529) + 2022-05-25:8.12 - merge gh#openSUSE/linuxrc#297 - add EDID boot option to specify arbitrary display sizes (bsc#1199020) diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/linuxrc-8.12/util.c new/linuxrc-8.13/util.c --- old/linuxrc-8.12/util.c 2022-05-25 12:18:50.0 +0200 +++ new/linuxrc-8.13/util.c 2022-08-18 17:48:08.0 +0200 @@ -5877,4 +5877,12 @@ fprintf(f, "options drm edid_firmware=edid_blob\n"); fclose(f); } + + // in case the drm driver has been compiled into the kernel, write option via sysfs + f = fopen("/sys/module/drm/parameters/edid_firmware", "w"); + + if(f) { +fprintf(f, "edid_blob"); +fclose(f); + } }
commit linuxrc for openSUSE:Factory
Script 'mail_helper' called by obssrc Hello community, here is the log from the commit of package linuxrc for openSUSE:Factory checked in at 2022-05-30 12:42:41 Comparing /work/SRC/openSUSE:Factory/linuxrc (Old) and /work/SRC/openSUSE:Factory/.linuxrc.new.2254 (New) Package is "linuxrc" Mon May 30 12:42:41 2022 rev:308 rq:979448 version:8.12 Changes: --- /work/SRC/openSUSE:Factory/linuxrc/linuxrc.changes 2022-04-26 20:17:20.108729217 +0200 +++ /work/SRC/openSUSE:Factory/.linuxrc.new.2254/linuxrc.changes 2022-05-30 12:43:18.680339500 +0200 @@ -1,0 +2,8 @@ +Wed May 25 10:18:50 UTC 2022 - wfe...@opensuse.org + +- merge gh#openSUSE/linuxrc#297 +- add EDID boot option to specify arbitrary display sizes (bsc#1199020) +- add edid-write tool to create EDID data +- 8.12 + + Old: linuxrc-8.11.tar.xz New: linuxrc-8.12.tar.xz Other differences: -- ++ linuxrc.spec ++ --- /var/tmp/diff_new_pack.eaokEp/_old 2022-05-30 12:43:19.236340240 +0200 +++ /var/tmp/diff_new_pack.eaokEp/_new 2022-05-30 12:43:19.240340245 +0200 @@ -17,7 +17,7 @@ Name: linuxrc -Version:8.11 +Version:8.12 Release:0 Summary:SUSE Installation Program License:GPL-3.0+ @@ -52,6 +52,7 @@ %defattr(-,root,root) %{_sbindir}/linuxrc %{_bindir}/mkpsfu +%{_bindir}/edid-write %{_datadir}/linuxrc %doc COPYING *.html *.md *.txt *.png ++ linuxrc-8.11.tar.xz -> linuxrc-8.12.tar.xz ++ diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/linuxrc-8.11/Makefile new/linuxrc-8.12/Makefile --- old/linuxrc-8.11/Makefile 2022-04-25 16:00:01.0 +0200 +++ new/linuxrc-8.12/Makefile 2022-05-25 12:18:50.0 +0200 @@ -16,7 +16,7 @@ INC= $(wildcard *.h) OBJ= $(SRC:.c=.o) -SUBDIRS= mkpsfu +SUBDIRS= mkpsfu edid-write .EXPORT_ALL_VARIABLES: .PHONY:all clean install libs archive @@ -43,6 +43,7 @@ install: linuxrc install -m 755 linuxrc $(DESTDIR)/usr/sbin install -m 755 mkpsfu/mkpsfu $(DESTDIR)/usr/bin + install -m 755 edid-write/edid-write $(DESTDIR)/usr/bin install -d -m 755 $(DESTDIR)/usr/share/linuxrc gzip -c9 mkpsfu/linuxrc-16.psfu >$(DESTDIR)/usr/share/linuxrc/linuxrc-16.psfu.gz gzip -c9 mkpsfu/linuxrc2-16.psfu >$(DESTDIR)/usr/share/linuxrc/linuxrc2-16.psfu.gz diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/linuxrc-8.11/VERSION new/linuxrc-8.12/VERSION --- old/linuxrc-8.11/VERSION2022-04-25 16:00:01.0 +0200 +++ new/linuxrc-8.12/VERSION2022-05-25 12:18:50.0 +0200 @@ -1 +1 @@ -8.11 +8.12 diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/linuxrc-8.11/changelog new/linuxrc-8.12/changelog --- old/linuxrc-8.11/changelog 2022-04-25 16:00:01.0 +0200 +++ new/linuxrc-8.12/changelog 2022-05-25 12:18:50.0 +0200 @@ -1,3 +1,8 @@ +2022-05-25:8.12 + - merge gh#openSUSE/linuxrc#297 + - add EDID boot option to specify arbitrary display sizes (bsc#1199020) + - add edid-write tool to create EDID data + 2022-04-25:8.11 - merge gh#openSUSE/linuxrc#295 - fix typo in HiperSocket (bsc#1198821) diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/linuxrc-8.11/edid-write/Makefile new/linuxrc-8.12/edid-write/Makefile --- old/linuxrc-8.11/edid-write/Makefile1970-01-01 01:00:00.0 +0100 +++ new/linuxrc-8.12/edid-write/Makefile2022-05-25 12:18:50.0 +0200 @@ -0,0 +1,11 @@ +CC = gcc +CFLAGS = -Wall -O2 -fomit-frame-pointer $(RPM_OPT_FLAGS) + +.PHONY: all clean + +all: edid-write + +edid-write: edid-write.c + $(CC) $(CFLAGS) $< -o $@ +clean: + @rm -f edid-write *~ diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/linuxrc-8.11/edid-write/edid-write.c new/linuxrc-8.12/edid-write/edid-write.c --- old/linuxrc-8.11/edid-write/edid-write.c1970-01-01 01:00:00.0 +0100 +++ new/linuxrc-8.12/edid-write/edid-write.c2022-05-25 12:18:50.0 +0200 @@ -0,0 +1,276 @@ +// This program creates Extended Display Identification Data (EDID) conforming to EDID 1.3. +// +// For reference, see +// +// - https://vesa.org/vesa-standards +// - https://glenwing.github.io/docs/VESA-EEDID-A1.pdf +// - https://en.wikipedia.org/wiki/Extended_Display_Identification_Data +// +// To decode EDID data, there is the very nice edid-decode tool: +// +// - https://git.linuxtv.org/edid-decode.git +// +#include +#include +#include +#include +#include
commit linuxrc for openSUSE:Factory
Script 'mail_helper' called by obssrc Hello community, here is the log from the commit of package linuxrc for openSUSE:Factory checked in at 2022-04-26 20:15:17 Comparing /work/SRC/openSUSE:Factory/linuxrc (Old) and /work/SRC/openSUSE:Factory/.linuxrc.new.1538 (New) Package is "linuxrc" Tue Apr 26 20:15:17 2022 rev:307 rq:972627 version:8.11 Changes: --- /work/SRC/openSUSE:Factory/linuxrc/linuxrc.changes 2022-04-16 00:12:48.081533102 +0200 +++ /work/SRC/openSUSE:Factory/.linuxrc.new.1538/linuxrc.changes 2022-04-26 20:17:20.108729217 +0200 @@ -1,0 +2,7 @@ +Mon Apr 25 14:00:01 UTC 2022 - jreidin...@suse.cz + +- merge gh#openSUSE/linuxrc#295 +- fix typo in HiperSocket (bsc#1198821) +- 8.11 + + Old: linuxrc-8.10.tar.xz New: linuxrc-8.11.tar.xz Other differences: -- ++ linuxrc.spec ++ --- /var/tmp/diff_new_pack.qgpfto/_old 2022-04-26 20:17:20.652729876 +0200 +++ /var/tmp/diff_new_pack.qgpfto/_new 2022-04-26 20:17:20.660729885 +0200 @@ -17,7 +17,7 @@ Name: linuxrc -Version:8.10 +Version:8.11 Release:0 Summary:SUSE Installation Program License:GPL-3.0+ ++ linuxrc-8.10.tar.xz -> linuxrc-8.11.tar.xz ++ diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/linuxrc-8.10/VERSION new/linuxrc-8.11/VERSION --- old/linuxrc-8.10/VERSION2022-04-13 18:13:26.0 +0200 +++ new/linuxrc-8.11/VERSION2022-04-25 16:00:01.0 +0200 @@ -1 +1 @@ -8.10 +8.11 diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/linuxrc-8.10/changelog new/linuxrc-8.11/changelog --- old/linuxrc-8.10/changelog 2022-04-13 18:13:26.0 +0200 +++ new/linuxrc-8.11/changelog 2022-04-25 16:00:01.0 +0200 @@ -1,3 +1,7 @@ +2022-04-25:8.11 + - merge gh#openSUSE/linuxrc#295 + - fix typo in HiperSocket (bsc#1198821) + 2022-04-13:8.10 - merge gh#openSUSE/linuxrc#293 - do not use zram if there's more than 64 GiB free memory (bsc#1197253) diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/linuxrc-8.10/dialog.c new/linuxrc-8.11/dialog.c --- old/linuxrc-8.10/dialog.c 2022-04-13 18:13:26.0 +0200 +++ new/linuxrc-8.11/dialog.c 2022-04-25 16:00:01.0 +0200 @@ -106,7 +106,7 @@ { di_390net_ctc, "Channel To Channel (CTC)" }, { di_390net_escon,"ESCON" }, { di_390net_iucv, "Inter-User Communication Vehicle (IUCV)" }, - { di_390net_hsi, "Hipersockets" }, + { di_390net_hsi, "HiperSockets" }, { di_390net_virtio, "VirtIO Ethernet CCW Device"}, { di_390net_sep, "#" }, diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/linuxrc-8.10/net.c new/linuxrc-8.11/net.c --- old/linuxrc-8.10/net.c 2022-04-13 18:13:26.0 +0200 +++ new/linuxrc-8.11/net.c 2022-04-25 16:00:01.0 +0200 @@ -618,7 +618,7 @@ { "escon", "ESCON connection" }, { "ci","channel attached cisco router" }, { "iucv", "IUCV connection" }, -{ "hsi", "Hipersocket" } +{ "hsi", "HiperSocket" } }; hd_data_t *hd_data = calloc(1, sizeof *hd_data); hd_t *hd, *hd_cards;
commit linuxrc for openSUSE:Factory
Script 'mail_helper' called by obssrc Hello community, here is the log from the commit of package linuxrc for openSUSE:Factory checked in at 2022-04-16 00:12:45 Comparing /work/SRC/openSUSE:Factory/linuxrc (Old) and /work/SRC/openSUSE:Factory/.linuxrc.new.1941 (New) Package is "linuxrc" Sat Apr 16 00:12:45 2022 rev:306 rq:969913 version:8.10 Changes: --- /work/SRC/openSUSE:Factory/linuxrc/linuxrc.changes 2022-03-18 16:41:42.065162636 +0100 +++ /work/SRC/openSUSE:Factory/.linuxrc.new.1941/linuxrc.changes 2022-04-16 00:12:48.081533102 +0200 @@ -1,0 +2,7 @@ +Wed Apr 13 16:13:26 UTC 2022 - wfe...@opensuse.org + +- merge gh#openSUSE/linuxrc#293 +- do not use zram if there's more than 64 GiB free memory (bsc#1197253) +- 8.10 + + Old: linuxrc-8.9.tar.xz New: linuxrc-8.10.tar.xz Other differences: -- ++ linuxrc.spec ++ --- /var/tmp/diff_new_pack.NhWy0X/_old 2022-04-16 00:12:48.721533957 +0200 +++ /var/tmp/diff_new_pack.NhWy0X/_new 2022-04-16 00:12:48.725533962 +0200 @@ -17,7 +17,7 @@ Name: linuxrc -Version:8.9 +Version:8.10 Release:0 Summary:SUSE Installation Program License:GPL-3.0+ ++ linuxrc-8.9.tar.xz -> linuxrc-8.10.tar.xz ++ diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/linuxrc-8.9/VERSION new/linuxrc-8.10/VERSION --- old/linuxrc-8.9/VERSION 2022-03-16 14:08:21.0 +0100 +++ new/linuxrc-8.10/VERSION2022-04-13 18:13:26.0 +0200 @@ -1 +1 @@ -8.9 +8.10 diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/linuxrc-8.9/changelog new/linuxrc-8.10/changelog --- old/linuxrc-8.9/changelog 2022-03-16 14:08:21.0 +0100 +++ new/linuxrc-8.10/changelog 2022-04-13 18:13:26.0 +0200 @@ -1,3 +1,7 @@ +2022-04-13:8.10 + - merge gh#openSUSE/linuxrc#293 + - do not use zram if there's more than 64 GiB free memory (bsc#1197253) + 2022-03-16:8.9 - merge gh#openSUSE/linuxrc#285 - check also raid devices for install repo (bsc#1196061) diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/linuxrc-8.9/linuxrc.c new/linuxrc-8.10/linuxrc.c --- old/linuxrc-8.9/linuxrc.c 2022-03-16 14:08:21.0 +0100 +++ new/linuxrc-8.10/linuxrc.c 2022-04-13 18:13:26.0 +0200 @@ -18,6 +18,7 @@ #include #include #include +#include #include #include #include @@ -116,6 +117,8 @@ { char *prog, *s; int err, i, j; + struct sysinfo si; + uint64_t totalram = 0; prog = (prog = strrchr(*argv, '/')) ? prog + 1 : *argv; @@ -138,9 +141,13 @@ config.run_as_linuxrc = 1; config.tmpfs = 1; - // use zram - str_copy(&config.zram.root_size, "1G"); - str_copy(&config.zram.swap_size, "1G"); + if(!sysinfo(&si)) totalram = si.totalram * si.mem_unit; + + // do not use zram if there's more than 64 GiB free memory (bsc#1197253) + if(totalram < (64ull << 30)) { +str_copy(&config.zram.root_size, "1G"); +str_copy(&config.zram.swap_size, "1G"); + } str_copy(&config.console, "/dev/console"); @@ -162,6 +169,8 @@ config.update.next_name = &config.update.name_list; + log_info("totalram: %"PRIu64"\n", totalram); + /* maybe we had a segfault recently... */ if(argc == 4 && !strcmp(argv[1], "segv")) { unsigned state = argv[3][0] - '0';
commit linuxrc for openSUSE:Factory
Script 'mail_helper' called by obssrc Hello community, here is the log from the commit of package linuxrc for openSUSE:Factory checked in at 2022-03-18 16:41:34 Comparing /work/SRC/openSUSE:Factory/linuxrc (Old) and /work/SRC/openSUSE:Factory/.linuxrc.new.25692 (New) Package is "linuxrc" Fri Mar 18 16:41:34 2022 rev:305 rq:962186 version:8.9 Changes: --- /work/SRC/openSUSE:Factory/linuxrc/linuxrc.changes 2022-01-22 08:18:26.838797359 +0100 +++ /work/SRC/openSUSE:Factory/.linuxrc.new.25692/linuxrc.changes 2022-03-18 16:41:42.065162636 +0100 @@ -1,0 +2,15 @@ +Wed Mar 16 13:08:21 UTC 2022 - wfe...@opensuse.org + +- merge gh#openSUSE/linuxrc#286 +- do not leave repository mounted when starting yast (bsc#1196061) +- improve url logging function +- handle umount errors better +- 8.9 + + +Wed Mar 16 13:08:10 UTC 2022 - wfe...@opensuse.org + +- merge gh#openSUSE/linuxrc#285 +- check also raid devices for install repo (bsc#1196061) + + Old: linuxrc-8.8.tar.xz New: linuxrc-8.9.tar.xz Other differences: -- ++ linuxrc.spec ++ --- /var/tmp/diff_new_pack.mtyTRz/_old 2022-03-18 16:41:42.573163000 +0100 +++ /var/tmp/diff_new_pack.mtyTRz/_new 2022-03-18 16:41:42.577163003 +0100 @@ -17,7 +17,7 @@ Name: linuxrc -Version:8.8 +Version:8.9 Release:0 Summary:SUSE Installation Program License:GPL-3.0+ ++ linuxrc-8.8.tar.xz -> linuxrc-8.9.tar.xz ++ diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/linuxrc-8.8/VERSION new/linuxrc-8.9/VERSION --- old/linuxrc-8.8/VERSION 2022-01-21 13:48:08.0 +0100 +++ new/linuxrc-8.9/VERSION 2022-03-16 14:08:21.0 +0100 @@ -1 +1 @@ -8.8 +8.9 diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/linuxrc-8.8/auto2.c new/linuxrc-8.9/auto2.c --- old/linuxrc-8.8/auto2.c 2022-01-21 13:48:08.0 +0100 +++ new/linuxrc-8.9/auto2.c 2022-03-16 14:08:21.0 +0100 @@ -1116,10 +1116,22 @@ err = url_find_instsys(config.url.instsys, config.mountpoint.instsys); } - sync(); - - url_umount(config.url.install); - if(err) url_umount(config.url.instsys); + /* retry a few times to umount in case the mountpoint is still busy */ + int umount_err = 0; + int umount_try_count = 0; + do { +sync(); +umount_err = url_umount(config.url.install); +if(err) umount_err |= url_umount(config.url.instsys); +if(umount_err && umount_try_count++ < 5) { + log_info("url_umount failed; going to re-try #%d\n", ++umount_try_count); + sleep(1); +} +else { + break; +} + } + while(1); if(config.mountpoint.instdata) rmdir(config.mountpoint.instdata); if(config.mountpoint.instsys) rmdir(config.mountpoint.instsys); diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/linuxrc-8.8/changelog new/linuxrc-8.9/changelog --- old/linuxrc-8.8/changelog 2022-01-21 13:48:08.0 +0100 +++ new/linuxrc-8.9/changelog 2022-03-16 14:08:21.0 +0100 @@ -1,3 +1,11 @@ +2022-03-16:8.9 + - merge gh#openSUSE/linuxrc#285 + - check also raid devices for install repo (bsc#1196061) + - merge gh#openSUSE/linuxrc#286 + - do not leave repository mounted when starting yast (bsc#1196061) + - improve url logging function + - handle umount errors better + 2022-01-21:8.8 - merge gh#openSUSE/linuxrc#282 - enable display dialog for all architectures diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/linuxrc-8.8/file.c new/linuxrc-8.9/file.c --- old/linuxrc-8.8/file.c 2022-01-21 13:48:08.0 +0100 +++ new/linuxrc-8.9/file.c 2022-03-16 14:08:21.0 +0100 @@ -2014,7 +2014,9 @@ file_write_str(f, key_console, config.serial); - file_write_num(f, key_sourcemounted, url->mount ? 1 : 0); + // don't leave anything mounted unless we're low in memory and run yast + // directly from the install medium + file_write_num(f, key_sourcemounted, url->mount && !config.download.instsys ? 1 : 0); fprintf(f, "RepoURL: %s\n", url_print(url, 3)); if(!config.norepo) fprintf(f, "ZyppRepoURL: %s\n", url_print(url, 4)); diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/linuxrc-8.8/install.c new/linuxrc-8.9/install.c --- old/linuxrc-8.8/install.c 2022-01-21 13:48:08.0 +0100 +++ new/linuxrc-8.9/install.c 2022-03-16 14:08:21.0 +0100 @@ -1342,6 +1342,21 @@ return err; }
commit linuxrc for openSUSE:Factory
Script 'mail_helper' called by obssrc Hello community, here is the log from the commit of package linuxrc for openSUSE:Factory checked in at 2022-01-22 08:18:00 Comparing /work/SRC/openSUSE:Factory/linuxrc (Old) and /work/SRC/openSUSE:Factory/.linuxrc.new.1938 (New) Package is "linuxrc" Sat Jan 22 08:18:00 2022 rev:304 rq:947935 version:8.8 Changes: --- /work/SRC/openSUSE:Factory/linuxrc/linuxrc.changes 2021-11-28 21:29:57.626104690 +0100 +++ /work/SRC/openSUSE:Factory/.linuxrc.new.1938/linuxrc.changes 2022-01-22 08:18:26.838797359 +0100 @@ -1,0 +2,19 @@ +Fri Jan 21 12:48:08 UTC 2022 - wfe...@opensuse.org + +- merge gh#openSUSE/linuxrc#282 +- enable display dialog for all architectures +- switch to tty1 if framebuffer device becomes available after + udevd startup (bsc#1193910, jsc#SLE-18632) +- rework display menu +- sanitize open file descriptors when starting yast +- avoid error messages in running system +- 8.8 + + +Thu Jan 20 15:31:35 UTC 2022 - shundham...@suse.de + +- merge gh#openSUSE/linuxrc#283 +- Migration away from kbd-legacy (jsc#SLE-21107) +- 8.7 + + Old: linuxrc-8.6.tar.xz New: linuxrc-8.8.tar.xz Other differences: -- ++ linuxrc.spec ++ --- /var/tmp/diff_new_pack.ziHd24/_old 2022-01-22 08:18:27.350793909 +0100 +++ /var/tmp/diff_new_pack.ziHd24/_new 2022-01-22 08:18:27.358793855 +0100 @@ -17,7 +17,7 @@ Name: linuxrc -Version:8.6 +Version:8.8 Release:0 Summary:SUSE Installation Program License:GPL-3.0+ ++ linuxrc-8.6.tar.xz -> linuxrc-8.8.tar.xz ++ diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/linuxrc-8.6/VERSION new/linuxrc-8.8/VERSION --- old/linuxrc-8.6/VERSION 2021-11-25 10:01:16.0 +0100 +++ new/linuxrc-8.8/VERSION 2022-01-21 13:48:08.0 +0100 @@ -1 +1 @@ -8.6 +8.8 diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/linuxrc-8.6/changelog new/linuxrc-8.8/changelog --- old/linuxrc-8.6/changelog 2021-11-25 10:01:16.0 +0100 +++ new/linuxrc-8.8/changelog 2022-01-21 13:48:08.0 +0100 @@ -1,3 +1,16 @@ +2022-01-21:8.8 + - merge gh#openSUSE/linuxrc#282 + - enable display dialog for all architectures + - switch to tty1 if framebuffer device becomes available after + udevd startup (bsc#1193910, jsc#SLE-18632) + - rework display menu + - sanitize open file descriptors when starting yast + - avoid error messages in running system + +2022-01-20:8.7 + - merge gh#openSUSE/linuxrc#283 + - Migration away from kbd-legacy (jsc#SLE-21107) + 2021-11-25:8.6 - merge gh#openSUSE/linuxrc#278 - allow option matching based on patterns (jsc#SLE-21308) diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/linuxrc-8.6/dialog.c new/linuxrc-8.8/dialog.c --- old/linuxrc-8.6/dialog.c2021-11-25 10:01:16.0 +0100 +++ new/linuxrc-8.8/dialog.c2022-01-21 13:48:08.0 +0100 @@ -97,9 +97,10 @@ { di_extras_quit, "Quit linuxrc" }, { di_display_vnc, "VNC"}, - { di_display_x11, "X11"}, + { di_display_x11, "Remote X11" }, { di_display_ssh, "SSH" }, - { di_display_console, "ASCII Console" }, + { di_display_console, "Text-based UI" }, + { di_display_qt, "Graphical UI" }, { di_390net_osa, "OSA-2 or OSA Express" }, { di_390net_ctc, "Channel To Channel (CTC)" }, diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/linuxrc-8.6/dialog.h new/linuxrc-8.8/dialog.h --- old/linuxrc-8.6/dialog.h2021-11-25 10:01:16.0 +0100 +++ new/linuxrc-8.8/dialog.h2022-01-21 13:48:08.0 +0100 @@ -80,6 +80,7 @@ di_display_vnc, di_display_ssh, di_display_console, + di_display_qt, di_390net_osa, di_390net_ctc, diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/linuxrc-8.6/file.c new/linuxrc-8.8/file.c --- old/linuxrc-8.6/file.c 2021-11-25 10:01:16.0 +0100 +++ new/linuxrc-8.8/file.c 2022-01-21 13:48:08.0 +0100 @@ -95,7 +95,7 @@ { key_rebootwait, "WaitReboot", kf_cfg + kf_cmd}, /* drop it? */ { key_sourcemounted, "Sourcemounted", kf_none}, { key_cdrom, "Cdrom", kf_none}, - { key_c
commit linuxrc for openSUSE:Factory
Script 'mail_helper' called by obssrc Hello community, here is the log from the commit of package linuxrc for openSUSE:Factory checked in at 2021-11-28 21:29:54 Comparing /work/SRC/openSUSE:Factory/linuxrc (Old) and /work/SRC/openSUSE:Factory/.linuxrc.new.1895 (New) Package is "linuxrc" Sun Nov 28 21:29:54 2021 rev:303 rq:933719 version:8.6 Changes: --- /work/SRC/openSUSE:Factory/linuxrc/linuxrc.changes 2021-10-11 15:31:25.422826351 +0200 +++ /work/SRC/openSUSE:Factory/.linuxrc.new.1895/linuxrc.changes 2021-11-28 21:29:57.626104690 +0100 @@ -1,0 +2,7 @@ +Thu Nov 25 09:01:16 UTC 2021 - wfe...@opensuse.org + +- merge gh#openSUSE/linuxrc#278 +- allow option matching based on patterns (jsc#SLE-21308) +- 8.6 + + Old: linuxrc-8.05.tar.xz New: linuxrc-8.6.tar.xz Other differences: -- ++ linuxrc.spec ++ --- /var/tmp/diff_new_pack.gPmHQr/_old 2021-11-28 21:29:59.246099507 +0100 +++ /var/tmp/diff_new_pack.gPmHQr/_new 2021-11-28 21:29:59.250099493 +0100 @@ -17,7 +17,7 @@ Name: linuxrc -Version:8.05 +Version:8.6 Release:0 Summary:SUSE Installation Program License:GPL-3.0+ ++ linuxrc-8.05.tar.xz -> linuxrc-8.6.tar.xz ++ diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/linuxrc-8.05/VERSION new/linuxrc-8.6/VERSION --- old/linuxrc-8.05/VERSION2021-09-13 09:16:12.0 +0200 +++ new/linuxrc-8.6/VERSION 2021-11-25 10:01:16.0 +0100 @@ -1 +1 @@ -8.05 +8.6 diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/linuxrc-8.05/changelog new/linuxrc-8.6/changelog --- old/linuxrc-8.05/changelog 2021-09-13 09:16:12.0 +0200 +++ new/linuxrc-8.6/changelog 2021-11-25 10:01:16.0 +0100 @@ -1,3 +1,7 @@ +2021-11-25:8.6 + - merge gh#openSUSE/linuxrc#278 + - allow option matching based on patterns (jsc#SLE-21308) + 2021-09-13:8.05 - merge gh#openSUSE/linuxrc#235 - let curl figure out proper authentication method (jsc#PM-2272) diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/linuxrc-8.05/file.c new/linuxrc-8.6/file.c --- old/linuxrc-8.05/file.c 2021-09-13 09:16:12.0 +0200 +++ new/linuxrc-8.6/file.c 2021-11-25 10:01:16.0 +0100 @@ -6,13 +6,14 @@ * */ -#define _GNU_SOURCE/* getline */ +#define _GNU_SOURCE/* getline, fnmatch */ #include #include #include #include #include +#include #include #include #include @@ -444,6 +445,7 @@ if(flags & (kf_cmd + kf_cfg)) { for(sl = config.ptoptions; sl; sl = sl->next) { if(!strcasecmpignorestrich(sl->key, str)) return key_is_ptoption; + if(!fnmatch(sl->key, str, FNM_EXTMATCH + FNM_CASEFOLD)) return key_is_ptoption; } } @@ -1363,6 +1365,11 @@ str_copy(&sl->value, f->value); break; } + // If a pattern matches, create an entry with the actual option name. + if(!fnmatch(sl->key, f->key_str, FNM_EXTMATCH + FNM_CASEFOLD)) { +slist_setentry(&config.ptoptions, f->key_str, f->value, 1); +break; + } } break;
commit linuxrc for openSUSE:Factory
Script 'mail_helper' called by obssrc Hello community, here is the log from the commit of package linuxrc for openSUSE:Factory checked in at 2021-10-11 15:30:48 Comparing /work/SRC/openSUSE:Factory/linuxrc (Old) and /work/SRC/openSUSE:Factory/.linuxrc.new.2443 (New) Package is "linuxrc" Mon Oct 11 15:30:48 2021 rev:302 rq:924251 version:8.05 Changes: --- /work/SRC/openSUSE:Factory/linuxrc/linuxrc.changes 2021-07-02 13:27:11.412889482 +0200 +++ /work/SRC/openSUSE:Factory/.linuxrc.new.2443/linuxrc.changes 2021-10-11 15:31:25.422826351 +0200 @@ -1,0 +2,27 @@ +Mon Sep 13 07:16:12 UTC 2021 - mvid...@suse.cz + +- merge gh#openSUSE/linuxrc#275 +- s390x: ask for the VLAN id by default (jsc#SLE-18631) +- 8.05 + + +Mon Aug 30 09:14:45 UTC 2021 - wfe...@opensuse.org + +- merge gh#openSUSE/linuxrc#273 +- Add support for gz and zst compressed modules + + +Mon Aug 30 07:31:11 UTC 2021 - wfe...@opensuse.org + +- merge gh#openSUSE/linuxrc#235 +- let curl figure out proper authentication method (jsc#PM-2272) +- let curl figure out proper authentication method (jsc#SLE-17026) + + +Tue Aug 17 07:56:11 UTC 2021 - wfe...@opensuse.org + +- merge gh#openSUSE/linuxrc#272 +- fix handling of query parameters (bsc#1169492, bsc#1188186) +- 8.0.4 + + Old: linuxrc-8.0.3.tar.xz New: linuxrc-8.05.tar.xz Other differences: -- ++ linuxrc.spec ++ --- /var/tmp/diff_new_pack.5VwoGk/_old 2021-10-11 15:31:25.938827178 +0200 +++ /var/tmp/diff_new_pack.5VwoGk/_new 2021-10-11 15:31:25.942827184 +0200 @@ -17,7 +17,7 @@ Name: linuxrc -Version:8.0.3 +Version:8.05 Release:0 Summary:SUSE Installation Program License:GPL-3.0+ ++ linuxrc-8.0.3.tar.xz -> linuxrc-8.05.tar.xz ++ diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/linuxrc-8.0.3/VERSION new/linuxrc-8.05/VERSION --- old/linuxrc-8.0.3/VERSION 2021-06-29 09:31:16.0 +0200 +++ new/linuxrc-8.05/VERSION2021-09-13 09:16:12.0 +0200 @@ -1 +1 @@ -8.0.3 +8.05 diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/linuxrc-8.0.3/changelog new/linuxrc-8.05/changelog --- old/linuxrc-8.0.3/changelog 2021-06-29 09:31:16.0 +0200 +++ new/linuxrc-8.05/changelog 2021-09-13 09:16:12.0 +0200 @@ -1,3 +1,15 @@ +2021-09-13:8.05 + - merge gh#openSUSE/linuxrc#235 + - let curl figure out proper authentication method (jsc#PM-2272) + - merge gh#openSUSE/linuxrc#273 + - Add support for gz and zst compressed modules + - merge gh#openSUSE/linuxrc#275 + - s390x: ask for the VLAN id by default (jsc#SLE-18631) + +2021-08-17:8.0.4 + - merge gh#openSUSE/linuxrc#272 + - fix handling of query parameters (bsc#1169492, bsc#1188186) + 2021-06-29:8.0.3 - merge gh#openSUSE/linuxrc#271 - Removed .travis.yml diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/linuxrc-8.0.3/global.h new/linuxrc-8.05/global.h --- old/linuxrc-8.0.3/global.h 2021-06-29 09:31:16.0 +0200 +++ new/linuxrc-8.05/global.h 2021-09-13 09:16:12.0 +0200 @@ -365,7 +365,7 @@ #define NS_NOW (1 << 9) #if defined(__s390__) || defined(__s390x__) -#define NS_DEFAULT (NS_DHCP | NS_HOSTIP | NS_GATEWAY | NS_NAMESERVER | NS_DISPLAY) +#define NS_DEFAULT (NS_DHCP | NS_HOSTIP | NS_GATEWAY | NS_NAMESERVER | NS_DISPLAY | NS_VLANID) #else #define NS_DEFAULT (NS_DHCP | NS_HOSTIP | NS_GATEWAY | NS_NAMESERVER) #endif diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/linuxrc-8.0.3/module.c new/linuxrc-8.05/module.c --- old/linuxrc-8.0.3/module.c 2021-06-29 09:31:16.0 +0200 +++ new/linuxrc-8.05/module.c 2021-09-13 09:16:12.0 +0200 @@ -46,6 +46,8 @@ // list ends with an empty entry const mod_extensions_t mod_extensions[] = { MOD_EXT(".ko.xz"), + MOD_EXT(".ko.gz"), + MOD_EXT(".ko.zst"), MOD_EXT(".ko"), { } }; diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/linuxrc-8.0.3/url.c new/linuxrc-8.05/url.c --- old/linuxrc-8.0.3/url.c 2021-06-29 09:31:16.0 +0200 +++ new/linuxrc-8.05/url.c 2021-09-13 09:16:12.0 +0200 @@ -156,6 +156,7 @@ curl_easy_setopt(c_handle, CURLOPT_MAXREDIRS, 10); curl_easy_setopt(c_handle, CURLOPT
commit linuxrc for openSUSE:Factory
Script 'mail_helper' called by obssrc Hello community, here is the log from the commit of package linuxrc for openSUSE:Factory checked in at 2021-07-02 13:26:43 Comparing /work/SRC/openSUSE:Factory/linuxrc (Old) and /work/SRC/openSUSE:Factory/.linuxrc.new.2625 (New) Package is "linuxrc" Fri Jul 2 13:26:43 2021 rev:301 rq:902962 version:8.0.3 Changes: --- /work/SRC/openSUSE:Factory/linuxrc/linuxrc.changes 2021-06-28 15:33:42.083191357 +0200 +++ /work/SRC/openSUSE:Factory/.linuxrc.new.2625/linuxrc.changes 2021-07-02 13:27:11.412889482 +0200 @@ -1,0 +2,10 @@ +Tue Jun 29 07:31:16 UTC 2021 - lsle...@suse.cz + +- merge gh#openSUSE/linuxrc#271 +- Removed .travis.yml +- Removed Dockerfile +- Added GitHub Actions +- Switch from Travis to GitHub Actions +- 8.0.3 + + Old: linuxrc-8.0.2.tar.xz New: linuxrc-8.0.3.tar.xz Other differences: -- ++ linuxrc.spec ++ --- /var/tmp/diff_new_pack.QDzwBL/_old 2021-07-02 13:27:11.908885634 +0200 +++ /var/tmp/diff_new_pack.QDzwBL/_new 2021-07-02 13:27:11.912885603 +0200 @@ -17,7 +17,7 @@ Name: linuxrc -Version:8.0.2 +Version:8.0.3 Release:0 Summary:SUSE Installation Program License:GPL-3.0+ ++ linuxrc-8.0.2.tar.xz -> linuxrc-8.0.3.tar.xz ++ diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/linuxrc-8.0.2/.github/workflows/ci.yml new/linuxrc-8.0.3/.github/workflows/ci.yml --- old/linuxrc-8.0.2/.github/workflows/ci.yml 1970-01-01 01:00:00.0 +0100 +++ new/linuxrc-8.0.3/.github/workflows/ci.yml 2021-06-29 09:31:16.0 +0200 @@ -0,0 +1,37 @@ + +# See https://docs.github.com/en/actions/reference/workflow-syntax-for-github-actions + +name: CI + +on: [push, pull_request] + +jobs: + Build: +runs-on: ubuntu-latest +container: registry.opensuse.org/yast/head/containers/yast-cpp:latest + +steps: + +- name: Git Checkout + uses: actions/checkout@v2 + +- name: Prepare System + run: | +zypper --non-interactive in --no-recommends \ + e2fsprogs-devel \ + libblkid-devel \ + libcurl-devel \ + readline-devel \ + libmediacheck-devel \ + tmux + +- name: Compile + run: make -j `nproc` + +- name: Smoke Test + # Run the test in a tty wrapper, the smoke test uses "tmux" which needs + # a terminal, but that is not available when running in a GitHub Action. + # The wrapper opens a new tty device and runs the command there. + run: /usr/lib/YaST2/bin/tty_wrapper ./smoke_test.sh + env: +TERM: linux diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/linuxrc-8.0.2/.travis.yml new/linuxrc-8.0.3/.travis.yml --- old/linuxrc-8.0.2/.travis.yml 2021-06-25 15:30:12.0 +0200 +++ new/linuxrc-8.0.3/.travis.yml 1970-01-01 01:00:00.0 +0100 @@ -1,12 +0,0 @@ -sudo: required -language: bash -services: - - docker - -before_install: - - docker build -t linuxrc-image . - # list the installed packages (just for easier debugging) - - docker run --rm -it linuxrc-image rpm -qa | sort - -script: - - 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-8.0.2/Dockerfile new/linuxrc-8.0.3/Dockerfile --- old/linuxrc-8.0.2/Dockerfile2021-06-25 15:30:12.0 +0200 +++ new/linuxrc-8.0.3/Dockerfile1970-01-01 01:00:00.0 +0100 @@ -1,11 +0,0 @@ -FROM registry.opensuse.org/yast/head/containers/yast-cpp:latest - -RUN zypper --non-interactive in --no-recommends \ - e2fsprogs-devel \ - 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-8.0.2/VERSION new/linuxrc-8.0.3/VERSION --- old/linuxrc-8.0.2/VERSION 2021-06-25 15:30:12.0 +0200 +++ new/linuxrc-8.0.3/VERSION 2021-06-29 09:31:16.0 +0200 @@ -1 +1 @@ -8.0.2 +8.0.3 diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/linuxrc-8.0.2/changelog new/linuxrc-8.0.3/changelog --- old/linuxrc-8.0.2/changelog 2021-06-25 15:30:12.0 +0200 +++ new/linuxrc-8.0.3/changelog 2021-06-29 09:31:16.0 +0200 @@ -1,3 +1,9 @@ +2021-06-29:8.0.3 + - merge gh#openSUSE/linuxrc#271 + - Removed .travis.yml + - Removed Dockerfile + - Added GitHub Actions + 2021-06-25:8.0.2 - merge gh#
commit linuxrc for openSUSE:Factory
Script 'mail_helper' called by obssrc Hello community, here is the log from the commit of package linuxrc for openSUSE:Factory checked in at 2021-06-28 15:33:28 Comparing /work/SRC/openSUSE:Factory/linuxrc (Old) and /work/SRC/openSUSE:Factory/.linuxrc.new.2625 (New) Package is "linuxrc" Mon Jun 28 15:33:28 2021 rev:300 rq:902671 version:8.0.2 Changes: --- /work/SRC/openSUSE:Factory/linuxrc/linuxrc.changes 2021-06-15 16:37:25.157702037 +0200 +++ /work/SRC/openSUSE:Factory/.linuxrc.new.2625/linuxrc.changes 2021-06-28 15:33:42.083191357 +0200 @@ -1,0 +2,8 @@ +Fri Jun 25 13:30:12 UTC 2021 - wfe...@opensuse.org + +- merge gh#openSUSE/linuxrc#268 +- read rules.xml if autoyast option indicates a rules-based setup + (bsc#1187235) +- 8.0.2 + + Old: linuxrc-8.0.1.tar.xz New: linuxrc-8.0.2.tar.xz Other differences: -- ++ linuxrc.spec ++ --- /var/tmp/diff_new_pack.n1bsML/_old 2021-06-28 15:33:42.563191943 +0200 +++ /var/tmp/diff_new_pack.n1bsML/_new 2021-06-28 15:33:42.563191943 +0200 @@ -17,7 +17,7 @@ Name: linuxrc -Version:8.0.1 +Version:8.0.2 Release:0 Summary:SUSE Installation Program License:GPL-3.0+ ++ linuxrc-8.0.1.tar.xz -> linuxrc-8.0.2.tar.xz ++ diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/linuxrc-8.0.1/VERSION new/linuxrc-8.0.2/VERSION --- old/linuxrc-8.0.1/VERSION 2021-06-10 08:56:01.0 +0200 +++ new/linuxrc-8.0.2/VERSION 2021-06-25 15:30:12.0 +0200 @@ -1 +1 @@ -8.0.1 +8.0.2 diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/linuxrc-8.0.1/auto2.c new/linuxrc-8.0.2/auto2.c --- old/linuxrc-8.0.1/auto2.c 2021-06-10 08:56:01.0 +0200 +++ new/linuxrc-8.0.2/auto2.c 2021-06-25 15:30:12.0 +0200 @@ -1202,9 +1202,13 @@ /* * Read autoyast file from url and parse it. * - * If the autoyast url points to a directory, nothing is read but the - * function tries to mount the directory to ensure it exists. This is - * basically done to search for the correct medium. + * If the autoyast url points to a directory, the function tries to mount + * the directory to ensure it exists. If it is a non-mountable url (e.g. + * http) it assumes a rules-based setup and that a file rules/rules.xml + * exists below the specified directory. The rules file is only read, not + * parsed. + * + * This is basically done to search for the correct medium. */ void auto2_read_autoyast(url_t *url) { @@ -1219,7 +1223,7 @@ * * That works for mountable url schemes. * - * For the rest (http(s), (t)ftp) we'll just assume it works. + * For the rest (http(s), (t)ftp), try to read rules/rules.xml. */ if(url->is.dir) { /* @@ -1231,6 +1235,22 @@ url_mount(url, NULL, NULL); url_umount(url); } +else if(url->path) { + char *old_path = NULL; + str_copy(&old_path, url->path); + + int path_len = strlen(url->path); + if(path_len && url->path[path_len - 1] == '/') url->path[path_len - 1] = 0; + + strprintf(&url->path, "%s/rules/rules.xml", url->path); + + log_show_maybe(!url->quiet, "Downloading AutoYaST rules file: %s\n", url->str); + + url_read_file_anywhere(url, NULL, NULL, "/download/rules.xml", NULL, URL_FLAG_PROGRESS + URL_FLAG_NODIGEST); + + str_copy(&url->path, old_path); + free(old_path); +} return; } diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/linuxrc-8.0.1/changelog new/linuxrc-8.0.2/changelog --- old/linuxrc-8.0.1/changelog 2021-06-10 08:56:01.0 +0200 +++ new/linuxrc-8.0.2/changelog 2021-06-25 15:30:12.0 +0200 @@ -1,3 +1,8 @@ +2021-06-25:8.0.2 + - merge gh#openSUSE/linuxrc#268 + - read rules.xml if autoyast option indicates a rules-based setup + (bsc#1187235) + 2021-06-10:8.0.1 - merge gh#openSUSE/linuxrc#264 - prevent memory corruption while iterating through network device
commit linuxrc for openSUSE:Factory
Script 'mail_helper' called by obssrc Hello community, here is the log from the commit of package linuxrc for openSUSE:Factory checked in at 2021-06-15 16:37:07 Comparing /work/SRC/openSUSE:Factory/linuxrc (Old) and /work/SRC/openSUSE:Factory/.linuxrc.new.32437 (New) Package is "linuxrc" Tue Jun 15 16:37:07 2021 rev:299 rq:899666 version:8.0.1 Changes: --- /work/SRC/openSUSE:Factory/linuxrc/linuxrc.changes 2021-04-27 21:34:23.831957620 +0200 +++ /work/SRC/openSUSE:Factory/.linuxrc.new.32437/linuxrc.changes 2021-06-15 16:37:25.157702037 +0200 @@ -1,0 +2,8 @@ +Thu Jun 10 06:56:01 UTC 2021 - wfe...@opensuse.org + +- merge gh#openSUSE/linuxrc#264 +- prevent memory corruption while iterating through network device + list (bsc#1187014) +- 8.0.1 + + Old: linuxrc-8.0.0.tar.xz New: linuxrc-8.0.1.tar.xz Other differences: -- ++ linuxrc.spec ++ --- /var/tmp/diff_new_pack.SjltOI/_old 2021-06-15 16:37:25.685702951 +0200 +++ /var/tmp/diff_new_pack.SjltOI/_new 2021-06-15 16:37:25.689702959 +0200 @@ -17,7 +17,7 @@ Name: linuxrc -Version:8.0.0 +Version:8.0.1 Release:0 Summary:SUSE Installation Program License:GPL-3.0+ ++ linuxrc-8.0.0.tar.xz -> linuxrc-8.0.1.tar.xz ++ diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/linuxrc-8.0.0/VERSION new/linuxrc-8.0.1/VERSION --- old/linuxrc-8.0.0/VERSION 2021-04-27 12:59:37.0 +0200 +++ new/linuxrc-8.0.1/VERSION 2021-06-10 08:56:01.0 +0200 @@ -1 +1 @@ -8.0.0 +8.0.1 diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/linuxrc-8.0.0/changelog new/linuxrc-8.0.1/changelog --- old/linuxrc-8.0.0/changelog 2021-04-27 12:59:37.0 +0200 +++ new/linuxrc-8.0.1/changelog 2021-06-10 08:56:01.0 +0200 @@ -1,3 +1,8 @@ +2021-06-10:8.0.1 + - merge gh#openSUSE/linuxrc#264 + - prevent memory corruption while iterating through network device + list (bsc#1187014) + 2021-04-27:8.0.0 - merge gh#openSUSE/linuxrc#257 - rescue: leave linking modules to prep script diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/linuxrc-8.0.0/global.h new/linuxrc-8.0.1/global.h --- old/linuxrc-8.0.0/global.h 2021-04-27 12:59:37.0 +0200 +++ new/linuxrc-8.0.1/global.h 2021-06-10 08:56:01.0 +0200 @@ -460,6 +460,7 @@ unsigned autoyast_passurl:1; /**< pass autoyast url unmodified on to yast */ unsigned device_auto_config:2; /**< run s390 device auto-config (cf. bsc#1168036) */ unsigned device_auto_config_done:1; /**< set after s390 device auto-config has been run */ + unsigned lock_device_list; /**< prevent device list updates if != 0 */ struct { char *root_size; /**< zram root fs size (e.g. "1G" or "512M") */ char *swap_size; /**< zram swap size (e.g. "1G" or "512M") */ diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/linuxrc-8.0.0/url.c new/linuxrc-8.0.1/url.c --- old/linuxrc-8.0.0/url.c 2021-04-27 12:59:37.0 +0200 +++ new/linuxrc-8.0.1/url.c 2021-06-10 08:56:01.0 +0200 @@ -1879,6 +1879,8 @@ str_copy(&url_device, url->device); if(!url_device) str_copy(&url_device, url->is.network ? config.ifcfg.manual->device : config.device); + config.lock_device_list++; + 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) { @@ -1930,6 +1932,8 @@ } } + config.lock_device_list--; + if(!found) { log_info("device not found (err = %d): %s\n", err, url_device ?: ""); } @@ -2503,6 +2507,8 @@ if(config.hd_data) { str_copy(&url_device, url->device ?: config.ifcfg.manual->device); +config.lock_device_list++; + for(found = 0, hd = sort_a_bit(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) { @@ -2537,6 +2543,8 @@ if(config.sig_failed || config.digests.failed) break; } +config.lock_device_list--; + if(!found) { str_copy(&url->used.device, NULL); str_copy(&url->used.model, NULL); diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/linuxrc-8.0.0/util.c new/linuxrc-8.0.1/util.c --- old/linuxrc-8.0.0/util.c2021-04-27 12:59:37.0 +0200 +++ new/linuxrc-8.0.1/util.c2021-06-10 08:
commit linuxrc for openSUSE:Factory
Script 'mail_helper' called by obssrc Hello community, here is the log from the commit of package linuxrc for openSUSE:Factory checked in at 2021-04-27 21:34:18 Comparing /work/SRC/openSUSE:Factory/linuxrc (Old) and /work/SRC/openSUSE:Factory/.linuxrc.new.12324 (New) Package is "linuxrc" Tue Apr 27 21:34:18 2021 rev:298 rq:888752 version:8.0.0 Changes: --- /work/SRC/openSUSE:Factory/linuxrc/linuxrc.changes 2021-04-23 17:50:24.950772532 +0200 +++ /work/SRC/openSUSE:Factory/.linuxrc.new.12324/linuxrc.changes 2021-04-27 21:34:23.831957620 +0200 @@ -1,0 +2,21 @@ +Tue Apr 27 10:59:37 UTC 2021 - wfe...@opensuse.org + +- merge gh#openSUSE/linuxrc#257 +- rescue: leave linking modules to prep script +- 8.0.0 + + +Tue Apr 27 07:22:19 UTC 2021 - wfe...@opensuse.org + +- merge gh#openSUSE/linuxrc#260 +- don't ask for ssh password if ssh.password.enc is set (bsc#1185304) +- 7.0.35 + + +Mon Apr 26 12:24:07 UTC 2021 - wfe...@opensuse.org + +- merge gh#openSUSE/linuxrc#259 +- fix handling of modules.order in driver updates (bsc#1184550) +- 7.0.34 + + Old: linuxrc-7.0.33.tar.xz New: linuxrc-8.0.0.tar.xz Other differences: -- ++ linuxrc.spec ++ --- /var/tmp/diff_new_pack.wpCwyZ/_old 2021-04-27 21:34:24.339958455 +0200 +++ /var/tmp/diff_new_pack.wpCwyZ/_new 2021-04-27 21:34:24.339958455 +0200 @@ -17,7 +17,7 @@ Name: linuxrc -Version:7.0.33 +Version:8.0.0 Release:0 Summary:SUSE Installation Program License:GPL-3.0+ ++ linuxrc-7.0.33.tar.xz -> linuxrc-8.0.0.tar.xz ++ diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/linuxrc-7.0.33/VERSION new/linuxrc-8.0.0/VERSION --- old/linuxrc-7.0.33/VERSION 2021-04-20 09:44:05.0 +0200 +++ new/linuxrc-8.0.0/VERSION 2021-04-27 12:59:37.0 +0200 @@ -1 +1 @@ -7.0.33 +8.0.0 diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/linuxrc-7.0.33/changelog new/linuxrc-8.0.0/changelog --- old/linuxrc-7.0.33/changelog2021-04-20 09:44:05.0 +0200 +++ new/linuxrc-8.0.0/changelog 2021-04-27 12:59:37.0 +0200 @@ -1,3 +1,15 @@ +2021-04-27:8.0.0 + - merge gh#openSUSE/linuxrc#257 + - rescue: leave linking modules to prep script + +2021-04-27:7.0.35 + - merge gh#openSUSE/linuxrc#260 + - don't ask for ssh password if ssh.password.enc is set (bsc#1185304) + +2021-04-26:7.0.34 + - merge gh#openSUSE/linuxrc#259 + - fix handling of modules.order in driver updates (bsc#1184550) + 2021-04-20:7.0.33 - merge gh#openSUSE/linuxrc#256 - Set copyright date to "1996-2021" (bsc#1184990) diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/linuxrc-7.0.33/linuxrc.c new/linuxrc-8.0.0/linuxrc.c --- old/linuxrc-7.0.33/linuxrc.c2021-04-20 09:44:05.0 +0200 +++ new/linuxrc-8.0.0/linuxrc.c 2021-04-27 12:59:37.0 +0200 @@ -342,14 +342,6 @@ if(!strcmp(*s, "tmp")) chmod(buf, 01777); } -// link module tree -strprintf(&buf, "%s/lib/modules", mp); -symlink("/parts/mp_/lib/modules", buf); - -// link firmware tree -strprintf(&buf, "%s/lib/firmware", mp); -symlink("/parts/mp_/lib/firmware", buf); - // mount 'parts/00_lib' (kernel parts) strprintf(&buf, "%s/parts/mp_", mp); util_mount_ro("/parts/00_lib", buf, NULL); diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/linuxrc-7.0.33/net.c new/linuxrc-8.0.0/net.c --- old/linuxrc-7.0.33/net.c2021-04-20 09:44:05.0 +0200 +++ new/linuxrc-8.0.0/net.c 2021-04-27 12:59:37.0 +0200 @@ -96,7 +96,7 @@ } } - if(config.usessh && !config.net.sshpassword && !config.net.sshkey) { + if(config.usessh && !(config.net.sshpassword || config.net.sshpassword_enc || config.net.sshkey)) { if(!config.win) util_disp_init(); dia_input2("Enter your temporary SSH password.", &config.net.sshpassword, 20, 1); } diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/linuxrc-7.0.33/util.c new/linuxrc-8.0.0/util.c --- old/linuxrc-7.0.33/util.c 2021-04-20 09:44:05.0 +0200 +++ new/linuxrc-8.0.0/util.c2021-04-27 12:59:37.0 +0200 @@ -846,7 +846,9 @@ if(!util_check_exist(buf2) && (f = fopen(buf2, "w"))) { while((de = readdir(d))) { if(mod_basename_len(de->d_name)) { -fprintf(f
commit linuxrc for openSUSE:Factory
Script 'mail_helper' called by obssrc Hello community, here is the log from the commit of package linuxrc for openSUSE:Factory checked in at 2021-04-23 17:50:19 Comparing /work/SRC/openSUSE:Factory/linuxrc (Old) and /work/SRC/openSUSE:Factory/.linuxrc.new.12324 (New) Package is "linuxrc" Fri Apr 23 17:50:19 2021 rev:297 rq:886897 version:7.0.33 Changes: --- /work/SRC/openSUSE:Factory/linuxrc/linuxrc.changes 2021-04-15 16:57:05.302643070 +0200 +++ /work/SRC/openSUSE:Factory/.linuxrc.new.12324/linuxrc.changes 2021-04-23 17:50:24.950772532 +0200 @@ -1,0 +2,7 @@ +Tue Apr 20 07:44:05 UTC 2021 - lsle...@suse.cz + +- merge gh#openSUSE/linuxrc#256 +- Set copyright date to "1996-2021" (bsc#1184990) +- 7.0.33 + + Old: linuxrc-7.0.32.tar.xz New: linuxrc-7.0.33.tar.xz Other differences: -- ++ linuxrc.spec ++ --- /var/tmp/diff_new_pack.yWfQ0r/_old 2021-04-23 17:50:25.374773261 +0200 +++ /var/tmp/diff_new_pack.yWfQ0r/_new 2021-04-23 17:50:25.378773268 +0200 @@ -17,7 +17,7 @@ Name: linuxrc -Version:7.0.32 +Version:7.0.33 Release:0 Summary:SUSE Installation Program License:GPL-3.0+ ++ linuxrc-7.0.32.tar.xz -> linuxrc-7.0.33.tar.xz ++ diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/linuxrc-7.0.32/VERSION new/linuxrc-7.0.33/VERSION --- old/linuxrc-7.0.32/VERSION 2021-04-12 10:14:20.0 +0200 +++ new/linuxrc-7.0.33/VERSION 2021-04-20 09:44:05.0 +0200 @@ -1 +1 @@ -7.0.32 +7.0.33 diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/linuxrc-7.0.32/changelog new/linuxrc-7.0.33/changelog --- old/linuxrc-7.0.32/changelog2021-04-12 10:14:20.0 +0200 +++ new/linuxrc-7.0.33/changelog2021-04-20 09:44:05.0 +0200 @@ -1,3 +1,7 @@ +2021-04-20:7.0.33 + - merge gh#openSUSE/linuxrc#256 + - Set copyright date to "1996-2021" (bsc#1184990) + 2021-04-12:7.0.32 - merge gh#openSUSE/linuxrc#253 - fix handling of modules in driver updates (bsc#1184550) diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/linuxrc-7.0.32/linuxrc.c new/linuxrc-7.0.33/linuxrc.c --- old/linuxrc-7.0.32/linuxrc.c2021-04-12 10:14:20.0 +0200 +++ new/linuxrc-7.0.33/linuxrc.c2021-04-20 09:44:05.0 +0200 @@ -947,7 +947,7 @@ if (config.linemode) putchar('\n'); printf( - "\n>>> %s installation program v" LXRC_FULL_VERSION " (c) 1996-2020 SUSE LLC %s <<<\n", + "\n>>> %s installation program v" LXRC_FULL_VERSION " (c) 1996-2021 SUSE LLC %s <<<\n", config.product, config.platform_name );
commit linuxrc for openSUSE:Factory
Script 'mail_helper' called by obssrc Hello community, here is the log from the commit of package linuxrc for openSUSE:Factory checked in at 2021-04-15 16:56:54 Comparing /work/SRC/openSUSE:Factory/linuxrc (Old) and /work/SRC/openSUSE:Factory/.linuxrc.new.12324 (New) Package is "linuxrc" Thu Apr 15 16:56:54 2021 rev:296 rq:884572 version:7.0.32 Changes: --- /work/SRC/openSUSE:Factory/linuxrc/linuxrc.changes 2021-04-08 21:03:25.745982522 +0200 +++ /work/SRC/openSUSE:Factory/.linuxrc.new.12324/linuxrc.changes 2021-04-15 16:57:05.302643070 +0200 @@ -1,0 +2,7 @@ +Mon Apr 12 08:14:20 UTC 2021 - wfe...@opensuse.org + +- merge gh#openSUSE/linuxrc#253 +- fix handling of modules in driver updates (bsc#1184550) +- 7.0.32 + + Old: linuxrc-7.0.31.tar.xz New: linuxrc-7.0.32.tar.xz Other differences: -- ++ linuxrc.spec ++ --- /var/tmp/diff_new_pack.yKIFd8/_old 2021-04-15 16:57:05.838643918 +0200 +++ /var/tmp/diff_new_pack.yKIFd8/_new 2021-04-15 16:57:05.842643925 +0200 @@ -17,7 +17,7 @@ Name: linuxrc -Version:7.0.31 +Version:7.0.32 Release:0 Summary:SUSE Installation Program License:GPL-3.0+ ++ linuxrc-7.0.31.tar.xz -> linuxrc-7.0.32.tar.xz ++ diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/linuxrc-7.0.31/VERSION new/linuxrc-7.0.32/VERSION --- old/linuxrc-7.0.31/VERSION 2021-04-01 10:48:43.0 +0200 +++ new/linuxrc-7.0.32/VERSION 2021-04-12 10:14:20.0 +0200 @@ -1 +1 @@ -7.0.31 +7.0.32 diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/linuxrc-7.0.31/changelog new/linuxrc-7.0.32/changelog --- old/linuxrc-7.0.31/changelog2021-04-01 10:48:43.0 +0200 +++ new/linuxrc-7.0.32/changelog2021-04-12 10:14:20.0 +0200 @@ -1,3 +1,7 @@ +2021-04-12:7.0.32 + - merge gh#openSUSE/linuxrc#253 + - fix handling of modules in driver updates (bsc#1184550) + 2021-04-01:7.0.31 - merge gh#openSUSE/linuxrc#251 - fix rescue image in usrmerge case (boo#1029961) diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/linuxrc-7.0.31/module.c new/linuxrc-7.0.32/module.c --- old/linuxrc-7.0.31/module.c 2021-04-01 10:48:43.0 +0200 +++ new/linuxrc-7.0.32/module.c 2021-04-12 10:14:20.0 +0200 @@ -42,13 +42,9 @@ #define MOD_EXT(mod) { .ext = (mod), .len = sizeof(mod) - 1 } -typedef struct { - char *ext; - size_t len; -} mod_extensions_t; - // list of recognized module file name extensions -static const mod_extensions_t mod_extensions[] = { +// list ends with an empty entry +const mod_extensions_t mod_extensions[] = { MOD_EXT(".ko.xz"), MOD_EXT(".ko"), { } diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/linuxrc-7.0.31/module.h new/linuxrc-7.0.32/module.h --- old/linuxrc-7.0.31/module.h 2021-04-01 10:48:43.0 +0200 +++ new/linuxrc-7.0.32/module.h 2021-04-12 10:14:20.0 +0200 @@ -6,6 +6,14 @@ * */ +typedef struct { + char *ext; + size_t len; +} mod_extensions_t; + +// array of possible module extensions +extern const mod_extensions_t mod_extensions[]; + intmod_get_type(char *type_name); intmod_check_modules(char *type_name); void mod_init(int autoload); diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/linuxrc-7.0.31/util.c new/linuxrc-7.0.32/util.c --- old/linuxrc-7.0.31/util.c 2021-04-01 10:48:43.0 +0200 +++ new/linuxrc-7.0.32/util.c 2021-04-12 10:14:20.0 +0200 @@ -942,7 +942,7 @@ void util_do_driver_update(unsigned idx) { - char *s, *buf1 = NULL, *buf2 = NULL, *dst = NULL; + char *buf1 = NULL, *buf2 = NULL, *dst = NULL; file_t *f0, *f; slist_t *sl; @@ -982,10 +982,19 @@ strprintf(&buf1, "%s/modules/module.order", dst); f0 = file_read_file(buf1, kf_none); for(f = f0; f; f = f->next) { +char *mod_name = mod_basename(f->key_str); + +// remove existing module, with any extension +for(const mod_extensions_t *mod_ext = mod_extensions; mod_ext->ext; mod_ext++) { + strprintf(&buf2, "/modules/%s%s", mod_name, mod_ext->ext); + unlink(buf2); +} + strprintf(&buf1, "%s/modules/%s", dst, f->key_str); strprintf(&buf2, "/modules/%s", f->key_str); -unlink(buf2); symlink(buf1, buf2); + +free(mod_name); } /* load new modules */ @@ -997,15 +1006,17 @@ } else { str_copy(&buf1, ""); +// build list of modules to unload for(f = f0; f; f = f->next) { - if((s = str
commit linuxrc for openSUSE:Factory
Script 'mail_helper' called by obssrc Hello community, here is the log from the commit of package linuxrc for openSUSE:Factory checked in at 2021-04-08 21:03:15 Comparing /work/SRC/openSUSE:Factory/linuxrc (Old) and /work/SRC/openSUSE:Factory/.linuxrc.new.2401 (New) Package is "linuxrc" Thu Apr 8 21:03:15 2021 rev:295 rq:883252 version:7.0.31 Changes: --- /work/SRC/openSUSE:Factory/linuxrc/linuxrc.changes 2021-03-15 10:53:50.749120650 +0100 +++ /work/SRC/openSUSE:Factory/.linuxrc.new.2401/linuxrc.changes 2021-04-08 21:03:25.745982522 +0200 @@ -1,0 +2,13 @@ +Thu Apr 1 08:48:43 UTC 2021 - wfe...@opensuse.org + +- merge gh#openSUSE/linuxrc#252 +- default to using zram +- 7.0.31 + + +Thu Apr 1 08:44:09 UTC 2021 - wfe...@opensuse.org + +- merge gh#openSUSE/linuxrc#251 +- fix rescue image in usrmerge case (boo#1029961) + + Old: linuxrc-7.0.30.tar.xz New: linuxrc-7.0.31.tar.xz Other differences: -- ++ linuxrc.spec ++ --- /var/tmp/diff_new_pack.txxuwK/_old 2021-04-08 21:03:26.297983119 +0200 +++ /var/tmp/diff_new_pack.txxuwK/_new 2021-04-08 21:03:26.301983123 +0200 @@ -17,7 +17,7 @@ Name: linuxrc -Version:7.0.30 +Version:7.0.31 Release:0 Summary:SUSE Installation Program License:GPL-3.0+ ++ linuxrc-7.0.30.tar.xz -> linuxrc-7.0.31.tar.xz ++ diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/linuxrc-7.0.30/VERSION new/linuxrc-7.0.31/VERSION --- old/linuxrc-7.0.30/VERSION 2021-03-11 12:13:15.0 +0100 +++ new/linuxrc-7.0.31/VERSION 2021-04-01 10:48:43.0 +0200 @@ -1 +1 @@ -7.0.30 +7.0.31 diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/linuxrc-7.0.30/changelog new/linuxrc-7.0.31/changelog --- old/linuxrc-7.0.30/changelog2021-03-11 12:13:15.0 +0100 +++ new/linuxrc-7.0.31/changelog2021-04-01 10:48:43.0 +0200 @@ -1,3 +1,9 @@ +2021-04-01:7.0.31 + - merge gh#openSUSE/linuxrc#251 + - fix rescue image in usrmerge case (boo#1029961) + - merge gh#openSUSE/linuxrc#252 + - default to using zram + 2021-03-11:7.0.30 - merge gh#openSUSE/linuxrc#250 - add 'extend' option diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/linuxrc-7.0.30/linuxrc.c new/linuxrc-7.0.31/linuxrc.c --- old/linuxrc-7.0.30/linuxrc.c2021-03-11 12:13:15.0 +0100 +++ new/linuxrc-7.0.31/linuxrc.c2021-04-01 10:48:43.0 +0200 @@ -135,6 +135,10 @@ config.run_as_linuxrc = 1; config.tmpfs = 1; + // use zram + str_copy(&config.zram.root_size, "1G"); + str_copy(&config.zram.swap_size, "1G"); + str_copy(&config.console, "/dev/console"); // define logging destinations for the various log levels: @@ -303,8 +307,8 @@ slist_t *sl; char *argv[3] = { }; char *dirs[] = { -"bin", "boot", "etc", "home", "lib", "run", -"media", "mounts", "mounts/initrd", "mnt", "parts", "parts/mp_", "proc", "sbin", +"boot", "etc", "home", "run", +"media", "mounts", "mounts/initrd", "mnt", "parts", "parts/mp_", "proc", "sys", "tmp", "usr", "usr/lib", "usr/lib/microcode", "var", NULL };
commit linuxrc for openSUSE:Factory
Script 'mail_helper' called by obssrc Hello community, here is the log from the commit of package linuxrc for openSUSE:Factory checked in at 2021-03-15 10:53:48 Comparing /work/SRC/openSUSE:Factory/linuxrc (Old) and /work/SRC/openSUSE:Factory/.linuxrc.new.2401 (New) Package is "linuxrc" Mon Mar 15 10:53:48 2021 rev:294 rq:878315 version:7.0.30 Changes: --- /work/SRC/openSUSE:Factory/linuxrc/linuxrc.changes 2021-03-08 15:17:46.805961664 +0100 +++ /work/SRC/openSUSE:Factory/.linuxrc.new.2401/linuxrc.changes 2021-03-15 10:53:50.749120650 +0100 @@ -1,0 +2,7 @@ +Thu Mar 11 11:13:15 UTC 2021 - wfe...@opensuse.org + +- merge gh#openSUSE/linuxrc#250 +- add 'extend' option (bsc#1183368) +- 7.0.30 + + @@ -22 +29 @@ -- support using zram device as root file system (jsc#PM-2253) +- support using zram device as root file system (jsc#SLE-17630) Old: linuxrc-7.0.29.tar.xz New: linuxrc-7.0.30.tar.xz Other differences: -- ++ linuxrc.spec ++ --- /var/tmp/diff_new_pack.B7LjzL/_old 2021-03-15 10:53:51.473121761 +0100 +++ /var/tmp/diff_new_pack.B7LjzL/_new 2021-03-15 10:53:51.477121767 +0100 @@ -17,7 +17,7 @@ Name: linuxrc -Version:7.0.29 +Version:7.0.30 Release:0 Summary:SUSE Installation Program License:GPL-3.0+ ++ linuxrc-7.0.29.tar.xz -> linuxrc-7.0.30.tar.xz ++ diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/linuxrc-7.0.29/VERSION new/linuxrc-7.0.30/VERSION --- old/linuxrc-7.0.29/VERSION 2021-03-05 13:11:42.0 +0100 +++ new/linuxrc-7.0.30/VERSION 2021-03-11 12:13:15.0 +0100 @@ -1 +1 @@ -7.0.29 +7.0.30 diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/linuxrc-7.0.29/changelog new/linuxrc-7.0.30/changelog --- old/linuxrc-7.0.29/changelog2021-03-05 13:11:42.0 +0100 +++ new/linuxrc-7.0.30/changelog2021-03-11 12:13:15.0 +0100 @@ -1,3 +1,7 @@ +2021-03-11:7.0.30 + - merge gh#openSUSE/linuxrc#250 + - add 'extend' option + 2021-03-05:7.0.29 - merge gh#openSUSE/linuxrc#249 - Revert "default to using zram" diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/linuxrc-7.0.29/file.c new/linuxrc-7.0.30/file.c --- old/linuxrc-7.0.29/file.c 2021-03-05 13:11:42.0 +0100 +++ new/linuxrc-7.0.30/file.c 2021-03-11 12:13:15.0 +0100 @@ -323,6 +323,7 @@ { key_zram, "zram", kf_cmd_early }, { key_zram_root, "zram_root", kf_cmd_early }, { key_zram_swap, "zram_swap", kf_cmd_early }, + { key_extend, "Extend", kf_cfg + kf_cmd}, }; static struct { @@ -1878,6 +1879,10 @@ str_copy(&config.zram.swap_size, *f->value ? f->value : NULL); break; + case key_extend: +slist_assign_values(&config.extend_option, f->value); +break; + default: break; } diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/linuxrc-7.0.29/file.h new/linuxrc-7.0.30/file.h --- old/linuxrc-7.0.29/file.h 2021-03-05 13:11:42.0 +0100 +++ new/linuxrc-7.0.30/file.h 2021-03-11 12:13:15.0 +0100 @@ -58,7 +58,7 @@ 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_autoyast_passurl, key_rd_zdev, key_insmod_pre, - key_zram, key_zram_root, key_zram_swap + key_zram, key_zram_root, key_zram_swap, key_extend } file_key_t; typedef enum { diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/linuxrc-7.0.29/global.h new/linuxrc-7.0.30/global.h --- old/linuxrc-7.0.29/global.h 2021-03-05 13:11:42.0 +0100 +++ new/linuxrc-7.0.30/global.h 2021-03-11 12:13:15.0 +0100 @@ -544,6 +544,7 @@ * 3: if necessary, no user dialog */ char *platform_name; /* Human-readable name of the hardware */ + slist_t *extend_option; /**< list of instsys extensions given via 'extend' boot option */ struct { unsigned failed:1; /**< digest check failed */ diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/linuxrc-7.0.29/url.c new/linuxrc-7.0.30/url.c --- old/linuxrc-7.0.29/url.c2021-03-05 13:11:42.0 +0100 +++ new/linuxrc-7.0.30/url.c2021-03-11 12:13:15.0
commit linuxrc for openSUSE:Factory
Script 'mail_helper' called by obssrc Hello community, here is the log from the commit of package linuxrc for openSUSE:Factory checked in at 2021-03-08 15:16:02 Comparing /work/SRC/openSUSE:Factory/linuxrc (Old) and /work/SRC/openSUSE:Factory/.linuxrc.new.2378 (New) Package is "linuxrc" Mon Mar 8 15:16:02 2021 rev:293 rq:877003 version:7.0.29 Changes: --- /work/SRC/openSUSE:Factory/linuxrc/linuxrc.changes 2021-01-26 14:44:01.691188212 +0100 +++ /work/SRC/openSUSE:Factory/.linuxrc.new.2378/linuxrc.changes 2021-03-08 15:17:46.805961664 +0100 @@ -1,0 +2,24 @@ +Fri Mar 5 12:11:42 UTC 2021 - wfe...@opensuse.org + +- merge gh#openSUSE/linuxrc#249 +- Revert "default to using zram" +- 7.0.29 + + +Fri Mar 5 09:09:25 UTC 2021 - wfe...@opensuse.org + +- merge gh#openSUSE/linuxrc#247 +- fix buffer overflow when setting up loop device (bsc#1180161) +- adjust last remaining dubious strcpy use +- 7.0.28 + + +Wed Mar 3 16:03:47 UTC 2021 - wfe...@opensuse.org + +- merge gh#openSUSE/linuxrc#246 +- default to using zram +- document install.inf entry +- support using zram device as root file system (jsc#PM-2253) +- 7.0.27 + + Old: linuxrc-7.0.26.tar.xz New: linuxrc-7.0.29.tar.xz Other differences: -- ++ linuxrc.spec ++ --- /var/tmp/diff_new_pack.UdN0rm/_old 2021-03-08 15:17:47.857962435 +0100 +++ /var/tmp/diff_new_pack.UdN0rm/_new 2021-03-08 15:17:47.861962438 +0100 @@ -17,7 +17,7 @@ Name: linuxrc -Version:7.0.26 +Version:7.0.29 Release:0 Summary:SUSE Installation Program License:GPL-3.0+ ++ linuxrc-7.0.26.tar.xz -> linuxrc-7.0.29.tar.xz ++ diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/linuxrc-7.0.26/VERSION new/linuxrc-7.0.29/VERSION --- old/linuxrc-7.0.26/VERSION 2021-01-21 14:52:52.0 +0100 +++ new/linuxrc-7.0.29/VERSION 2021-03-05 13:11:42.0 +0100 @@ -1 +1 @@ -7.0.26 +7.0.29 diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/linuxrc-7.0.26/auto2.c new/linuxrc-7.0.29/auto2.c --- old/linuxrc-7.0.26/auto2.c 2021-01-21 14:52:52.0 +0100 +++ new/linuxrc-7.0.29/auto2.c 2021-03-05 13:11:42.0 +0100 @@ -274,7 +274,7 @@ if(hd->bus.id == bus_usb) ju++; di = hd->driver_info; if(di && di->any.type == di_kbd) { -if(di->kbd.XkbModel) strcpy(xkbmodel_tg, di->kbd.XkbModel); +if(di->kbd.XkbModel) strncpy(xkbmodel_tg, di->kbd.XkbModel, sizeof xkbmodel_tg - 1); if(di->kbd.keymap) { str_copy(&config.keymap, di->kbd.keymap); } diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/linuxrc-7.0.26/changelog new/linuxrc-7.0.29/changelog --- old/linuxrc-7.0.26/changelog2021-01-21 14:52:52.0 +0100 +++ new/linuxrc-7.0.29/changelog2021-03-05 13:11:42.0 +0100 @@ -1,3 +1,18 @@ +2021-03-05:7.0.29 + - merge gh#openSUSE/linuxrc#249 + - Revert "default to using zram" + +2021-03-05:7.0.28 + - merge gh#openSUSE/linuxrc#247 + - fix buffer overflow when setting up loop device (bsc#1180161) + - adjust last remaining dubious strcpy use + +2021-03-03:7.0.27 + - merge gh#openSUSE/linuxrc#246 + - support using zram device as root file system + - default to using zram + - document install.inf entry + 2021-01-21:7.0.26 - merge gh#openSUSE/linuxrc#244 - cleanup module code to avoid static string buffers (bsc#1180792) diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/linuxrc-7.0.26/file.c new/linuxrc-7.0.29/file.c --- old/linuxrc-7.0.26/file.c 2021-01-21 14:52:52.0 +0100 +++ new/linuxrc-7.0.29/file.c 2021-03-05 13:11:42.0 +0100 @@ -320,6 +320,9 @@ { 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 }, + { key_zram, "zram", kf_cmd_early }, + { key_zram_root, "zram_root", kf_cmd_early }, + { key_zram_swap, "zram_swap", kf_cmd_early }, }; static struct { @@ -1854,6 +1857,27 @@ } break; + case key_zram: +if(f->is.numeric) { + if(f->nvalue) { +str_copy(&config.zram.root_size, "1G"); +
commit linuxrc for openSUSE:Factory
Script 'mail_helper' called by obssrc Hello community, here is the log from the commit of package linuxrc for openSUSE:Factory checked in at 2021-01-26 14:44:00 Comparing /work/SRC/openSUSE:Factory/linuxrc (Old) and /work/SRC/openSUSE:Factory/.linuxrc.new.28504 (New) Package is "linuxrc" Tue Jan 26 14:44:00 2021 rev:292 rq:865422 version:7.0.26 Changes: --- /work/SRC/openSUSE:Factory/linuxrc/linuxrc.changes 2021-01-20 18:23:35.215315919 +0100 +++ /work/SRC/openSUSE:Factory/.linuxrc.new.28504/linuxrc.changes 2021-01-26 14:44:01.691188212 +0100 @@ -1,0 +2,15 @@ +Thu Jan 21 13:52:52 UTC 2021 - wfe...@opensuse.org + +- merge gh#openSUSE/linuxrc#245 +- Fix the wrong function name +- Replace splash with plymouth utils (boo#1149070) +- 7.0.26 + + +Thu Jan 21 13:49:14 UTC 2021 - wfe...@opensuse.org + +- merge gh#openSUSE/linuxrc#244 +- cleanup module code to avoid static string buffers (bsc#1180792) +- minor adjustments + + Old: linuxrc-7.0.25.tar.xz New: linuxrc-7.0.26.tar.xz Other differences: -- ++ linuxrc.spec ++ --- /var/tmp/diff_new_pack.y53xE1/_old 2021-01-26 14:44:02.363189252 +0100 +++ /var/tmp/diff_new_pack.y53xE1/_new 2021-01-26 14:44:02.363189252 +0100 @@ -17,7 +17,7 @@ Name: linuxrc -Version:7.0.25 +Version:7.0.26 Release:0 Summary:SUSE Installation Program License:GPL-3.0+ ++ linuxrc-7.0.25.tar.xz -> linuxrc-7.0.26.tar.xz ++ diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/linuxrc-7.0.25/VERSION new/linuxrc-7.0.26/VERSION --- old/linuxrc-7.0.25/VERSION 2021-01-19 11:15:46.0 +0100 +++ new/linuxrc-7.0.26/VERSION 2021-01-21 14:52:52.0 +0100 @@ -1 +1 @@ -7.0.25 +7.0.26 diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/linuxrc-7.0.25/auto2.c new/linuxrc-7.0.26/auto2.c --- old/linuxrc-7.0.25/auto2.c 2021-01-19 11:15:46.0 +0100 +++ new/linuxrc-7.0.26/auto2.c 2021-01-21 14:52:52.0 +0100 @@ -39,7 +39,6 @@ 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); @@ -73,7 +72,7 @@ if(config.sig_failed) return 0; - util_splash_bar(40, SPLASH_40); + util_splash_bar(40); win_old = config.win; @@ -123,7 +122,7 @@ LXRC_WAIT - util_splash_bar(50, SPLASH_50); + util_splash_bar(50); return ok; } @@ -156,6 +155,7 @@ #endif log_info("Starting hardware detection...\n"); + util_splash_msg("Hardware detection"); printf("Starting hardware detection..."); if(hd_data->progress) printf("\n"); fflush(stdout); @@ -171,7 +171,7 @@ fflush(stdout); log_info("Hardware detection finished.\n"); - util_splash_bar(20, SPLASH_20); + util_splash_bar(20); log_show("(If a driver is not working for you, try booting with brokenmodules=driver_name.)\n\n"); @@ -266,7 +266,7 @@ log_show(" ok\n"); } - util_splash_bar(30, SPLASH_30); + util_splash_bar(30); /* look for keyboard and remember if it's usb */ for(ju = 0, hd = hd_data->hd; hd; hd = hd->next) { @@ -944,45 +944,13 @@ /* - * Return splash file name (or NULL if not appropriate). - */ -char *auto2_splash_name() -{ - unsigned width, height; - char *splash = NULL, *s; - FILE *f; - - if(!config.kexec_initrd) return NULL; - - f = fopen("/sys/devices/platform/vesafb.0/graphics/fb0/virtual_size", "r"); - if(f) { -if(fscanf(f, "%u,%u", &width, &height) == 2) { - str_copy(&splash, config.kexec_initrd); - s = strrchr(splash, '/'); - if(s) { -*s = 0; -strprintf(&splash, "%s/%04u%04u.spl", splash, width, height); - } - else { -str_copy(&splash, NULL); - } -} - -fclose(f); - } - - return splash; -} - - -/* * Download new kernel & initrd and run kexec. * * Does not return if successful. */ void auto2_kexec(url_t *url) { - char *kernel, *initrd, *buf = NULL, *cmdline = NULL, *splash = NULL, *splash_name = NULL; + char *kernel, *initrd, *buf = NULL, *cmdline = NULL; FILE *f; int err = 0; unsigned vga_mode = 0; @@ -992,9 +960,6 @@ return; } - splash_name = auto2_splash_name(); - log_debug("splash = %s\n", splash_name); - #if defined(__i386__) || defined(__x86_64__) if(config.vga) { vga_mode = config.vga_mode; @@ -1004,22 +969,10 @@ kernel = strdup(new_downlo
commit linuxrc for openSUSE:Factory
Script 'mail_helper' called by obssrc Hello community, here is the log from the commit of package linuxrc for openSUSE:Factory checked in at 2021-01-20 18:23:25 Comparing /work/SRC/openSUSE:Factory/linuxrc (Old) and /work/SRC/openSUSE:Factory/.linuxrc.new.28504 (New) Package is "linuxrc" Wed Jan 20 18:23:25 2021 rev:291 rq:864280 version:7.0.25 Changes: --- /work/SRC/openSUSE:Factory/linuxrc/linuxrc.changes 2021-01-18 11:30:57.376601950 +0100 +++ /work/SRC/openSUSE:Factory/.linuxrc.new.28504/linuxrc.changes 2021-01-20 18:23:35.215315919 +0100 @@ -1,0 +2,11 @@ +Tue Jan 19 10:15:46 UTC 2021 - wfe...@opensuse.org + +- merge gh#openSUSE/linuxrc#241 +- fix writing out of menu item array bounds (bsc#1180792) +- use best fitting module config entry +- update module loaded state properly +- ensure modules are actually loaded in every code path +- fix buffer overflow triggered by very long module descriptions +- 7.0.25 + + Old: linuxrc-7.0.24.tar.xz New: linuxrc-7.0.25.tar.xz Other differences: -- ++ linuxrc.spec ++ --- /var/tmp/diff_new_pack.A9rRiD/_old 2021-01-20 18:23:36.191316641 +0100 +++ /var/tmp/diff_new_pack.A9rRiD/_new 2021-01-20 18:23:36.195316644 +0100 @@ -17,7 +17,7 @@ Name: linuxrc -Version:7.0.24 +Version:7.0.25 Release:0 Summary:SUSE Installation Program License:GPL-3.0+ ++ linuxrc-7.0.24.tar.xz -> linuxrc-7.0.25.tar.xz ++ diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/linuxrc-7.0.24/VERSION new/linuxrc-7.0.25/VERSION --- old/linuxrc-7.0.24/VERSION 2021-01-13 17:35:16.0 +0100 +++ new/linuxrc-7.0.25/VERSION 2021-01-19 11:15:46.0 +0100 @@ -1 +1 @@ -7.0.24 +7.0.25 diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/linuxrc-7.0.24/changelog new/linuxrc-7.0.25/changelog --- old/linuxrc-7.0.24/changelog2021-01-13 17:35:16.0 +0100 +++ new/linuxrc-7.0.25/changelog2021-01-19 11:15:46.0 +0100 @@ -1,3 +1,11 @@ +2021-01-19:7.0.25 + - merge gh#openSUSE/linuxrc#241 + - fix writing out of menu item array bounds (bsc#1180792) + - use best fitting module config entry + - update module loaded state properly + - ensure modules are actually loaded in every code path + - fix buffer overflow triggered by very long module descriptions + 2021-01-13:7.0.24 - merge gh#openSUSE/linuxrc#239 - fix detection of config file type (XML vs. plain text) bsc#1179936 diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/linuxrc-7.0.24/module.c new/linuxrc-7.0.25/module.c --- old/linuxrc-7.0.24/module.c 2021-01-13 17:35:16.0 +0100 +++ new/linuxrc-7.0.25/module.c 2021-01-19 11:15:46.0 +0100 @@ -1,3 +1,5 @@ +#define _GNU_SOURCE + /* * * module.c Load modules needed for installation @@ -239,15 +241,24 @@ module_t *mod_get_entry(char *name) { - module_t *ml; + module_t *ml, *mod_found = NULL; if(!name) return NULL; + /* + * A module might appear several times in config.module.list (because it's + * in different categories). + * + * Prefer to return an entry that's user-visible (has a 'descr' field). + */ for(ml = config.module.list; ml; ml = ml->next) { -if(!mod_cmp(ml->name, name)) break; +if(!mod_cmp(ml->name, name)) { + mod_found = ml; + if(ml->descr) break; +} } - return ml; + return mod_found; } @@ -322,7 +333,6 @@ static module_t **mod_items = NULL; static int mods = 0; int i, width; - char buf[256]; if(items) { for(i = 0; i < mods; i++) if(items[i]) free(items[i]); @@ -348,12 +358,11 @@ for(i = 0, ml = config.module.list; ml; ml = ml->next) { if(ml->type == type && ml->exists && ml->descr) { - sprintf(buf, "%*s%s%s", + asprintf(&items[i], "%*s%s%s", width, ml->name, *ml->descr ? ml->detected ? ml->active ? " * " : " + " : " : " : "", ml->descr ); - items[i] = strdup(buf); mod_items[i++] = ml; } } @@ -397,15 +406,28 @@ void mod_menu() { - char *items[MAX_MODULE_TYPES + 3]; - int i; - int again; + char *extra_items[] = { +"Show Loaded Modules", +"Unload Modules", +"Add Driver Update", +"Show Driver Updates" + }; + char *items[MAX_MODULE_TYPES + sizeof extra_items / sizeof *extra_items]; + int i, again; net_stop(); do { mod_update_list(); +/* + * Get list of actually present module types. + * + * Start with module type 1. 0 is reserved for 'autol
commit linuxrc for openSUSE:Factory
Script 'mail_helper' called by obssrc Hello community, here is the log from the commit of package linuxrc for openSUSE:Factory checked in at 2021-01-18 11:27:48 Comparing /work/SRC/openSUSE:Factory/linuxrc (Old) and /work/SRC/openSUSE:Factory/.linuxrc.new.28504 (New) Package is "linuxrc" Mon Jan 18 11:27:48 2021 rev:290 rq:863301 version:7.0.24 Changes: --- /work/SRC/openSUSE:Factory/linuxrc/linuxrc.changes 2021-01-08 17:34:17.285133915 +0100 +++ /work/SRC/openSUSE:Factory/.linuxrc.new.28504/linuxrc.changes 2021-01-18 11:30:57.376601950 +0100 @@ -1,0 +2,7 @@ +Wed Jan 13 16:35:16 UTC 2021 - wfe...@opensuse.org + +- merge gh#openSUSE/linuxrc#239 +- fix detection of config file type (XML vs. plain text) bsc#1179936 +- 7.0.24 + + Old: linuxrc-7.0.23.tar.xz New: linuxrc-7.0.24.tar.xz Other differences: -- ++ linuxrc.spec ++ --- /var/tmp/diff_new_pack.lnQFrv/_old 2021-01-18 11:30:58.156602718 +0100 +++ /var/tmp/diff_new_pack.lnQFrv/_new 2021-01-18 11:30:58.160602723 +0100 @@ -17,7 +17,7 @@ Name: linuxrc -Version:7.0.23 +Version:7.0.24 Release:0 Summary:SUSE Installation Program License:GPL-3.0+ ++ linuxrc-7.0.23.tar.xz -> linuxrc-7.0.24.tar.xz ++ diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/linuxrc-7.0.23/VERSION new/linuxrc-7.0.24/VERSION --- old/linuxrc-7.0.23/VERSION 2021-01-07 13:58:48.0 +0100 +++ new/linuxrc-7.0.24/VERSION 2021-01-13 17:35:16.0 +0100 @@ -1 +1 @@ -7.0.23 +7.0.24 diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/linuxrc-7.0.23/changelog new/linuxrc-7.0.24/changelog --- old/linuxrc-7.0.23/changelog2021-01-07 13:58:48.0 +0100 +++ new/linuxrc-7.0.24/changelog2021-01-13 17:35:16.0 +0100 @@ -1,3 +1,7 @@ +2021-01-13:7.0.24 + - merge gh#openSUSE/linuxrc#239 + - fix detection of config file type (XML vs. plain text) bsc#1179936 + 2021-01-07:7.0.23 - merge gh#openSUSE/linuxrc#237 - Since kernel 5.10, /sys/firmware/efi/vars has been dropped for diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/linuxrc-7.0.23/file.c new/linuxrc-7.0.24/file.c --- old/linuxrc-7.0.23/file.c 2021-01-07 13:58:48.0 +0100 +++ new/linuxrc-7.0.24/file.c 2021-01-13 17:35:16.0 +0100 @@ -606,31 +606,52 @@ */ void file_do_info(file_t *f0, file_key_flag_t flags) { - file_t *f; + file_t *f, *xml_section_start = 0; int i, is_xml = 0; char buf[256], *s, *t, *s1; slist_t *sl, *sl0; unsigned u; FILE *w; + if(config.debug >= 2) { +log_debug("= config file [flags 0x%02x] =\n", flags); +for(f = f0; f; f = f->next) { + log_info(" key %d \"%s\", value %d \"%s\", raw \"%s\"\n", f->key, f->key_str, f->nvalue, f->value, f->unparsed ?: ""); +} + } + /* * Maybe it's an AutoYaST XML file. * - * If so, try limiting the scope to lines in first '' element. + * If so, limit the scope to lines in first '' element. */ for(f = f0; f; f = f->next) { if(f->key == key_none) { - if(!strncmp(f->key_str, "key_str, "key_str, "") && +!strstr(f->key_str, "/>") + ) { is_xml = 1; -f0 = f->next; +xml_section_start = f->next; break; } - if(!strcmp(f->key_str, "")) { + if( +!strncmp(f->key_str, "key_str, "key_str, "") + ) { is_xml = 1; } } } + if(is_xml) f0 = xml_section_start; + + if(config.debug >= 2 && is_xml) { +log_debug(" = xml file, applying only these lines =\n", flags); + } + for(f = f0; f; f = f->next) { if( is_xml && @@ -640,6 +661,10 @@ break; } +if(config.debug >= 2 && is_xml) { + log_debug("key %d \"%s\", value %d \"%s\", raw \"%s\"\n", f->key, f->key_str, f->nvalue, f->value, f->unparsed ?: ""); +} + switch(f->key) { case key_insmod: case key_insmod_pre:
commit linuxrc for openSUSE:Factory
Hello community, here is the log from the commit of package linuxrc for openSUSE:Factory checked in at 2020-12-05 20:35:55 Comparing /work/SRC/openSUSE:Factory/linuxrc (Old) and /work/SRC/openSUSE:Factory/.linuxrc.new.5913 (New) Package is "linuxrc" Sat Dec 5 20:35:55 2020 rev:288 rq:852615 version:7.0.22 Changes: --- /work/SRC/openSUSE:Factory/linuxrc/linuxrc.changes 2020-10-29 09:22:22.630691834 +0100 +++ /work/SRC/openSUSE:Factory/.linuxrc.new.5913/linuxrc.changes 2020-12-05 20:36:26.302663464 +0100 @@ -1,0 +2,7 @@ +Wed Dec 2 13:12:19 UTC 2020 - wfe...@opensuse.org + +- merge gh#openSUSE/linuxrc#234 +- do not offer --real-mode as kexec option in debug mode (bsc#1141875) +- 7.0.22 + + Old: linuxrc-7.0.21.tar.xz New: linuxrc-7.0.22.tar.xz Other differences: -- ++ linuxrc.spec ++ --- /var/tmp/diff_new_pack.tgKpkX/_old 2020-12-05 20:36:26.850664019 +0100 +++ /var/tmp/diff_new_pack.tgKpkX/_new 2020-12-05 20:36:26.854664024 +0100 @@ -17,7 +17,7 @@ Name: linuxrc -Version:7.0.21 +Version:7.0.22 Release:0 Summary:SUSE Installation Program License:GPL-3.0+ ++ linuxrc-7.0.21.tar.xz -> linuxrc-7.0.22.tar.xz ++ diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/linuxrc-7.0.21/VERSION new/linuxrc-7.0.22/VERSION --- old/linuxrc-7.0.21/VERSION 2020-10-28 17:00:05.0 +0100 +++ new/linuxrc-7.0.22/VERSION 2020-12-02 14:12:19.0 +0100 @@ -1 +1 @@ -7.0.21 +7.0.22 diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/linuxrc-7.0.21/changelog new/linuxrc-7.0.22/changelog --- old/linuxrc-7.0.21/changelog2020-10-28 17:00:05.0 +0100 +++ new/linuxrc-7.0.22/changelog2020-12-02 14:12:19.0 +0100 @@ -1,3 +1,7 @@ +2020-12-02:7.0.22 + - merge gh#openSUSE/linuxrc#234 + - do not offer --real-mode as kexec option in debug mode (bsc#1141875) + 2020-10-28:7.0.21 - merge gh#openSUSE/linuxrc#232 - fix linuxrc module option parsing diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/linuxrc-7.0.21/util.c new/linuxrc-7.0.22/util.c --- old/linuxrc-7.0.21/util.c 2020-10-28 17:00:05.0 +0100 +++ new/linuxrc-7.0.22/util.c 2020-12-02 14:12:19.0 +0100 @@ -5284,15 +5284,9 @@ kernel_name, initrd_name, kernel_options ); - char *buf1 = NULL; - - // on x86, non-uefi use real-mode interface; - // this seems to work better - if(strstr(kernel_name, "vmlinuz-") && !config.efi_vars) { -str_copy(&buf1, "--real-mode"); - } - if(config.debug) { +char *buf1 = NULL; + if(dia_input2("Enter additional kexec options", &buf1, 57, 0)) { util_umount("/mnt"); @@ -5303,10 +5297,12 @@ return; } -if(buf1) strprintf(&buf, "%s %s", buf, buf1); - } - str_copy(&buf1, NULL); +if(buf1) { + strprintf(&buf, "%s %s", buf, buf1); + str_copy(&buf1, NULL); +} + } if(!config.test) { int err = lxrc_run(buf); ___ openSUSE Commits mailing list -- commit@lists.opensuse.org To unsubscribe, email commit-le...@lists.opensuse.org List Netiquette: https://en.opensuse.org/openSUSE:Mailing_list_netiquette List Archives: https://lists.opensuse.org/archives/list/commit@lists.opensuse.org