This commit is contained in:
parent
88192cc096
commit
9ba9c339b2
@ -1,3 +1,8 @@
|
||||
-------------------------------------------------------------------
|
||||
Fri Aug 10 12:57:40 CEST 2007 - duwe@suse.de
|
||||
|
||||
- Do not fail to install if update-bootloader is not there.
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Thu Aug 9 18:34:00 CEST 2007 - duwe@suse.de
|
||||
|
||||
|
@ -11,7 +11,7 @@
|
||||
|
||||
Name: memtest86+
|
||||
Version: 1.70
|
||||
Release: 30
|
||||
Release: 31
|
||||
#
|
||||
License: BSD 3-Clause
|
||||
Group: System/Boot
|
||||
@ -71,12 +71,14 @@ Authors:
|
||||
install -D -m 0644 memtest.bin $RPM_BUILD_ROOT/boot/memtest.bin
|
||||
|
||||
%post
|
||||
if [ "$YAST_IS_RUNNING" != instsys -a $1 = 1 ]; then
|
||||
if [ "$YAST_IS_RUNNING" != instsys -a $1 = 1 -a \
|
||||
-x /sbin/update-bootloader ]; then
|
||||
/sbin/update-bootloader --add --image /boot/memtest.bin --name "Memory Test (memtest86+)"
|
||||
fi
|
||||
true
|
||||
|
||||
%preun
|
||||
/sbin/update-bootloader --remove --force --image /boot/memtest.bin
|
||||
%postun
|
||||
test -x /sbin/update-bootloader && /sbin/update-bootloader --remove --force --image /boot/memtest.bin || true
|
||||
|
||||
%files
|
||||
%defattr(-,root,root)
|
||||
@ -84,6 +86,8 @@ fi
|
||||
%doc README* changelog FAQ
|
||||
|
||||
%changelog
|
||||
* Fri Aug 10 2007 - duwe@suse.de
|
||||
- Do not fail to install if update-bootloader is not there.
|
||||
* Thu Aug 09 2007 - duwe@suse.de
|
||||
- Add memtest86+ to boot menu even if installed later
|
||||
(Feature #301969)
|
||||
|
Loading…
x
Reference in New Issue
Block a user