Hello community, here is the log from the commit of package linuxrc for openSUSE:Factory checked in at 2012-03-27 08:57:04 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/linuxrc (Old) and /work/SRC/openSUSE:Factory/.linuxrc.new (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Package is "linuxrc", Maintainer is "snwint@suse.com" Changes: -------- --- /work/SRC/openSUSE:Factory/linuxrc/linuxrc.changes 2012-01-26 16:12:46.000000000 +0100 +++ /work/SRC/openSUSE:Factory/.linuxrc.new/linuxrc.changes 2012-03-27 08:57:06.000000000 +0200 @@ -1,0 +2,7 @@ +Mon Mar 26 14:11:20 CEST 2012 - snwint@suse.de + +- fight compiler warnings +- mount devtmpfs to /dev +- scan whole block dev for filesystem also when there are partitions (bnc #753574) + +------------------------------------------------------------------- Old: ---- linuxrc-4.0.1.tar.bz2 New: ---- linuxrc-4.0.2.tar.bz2 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ linuxrc.spec ++++++ --- /var/tmp/diff_new_pack.9sNjZC/_old 2012-03-27 08:57:08.000000000 +0200 +++ /var/tmp/diff_new_pack.9sNjZC/_new 2012-03-27 08:57:08.000000000 +0200 @@ -15,18 +15,18 @@ # Please submit bugfixes or comments via http://bugs.opensuse.org/ # -# norootforbuild - Name: linuxrc -BuildRequires: e2fsprogs-devel hwinfo-devel libblkid-devel libcurl-devel +BuildRequires: e2fsprogs-devel +BuildRequires: hwinfo-devel +BuildRequires: libblkid-devel +BuildRequires: libcurl-devel +Summary: SUSE Installation Program License: GPL-3.0+ Group: System/Boot -AutoReqProv: on -Summary: SUSE Installation Program -Version: 4.0.1 -Release: 1 -Source: linuxrc-4.0.1.tar.bz2 +Version: 4.0.2 +Release: 0 +Source: linuxrc-4.0.2.tar.bz2 BuildRoot: %{_tmppath}/%{name}-%{version}-build %description ++++++ linuxrc-4.0.1.tar.bz2 -> linuxrc-4.0.2.tar.bz2 ++++++ diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/linuxrc-4.0.1/VERSION new/linuxrc-4.0.2/VERSION --- old/linuxrc-4.0.1/VERSION 2012-01-25 11:47:36.000000000 +0100 +++ new/linuxrc-4.0.2/VERSION 2012-03-26 15:25:47.000000000 +0200 @@ -1 +1 @@ -4.0.1 +4.0.2 diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/linuxrc-4.0.1/changelog new/linuxrc-4.0.2/changelog --- old/linuxrc-4.0.1/changelog 2012-01-25 11:47:38.000000000 +0100 +++ new/linuxrc-4.0.2/changelog 2012-03-26 15:25:49.000000000 +0200 @@ -1,4 +1,9 @@ -2012-01-25: HEAD +2012-03-26: HEAD + - fight compiler warnings + - mount devtmpfs to /dev + - scan whole block dev for filesystem also when there are partitions (bnc #753574) + +2012-01-25: 4.0.1 - enable sha1 & sha256 as default - changed license to gpl3 - added sha224 & sha384 diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/linuxrc-4.0.1/dialog.c new/linuxrc-4.0.2/dialog.c --- old/linuxrc-4.0.1/dialog.c 2012-01-24 16:40:25.000000000 +0100 +++ new/linuxrc-4.0.2/dialog.c 2012-03-26 15:25:13.000000000 +0200 @@ -946,7 +946,6 @@ int dia_input (char *txt_tv, char *input_tr, int len_iv, int fieldlen_iv, int pw_mode) { window_t win_ri; - int width_ii; window_t tmp_win_ri; int rc_ii; @@ -1023,7 +1022,7 @@ memset (&win_ri, 0, sizeof (window_t)); win_ri.bg_color = colors_prg->input_win; win_ri.fg_color = colors_prg->msg_fg; - width_ii = dia_win_open (&win_ri, txt_tv); + dia_win_open (&win_ri, txt_tv); memset (&tmp_win_ri, 0, sizeof (window_t)); tmp_win_ri.x_left = win_ri.x_left + 1; diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/linuxrc-4.0.1/file.c new/linuxrc-4.0.2/file.c --- old/linuxrc-4.0.1/file.c 2012-01-25 11:30:43.000000000 +0100 +++ new/linuxrc-4.0.2/file.c 2012-03-26 15:25:13.000000000 +0200 @@ -1063,6 +1063,7 @@ else if(!strcmp(s, "trace")) config.error_trace = i; else if(!strcmp(s, "bash")) config.early_bash = i; else if(!strcmp(s, "lsh")) config.early_lsh = i; + else if(!strcmp(s, "devtmpfs")) config.devtmpfs = i; } } } diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/linuxrc-4.0.1/global.h new/linuxrc-4.0.2/global.h --- old/linuxrc-4.0.1/global.h 2012-01-25 11:29:54.000000000 +0100 +++ new/linuxrc-4.0.2/global.h 2012-03-26 15:25:13.000000000 +0200 @@ -356,6 +356,7 @@ unsigned error_trace:1; /* enable backtrace log */ unsigned early_bash:1; /* start bash on tty8 */ unsigned early_lsh:1; /* start lsh on tty8 */ + unsigned devtmpfs:1; /* mount devtmpfs */ struct { unsigned check:1; /* check for braille displays and start brld if found */ char *dev; /* braille device */ diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/linuxrc-4.0.1/linuxrc.c new/linuxrc-4.0.2/linuxrc.c --- old/linuxrc-4.0.1/linuxrc.c 2012-01-25 11:46:50.000000000 +0100 +++ new/linuxrc-4.0.2/linuxrc.c 2012-03-26 15:25:13.000000000 +0200 @@ -774,6 +774,7 @@ config.kexec_reboot = 1; config.efi = -1; config.udev_mods = 1; + config.devtmpfs = 1; config.scsi_rename = 0; config.scsi_before_usb = 1; @@ -857,6 +858,10 @@ LXRC_WAIT + if(config.devtmpfs) { + mount("devtmpfs", "/dev", "devtmpfs", 0, 0); + } + if(config.staticdevices) { util_mkdevs(); } diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/linuxrc-4.0.1/net.c new/linuxrc-4.0.2/net.c --- old/linuxrc-4.0.1/net.c 2012-01-24 16:40:25.000000000 +0100 +++ new/linuxrc-4.0.2/net.c 2012-03-26 15:25:13.000000000 +0200 @@ -1789,7 +1789,7 @@ int net_bootp() { window_t win; - int rc, netconf_error; + int rc; char *s; char tmp[256]; @@ -1802,7 +1802,6 @@ s_addr2inet(&config.net.broadcast, 0xffffffff); name2inet(&config.net.ptphost, ""); name2inet(&config.net.hostname, ""); - netconf_error = 0; if(net_activate_ns()) { if(config.win) { @@ -2027,7 +2026,7 @@ char cmd[256], file[256], *s; file_t *f0, *f; window_t win; - int got_ip = 0, i, is_static = 0, rc; + int got_ip = 0, i, rc; slist_t *sl0, *sl; if(config.net.dhcp_active || config.net.keep) return 0; @@ -2143,7 +2142,7 @@ sprintf(cmd, txt_get(TXT_ERROR_DHCP), "DHCP"); i = dia_yesno(cmd, NO); if(i == YES) { - is_static = 1; + // is_static = 1; // ????? } } diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/linuxrc-4.0.1/settings.c new/linuxrc-4.0.2/settings.c --- old/linuxrc-4.0.1/settings.c 2012-01-25 11:24:30.000000000 +0100 +++ new/linuxrc-4.0.2/settings.c 2012-03-26 15:25:13.000000000 +0200 @@ -626,7 +626,6 @@ time_t t; struct tm *gm; - dia_item_t di; dia_item_t items[] = { di_expert_info, di_expert_modules, @@ -642,7 +641,7 @@ gm = gmtime(&t); sprintf(tmp, "%s -- Time: %02d:%02d", txt_get(TXT_EXPERT), gm->tm_hour, gm->tm_min); - di = dia_menu2(tmp, 42, set_expert_cb, items, di_set_expert_last); + dia_menu2(tmp, 42, set_expert_cb, items, di_set_expert_last); } diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/linuxrc-4.0.1/url.c new/linuxrc-4.0.2/url.c --- old/linuxrc-4.0.1/url.c 2012-01-25 11:34:21.000000000 +0100 +++ new/linuxrc-4.0.2/url.c 2012-03-26 15:25:13.000000000 +0200 @@ -1392,7 +1392,7 @@ hd_is_hw_class(hd, hw_cdrom) ) ) || - (hd_is_hw_class(hd, hw_block) && hd->child_ids) || /* skip whole block device if there are partitions */ + (hd_is_hw_class(hd, hw_block) && hd->child_ids && hd->child_ids->next) || /* skip whole block device if it has > 1 partition */ !hd->unix_dev_name ) continue; diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/linuxrc-4.0.1/util.c new/linuxrc-4.0.2/util.c --- old/linuxrc-4.0.1/util.c 2012-01-24 16:40:25.000000000 +0100 +++ new/linuxrc-4.0.2/util.c 2012-03-26 15:25:13.000000000 +0200 @@ -1213,6 +1213,7 @@ add_flag(&sl0, buf, config.digests.sha1, "sha1"); add_flag(&sl0, buf, config.digests.sha256, "sha256"); add_flag(&sl0, buf, config.digests.sha512, "sha512"); + add_flag(&sl0, buf, config.devtmpfs, "devtmpfs"); if(*buf) slist_append_str(&sl0, buf); sprintf(buf, "net_config_mask = 0x%x", net_config_mask()); @@ -3126,7 +3127,6 @@ url_t *url; unsigned flags = URL_FLAG_PROGRESS + URL_FLAG_NOUNLINK; char *label = NULL; - int err; config.test = 1; @@ -3149,7 +3149,7 @@ url = url_set(argv[0]); - err = url_read_file(url, NULL, NULL, argv[1], label, flags); + url_read_file(url, NULL, NULL, argv[1], label, flags); url_umount(url); url_free(url); -- To unsubscribe, e-mail: opensuse-commit+unsubscribe@opensuse.org For additional commands, e-mail: opensuse-commit+help@opensuse.org