Bug#859438: preseed header magic
Geert Stappers <email@example.com> wrote:
> Package: installation-guide
> Version: 20161031
> Tags: patch stretch
> The long run goal is to make preseed
> being able to identify that it is reading a preseed file.
> The wanted way to go is adding header magic.
> In https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=848726
> is a bugreport against preseed. This one against installation-guide
The patch for the manual was committed in the meantime, but now the new
header is not included in the example-preseed.txt file, see
This is, because the script, which generates the example-preseed.txt file,
only parses parts of the preseed.xml which are between <informalexample>
tags that have the attribute 'role="example"' set.
(This documented at the beginning of the ../en/appendix/preseed.xml.)
And there is nothing like that ATM in the manual.
The attached patch adds the needed paragraph in B.4 chapter at the very
beginning (the already existing content regarding the new header is in B.3).
Created with Sylpheed 3.5.0 under
D E B I A N L I N U X 8 . 0 " J E S S I E " .
Registered Linux User #311290 - https://linuxcounter.net/
--- en/appendix/preseed.xml (Revision 70688)
+++ en/appendix/preseed.xml (Arbeitskopie)
@@ -762,6 +762,16 @@
+For the &d-i; to be able to automatically detect preseed files, such files
+need to start with the <quote>#_preseed_V1</quote> header:
+# Header for installer preseed files, for automatical detection of these files:
Details on how the different Debian Installer components actually work can be
found in <xref linkend="module-details"/>.