memtest86+: make the grub detection script work (found by _Marek_).

This commit is contained in:
Juan RP 2013-06-10 09:08:40 +02:00
parent 2889744121
commit 8f96385120
2 changed files with 6 additions and 5 deletions

View file

@ -2,12 +2,12 @@
set -e
# older versions of grub2 do not have this yet (LP: #459080)
if [ ! -e /usr/lib/grub/grub-mkconfig_lib ]; then
if [ ! -e /usr/share/grub/grub-mkconfig_lib ]; then
echo "no grub-mkconfig_lib, exiting"
exit 0
fi
. /usr/lib/grub/grub-mkconfig_lib
. /usr/share/grub/grub-mkconfig_lib
if test -e /boot/memtest86+ ; then
MEMTESTPATH=$( make_system_path_relative_to_its_root "/boot/memtest86+" )

View file

@ -1,7 +1,7 @@
# Template file for 'memtest86+'
pkgname=memtest86+
version=4.20
revision=1
revision=2
homepage="http://www.memtest.org"
distfiles="http://www.memtest.org/download/$version/$pkgname-$version.tar.gz"
short_desc="An Advanced Memory Diagnostic Tool"
@ -21,6 +21,8 @@ long_desc="
as well as a number of general-purpose improvements, including many patches
to memtest86 available from various sources."
only_for_archs="i686 x86_64"
do_build() {
make ${makejobs}
}
@ -34,7 +36,6 @@ memtest86+_package() {
nostrip=yes
noverifyrdeps=yes
pkg_install() {
vmove boot
vmove etc
vmove all
}
}