memtest86plus/memtest-setup
cvsdist 3e6a654616 auto-import changelog data from memtest86+-1.11-2.src.rpm
Sun Feb 29 2004 Warren Togami <wtogami@redhat.com> 1.11-2
- switch to memtest86+ 1.11
- add boot loader setup script
Fri Feb 13 2004 Elliot Lee <sopwith@redhat.com>
- rebuilt
Tue Oct 21 2003 Mike A. Harris <mharris@redhat.com> 3.0-3
- Pedantic spec file cleanups - s/Copyright/License/ and use _libdir
    instead of /usr/lib everywhere (even though it's currently x86 only)
Tue Oct 21 2003 Jeremy Katz <katzj@redhat.com> 3.0-2
- fix perms (#107610)
- doesn't really require dev86 to build
Mon Jul 21 2003 Michael Fulbright <msf@redhat.com>
- initial integration into distribution. Removed the scripts to install a
    entry in the boot loader for memtest for the moment, and relocated to
    under /usr/lib.
Thu Apr 17 2003 Joe Szep <jszep@bu.edu>
- rebuilt for Doolittle final
Mon Feb 03 2003 Matthew Miller <mattdm@bu.edu>
- rebuild for doolittle
- patches to make build -- new gcc growing pains, I guess
Tue Jul 30 2002 Matthew Miller <mattdm@bu.edu>
- added grubby stuff
Tue Jul 30 2002 Dave Heistand <davidbh@bu.edu>
- updated source to v 3
Thu Mar 07 2002 Dave Heistand <davidbh@bu.edu>
- updated source to 2.9, also changed setup -n
- to use 1.11.
Thu Nov 01 2001 Matthew Miller <mattdm@bu.edu>
- v 2.8a
- removed lilo-configuring scripts. need to figure out the best way to work
    with grub and RH 7.2 / BU Linux 2.5
- group -> System Environment/Base
Mon Aug 20 2001 Matthew Miller <mattdm@bu.edu>
- v 2.7
Wed Feb 14 2001 Matthew Miller <mattdm@bu.edu>
- v 2.5
Fri Oct 06 2000 Matthew Miller <mattdm@bu.edu>
- v 2.4
Thu Mar 23 2000 Matthew Miller <mattdm@bu.edu>
- changed so that lilo.conf isn't written if it already exists. This is
    important if you're including memtest86 in a distribution
- GPG key available from http://www.bu.edu/dsgsupport/linux/BULinux-GPG-KEY
- changed name of lilo.conf backup file to something less likely to
    conflict with other backups
Wed Mar 01 2000 Matthew Miller <mattdm@bu.edu>
- Updated to version 2.2
- Cosmetic changes to spec file
- updated Source: to reflect actual author's url
Fri Dec 25 1998 Peter Soos <sp@osb.hu>
- Corrected the file attributes
Mon Aug 17 1998 Peter Soos <sp@osb.hu>
- Moved to 1.4a
Mon Jun 22 1998 Peter Soos <sp@osb.hu>
- Moved to 1.4
Wed Dec 31 1997 Peter Soos <sp@osb.hu>
- Initial version
2004-09-09 08:25:45 +00:00

26 lines
554 B
Bash
Executable File

#!/bin/bash
MTVERSION=`rpm -q --qf '%{version}' memtest86+`
MTPATH="/boot/memtest86+-$MTVERSION"
/sbin/grubby --info=$MTPATH > /dev/null 2> /dev/null
if [ "$?" = 0 ]; then
echo "$MTPATH is already configured. Exiting..."
exit 0
fi
if [ ! -f $MTPATH ]; then
echo "ERROR: $MTPATH does not exist."
exit 255
fi
/sbin/new-memtest-pkg --install $MTVERSION --banner="Memtest86+"
RETVAL="$?"
if [ "$RETVAL" != "0" ]; then
echo "ERROR: grubby failed to configure your bootloader for $MTPATH."
exit $RETVAL
fi
echo "Setup complete."