]> git.ipfire.org Git - thirdparty/dracut.git/commitdiff
fix(s390_rules): drop collect installation
authorThomas Blume <Thomas.Blume@suse.com>
Fri, 23 Oct 2020 15:43:00 +0000 (17:43 +0200)
committerJóhann B. Guðmundsson <johannbg@gmail.com>
Mon, 22 Nov 2021 18:09:55 +0000 (18:09 +0000)
/usr/lib/udev/collect has been removed from udev-v246, so remove it
from the initrd too

modules.d/95dasd_rules/module-setup.sh
modules.d/95qeth_rules/module-setup.sh
modules.d/95zfcp_rules/module-setup.sh

index e7f0e1dd1d1f70a61b5da32f2abe1abb8ee39333..6a9382c4b7c58dbbce4bfec130014104b7530546 100755 (executable)
@@ -26,7 +26,6 @@ check() {
     local found=0
     local bdev
     [ "$_arch" = "s390" -o "$_arch" = "s390x" ] || return 1
-    require_binaries /usr/lib/udev/collect || return 1
 
     [[ $hostonly ]] || [[ $mount_needs ]] && {
         for bdev in /sys/block/*; do
@@ -50,7 +49,6 @@ depends() {
 
 # called by dracut
 install() {
-    inst_multiple /usr/lib/udev/collect
     inst_hook cmdline 30 "$moddir/parse-dasd.sh"
     if [[ $hostonly_cmdline == "yes" ]]; then
         local _dasd
index 884ae072e4c0424cc5872c9dbb52e3d12b259323..a84ac1514d37ac1994d50bd431d595b422c3a74b 100755 (executable)
@@ -5,7 +5,6 @@ check() {
     local _arch=${DRACUT_ARCH:-$(uname -m)}
     local _online=0
     [ "$_arch" = "s390" -o "$_arch" = "s390x" ] || return 1
-    require_binaries /usr/lib/udev/collect || return 1
     dracut_module_included network || return 1
 
     [[ $hostonly ]] && {
@@ -56,5 +55,4 @@ install() {
         [ -n "$id" ] && inst_rules_qeth "$id"
     done
 
-    inst_simple /usr/lib/udev/collect
 }
index 59073d9e222451cbccf38be4023756b38859e5e1..2450c099048824319cf0db898a6ca3de428316fd 100755 (executable)
@@ -45,7 +45,6 @@ check() {
     local _arch=${DRACUT_ARCH:-$(uname -m)}
     local _ccw
     [ "$_arch" = "s390" -o "$_arch" = "s390x" ] || return 1
-    require_binaries /usr/lib/udev/collect || return 1
 
     [[ $hostonly ]] || [[ $mount_needs ]] && {
         found=0
@@ -66,7 +65,6 @@ depends() {
 
 # called by dracut
 install() {
-    inst_multiple /usr/lib/udev/collect
     inst_hook cmdline 30 "$moddir/parse-zfcp.sh"
     if [[ $hostonly_cmdline == "yes" ]]; then
         local _zfcp