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

Re: noninteractive & firmware



Will Murnane wrote:
> I put a script in config/chroot_local-hooks to accept the sun-java6
> license; it looks like this:
> echo "I: Accepting license for sun-java6-jre etc"
> cat << EOF | debconf-set-selections
> sun-java6-bin   shared/accepted-sun-dlj-v1-1    boolean true
> sun-java6-jre   shared/accepted-sun-dlj-v1-1    boolean true
> EOF
> apt-get install -y sun-java6-jre sun-java6-plugin

way too complicated, the elegant and imho right solution is putting this:

  sun-java5-bin shared/accepted-sun-dlj-v1-1 boolean true

resp.

  sun-java6-bin shared/accepted-sun-dlj-v1-1 boolean true

into config/chroot_local-preseed/sun-java5 resp.
config/chroot_local-preseed/sun-java6.

live-helper then takes it up automatically.

the same you do with:

  firmware-ipw2x00 firmware-ipw2x00/license/accepted boolean true

in config/chroot_local-preseed/firmware-nonfree.

-- 
Address:        Daniel Baumann, Burgunderstrasse 3, CH-4562 Biberist
Email:          daniel.baumann@panthera-systems.net
Internet:       http://people.panthera-systems.net/~daniel-baumann/


Reply to: