Bug 1203019 - yast2: replace mkinitrd wrapper with native dracut
yast2: replace mkinitrd wrapper with native dracut
Classification: openSUSE
Product: openSUSE Tumbleweed
Classification: openSUSE
Component: YaST2
Other Other
: P5 - None : Normal (vote)
: ---
Assigned To: YaST Team
Jiri Srain
Depends on:
Blocks: 1202351
  Show dependency treegraph
Reported: 2022-09-01 10:35 UTC by Antonio Feijoo
Modified: 2022-09-02 07:34 UTC (History)
1 user (show)

See Also:
Found By: ---
Services Priority:
Business Priority:
Blocker: ---
Marketing QA Status: ---
IT Deployment: ---


Note You need to log in before you can comment on or make changes to this bug.
Description Antonio Feijoo 2022-09-01 10:35:41 UTC
+++ This bug was initially created as a clone of Bug #1202351 +++

Upstream support removed in March 2021 (https://github.com/dracutdevs/dracut/commit/43df4ee2) and deprecation announcement on factory mailing list in May 2021 (https://lists.opensuse.org/archives/list/factory@lists.opensuse.org/thread/GDAZ7TVXS2BAXENVBAMHVXVHLSR7D7NQ/).

ALP will not ship the mkinitrd wrapper, so it's better to get rid of it in Tumbleweed first.


- yast2

/usr/share/YaST2/modules/Initrd.rb:72:      # parametr for mkinitrd because of splash screen
/usr/share/YaST2/modules/Initrd.rb:75:      # Additional parameters for mkinitrd
/usr/share/YaST2/modules/Initrd.rb:391:                "/lib/mkinitrd/scripts/setup-splash.sh"
/usr/share/YaST2/modules/Initrd.rb:400:          "/sbin/mkinitrd %1 %2 >> %3 2>&1",
/usr/share/YaST2/modules/Initrd.rb:405:          File.join(Directory.logdir, "y2logmkinitrd").shellescape
/usr/share/YaST2/modules/Initrd.rb:411:            Ops.add(Directory.logdir, "/y2logmkinitrd")
/usr/share/YaST2/modules/Initrd.rb:434:    # Set the -s parameter of mkinitrd
/usr/share/YaST2/modules/Initrd.rb:463:    # Get additional parameters for mkinitrd
/usr/share/YaST2/modules/Initrd.rb:464:    # @return [String] additional mkinitrd parameters
/usr/share/YaST2/modules/Initrd.rb:469:    # Set additional parameters for mkinitrd
/usr/share/YaST2/modules/Initrd.rb:470:    # @param [String] params string additional mkinitrd parameters

# rpm -qf /usr/share/YaST2/modules/Initrd.rb

- yast2-country

/usr/share/YaST2/modules/Timezone.rb:85:      # if mkinitrd should be called at the end
/usr/share/YaST2/modules/Timezone.rb:86:      @call_mkinitrd = false
/usr/share/YaST2/modules/Timezone.rb:467:      Builtins.y2milestone("calling mkinitrd...")
/usr/share/YaST2/modules/Timezone.rb:470:        "/sbin/mkinitrd >> /var/log/YaST2/y2logmkinitrd 2>> /var/log/YaST2/y2logmkinitrd"
/usr/share/YaST2/modules/Timezone.rb:860:      CallMkinitrd() if @call_mkinitrd && !Stage.initial
/usr/share/YaST2/modules/Timezone.rb:1081:    publish :variable => :call_mkinitrd, :type => "boolean"

# rpm -qf /usr/share/YaST2/modules/Timezone.rb

- yast2-kdump

/usr/share/YaST2/modules/Kdump.rb:419:      update_command = (using_fadump? ? "/usr/sbin/mkdumprd -f" : "/sbin/mkinitrd")
/usr/share/YaST2/modules/Kdump.rb:426:      update_logfile = File.join(Directory.logdir, "y2logmkinitrd")

# rpm -qf /usr/share/YaST2/modules/Kdump.rb