dcavalca / rpms / grub2

Forked from rpms/grub2 3 years ago
Clone

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

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