Hello community, here is the log from the commit of package yast2-firstboot for openSUSE:Factory checked in at 2018-01-19 11:53:04 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/yast2-firstboot (Old) and /work/SRC/openSUSE:Factory/.yast2-firstboot.new (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "yast2-firstboot" Fri Jan 19 11:53:04 2018 rev:69 rq:566223 version:4.0.2 Changes: -------- --- /work/SRC/openSUSE:Factory/yast2-firstboot/yast2-firstboot.changes 2016-08-25 09:57:31.000000000 +0200 +++ /work/SRC/openSUSE:Factory/.yast2-firstboot.new/yast2-firstboot.changes 2018-01-19 11:53:15.639504020 +0100 @@ -1,0 +2,21 @@ +Tue Jan 16 09:12:23 CET 2018 - [email protected] + +- Do not initialize firstboot in AutoYaST upgrade mode. + (Additial fix for bnc#1075744) +- 4.0.2 + +------------------------------------------------------------------- +Thu Nov 30 17:47:59 UTC 2017 - [email protected] + +- Bring back HostnameDialog adding it into firstboot_hostname once + it was removed from yast2-network (bsc#1028371, bsc#1070388). +- 4.0.1 + +------------------------------------------------------------------- +Thu Nov 30 06:38:15 UTC 2017 - [email protected] + +- Replace references to /var/adm/fillup-templates with new + %_fillupdir macro (boo#1069468). +- 4.0.0 + +------------------------------------------------------------------- Old: ---- yast2-firstboot-3.1.17.tar.bz2 New: ---- yast2-firstboot-4.0.2.tar.bz2 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ yast2-firstboot.spec ++++++ --- /var/tmp/diff_new_pack.HXEMGY/_old 2018-01-19 11:53:16.119481398 +0100 +++ /var/tmp/diff_new_pack.HXEMGY/_new 2018-01-19 11:53:16.123481210 +0100 @@ -1,7 +1,7 @@ # # spec file for package yast2-firstboot # -# Copyright (c) 2016 SUSE LINUX GmbH, Nuernberg, Germany. +# Copyright (c) 2018 SUSE LINUX GmbH, Nuernberg, Germany. # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed @@ -17,7 +17,7 @@ Name: yast2-firstboot -Version: 3.1.17 +Version: 4.0.2 Release: 0 BuildRoot: %{_tmppath}/%{name}-%{version}-build @@ -90,7 +90,7 @@ %{yast_moduledir}/Firstboot.* %dir %{yast_scrconfdir} %{yast_scrconfdir}/*.scr -/var/adm/fillup-templates/sysconfig.firstboot +%{_fillupdir}/sysconfig.firstboot /usr/share/firstboot %doc %{yast_docdir} %doc COPYING ++++++ yast2-firstboot-3.1.17.tar.bz2 -> yast2-firstboot-4.0.2.tar.bz2 ++++++ diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/yast2-firstboot-3.1.17/.travis.yml new/yast2-firstboot-4.0.2/.travis.yml --- old/yast2-firstboot-3.1.17/.travis.yml 2016-08-24 14:00:13.026225476 +0200 +++ new/yast2-firstboot-4.0.2/.travis.yml 2018-01-16 09:53:29.000000000 +0100 @@ -1,16 +1,14 @@ -language: cpp -compiler: - - gcc +sudo: required +language: bash +services: + - docker + before_install: - # disable rvm, use system Ruby - - rvm reset - - wget https://raw.githubusercontent.com/yast/yast-devtools/SLE-12-GA/travis-tools/travis_setup.sh - - sh ./travis_setup.sh -p "rake yast2-devtools yast2-testsuite yast2" -g "yast-rake gettext" -script: - - rake check:syntax - - rake check:pot - - make -f Makefile.cvs - - make - - sudo make install - - make check + - docker build -t yast-firstboot-image . + # list the installed packages (just for easier debugging) + - docker run --rm -it yast-firstboot-image rpm -qa | sort +script: + # the "yast-travis-ruby" script is included in the base yastdevel/ruby image + # see https://github.com/yast/docker-yast-ruby/blob/master/yast-travis-ruby + - docker run -it -e TRAVIS=1 -e TRAVIS_JOB_ID="$TRAVIS_JOB_ID" yast-firstboot-image yast-travis-ruby diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/yast2-firstboot-3.1.17/Dockerfile new/yast2-firstboot-4.0.2/Dockerfile --- old/yast2-firstboot-3.1.17/Dockerfile 1970-01-01 01:00:00.000000000 +0100 +++ new/yast2-firstboot-4.0.2/Dockerfile 2018-01-16 09:53:29.000000000 +0100 @@ -0,0 +1,5 @@ +FROM yastdevel/ruby +RUN zypper --gpg-auto-import-keys --non-interactive in --no-recommends \ + docbook-xsl-stylesheets +COPY . /usr/src/app + diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/yast2-firstboot-3.1.17/package/yast2-firstboot.changes new/yast2-firstboot-4.0.2/package/yast2-firstboot.changes --- old/yast2-firstboot-3.1.17/package/yast2-firstboot.changes 2016-08-24 14:00:13.090225476 +0200 +++ new/yast2-firstboot-4.0.2/package/yast2-firstboot.changes 2018-01-16 09:53:29.000000000 +0100 @@ -1,4 +1,25 @@ ------------------------------------------------------------------- +Tue Jan 16 09:12:23 CET 2018 - [email protected] + +- Do not initialize firstboot in AutoYaST upgrade mode. + (Additial fix for bnc#1075744) +- 4.0.2 + +------------------------------------------------------------------- +Thu Nov 30 17:47:59 UTC 2017 - [email protected] + +- Bring back HostnameDialog adding it into firstboot_hostname once + it was removed from yast2-network (bsc#1028371, bsc#1070388). +- 4.0.1 + +------------------------------------------------------------------- +Thu Nov 30 06:38:15 UTC 2017 - [email protected] + +- Replace references to /var/adm/fillup-templates with new + %_fillupdir macro (boo#1069468). +- 4.0.0 + +------------------------------------------------------------------- Wed Aug 24 11:22:55 UTC 2016 - [email protected] - fix not showing errors as popup in firstboot (bnc#994892) diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/yast2-firstboot-3.1.17/package/yast2-firstboot.spec new/yast2-firstboot-4.0.2/package/yast2-firstboot.spec --- old/yast2-firstboot-3.1.17/package/yast2-firstboot.spec 2016-08-24 14:00:13.090225476 +0200 +++ new/yast2-firstboot-4.0.2/package/yast2-firstboot.spec 2018-01-16 09:53:29.000000000 +0100 @@ -15,9 +15,8 @@ # Please submit bugfixes or comments via http://bugs.opensuse.org/ # - Name: yast2-firstboot -Version: 3.1.17 +Version: 4.0.2 Release: 0 BuildRoot: %{_tmppath}/%{name}-%{version}-build @@ -89,7 +88,7 @@ %{yast_moduledir}/Firstboot.* %dir %{yast_scrconfdir} %{yast_scrconfdir}/*.scr -/var/adm/fillup-templates/sysconfig.firstboot +%{_fillupdir}/sysconfig.firstboot /usr/share/firstboot %doc %{yast_docdir} %doc COPYING diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/yast2-firstboot-3.1.17/src/clients/firstboot_hostname.rb new/yast2-firstboot-4.0.2/src/clients/firstboot_hostname.rb --- old/yast2-firstboot-3.1.17/src/clients/firstboot_hostname.rb 2016-08-24 14:00:13.134225476 +0200 +++ new/yast2-firstboot-4.0.2/src/clients/firstboot_hostname.rb 2018-01-16 09:53:29.000000000 +0100 @@ -42,6 +42,7 @@ Yast.import "Wizard" Yast.import "ProductControl" Yast.import "ProductFeatures" + Yast.import "GetInstArgs" Yast.include self, "network/services/dns.rb" @@ -67,7 +68,7 @@ Host.Write # do not let Lan override us, #152218 - DNS.proposal_valid = true + DNS.proposal_valid = true # In InstHostname writing was delayed to do it with the rest of # network configuration in lan_proposal. @@ -76,6 +77,57 @@ end ret + end + + def HostnameDialog + @has_dhcp = true + + @hn_settings = InitSettings() + + functions = { + "init" => fun_ref(method(:InitHnWidget), "void (string)"), + "store" => fun_ref(method(:StoreHnWidget), "void (string, map)"), + :abort => fun_ref(method(:ReallyAbortInst), "boolean ()") + } + contents = HSquash( + # Frame label + Frame( + _("Hostname and Domain Name"), + VBox( + HBox("HOSTNAME", HSpacing(1), "DOMAIN"), + Left("DHCP_HOSTNAME"), + Left("WRITE_HOSTNAME") + ) + ) + ) + + ret = CWM.ShowAndRun( + "widget_descr" => @widget_descr_dns, + "contents" => contents, + # dialog caption + "caption" => _("Hostname and Domain Name"), + "back_button" => Label.BackButton, + "next_button" => Label.NextButton, + "fallback_functions" => functions, + "disable_buttons" => GetInstArgs.enable_back ? [] : ["back_button"] + ) + + if ret == :next + # Pre-populate resolv.conf search list with current domain name + # but only if none exists so far + current_domain = Ops.get_string(@hn_settings, "DOMAIN", "") + + # Need to modify hn_settings explicitly as SEARCHLIST_S widget + # does not exist in this dialog, thus StoreHnWidget won't do it + # #438167 + if DNS.searchlist == [] && current_domain != "site" + Ops.set(@hn_settings, "SEARCHLIST_S", current_domain) + end + + StoreSettings(@hn_settings) + end + + ret end end end diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/yast2-firstboot-3.1.17/src/modules/Firstboot.rb new/yast2-firstboot-4.0.2/src/modules/Firstboot.rb --- old/yast2-firstboot-3.1.17/src/modules/Firstboot.rb 2016-08-24 14:00:13.158225476 +0200 +++ new/yast2-firstboot-4.0.2/src/modules/Firstboot.rb 2018-01-16 09:53:29.000000000 +0100 @@ -73,7 +73,7 @@ end def Firstboot - if Mode.config || Mode.autoinst + if Mode.config || Mode.auto Builtins.y2milestone( "no firstboot initialization in mode %1", Mode.mode
