On Mon, 06 Dec 2004, Joey Hess wrote:

> Your preseed.cfg is misformatted:
> 
> [EMAIL PROTECTED]:~>debconf-set-selections < preseed.cfg
> error: parse error on line 267: 'ent and received directly using SMTP'
> zsh: exit 1     debconf-set-selections < preseed.cfg
> 
> This appears to be a simple line wrap mistake. Note that preseed is much
> less picky about this than debconf-set-selections, since it's
> implemented in a much less capable language where checking everything
> that debconf-set-selections does would be hard.

ooh thanks for catching that!

how about belows patch to the example syslinux.cfg:

Index: installer/doc/manual/en/appendix/example-preseed.xml
===================================================================
--- installer/doc/manual/en/appendix/example-preseed.xml        (revision 24247)
+++ installer/doc/manual/en/appendix/example-preseed.xml        (working copy)
@@ -312,6 +312,10 @@
 #   debconf-get-selections --installer > file
 #   debconf-get-selections >> file
 
+# Debconf has much stricter validity checks. It catches errors like line
+# wrap mistakes. You may want to check the validity of your syslinux.cfg:
+#   debconf-set-selections < syslinux.cfg
+
 # If you like, you can include other preseed files into this one.
 # Any settings in those files will override pre-existing settings from this
 # file. More that one file can be listed, separated by spaces; all will be


--
maks



-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]

Reply via email to