From 79917e7e88226fb16dae5887407234c8d88c5f51 Mon Sep 17 00:00:00 2001
From: "Brian C. Lane" <bcl@redhat.com>
Date: Tue, 8 Aug 2017 11:04:58 -0700
Subject: [PATCH] Document kickstart restrictions on %include (#1418500)

%include cannot be used with livemedia-creator

Resolves: rhbz#1418500
---
 README.livemedia-creator | 9 +++++++++
 1 file changed, 9 insertions(+)

diff --git a/README.livemedia-creator b/README.livemedia-creator
index cee3bc44..240cd5ea 100644
--- a/README.livemedia-creator
+++ b/README.livemedia-creator
@@ -87,6 +87,15 @@ iso using GNOME, and the other to create a minimal disk image. When creating you
 own kickstarts you should start with the minimal example, it includes several
 needed packages that are not always included by dependencies.
 
+livemedia-creator parses the 'part /' entry to determine how big a disk image
+needs to be created. This means that the common kickstart technique of using
+%pre to generate a partition scheme for use with %include will not work. There
+needs to be a 'part /' entry in the main part of the kickstart.
+
+Only one kickstart file is supported, so if your kickstart is built from a
+number of %include commands it needs to be flattened into a single file with
+ksflatten first.
+
 Or you can use existing spin kickstarts to create live media with a few
 changes. Here are the steps I used to convert the Fedora XFCE spin.