Buildroot Archive on lore.kernel.org
 help / color / mirror / Atom feed
From: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
To: buildroot@busybox.net
Subject: [Buildroot] [PATCH 1/1] systemd: enable selinux if libselinux is selected.
Date: Fri, 16 Dec 2016 09:10:22 +0100	[thread overview]
Message-ID: <20161216091022.61a7d4d7@free-electrons.com> (raw)
In-Reply-To: <MWHPR19MB1440119476458B1DB7D8E1B9B99D0@MWHPR19MB1440.namprd19.prod.outlook.com>

Hello,

On Thu, 15 Dec 2016 21:23:12 +0000, Adam Duskett wrote:

> diff --git a/package/systemd/systemd.mk b/package/systemd/systemd.mk
> index fa07bd0..ca1f49e 100644
> --- a/package/systemd/systemd.mk
> +++ b/package/systemd/systemd.mk
> @@ -30,7 +30,6 @@ SYSTEMD_CONF_OPTS += \
>  	--enable-blkid \
>  	--enable-static=no \
>  	--disable-manpages \
> -	--disable-selinux \
>  	--disable-pam \
>  	--disable-ima \
>  	--disable-libcryptsetup \
> @@ -153,6 +152,12 @@ else
>  SYSTEMD_CONF_OPTS += --disable-microhttpd --disable-qrencode
>  endif
>  
> +ifeq ($(BR2_PACKAGE_LIBSELINUX),y)
> +SYSTEMD_CONF_OPTS += --enable-selinux

This lacks:

SYSTEMD_DEPENDENCIES += libselinux

Otherwise you are not guarantee that libselinux will be built before
systemd.

Best regards,

Thomas
-- 
Thomas Petazzoni, CTO, Free Electrons
Embedded Linux and Kernel engineering
http://free-electrons.com

      reply	other threads:[~2016-12-16  8:10 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2016-12-15 21:23 [Buildroot] [PATCH 1/1] systemd: enable selinux if libselinux is selected Adam Duskett
2016-12-16  8:10 ` Thomas Petazzoni [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=20161216091022.61a7d4d7@free-electrons.com \
    --to=thomas.petazzoni@free-electrons.com \
    --cc=buildroot@busybox.net \
    /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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox