- 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:
parent
9aab00953e
commit
ac55573727
@ -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
|
Fri Jul 4 11:48:20 UTC 2014 - ptesarik@suse.cz
|
||||||
|
|
||||||
|
@ -154,7 +154,6 @@ fi
|
|||||||
if (( $change_permission )) ; then
|
if (( $change_permission )) ; then
|
||||||
chmod 0600 /etc/sysconfig/kdump
|
chmod 0600 /etc/sysconfig/kdump
|
||||||
fi
|
fi
|
||||||
/sbin/mkinitrd_setup
|
|
||||||
# if /var/log/dump is empty, make it a symlink to /var/crash
|
# 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 ||
|
if test -d /var/log/dump && rmdir /var/log/dump &>/dev/null ||
|
||||||
! test -d /var/log/dump ; then
|
! test -d /var/log/dump ; then
|
||||||
@ -174,7 +173,6 @@ echo "Stopping kdump ..."
|
|||||||
%postun
|
%postun
|
||||||
# force regeneration of kdumprd
|
# force regeneration of kdumprd
|
||||||
touch /etc/sysconfig/kdump
|
touch /etc/sysconfig/kdump
|
||||||
/sbin/mkinitrd_setup
|
|
||||||
# delete symbolic link
|
# delete symbolic link
|
||||||
rm /var/log/dump &>/dev/null || true
|
rm /var/log/dump &>/dev/null || true
|
||||||
%restart_on_update boot.kdump
|
%restart_on_update boot.kdump
|
||||||
|
Loading…
x
Reference in New Issue
Block a user