nalika / rpms / grub2

Forked from rpms/grub2 2 years ago
Clone

Blame SOURCES/0206-Add-loadenv-to-blscfg-and-loadenv-source-file-list.patch

d9d99f
From 0000000000000000000000000000000000000000 Mon Sep 17 00:00:00 2001
d9d99f
From: Will Thompson <wjt@endlessm.com>
d9d99f
Date: Fri, 13 Jul 2018 05:51:54 +0100
d9d99f
Subject: [PATCH] Add loadenv to blscfg and loadenv source file list
d9d99f
MIME-Version: 1.0
d9d99f
Content-Type: text/plain; charset=UTF-8
d9d99f
Content-Transfer-Encoding: 8bit
d9d99f
d9d99f
Without this, `make distcheck` fails because loadenv.h is not included
d9d99f
in the source tarball.
d9d99f
d9d99f
This broke in ‘Add blscfg command support to parse BootLoaderSpec config
d9d99f
fragments’.
d9d99f
d9d99f
Signed-off-by: Will Thompson <wjt@endlessm.com>
d9d99f
---
d9d99f
 grub-core/Makefile.core.def | 2 ++
d9d99f
 1 file changed, 2 insertions(+)
d9d99f
d9d99f
diff --git a/grub-core/Makefile.core.def b/grub-core/Makefile.core.def
b71686
index 2851437e0..aa44d66ac 100644
d9d99f
--- a/grub-core/Makefile.core.def
d9d99f
+++ b/grub-core/Makefile.core.def
d9d99f
@@ -781,6 +781,7 @@ module = {
d9d99f
 module = {
d9d99f
   name = blscfg;
d9d99f
   common = commands/blscfg.c;
d9d99f
+  common = commands/loadenv.h;
d9d99f
   enable = efi;
d9d99f
   enable = i386_pc;
d9d99f
   enable = emu;
d9d99f
@@ -947,6 +948,7 @@ module = {
d9d99f
 module = {
d9d99f
   name = loadenv;
d9d99f
   common = commands/loadenv.c;
d9d99f
+  common = commands/loadenv.h;
d9d99f
   common = lib/envblk.c;
d9d99f
 };
d9d99f