Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Remove useless udevadm calls from kernel_finish client #927

Merged
merged 3 commits into from Mar 11, 2021
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Jump to
Jump to file
Failed to load files.
Diff view
Diff view
7 changes: 7 additions & 0 deletions package/yast2-installation.changes
@@ -1,3 +1,10 @@
-------------------------------------------------------------------
Wed Mar 10 17:25:29 UTC 2021 - Knut Anderssen <kanderssen@suse.com>

- Do not trigger any kernel event with udevadm from the
kernel_finish client (bsc#1180535)
- 4.3.33

-------------------------------------------------------------------
Wed Mar 10 10:06:00 UTC 2021 - Imobach Gonzalez Sosa <igonzalezsosa@suse.com>

Expand Down
2 changes: 1 addition & 1 deletion package/yast2-installation.spec
Expand Up @@ -16,7 +16,7 @@
#

Name: yast2-installation
Version: 4.3.32
Version: 4.3.33
Release: 0
Group: System/YaST
License: GPL-2.0-only
Expand Down
11 changes: 1 addition & 10 deletions src/lib/installation/clients/kernel_finish.rb
Expand Up @@ -30,6 +30,7 @@
#
# $Id$
#

module Yast
class KernelFinishClient < Client
def main
Expand Down Expand Up @@ -77,16 +78,6 @@ def main

# Write list of modules to load after system gets up
Kernel.SaveModulesToLoad

# BNC #427705, formerly added as BNC #163073
# after the chroot into the installed system has been performed.
# This will recreate all missing links.
# bnc#774301 - without --action=change at least when installing
# over lcs device on s390 emulated eth device get lost
SCR.Execute(
path(".target.bash"),
"/usr/bin/udevadm trigger --action=change; /usr/bin/udevadm settle --timeout=60"
)
else
Builtins.y2error("unknown function: %1", @func)
@ret = nil
Expand Down