Accepting request 245044 from Kernel:kdump

Remove mkinitrd_setup from specfile

OBS-URL: https://build.opensuse.org/request/show/245044
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/kdump?expand=0&rev=74
This commit is contained in:
Ludwig Nussel 2014-08-20 15:51:38 +00:00 committed by Git OBS Bridge
commit cc920633ff
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