All of lore.kernel.org
 help / color / mirror / Atom feed
* [Buildroot] [ PATCH Selinux v11] skeleton: busybox individual apps no symlink
@ 2016-03-16 11:47 Niranjan Reddy
  2016-04-08  3:13 ` Matthew Weber
  0 siblings, 1 reply; 2+ messages in thread
From: Niranjan Reddy @ 2016-03-16 11:47 UTC (permalink / raw)
  To: buildroot

From: Matt Weber <matthew.weber@rockwellcollins.com>

Ignore the creation of a symlink when individual binaries are
used.

Signed-off-by: Matthew Weber <matthew.weber@rockwellcollins.com>
---
 package/skeleton/skeleton.mk | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/package/skeleton/skeleton.mk b/package/skeleton/skeleton.mk
index 7618835..dacda15 100644
--- a/package/skeleton/skeleton.mk
+++ b/package/skeleton/skeleton.mk
@@ -201,10 +201,12 @@ define SKELETON_SYSTEM_BIN_SH
 	rm -f $(TARGET_DIR)/bin/sh
 endef
 else
+ifeq ($(BR2_PACKAGE_BUSYBOX_INDIVIDUAL_BINARIES),)
 define SKELETON_SYSTEM_BIN_SH
 	ln -sf $(SKELETON_TARGET_GENERIC_BIN_SH) $(TARGET_DIR)/bin/sh
 endef
 endif
+endif
 TARGET_FINALIZE_HOOKS += SKELETON_SYSTEM_BIN_SH
 
 ifeq ($(BR2_TARGET_GENERIC_GETTY),y)
-- 
2.5.0

^ permalink raw reply related	[flat|nested] 2+ messages in thread

* [Buildroot] [ PATCH Selinux v11] skeleton: busybox individual apps no symlink
  2016-03-16 11:47 [Buildroot] [ PATCH Selinux v11] skeleton: busybox individual apps no symlink Niranjan Reddy
@ 2016-04-08  3:13 ` Matthew Weber
  0 siblings, 0 replies; 2+ messages in thread
From: Matthew Weber @ 2016-04-08  3:13 UTC (permalink / raw)
  To: buildroot

Niranjan,

On Wed, Mar 16, 2016 at 6:47 AM, Niranjan Reddy
<niranjan.reddy@rockwellcollins.com> wrote:
> From: Matt Weber <matthew.weber@rockwellcollins.com>
>
> Ignore the creation of a symlink when individual binaries are
> used.
>
> Signed-off-by: Matthew Weber <matthew.weber@rockwellcollins.com>
> ---
>  package/skeleton/skeleton.mk | 2 ++
>  1 file changed, 2 insertions(+)
>
> diff --git a/package/skeleton/skeleton.mk b/package/skeleton/skeleton.mk
> index 7618835..dacda15 100644
> --- a/package/skeleton/skeleton.mk
> +++ b/package/skeleton/skeleton.mk
> @@ -201,10 +201,12 @@ define SKELETON_SYSTEM_BIN_SH
>         rm -f $(TARGET_DIR)/bin/sh
>  endef
>  else

Add a comment here that notes "Allow a busybox shell binary to remain
and not get replaced by a symlink if individual binaries are enabled."

> +ifeq ($(BR2_PACKAGE_BUSYBOX_INDIVIDUAL_BINARIES),)
>  define SKELETON_SYSTEM_BIN_SH
>         ln -sf $(SKELETON_TARGET_GENERIC_BIN_SH) $(TARGET_DIR)/bin/sh
>  endef
>  endif
> +endif
>  TARGET_FINALIZE_HOOKS += SKELETON_SYSTEM_BIN_SH
>
>  ifeq ($(BR2_TARGET_GENERIC_GETTY),y)
> --
> 2.5.0
>
> _______________________________________________
> buildroot mailing list
> buildroot at busybox.net
> http://lists.busybox.net/mailman/listinfo/buildroot



-- 
Thanks,
Matt

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2016-04-08  3:13 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2016-03-16 11:47 [Buildroot] [ PATCH Selinux v11] skeleton: busybox individual apps no symlink Niranjan Reddy
2016-04-08  3:13 ` Matthew Weber

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.