Update from aur
This commit is contained in:
@@ -3,7 +3,7 @@
|
||||
_pkgbasename=memtest86
|
||||
pkgname=$_pkgbasename-efi
|
||||
pkgver=7.4
|
||||
pkgrel=1
|
||||
pkgrel=3
|
||||
pkgdesc="A free, thorough, stand alone memory test as an EFI application"
|
||||
arch=('i686' 'x86_64')
|
||||
url="http://www.memtest86.com"
|
||||
@@ -21,7 +21,7 @@ source=("$_pkgbasename-$pkgver.iso.tar.gz::http://www.memtest86.com/downloads/$_
|
||||
"memtest86-efi-update.hook"
|
||||
"memtest86-efi-remove.hook")
|
||||
md5sums=('1719171a1d84d6b183112568cbdf8d61'
|
||||
'5dc6005ffd904163c40ceb06e68a467b'
|
||||
'9d970ce33ec9633fc823916faf614b61'
|
||||
'6c096df3f55baf3e27c3bd605a418aa2'
|
||||
'8b4aa0e2f5d769d902459c8f8d514336'
|
||||
'496120c33c2af986933bf33456fa6cf3'
|
||||
|
@@ -51,6 +51,8 @@ install() {
|
||||
echo -en "else enter device path manually (like ${CB}/dev/sdXY${CR}): "
|
||||
read choice
|
||||
[[ -n $choice ]] && partition=$choice
|
||||
partnumber=$(echo $partition | grep -Eo '[0-9]+$')
|
||||
[[ $partition == "/dev/nvme"* ]] && device=$(echo $partition | cut -dp -f1) || device=${partition//$partnumber}
|
||||
|
||||
# Find ESP mount point
|
||||
esp=$(mount | grep $partition | awk '{print $3}' | tail -n1)
|
||||
@@ -95,7 +97,7 @@ install() {
|
||||
checkcommand efibootmgr
|
||||
_common_install
|
||||
echo -e "\nAdd a new EFI boot entry..."
|
||||
efibootmgr -c -d ${partition:0:8} -p ${partition:8} -w -L "MemTest86" -l "\EFI\memtest86\memtest$ARCH.efi" # Manage efi entry
|
||||
efibootmgr -c -d ${device} -p ${partnumber} -w -L "MemTest86" -l "\EFI\memtest86\memtest$ARCH.efi" # Manage efi entry
|
||||
;;
|
||||
|
||||
3) # Install MemTest86 in $esp/EFI/memtest86/ & add a file for GRUB2
|
||||
|
Reference in New Issue
Block a user