[lfs-dev] LFS 7.10: Observation on UEFI booting

Kevin Buckley kevin.m.buckley at gmail.com
Mon Feb 6 13:54:40 PST 2017


I finally got a reply from the issue I had opened at the efivars GitHub.

    https://github.com/rhinstaller/efivar/issues/78

Basically, you clearly shouldn't be runnig that test, although why they changed
the top level "test" target to be "a brick" but still left the test
target in the lower
Makefiles, remains a mystery.

I have altered the hint to reflect that information.

I attach a patch to this email and will attempt to send the full hint
text to Bruce
in another email as it might exceed the list's attachment size limit.
-------------- next part --------------
--- lfs-uefi-20170122.txt	2017-02-07 10:21:33.475602488 +1300
+++ lfs-uefi-20170207.txt	2017-02-07 10:53:38.588466032 +1300
@@ -2,7 +2,7 @@
 
 AUTHORS: Dan McGhee, Kevin M. Buckley
 
-DATE: 2017-10-22
+DATE: 2017-02-07
 
 LICENSE: GNU Free Documentation License Version 1.2
 
@@ -251,36 +251,18 @@
   
         install -v -D -m0755 src/test/tester /usr/bin/efivar-tester
 
-Running the "make test" that the package's documentation suggests, gave a
-rather strange error message,
+Despite pathcing the src/test/Makefile, and that Makefile having a
+"test", target, albeit one which isn't run by default, you SHOULD NOT
+run that "make test", as it has been found to cause firmware bugs.
 
-# make test
-## ...
-## About to test thirtythree
-## testing efi_set_variable()
-## testing efi_get_variable_size()
-## testing efi_get_variable()
-## testing efi_get_variable_attributes()
-## testing efi_del_variable()
-## testing efi_append_variable()
-## testing efi_get_variable()
-## testing efi_del_variable()
-## About to test tentwentyfour
-## testing efi_set_variable()
-## testing efi_get_variable_size()
-## testing efi_get_variable()
-## testing efi_get_variable_attributes()
-## testing efi_del_variable()
-## testing efi_append_variable()
-## FAIL: "tentwentyfour"(line 197) (-1) append test failed: No space left on device
-
-however at time of writing, thoughts on this haven't been forthcoming
-from the EFIVAR community, 
+Here are the thoughts on, and the exhortation not to do, this from 
+the EFIVAR community, 
 
    https://github.com/rhinstaller/efivar/issues/78
 
-though it doesn't appear to prevent things working as expected.
-
+Note that, rather than remove the test from the Makefile, or alter it
+to tell the use not to run it, they've merely hidden it from normal
+invocation.
 
 
       EFIBOOTMGR-14


More information about the lfs-dev mailing list