On Wed, Sep 7, 2011 at 11:39 AM, Loïc Minier <loic.minier@linaro.org> wrote:
On Wed, Sep 07, 2011, Tony Mansson wrote:Is this a debconf note or prompt?
> The Snowball s/w design team decided to use the debian mechanism for
> license acceptance of h/w-pack binaries, so there are pop-ups when you
> run Linaro-Media-Create.
if it's debconf based, you want to preseed the debconf database with
> When Validation creates new images all the time, the conscious action
> "click through" must be replaced by the conscious action "I am the
> maintainer of this Validation farm, I hereby accept the license once
> and for all and from now on l-m-c will not pop up the licenses in any
> of *these* packages that are automatically installed in my lab".
debconf-set-selections to set the relevant flag before installing the
packages. Image creation tools could be patched to allow running a
custom script before installing hwpacks; you would pass a script which
would run debconf-set-selections.
See also debconf-get-selections to dump your debconf question db.