[Debconf-devel] Problems preseeding a package at install time - help?

Cyril Brulebois kibi at debian.org
Mon Apr 21 00:31:05 UTC 2014


Jo Shields <directhex at apebox.org> (2014-04-20):
> I want to preseed a preinst value used by the package "libfglrx", which
> is installed via a dependency from "fglrx-driver" which is listed in
> .disk/base_include
> 
> libfglrx.preinst includes the check:
> 
> 	# allow to disable the check via preseeding
> 	db_get fglrx-driver/check-for-unsupported-gpu
> 	test "$RET" = "true" || return 0
> 
> And on an installed system, debconf-get-selections includes:
> 
> libfglrx	fglrx-driver/check-for-unsupported-gpu	boolean true
> 
> which matches the default value defined in libfglrx.templates:
> 
> Template: fglrx-driver/check-for-unsupported-gpu
> Type: boolean
> Default: true
> 
> What I want to do is preseed this value as false, to disable the check.
> I have added to my preseed file:
> 
> libfglrx fglrx-driver/check-for-unsupported-gpu boolean false

I've done that (not installed anything fglrx-ish, just the base system)
and the installed system has indeed the seen flag and the false value
for the said setting… Installing libfglrx afterwards also keeps said
settings. 

It looks to me that d-i/preseed/debconf are working just fine.

I guess you'll need to be more specific about your setup. For a start,
what's your exact preseed file?

Mraw,
KiBi.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 836 bytes
Desc: Digital signature
URL: <http://lists.alioth.debian.org/pipermail/debconf-devel/attachments/20140421/42bb757f/attachment.sig>


More information about the Debconf-devel mailing list