[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#284289: partial preseeding after manual partman



On Mon, Dec 06, 2004 at 08:00:35PM +0100, maximilian attems wrote:
> On Mon, 06 Dec 2004, Joey Hess wrote:
> 
> > Your preseed.cfg is misformatted:
> > 
> > joey@dragon:~>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-get-selections --installer > preseed.cfg
  #   debconf-get-selections >> preseed.cfg
>  
> +# 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
> +
 +# Debconf has much stricter validity checks. It catches errors like line
 +# wrap mistakes. You may want to check the validity of your preseed.cfg
 +#   debconf-set-selections < preseed.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

If the usefull test hint makes it into the manual,
then please use consistent filenames.


Cheers
Geert Stappers

Attachment: signature.asc
Description: Digital signature


Reply to: