Hello community,
here is the log from the commit of package yast2-installation for
openSUSE:Factory checked in at 2018-08-04 21:50:56
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/yast2-installation (Old)
and /work/SRC/openSUSE:Factory/.yast2-installation.new (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "yast2-installation"
Sat Aug 4 21:50:56 2018 rev:410 rq:627092 version:4.1.8
Changes:
--------
--- /work/SRC/openSUSE:Factory/yast2-installation/yast2-installation.changes
2018-07-07 21:57:24.851392552 +0200
+++
/work/SRC/openSUSE:Factory/.yast2-installation.new/yast2-installation.changes
2018-08-04 21:50:57.261002030 +0200
@@ -1,0 +2,24 @@
+Thu Aug 2 09:05:07 UTC 2018 - [email protected]
+
+- Disable display of status messages on the console (bsc#1099505).
+- 4.1.8
+
+-------------------------------------------------------------------
+Thu Aug 2 08:05:07 UTC 2018 - [email protected]
+
+- Don not print errors if plymouth is not installed (bsc#1101879)
+
+-------------------------------------------------------------------
+Thu Jul 26 15:45:03 UTC 2018 - [email protected]
+
+- Do not crash if /etc/os-release is a directory (bsc#1097661)
+- 4.1.7
+
+-------------------------------------------------------------------
+Thu Jul 26 14:34:27 CEST 2018 - [email protected]
+
+- Delete unneeded content of /mnt/run after installation/update.
+ (bsc#1071745)
+- 4.1.6
+
+-------------------------------------------------------------------
Old:
----
yast2-installation-4.1.5.tar.bz2
New:
----
yast2-installation-4.1.8.tar.bz2
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Other differences:
------------------
++++++ yast2-installation.spec ++++++
--- /var/tmp/diff_new_pack.f4PE5E/_old 2018-08-04 21:50:57.717002885 +0200
+++ /var/tmp/diff_new_pack.f4PE5E/_new 2018-08-04 21:50:57.721002893 +0200
@@ -17,7 +17,7 @@
Name: yast2-installation
-Version: 4.1.5
+Version: 4.1.8
Release: 0
BuildRoot: %{_tmppath}/%{name}-%{version}-build
++++++ YaST2-Firstboot.service ++++++
--- /var/tmp/diff_new_pack.f4PE5E/_old 2018-08-04 21:50:57.765002975 +0200
+++ /var/tmp/diff_new_pack.f4PE5E/_new 2018-08-04 21:50:57.765002975 +0200
@@ -10,7 +10,7 @@
[Service]
Type=oneshot
Environment=TERM=linux
-ExecStartPre=-/usr/bin/plymouth quit
+ExecStartPre=/bin/sh -c "/usr/bin/plymouth quit 2>/dev/null || :"
ExecStart=/usr/lib/YaST2/startup/YaST2.Firstboot
ExecStartPost=/usr/bin/rm -f /var/lib/YaST2/reconfig_system
ExecStartPost=/usr/bin/systemctl restart systemd-vconsole-setup.service
++++++ yast2-installation-4.1.5.tar.bz2 -> yast2-installation-4.1.8.tar.bz2
++++++
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore'
old/yast2-installation-4.1.5/package/YaST2-Firstboot.service
new/yast2-installation-4.1.8/package/YaST2-Firstboot.service
--- old/yast2-installation-4.1.5/package/YaST2-Firstboot.service
2018-07-04 17:35:57.000000000 +0200
+++ new/yast2-installation-4.1.8/package/YaST2-Firstboot.service
2018-08-02 16:12:03.000000000 +0200
@@ -10,7 +10,7 @@
[Service]
Type=oneshot
Environment=TERM=linux
-ExecStartPre=-/usr/bin/plymouth quit
+ExecStartPre=/bin/sh -c "/usr/bin/plymouth quit 2>/dev/null || :"
ExecStart=/usr/lib/YaST2/startup/YaST2.Firstboot
ExecStartPost=/usr/bin/rm -f /var/lib/YaST2/reconfig_system
ExecStartPost=/usr/bin/systemctl restart systemd-vconsole-setup.service
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore'
old/yast2-installation-4.1.5/package/yast2-installation.changes
new/yast2-installation-4.1.8/package/yast2-installation.changes
--- old/yast2-installation-4.1.5/package/yast2-installation.changes
2018-07-04 17:35:57.000000000 +0200
+++ new/yast2-installation-4.1.8/package/yast2-installation.changes
2018-08-02 16:12:03.000000000 +0200
@@ -1,4 +1,28 @@
-------------------------------------------------------------------
+Thu Aug 2 09:05:07 UTC 2018 - [email protected]
+
+- Disable display of status messages on the console (bsc#1099505).
+- 4.1.8
+
+-------------------------------------------------------------------
+Thu Aug 2 08:05:07 UTC 2018 - [email protected]
+
+- Don not print errors if plymouth is not installed (bsc#1101879)
+
+-------------------------------------------------------------------
+Thu Jul 26 15:45:03 UTC 2018 - [email protected]
+
+- Do not crash if /etc/os-release is a directory (bsc#1097661)
+- 4.1.7
+
+-------------------------------------------------------------------
+Thu Jul 26 14:34:27 CEST 2018 - [email protected]
+
+- Delete unneeded content of /mnt/run after installation/update.
+ (bsc#1071745)
+- 4.1.6
+
+-------------------------------------------------------------------
Wed Jul 4 12:16:04 UTC 2018 - [email protected]
- Fixed returned value calling copy_files_finish when
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore'
old/yast2-installation-4.1.5/package/yast2-installation.spec
new/yast2-installation-4.1.8/package/yast2-installation.spec
--- old/yast2-installation-4.1.5/package/yast2-installation.spec
2018-07-04 17:35:57.000000000 +0200
+++ new/yast2-installation-4.1.8/package/yast2-installation.spec
2018-08-02 16:12:03.000000000 +0200
@@ -16,7 +16,7 @@
#
Name: yast2-installation
-Version: 4.1.5
+Version: 4.1.8
Release: 0
BuildRoot: %{_tmppath}/%{name}-%{version}-build
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore'
old/yast2-installation-4.1.5/src/lib/installation/clients/pre_umount_finish.rb
new/yast2-installation-4.1.8/src/lib/installation/clients/pre_umount_finish.rb
---
old/yast2-installation-4.1.5/src/lib/installation/clients/pre_umount_finish.rb
2018-07-04 17:35:57.000000000 +0200
+++
new/yast2-installation-4.1.8/src/lib/installation/clients/pre_umount_finish.rb
2018-08-02 16:12:03.000000000 +0200
@@ -98,6 +98,11 @@
#
# See FATE #303396
HandleSecondStageRequired()
+
+ # Remove content of /run which has been created by the pre/post
+ # install scripts while RPM installation and not needed anymore.
+ # (bnc#1071745)
+ SCR.Execute(path(".target.bash"), "/bin/rm -rf /run/*")
else
Builtins.y2error("unknown function: %1", @func)
@ret = nil
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore'
old/yast2-installation-4.1.5/src/lib/installation/ssh_config.rb
new/yast2-installation-4.1.8/src/lib/installation/ssh_config.rb
--- old/yast2-installation-4.1.5/src/lib/installation/ssh_config.rb
2018-07-04 17:35:57.000000000 +0200
+++ new/yast2-installation-4.1.8/src/lib/installation/ssh_config.rb
2018-08-02 16:12:03.000000000 +0200
@@ -70,7 +70,8 @@
name += " #{os_release["VERSION"]}"
end
name
- rescue Errno::ENOENT # No /etc/os-release found
+ rescue IOError, SystemCallError, RuntimeError => error
+ log.error("Reading /etc/os-release failed with exception:
#{error.inspect}")
default_name
end
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore' old/yast2-installation-4.1.5/startup/YaST2.call
new/yast2-installation-4.1.8/startup/YaST2.call
--- old/yast2-installation-4.1.5/startup/YaST2.call 2018-07-04
17:35:57.000000000 +0200
+++ new/yast2-installation-4.1.8/startup/YaST2.call 2018-08-02
16:12:03.000000000 +0200
@@ -129,6 +129,16 @@
check_run_fbiterm
log "\tCheck for FB-I-terminal: RUN_FBITERM = $RUN_FBITERM"
set_inst_ncurses_env
+ #=============================================================
+ # Disable display of status messages on the console, as
+ # controlled via systemd.show_status=0 on the kernel command.
+ # line. (see "man systemd")
+ # In the case of SSH installation messages will be displayed
+ # on console only. So we do not need it here.
+ #-------------------------------------------------------------
+ if [ $SELECTED_MEDIUM != "SSH" ]; then
+ /usr/bin/kill -SIGRTMIN+21 1
+ fi
}
#----[ prepare_for_ssh ]----#
@@ -669,6 +679,16 @@
# when found the ssh daemon is killed, so create this file as the very
last step!!
#
(https://github.com/openSUSE/installation-images/blob/c57181329ab7040369da705c5b0ddd78e2960bf0/data/root/etc/inst_setup#L221-L229)
echo $Y2_EXIT_CODE > /tmp/YaST2_ssh_installation_finished
+fi
+
+if [ $SELECTED_MEDIUM != "SSH" ] && [ "$Y2_MODE" = "ncurses" ]; then
+ # Enable display of status messages on the
+ # console, as controlled via systemd.show_status=1
+ # on the kernel command line (see "man systemd")
+ # In the case of SSH installation messages will be displayed
+ # on console only. So we do not need it here because we
+ # have not disabled it while YAST installation.
+ /usr/bin/kill -SIGRTMIN+20 1
fi
#=============================================
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore' old/yast2-installation-4.1.5/test/ssh_config_test.rb
new/yast2-installation-4.1.8/test/ssh_config_test.rb
--- old/yast2-installation-4.1.5/test/ssh_config_test.rb 2018-07-04
17:35:57.000000000 +0200
+++ new/yast2-installation-4.1.8/test/ssh_config_test.rb 2018-08-02
16:12:03.000000000 +0200
@@ -31,6 +31,7 @@
let(:root1_dir) { FIXTURES_DIR.join("root1") }
let(:root2_dir) { FIXTURES_DIR.join("root2") }
let(:root3_dir) { FIXTURES_DIR.join("root3") }
+ let(:root4_dir) { FIXTURES_DIR.join("root4") }
before do
# The ssh_host private key file is more recent than any other file
@@ -44,9 +45,11 @@
expect(root1.system_name).to eq "Operating system 1"
end
- it "uses 'Linux' as name for systems without /etc/os-release" do
+ it "uses 'Linux' as name for systems without /etc/os-release file" do
root2 = described_class.from_dir(root2_dir)
expect(root2.system_name).to eq _("Linux")
+ root4 = described_class.from_dir(root4_dir)
+ expect(root4.system_name).to eq _("Linux")
end
it "uses name and version when PRETTY_NAME is missing in /etc/os-release"
do