Blame SOURCES/0008-Enable-IPv6-protocol-in-non-QEMU-builds.patch

593ec3
From ebdaa4f4f00c71cc200861fac96066a1e38dd7f1 Mon Sep 17 00:00:00 2001
40e044
From: Ladi Prosek <lprosek@redhat.com>
40e044
Date: Tue, 28 Jun 2016 14:23:19 +0200
c62b1d
Subject: Enable IPv6 protocol in non-QEMU builds
40e044
40e044
RH-Author: Ladi Prosek <lprosek@redhat.com>
40e044
Message-id: <1467123799-26467-1-git-send-email-lprosek@redhat.com>
40e044
Patchwork-id: 70822
40e044
O-Subject: [RHEL7.3 ipxe PATCH v2] Enable IPv6 protocol in non-QEMU builds
40e044
Bugzilla: 1350167
40e044
RH-Acked-by: Lucas Alvares Gomes <lgomes@redhat.com>
40e044
RH-Acked-by: Gerd Hoffmann <kraxel@redhat.com>
40e044
RH-Acked-by: Neil Horman <nhorman@redhat.com>
40e044
RH-Acked-by: Laszlo Ersek <lersek@redhat.com>
40e044
40e044
Enables IPv6 in ipxe-bootimgs and ipxe-roms while keeping the
40e044
QEMU package ipxe-roms-qemu unaffected. This change depends on
40e044
the include order specified in upstream commit c801cb29d647.
40e044
40e044
Bugzilla: https://bugzilla.redhat.com/show_bug.cgi?id=1350167
40e044
Brew: https://brewweb.engineering.redhat.com/brew/taskinfo?taskID=11281457
40e044
40e044
Signed-off-by: Ladi Prosek <lprosek@redhat.com>
40e044
Signed-off-by: Miroslav Rezanina <mrezanin@redhat.com>
c62b1d
(cherry picked from commit 35f4006845436816a651b2f154a37d38d02305d9)
40e044
---
40e044
 src/config/local/general.h      | 3 +++
40e044
 src/config/local/qemu/general.h | 3 +++
40e044
 2 files changed, 6 insertions(+)
40e044
 create mode 100644 src/config/local/qemu/general.h
40e044
40e044
diff --git a/src/config/local/general.h b/src/config/local/general.h
40e044
index 5814511..47d0e1a 100644
40e044
--- a/src/config/local/general.h
40e044
+++ b/src/config/local/general.h
40e044
@@ -1,3 +1,6 @@
40e044
 #undef ROM_BANNER_TIMEOUT
40e044
 #define ROM_BANNER_TIMEOUT     0
40e044
 
40e044
+/* Enable IPv6. Note that we leave this defined only in non-QEMU builds.
40e044
+ * Find the corresponding undef in src/config/local/qemu/general.h */
40e044
+#define NET_PROTO_IPV6
40e044
diff --git a/src/config/local/qemu/general.h b/src/config/local/qemu/general.h
40e044
new file mode 100644
40e044
index 0000000..ef7b5e4
40e044
--- /dev/null
40e044
+++ b/src/config/local/qemu/general.h
40e044
@@ -0,0 +1,3 @@
40e044
+/* IPv6 is enabled only in non-QEMU builds. Find the corresponding define
40e044
+ * in src/config/local/general.h */
40e044
+#undef NET_PROTO_IPV6
40e044
-- 
40e044
1.8.3.1
40e044