[prev in list] [next in list] [prev in thread] [next in thread] 

List:       ipfire-development
Subject:    Re: [PATCH] memtest: update to memtest86+ v6.00
From:       Michael Tremer <michael.tremer () ipfire ! org>
Date:       2022-10-27 9:20:22
Message-ID: 2125BDE5-AC16-4A95-B5BA-5460668433D3 () ipfire ! org
[Download RAW message or body]

Hello Arne,

Great patch. I saw the announcement, too.

Is there still no chance to build this from source, or do we just lack some tools?

-Michael

> On 27 Oct 2022, at 09:26, Arne Fitzenreiter <arne_f@ipfire.org> wrote:
> 
> This is now a version 64bit version that can also boot via efi.
> 
> Signed-off-by: Arne Fitzenreiter <arne_f@ipfire.org>
> ---
> config/cdrom/grub.cfg           |  6 ++++++
> config/rootfiles/common/memtest |  2 +-
> lfs/cdrom                       |  2 +-
> lfs/memtest                     | 14 ++++++--------
> 4 files changed, 14 insertions(+), 10 deletions(-)
> 
> diff --git a/config/cdrom/grub.cfg b/config/cdrom/grub.cfg
> index 421c0e662..50a7c2488 100644
> --- a/config/cdrom/grub.cfg
> +++ b/config/cdrom/grub.cfg
> @@ -32,3 +32,9 @@ submenu 'Other Installation Options -->' {
> initrd /boot/isolinux/instroot
> }
> }
> +
> +submenu 'Tools -->' {
> + menuentry 'memtest86+' {
> + linux /boot/isolinux/memtest
> + }
> +}
> diff --git a/config/rootfiles/common/memtest b/config/rootfiles/common/memtest
> index 1804dfa94..7978436fd 100644
> --- a/config/rootfiles/common/memtest
> +++ b/config/rootfiles/common/memtest
> @@ -1,2 +1,2 @@
> #usr/lib/memtest86+
> -#usr/lib/memtest86+/memtest.bin
> +#usr/lib/memtest86+/memtest.efi
> diff --git a/lfs/cdrom b/lfs/cdrom
> index a47faa49e..f4e6e050c 100644
> --- a/lfs/cdrom
> +++ b/lfs/cdrom
> @@ -199,7 +199,7 @@ endif
> 
> ifeq "$(HAS_MEMTEST)" "1"
> # Install memtest
> - cp /usr/lib/memtest86+/memtest.bin $(DIR_TMP)/cdrom/boot/isolinux/memtest
> + cp /usr/lib/memtest86+/memtest.efi $(DIR_TMP)/cdrom/boot/isolinux/memtest
> endif
> 
> ifeq "$(HAS_IPXE)" "1"
> diff --git a/lfs/memtest b/lfs/memtest
> index 7e5ac895f..ae87558de 100644
> --- a/lfs/memtest
> +++ b/lfs/memtest
> @@ -24,9 +24,9 @@
> 
> include Config
> 
> -VER        = 5.01
> +VER        = 6.00
> 
> -THISAPP    = memtest86+-$(VER)
> +THISAPP    = memtest86plus-$(VER)
> DL_FILE    = $(THISAPP).tar.gz
> DL_FROM    = $(URL_IPFIRE)
> DIR_APP    = $(DIR_SRC)/$(THISAPP)
> @@ -41,7 +41,8 @@ objects = $(DL_FILE)
> 
> $(DL_FILE) = $(DL_FROM)/$(DL_FILE)
> 
> -$(DL_FILE)_BLAKE2 = \
> ef63eaabaf6d3d27b85c73618c692dd61cce52f3670a57958d181623888bdc3aa538855da9a82ec2ab70b180938e3df99f0b06f606b2d6f64e8aabbe781b3050
>  +$(DL_FILE)_BLAKE2 = \
> bba26dab7165239fe95dc7f174e5f876f47421008ca6201bc57549598f512df56a6a0ca71f8c2c26c01188d243b58ab6ddd525cf01f0dece0cdb61a6acf38685
>  +
> 
> install : $(TARGET)
> 
> @@ -71,11 +72,8 @@ $(subst %,%_BLAKE2,$(objects)) :
> $(TARGET) : $(patsubst %,$(DIR_DL)/%,$(objects))
> @$(PREBUILD)
> @rm -rf $(DIR_APP) && cd $(DIR_SRC) && tar zxf $(DIR_DL)/$(DL_FILE)
> + cd $(DIR_APP)/build64 && make memtest.efi
> -mkdir -p /usr/lib/memtest86+
> -
> - # 64bit only systems cannot link mentest without 32bit gcc libs
> - # so we use the precompiled binary from memtest author
> - cd $(DIR_APP) && cp -f precomp.bin /usr/lib/memtest86+/memtest.bin
> -
> + cd $(DIR_APP)/build64 && cp -f memtest.efi /usr/lib/memtest86+/memtest.efi
> @rm -rf $(DIR_APP)
> @$(POSTBUILD)
> -- 
> 2.37.1
> 


[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic