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.
This commit is contained in:
Zbigniew Jędrzejewski-Szmek
2019-09-16 18:08:53 +02:00
parent 2bfa8466c0
commit 0bb2f0f10e
18 changed files with 297 additions and 263 deletions
+1 -1
View File
@@ -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"
+1
View File
@@ -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"
+1
View File
@@ -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"