diff options
author | Zbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl> | 2019-08-01 16:28:29 +0200 |
---|---|---|
committer | Zbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl> | 2019-09-16 18:08:53 +0200 |
commit | 0bb2f0f10e627d33cf3872b2ec35c0454a517ca1 (patch) | |
tree | 7b116412fb6d3befe378d8d09fe1e6f0b932fee8 /src/boot | |
parent | util-lib: move shall_restore_state() to shared/reboot-util (diff) | |
download | systemd-0bb2f0f10e627d33cf3872b2ec35c0454a517ca1.tar.xz systemd-0bb2f0f10e627d33cf3872b2ec35c0454a517ca1.zip |
util-lib: split shared/efivars into basic/efivars and shared/efi-loader
I want to use efivars.[ch] in proc-cmdline.c, but most of the efivars stuff is
not needed in basic/. Move the file from shared/ to basic/, but then move back
most of the higher-level functions to the new shared/efi-loader.c file.
Diffstat (limited to 'src/boot')
-rw-r--r-- | src/boot/bless-boot-generator.c | 2 | ||||
-rw-r--r-- | src/boot/bless-boot.c | 1 | ||||
-rw-r--r-- | src/boot/bootctl.c | 1 |
3 files changed, 3 insertions, 1 deletions
diff --git a/src/boot/bless-boot-generator.c b/src/boot/bless-boot-generator.c index e28cccd761..c59d8aed90 100644 --- a/src/boot/bless-boot-generator.c +++ b/src/boot/bless-boot-generator.c @@ -4,7 +4,7 @@ #include <sys/stat.h> #include <unistd.h> -#include "efivars.h" +#include "efi-loader.h" #include "generator.h" #include "log.h" #include "mkdir.h" diff --git a/src/boot/bless-boot.c b/src/boot/bless-boot.c index f2d033fc40..4747e7fb4f 100644 --- a/src/boot/bless-boot.c +++ b/src/boot/bless-boot.c @@ -5,6 +5,7 @@ #include "alloc-util.h" #include "bootspec.h" +#include "efi-loader.h" #include "efivars.h" #include "fd-util.h" #include "fs-util.h" diff --git a/src/boot/bootctl.c b/src/boot/bootctl.c index ddc267401f..097c796a4e 100644 --- a/src/boot/bootctl.c +++ b/src/boot/bootctl.c @@ -24,6 +24,7 @@ #include "bootspec.h" #include "copy.h" #include "dirent-util.h" +#include "efi-loader.h" #include "efivars.h" #include "env-util.h" #include "escape.h" |