summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorcos <cos>2023-11-01 10:49:46 +0100
committerSteve McIntyre <steve@einval.com>2023-11-01 10:32:44 +0000
commitbdb269b1ba8a8f89b5dd527f0225f1f45ee413d6 (patch)
treee26a192bf2103f19b3667f13e64aadc006ad58fa
parentf4f7e14672b091889d89b7750519c47f57b50e6e (diff)
downloadsteve-scripts-bdb269b1ba8a8f89b5dd527f0225f1f45ee413d6.zip
Start each generated file with #_preseed_V1master
As mentioned in [Appendix B][B.3] of the bookworm Installation Guide > The file should start with #_preseed_V1 [B.3]: https://www.debian.org/releases/bookworm/amd64/apbs03.en.html
-rwxr-xr-xextract_template.pl1
1 files changed, 1 insertions, 0 deletions
diff --git a/extract_template.pl b/extract_template.pl
index c11137f..e1c6632 100755
--- a/extract_template.pl
+++ b/extract_template.pl
@@ -210,6 +210,7 @@ if (scalar (@ARGV)) {
open($out_fh, ">", "$outfile.new")
or die "Can't open $outfile.new for writing: $!\n";
}
+ print $out_fh "#_preseed_V1\n";
foreach my $file (@inputs) {
if ($verbose) {
print STDERR "Checking for debs in $file\n";