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:
> 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.

 Is this a debconf note or prompt?

> 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".

 if it's debconf based, you want to preseed the debconf database with
 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.


I think they might want the validation owner to explicitly/manual accept the license once instead of just hard coding accepting it in a script.

I think one way to do that is to assume that the same license has been accepted on the control node manually by the admin and then lmc grows feature to preseed certain debconf keys on the target by taking their current values from the host machine.

--

 - Alexander