Projects
Eulaceura:Factory
dracut
_service:obs_scm:dracut-network-fixed-net-rules...
Sign Up
Log In
Username
Password
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File _service:obs_scm:dracut-network-fixed-net-rules-issue-hence-systemd-r.patch of Package dracut
From b586f1d465f7454aa55bcf623409c6d86215ab15 Mon Sep 17 00:00:00 2001 From: rpm-build <rpm-build> Date: Wed, 25 Sep 2019 22:38:58 +0800 Subject: [PATCH] dracut-network: fixed net-rules issue hence systemd rename netif when anaconda pxe install --- modules.d/35network-legacy/net-genrules.sh | 2 ++ 1 file changed, 2 insertions(+) diff --git a/modules.d/35network-legacy/net-genrules.sh b/modules.d/35network-legacy/net-genrules.sh index e6035e5..b111c0b 100755 --- a/modules.d/35network-legacy/net-genrules.sh +++ b/modules.d/35network-legacy/net-genrules.sh @@ -113,8 +113,10 @@ command -v fix_bootif >/dev/null || . /lib/net-lib.sh # Fixme: waiting for the interface as well. else cond='ACTION=="add", SUBSYSTEM=="net", ENV{DEVTYPE}!="wlan|wwan"' + cond2='ACTION=="move", SUBSYSTEM=="net", ENV{DEVTYPE}!="wlan|wwan"' # if you change the name of "91-default-net.rules", also change modules.d/80cms/cmssetup.sh echo "$cond, $runcmd" > /etc/udev/rules.d/91-default-net.rules + echo "$cond2, $runcmd" >> /etc/udev/rules.d/91-default-net.rules if [ "$NEEDNET" = "1" ]; then # shellcheck disable=SC2016 echo 'for i in /tmp/net.*.did-setup; do [ -f "$i" ] && exit 0; done; exit 1' > "$hookdir"/initqueue/finished/wait-network.sh -- 1.8.3.1
Locations
Projects
Search
Status Monitor
Help
Open Build Service
OBS Manuals
API Documentation
OBS Portal
Reporting a Bug
Contact
Mailing List
Forums
Chat (IRC)
Twitter
Open Build Service (OBS)
is an
openSUSE project
.
浙ICP备2022010568号-2