Gentoo Archives: gentoo-catalyst

From: Martino Dell'Ambrogio <martino.dellambrogio@××××.ch>
To: gentoo-catalyst@l.g.o
Subject: Re: [gentoo-catalyst] How to accept licences
Date: Mon, 27 Jun 2011 20:20:23
Message-Id: assp.01591cbfaa.4E08E5F0.8020700@kyos.ch
In Reply to: Re: [gentoo-catalyst] How to accept licences by Sebastian Pipping
1 Thanks to your advice, I discovered that the "autoresume" feature was
2 preventing the script to be loaded... the -a flag fixed it.
3
4 Thanks to all who helped! I'm absolutely new to catalyst, hope to get
5 better soon.
6
7 Martino Dell'Ambrogio
8 Security Auditor
9
10 -----------------------------------------------------------------------
11 KYOS IT SECURITY
12 Consulting, Integration and Facility Management
13 12 bis avenue Rosemont - 1208 Geneva
14 Tel:+41 (0)22 734 7888
15 mobile:+41 (0)79 715 12 90
16 Fax:+41 (0)22 734 7903
17 http://www.kyos.ch - martino.dellambrogio@××××.ch
18 -----------------------------------------------------------------------
19
20
21 On 06/27/2011 06:54 PM, Sebastian Pipping wrote:
22 > On 06/27/2011 05:43 PM, Martino Dell'Ambrogio wrote:
23 >> [..] even with an export ACCEPT_LICENSE="*" within catalystrc
24 > Is there any indicator that calalyst is even sourcing that script? Have
25 > you tried putting echos or "exit 1" in there?
26 >
27 > This is an adapted workround of mine to put into the *envscript* to get
28 > certain stuff into the chroot's /etc/make.conf:
29 >
30 >
31 > ====================================================================
32 > if [[ ! -f /root/envscript_actions_run ]]; then
33 > touch /root/envscript_actions_run
34 >
35 > cat<<-MAKE_CONF_EOF>> /etc/make.conf
36 >
37 > ACCEPT_LICENSE="* -@EULA dlj-1.1"
38 > MAKE_CONF_EOF
39 > fi
40 > ====================================================================
41 >
42 >
43 > If anyone is aware of a cleaner solution, please share.
44 >
45 > Martino, if you find out later why ACCEPT_LICENSE doesn't work straight
46 > from the environment, please let us know.
47 >
48 > Best,
49 >
50 >
51 >
52 > Sebastian
53 >

Replies

Subject Author
Re: [gentoo-catalyst] How to accept licences Matt Turner <mattst88@g.o>