SHA256
1
0
forked from pool/memtest86_
OBS User unknown 2007-08-10 15:11:59 +00:00 committed by Git OBS Bridge
parent 88192cc096
commit 9ba9c339b2
2 changed files with 13 additions and 4 deletions

View File

@ -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 Thu Aug 9 18:34:00 CEST 2007 - duwe@suse.de

View File

@ -11,7 +11,7 @@
Name: memtest86+ Name: memtest86+
Version: 1.70 Version: 1.70
Release: 30 Release: 31
# #
License: BSD 3-Clause License: BSD 3-Clause
Group: System/Boot Group: System/Boot
@ -71,12 +71,14 @@ Authors:
install -D -m 0644 memtest.bin $RPM_BUILD_ROOT/boot/memtest.bin install -D -m 0644 memtest.bin $RPM_BUILD_ROOT/boot/memtest.bin
%post %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+)" /sbin/update-bootloader --add --image /boot/memtest.bin --name "Memory Test (memtest86+)"
fi fi
true
%preun %postun
/sbin/update-bootloader --remove --force --image /boot/memtest.bin test -x /sbin/update-bootloader && /sbin/update-bootloader --remove --force --image /boot/memtest.bin || true
%files %files
%defattr(-,root,root) %defattr(-,root,root)
@ -84,6 +86,8 @@ fi
%doc README* changelog FAQ %doc README* changelog FAQ
%changelog %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 * Thu Aug 09 2007 - duwe@suse.de
- Add memtest86+ to boot menu even if installed later - Add memtest86+ to boot menu even if installed later
(Feature #301969) (Feature #301969)