From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from lists.gentoo.org (pigeon.gentoo.org [208.92.234.80]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by finch.gentoo.org (Postfix) with ESMTPS id 88FE3139085 for ; Mon, 2 Jan 2017 21:12:50 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id B9FD9E0CEC; Mon, 2 Jan 2017 21:12:49 +0000 (UTC) Received: from smtp.gentoo.org (dev.gentoo.org [IPv6:2001:470:ea4a:1:5054:ff:fec7:86e4]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id 8D4ACE0CEC for ; Mon, 2 Jan 2017 21:12:49 +0000 (UTC) Received: from [IPv6:2600:8802:607:6600:2e33:7aff:fef2:3005] (unknown [IPv6:2600:8802:607:6600:2e33:7aff:fef2:3005]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) (Authenticated sender: zmedico) by smtp.gentoo.org (Postfix) with ESMTPSA id 98EEE341016 for ; Mon, 2 Jan 2017 21:12:48 +0000 (UTC) Subject: Re: [gentoo-catalyst] Replace sys-apps/sysvinit with sys-apps/systemd[sysv-utils] in installcd-stage1.spec or installcd-stage2-minimal.spec To: gentoo-catalyst@lists.gentoo.org References: <2859498.MH6ModozN9@99d44166af322fc16a4774097a5f271d> <100de3f7-831e-ab84-7cac-9f2f4f841852@gentoo.org> From: Zac Medico Message-ID: <8b2160da-1ed2-7a3c-7061-fb4b85de0cc9@gentoo.org> Date: Mon, 2 Jan 2017 13:12:45 -0800 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:45.0) Gecko/20100101 Thunderbird/45.4.0 Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-catalyst@lists.gentoo.org Reply-to: gentoo-catalyst@lists.gentoo.org MIME-Version: 1.0 In-Reply-To: <100de3f7-831e-ab84-7cac-9f2f4f841852@gentoo.org> Content-Type: text/plain; charset=windows-1252 Content-Transfer-Encoding: 7bit X-Archives-Salt: 28365900-7939-49d7-a54f-7c2f1c3bf913 X-Archives-Hash: 2a169993557a4c8e176ef16d95ad3bac 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