[Buildroot] [ PATCH Selinux v11] skeleton: busybox individual apps no symlink
Matthew Weber
matt at thewebers.ws
Fri Apr 8 03:13:46 UTC 2016
Niranjan,
On Wed, Mar 16, 2016 at 6:47 AM, Niranjan Reddy
<niranjan.reddy at rockwellcollins.com> wrote:
> From: Matt Weber <matthew.weber at rockwellcollins.com>
>
> Ignore the creation of a symlink when individual binaries are
> used.
>
> Signed-off-by: Matthew Weber <matthew.weber at 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
More information about the buildroot
mailing list