diff mbox series

[v3,5/5] CI: Adapt EFI Boot Guard build

Message ID 20220322112903.32726-5-christian.storm@siemens.com
State Accepted
Headers show
Series [v3,1/5] bootloader: runtime-dynamic bootloader selection | expand

Commit Message

Storm, Christian March 22, 2022, 11:29 a.m. UTC
Runtime-dynamic bootloader selection requires
the libebgenv.so shared library to be available.
Also adapt to the official installation instructions.

Signed-off-by: Christian Storm <christian.storm@siemens.com>
---
 ci/install-src-deps.sh | 9 ++++-----
 1 file changed, 4 insertions(+), 5 deletions(-)
diff mbox series

Patch

diff --git a/ci/install-src-deps.sh b/ci/install-src-deps.sh
index 748b9fa..943f248 100755
--- a/ci/install-src-deps.sh
+++ b/ci/install-src-deps.sh
@@ -44,12 +44,11 @@  install_libubootenv() {
 install_efibootguard() {
     git clone https://github.com/siemens/efibootguard.git
     cd efibootguard
+    git submodule update --init
     autoreconf -fi
-    ./configure
-    make libebgenv.a
-    $_SUDO install -m 644 libebgenv.a /usr/local/lib/libebgenv.a
-    $_SUDO install -m 755 -d /usr/include/efibootguard
-    $_SUDO install -m 644 include/ebgenv.h /usr/include/efibootguard/ebgenv.h
+    ./configure --disable-bootloader
+    make
+    $_SUDO make install
     cd ..
 }