Hello community, here is the log from the commit of package kdump checked in at Sat Aug 23 00:48:33 CEST 2008. -------- --- kdump/kdump.changes 2008-08-15 14:44:31.000000000 +0200 +++ kdump/kdump.changes 2008-08-18 18:12:09.000000000 +0200 @@ -1,0 +2,12 @@ +Mon Aug 18 18:10:16 CEST 2008 - bwalle@suse.de + +- also create /var/log/dump link when the /var/log/dump directory + did not exist +- delete /var/log/dump link in %postun + +------------------------------------------------------------------- +Mon Aug 18 16:40:53 CEST 2008 - bwalle@suse.de + +- change default for KDUMP_SAVEDIR to "/var/crash" + +------------------------------------------------------------------- New: ---- kdump-f4cf2ef3cc3e6414d7d9386de0ebf7d633cbfed5 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ kdump.spec ++++++ --- /var/tmp/diff_new_pack.T14237/_old 2008-08-23 00:45:53.000000000 +0200 +++ /var/tmp/diff_new_pack.T14237/_new 2008-08-23 00:45:53.000000000 +0200 @@ -22,7 +22,7 @@ Name: kdump License: GPL v2 or later Version: 0.6.3 -Release: 1 +Release: 10 Requires: curl openssh makedumpfile Summary: Script for kdump Group: System/Kernel @@ -34,6 +34,7 @@ %endif PreReq: %insserv_prereq %fillup_prereq mkinitrd Source: %{name}-%{version}.tar.bz2 +Patch0: %{name}-f4cf2ef3cc3e6414d7d9386de0ebf7d633cbfed5 BuildRoot: %{_tmppath}/%{name}-%{version}-build # rename "kdump-helpers" (10.3) -> "kdump" (11.0/SP2) Provides: kdump-helpers = 0.2.4 @@ -55,6 +56,7 @@ %prep %setup +%patch0 -p1 %build mkdir build @@ -70,10 +72,17 @@ # symlink for init script mkdir -p $RPM_BUILD_ROOT/sbin ln -s /etc/init.d/boot.kdump $RPM_BUILD_ROOT/sbin/rckdump +# empty directory +mkdir $RPM_BUILD_ROOT/var/crash %post %{fillup_and_insserv -n kdump boot.kdump} /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 + ln -s /var/crash /var/log/dump +fi %preun echo "Stopping kexec ..." @@ -83,6 +92,8 @@ %restart_on_update boot.kdump %insserv_cleanup /sbin/mkinitrd_setup +# delete symbolic link +rm /var/log/dump &>/dev/null || true %clean [ "$RPM_BUILD_ROOT" != "/" ] && rm -rf $RPM_BUILD_ROOT @@ -101,8 +112,15 @@ /var/adm/fillup-templates/sysconfig.kdump /lib/mkinitrd/scripts/*-kdump.sh %config %{_sysconfdir}/udev/rules.d/70-kdump.rules +%dir /var/crash %changelog +* Mon Aug 18 2008 bwalle@suse.de +- also create /var/log/dump link when the /var/log/dump directory + did not exist +- delete /var/log/dump link in %%postun +* Mon Aug 18 2008 bwalle@suse.de +- change default for KDUMP_SAVEDIR to "/var/crash" * Fri Aug 15 2008 bwalle@suse.de - update to 0.6.3 o make the kdump init script a boot script ("boot.kdump") ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Remember to have fun... --------------------------------------------------------------------- To unsubscribe, e-mail: opensuse-commit+unsubscribe@opensuse.org For additional commands, e-mail: opensuse-commit+help@opensuse.org