* [Buildroot] [PATCH 1/1] setools: change sepol library directory
@ 2017-10-19 21:46 Adam Duskett
2017-10-20 1:44 ` Matthew Weber
2017-10-21 8:01 ` Thomas Petazzoni
0 siblings, 2 replies; 3+ messages in thread
From: Adam Duskett @ 2017-10-19 21:46 UTC (permalink / raw)
To: buildroot
setools currently points the libsepol library directory to
$(STAGING_DIR)/lib/ when it should be $(STAGING_DIR)/usr/lib
Signed-off-by: Adam Duskett <Adamduskett@outlook.com>
---
package/setools/setools.mk | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/package/setools/setools.mk b/package/setools/setools.mk
index 80d58235d3..8b93ccf45e 100644
--- a/package/setools/setools.mk
+++ b/package/setools/setools.mk
@@ -24,7 +24,7 @@ endif
define SETOOLS_FIX_SETUP
# By default, setup.py will look for libsepol.a in the host machines
# /usr/lib directory. This needs to be changed to the staging directory.
- $(SED) "s at base_lib_dirs =.*@base_lib_dirs = ['$(STAGING_DIR)/lib']@g" \
+ $(SED) "s at base_lib_dirs =.*@base_lib_dirs = ['$(STAGING_DIR)/usr/lib']@g" \
$(@D)/setup.py
endef
SETOOLS_POST_PATCH_HOOKS += SETOOLS_FIX_SETUP
--
2.13.6
^ permalink raw reply related [flat|nested] 3+ messages in thread
* [Buildroot] [PATCH 1/1] setools: change sepol library directory
2017-10-19 21:46 [Buildroot] [PATCH 1/1] setools: change sepol library directory Adam Duskett
@ 2017-10-20 1:44 ` Matthew Weber
2017-10-21 8:01 ` Thomas Petazzoni
1 sibling, 0 replies; 3+ messages in thread
From: Matthew Weber @ 2017-10-20 1:44 UTC (permalink / raw)
To: buildroot
Adam,
On Thu, Oct 19, 2017 at 4:46 PM, Adam Duskett <aduskett@gmail.com> wrote:
> setools currently points the libsepol library directory to
> $(STAGING_DIR)/lib/ when it should be $(STAGING_DIR)/usr/lib
>
> Signed-off-by: Adam Duskett <Adamduskett@outlook.com>
Beat me to this one :-) had a test build running with the same fix.
Thanks for sending it out.
As part of the debugging I did on this one, I rechecked all the of the
destdir and prefix stuff in the libsepol install just to be sure that
lined up.
Tested-by: Matt Weber <matthew.weber@rockwellcollins.com>
> ---
> package/setools/setools.mk | 2 +-
> 1 file changed, 1 insertion(+), 1 deletion(-)
>
> diff --git a/package/setools/setools.mk b/package/setools/setools.mk
> index 80d58235d3..8b93ccf45e 100644
> --- a/package/setools/setools.mk
> +++ b/package/setools/setools.mk
> @@ -24,7 +24,7 @@ endif
> define SETOOLS_FIX_SETUP
> # By default, setup.py will look for libsepol.a in the host machines
> # /usr/lib directory. This needs to be changed to the staging directory.
> - $(SED) "s at base_lib_dirs =.*@base_lib_dirs = ['$(STAGING_DIR)/lib']@g" \
> + $(SED) "s at base_lib_dirs =.*@base_lib_dirs = ['$(STAGING_DIR)/usr/lib']@g" \
> $(@D)/setup.py
> endef
> SETOOLS_POST_PATCH_HOOKS += SETOOLS_FIX_SETUP
> --
> 2.13.6
>
> _______________________________________________
> buildroot mailing list
> buildroot at busybox.net
> http://lists.busybox.net/mailman/listinfo/buildroot
--
Matthew L Weber / Pr Software Engineer
Airborne Information Systems / Security Systems and Software / Secure Platforms
MS 131-100, C Ave NE, Cedar Rapids, IA, 52498, USA
www.rockwellcollins.com
Note: Any Export License Required Information and License Restricted
Third Party Intellectual Property (TPIP) content must be encrypted and
sent to matthew.weber at corp.rockwellcollins.com.
^ permalink raw reply [flat|nested] 3+ messages in thread
* [Buildroot] [PATCH 1/1] setools: change sepol library directory
2017-10-19 21:46 [Buildroot] [PATCH 1/1] setools: change sepol library directory Adam Duskett
2017-10-20 1:44 ` Matthew Weber
@ 2017-10-21 8:01 ` Thomas Petazzoni
1 sibling, 0 replies; 3+ messages in thread
From: Thomas Petazzoni @ 2017-10-21 8:01 UTC (permalink / raw)
To: buildroot
Hello,
On Thu, 19 Oct 2017 17:46:03 -0400, Adam Duskett wrote:
> setools currently points the libsepol library directory to
> $(STAGING_DIR)/lib/ when it should be $(STAGING_DIR)/usr/lib
>
> Signed-off-by: Adam Duskett <Adamduskett@outlook.com>
> ---
> package/setools/setools.mk | 2 +-
> 1 file changed, 1 insertion(+), 1 deletion(-)
Applied to master, thanks.
Thomas
--
Thomas Petazzoni, CTO, Free Electrons
Embedded Linux, Kernel and Android engineering
http://free-electrons.com
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2017-10-21 8:01 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2017-10-19 21:46 [Buildroot] [PATCH 1/1] setools: change sepol library directory Adam Duskett
2017-10-20 1:44 ` Matthew Weber
2017-10-21 8:01 ` Thomas Petazzoni
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.