public inbox for gentoo-catalyst@lists.gentoo.org
 help / color / mirror / Atom feed
* [gentoo-catalyst] Replace sys-apps/sysvinit with sys-apps/systemd[sysv-utils] in installcd-stage1.spec or installcd-stage2-minimal.spec
@ 2016-12-18 23:42 anonymous0
  2017-01-02 13:14 ` anonymous0
  2017-01-02 21:09 ` Zac Medico
  0 siblings, 2 replies; 4+ messages in thread
From: anonymous0 @ 2016-12-18 23:42 UTC (permalink / raw
  To: gentoo-catalyst

Good day, monks!

I try to build installcd with systemd. So, I want to replace sys-apps/sysvinit with sys-apps/systemd[sysv-utils].

Well, I tried my .spec file (derived from releng/releases/weekly/specs/amd64/installcd-stage1.spec). http://pastebin.com/zRzpYDAS

Diff here http://pastebin.com/YenF9ypQ

And I got error: http://pastebin.com/XgZNXFar

How I can force installation of sys-apps/systemd[sysv-utils]?


^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: [gentoo-catalyst] Replace sys-apps/sysvinit with sys-apps/systemd[sysv-utils] in installcd-stage1.spec or installcd-stage2-minimal.spec
  2016-12-18 23:42 [gentoo-catalyst] Replace sys-apps/sysvinit with sys-apps/systemd[sysv-utils] in installcd-stage1.spec or installcd-stage2-minimal.spec anonymous0
@ 2017-01-02 13:14 ` anonymous0
  2017-01-02 21:09 ` Zac Medico
  1 sibling, 0 replies; 4+ messages in thread
From: anonymous0 @ 2017-01-02 13:14 UTC (permalink / raw
  To: gentoo-catalyst

Happy New Year!

Any ideas about question?


^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: [gentoo-catalyst] Replace sys-apps/sysvinit with sys-apps/systemd[sysv-utils] in installcd-stage1.spec or installcd-stage2-minimal.spec
  2016-12-18 23:42 [gentoo-catalyst] Replace sys-apps/sysvinit with sys-apps/systemd[sysv-utils] in installcd-stage1.spec or installcd-stage2-minimal.spec anonymous0
  2017-01-02 13:14 ` anonymous0
@ 2017-01-02 21:09 ` Zac Medico
  2017-01-02 21:12   ` Zac Medico
  1 sibling, 1 reply; 4+ messages in thread
From: Zac Medico @ 2017-01-02 21:09 UTC (permalink / raw
  To: gentoo-catalyst

On 12/18/2016 03:42 PM, anonymous0@openmailbox.org wrote:
> Good day, monks!
> 
> I try to build installcd with systemd. So, I want to replace sys-apps/sysvinit with sys-apps/systemd[sysv-utils].
> 
> Well, I tried my .spec file (derived from releng/releases/weekly/specs/amd64/installcd-stage1.spec). http://pastebin.com/zRzpYDAS
> 
> Diff here http://pastebin.com/YenF9ypQ
> 
> And I got error: http://pastebin.com/XgZNXFar
> 
> How I can force installation of sys-apps/systemd[sysv-utils]?

In order to do that, you're going to have to eliminate openrc from the
dependency graph, since openrc pulls in sys-apps/sysvinit
unconditionally on linux. If you can repeat the emerge command with the
--tree option, then it should should reveal how openrc got pulled into
the dependency graph.

Troubleshooting dependency problems is off-topic for this list, maybe
forums.gentoo.org or the gentoo-user list would be better. Anyway, maybe
someone here can suggest a good way to add --tree to the emerge options
used by catalyst. I think adding this line to /etc/catalyst/catalystrc
might do it:

EMERGE_DEFAULT_OPTS="--tree"
-- 
Thanks,
Zac


^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: [gentoo-catalyst] Replace sys-apps/sysvinit with sys-apps/systemd[sysv-utils] in installcd-stage1.spec or installcd-stage2-minimal.spec
  2017-01-02 21:09 ` Zac Medico
@ 2017-01-02 21:12   ` Zac Medico
  0 siblings, 0 replies; 4+ messages in thread
From: Zac Medico @ 2017-01-02 21:12 UTC (permalink / raw
  To: gentoo-catalyst

On 01/02/2017 01:09 PM, Zac Medico wrote:
> On 12/18/2016 03:42 PM, anonymous0@openmailbox.org wrote:
>> Good day, monks!
>>
>> I try to build installcd with systemd. So, I want to replace sys-apps/sysvinit with sys-apps/systemd[sysv-utils].
>>
>> Well, I tried my .spec file (derived from releng/releases/weekly/specs/amd64/installcd-stage1.spec). http://pastebin.com/zRzpYDAS
>>
>> Diff here http://pastebin.com/YenF9ypQ
>>
>> And I got error: http://pastebin.com/XgZNXFar
>>
>> How I can force installation of sys-apps/systemd[sysv-utils]?
> 
> In order to do that, you're going to have to eliminate openrc from the
> dependency graph, since openrc pulls in sys-apps/sysvinit
> unconditionally on linux. If you can repeat the emerge command with the
> --tree option, then it should should reveal how openrc got pulled into
> the dependency graph.
> 
> Troubleshooting dependency problems is off-topic for this list, maybe
> forums.gentoo.org or the gentoo-user list would be better. Anyway, maybe
> someone here can suggest a good way to add --tree to the emerge options
> used by catalyst. I think adding this line to /etc/catalyst/catalystrc
> might do it:
> 
> EMERGE_DEFAULT_OPTS="--tree"

Actually, variables in /etc/catalyst/catalystrc have to be exported, so
you'd want this:

export EMERGE_DEFAULT_OPTS="--tree"
-- 
Thanks,
Zac


^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2017-01-02 21:12 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2016-12-18 23:42 [gentoo-catalyst] Replace sys-apps/sysvinit with sys-apps/systemd[sysv-utils] in installcd-stage1.spec or installcd-stage2-minimal.spec anonymous0
2017-01-02 13:14 ` anonymous0
2017-01-02 21:09 ` Zac Medico
2017-01-02 21:12   ` Zac Medico

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox