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 ADF1C139085 for ; Mon, 2 Jan 2017 21:09:50 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 4CC90224199; Mon, 2 Jan 2017 21:09:47 +0000 (UTC) Received: from smtp.gentoo.org (mail.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 231A3224199 for ; Mon, 2 Jan 2017 21:09:47 +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 A49CB341016 for ; Mon, 2 Jan 2017 21:09:45 +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> From: Zac Medico Message-ID: <100de3f7-831e-ab84-7cac-9f2f4f841852@gentoo.org> Date: Mon, 2 Jan 2017 13:09:42 -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: <2859498.MH6ModozN9@99d44166af322fc16a4774097a5f271d> Content-Type: text/plain; charset=windows-1252 Content-Transfer-Encoding: 8bit X-Archives-Salt: 6018f313-4d87-4482-a994-17ae6fffbbe3 X-Archives-Hash: cb6e3ca26a9ee3b4fd30200df762227e 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