- specfile: Remove call to mkinitrd_setup. With dracut, this is

completely useless; with mkinitrd, the setup script is run
  automatically after a new mkinitrd script is installed.

OBS-URL: https://build.opensuse.org/package/show/Kernel:kdump/kdump?expand=0&rev=100
This commit is contained in:
Petr Tesařík 2014-08-18 10:21:02 +00:00 committed by Git OBS Bridge
parent 9aab00953e
commit ac55573727
2 changed files with 7 additions and 2 deletions

View File

@ -1,3 +1,10 @@
-------------------------------------------------------------------
Mon Aug 18 10:18:48 UTC 2014 - ptesarik@suse.cz
- specfile: Remove call to mkinitrd_setup. With dracut, this is
completely useless; with mkinitrd, the setup script is run
automatically after a new mkinitrd script is installed.
-------------------------------------------------------------------
Fri Jul 4 11:48:20 UTC 2014 - ptesarik@suse.cz

View File

@ -154,7 +154,6 @@ fi
if (( $change_permission )) ; then
chmod 0600 /etc/sysconfig/kdump
fi
/sbin/mkinitrd_setup
# if /var/log/dump is empty, make it a symlink to /var/crash
if test -d /var/log/dump && rmdir /var/log/dump &>/dev/null ||
! test -d /var/log/dump ; then
@ -174,7 +173,6 @@ echo "Stopping kdump ..."
%postun
# force regeneration of kdumprd
touch /etc/sysconfig/kdump
/sbin/mkinitrd_setup
# delete symbolic link
rm /var/log/dump &>/dev/null || true
%restart_on_update boot.kdump