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

Re: Problems preseeding a package at install time - help?



Jo Shields <directhex@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.

Attachment: signature.asc
Description: Digital signature


Reply to: