All of lore.kernel.org
 help / color / mirror / Atom feed
From: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
To: buildroot@busybox.net
Subject: [Buildroot] [PATCH v2,1/8] libselinux: bump to version 2.8
Date: Wed, 10 Oct 2018 21:35:28 +0200	[thread overview]
Message-ID: <20181010213528.4805f9e6@windsurf> (raw)
In-Reply-To: <20180921205013.21829-1-fontaine.fabrice@gmail.com>

Hello Fabrice,

On Fri, 21 Sep 2018 22:50:06 +0200, Fabrice Fontaine wrote:

> - Use DESTDIR=$(HOST_DIR) instead of PREFIX=$(HOST_DIR) to install host
>   variant

Why do you do this ? Setting prefix to $(HOST_DIR) is the right thing
to do for host packages, at least in the normal semantic of prefix and
destdir, as defined by the autotools. I think Marcus patched the
SELinux build system to restore a semantic of PREFIX and DESTDIR that
matched the one of the autotools, but you're now going backward with
doing DESTDIR=$(HOST_DIR).

If the semantic of DESTDIR and PREFIX is standard, then:

 - Target packages should use PREFIX=/usr DESTDIR=$(TARGET_DIR)

 - Host packages should use PREFIX=$(HOST_DIR) and no DESTDIR at all

Of course, this question applies to all SELinux packages in this series.

> - Remove libselinux.so symbolic link for host variant (not needed)

Is this removal really related to the bump ? Why is it unneeded ?
Because the new 2.8 version creates this symlink properly at
installation time ?

Thanks,

Thomas
-- 
Thomas Petazzoni, CTO, Bootlin
Embedded Linux and Kernel engineering
https://bootlin.com

  parent reply	other threads:[~2018-10-10 19:35 UTC|newest]

Thread overview: 15+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2018-09-21 20:50 [Buildroot] [PATCH v2,1/8] libselinux: bump to version 2.8 Fabrice Fontaine
2018-09-21 20:50 ` [Buildroot] [PATCH v2,2/8] libsepol: " Fabrice Fontaine
2018-09-21 20:50 ` [Buildroot] [PATCH v2,3/8] libsemanage: " Fabrice Fontaine
2018-09-21 20:50 ` [Buildroot] [PATCH v2,4/8] checkpolicy: " Fabrice Fontaine
2018-09-21 20:50 ` [Buildroot] [PATCH v2,5/8] restorecond: " Fabrice Fontaine
2018-09-21 20:50 ` [Buildroot] [PATCH v2,6/8] policycoreutils: " Fabrice Fontaine
2018-09-21 20:50 ` [Buildroot] [PATCH v2,7/8] selinux-python: " Fabrice Fontaine
2018-09-21 20:50 ` [Buildroot] [PATCH v2,8/8] semodule-utils: " Fabrice Fontaine
2018-09-27 14:00 ` [Buildroot] [PATCH v2,1/8] libselinux: " Matthew Weber
2018-09-28 20:06   ` Matthew Weber
2018-10-10 19:35 ` Thomas Petazzoni [this message]
2018-10-10 21:05   ` Fabrice Fontaine
2018-10-11  7:57     ` Thomas Petazzoni
2018-10-11 14:33       ` Fabrice Fontaine
2018-10-11 14:57         ` Thomas Petazzoni

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=20181010213528.4805f9e6@windsurf \
    --to=thomas.petazzoni@bootlin.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 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.