1 |
On 01/02/2017 01:09 PM, Zac Medico wrote: |
2 |
> On 12/18/2016 03:42 PM, anonymous0@×××××××××××.org wrote: |
3 |
>> Good day, monks! |
4 |
>> |
5 |
>> I try to build installcd with systemd. So, I want to replace sys-apps/sysvinit with sys-apps/systemd[sysv-utils]. |
6 |
>> |
7 |
>> Well, I tried my .spec file (derived from releng/releases/weekly/specs/amd64/installcd-stage1.spec). http://pastebin.com/zRzpYDAS |
8 |
>> |
9 |
>> Diff here http://pastebin.com/YenF9ypQ |
10 |
>> |
11 |
>> And I got error: http://pastebin.com/XgZNXFar |
12 |
>> |
13 |
>> How I can force installation of sys-apps/systemd[sysv-utils]? |
14 |
> |
15 |
> In order to do that, you're going to have to eliminate openrc from the |
16 |
> dependency graph, since openrc pulls in sys-apps/sysvinit |
17 |
> unconditionally on linux. If you can repeat the emerge command with the |
18 |
> --tree option, then it should should reveal how openrc got pulled into |
19 |
> the dependency graph. |
20 |
> |
21 |
> Troubleshooting dependency problems is off-topic for this list, maybe |
22 |
> forums.gentoo.org or the gentoo-user list would be better. Anyway, maybe |
23 |
> someone here can suggest a good way to add --tree to the emerge options |
24 |
> used by catalyst. I think adding this line to /etc/catalyst/catalystrc |
25 |
> might do it: |
26 |
> |
27 |
> EMERGE_DEFAULT_OPTS="--tree" |
28 |
|
29 |
Actually, variables in /etc/catalyst/catalystrc have to be exported, so |
30 |
you'd want this: |
31 |
|
32 |
export EMERGE_DEFAULT_OPTS="--tree" |
33 |
-- |
34 |
Thanks, |
35 |
Zac |