All of lore.kernel.org
 help / color / mirror / Atom feed
From: Bruce Dubbs <bruce.dubbs@gmail.com>
To: Karel Zak <kzak@redhat.com>,
	Fredrik Johnsson <fredrik.johnsson@axis.com>
Cc: "util-linux@vger.kernel.org" <util-linux@vger.kernel.org>
Subject: Re: Cyclic dependency with systemd?
Date: Thu, 14 Jan 2016 10:15:49 -0600	[thread overview]
Message-ID: <5697C9B5.8010103@gmail.com> (raw)
In-Reply-To: <20160114103158.rffxxsnkn466ofj5@ws.net.home>

Karel Zak wrote:
> On Thu, Jan 14, 2016 at 09:04:25AM +0000, Fredrik Johnsson wrote:
>> I have not run into any problems myself but can this be an issue? In
>> theory: If you compile systemd without util-linux, it should fail
>> because it needs libmount, and if you try to compile util-linux, it
>> should also fail because it needs sd_booted from libsystemd.
>
> The dependence on libsystemd is optional:
>
>   1/ build util-linux --without-systemd
>   2/ build systemd
>   3/ re-build util-linux --with-systemd
>
> anyway, people usually don't build all from scratch. If you already
> have system with all the dependencies then you can build without extra
> care about this issue.

For those of us who do build everything from scratch and choose to not use 
systemd, there is also a circular dependency on udev (we use eudev).  For 
our first build of util-linux we use --without-systemdsystemunitdir

   -- Bruce Dubbs
      linuxfromscratch.org

      reply	other threads:[~2016-01-14 16:15 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2016-01-14  9:04 Cyclic dependency with systemd? Fredrik Johnsson
2016-01-14 10:31 ` Karel Zak
2016-01-14 16:15   ` Bruce Dubbs [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=5697C9B5.8010103@gmail.com \
    --to=bruce.dubbs@gmail.com \
    --cc=fredrik.johnsson@axis.com \
    --cc=kzak@redhat.com \
    --cc=util-linux@vger.kernel.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.