All of lore.kernel.org
 help / color / mirror / Atom feed
* [meta-virtualization][master][PATCH] busybox_vmsep.inc: busybox changes for runx support
@ 2020-05-02  4:20 Chandana kalluri
  2020-05-02 15:10 ` Bruce Ashfield
  0 siblings, 1 reply; 2+ messages in thread
From: Chandana kalluri @ 2020-05-02  4:20 UTC (permalink / raw)
  To: meta-virtualization; +Cc: bruce.ashfield, Sai Hari Chandana Kalluri

Runx needs busybox static binary that contains symlinks to mount.  However, in
zeus, busybox by default uses BUSYBOX_SPLIT_SUID = 1.  With the variable set,
busybox binary gets split into two busybox.suid and busybox.nosuid busybox.suid
contains links to mount while runx recipes pulls in busybox.nosuid.

When vmsep is enabled, set BUSYBOX_SPLIT_SUID = 0 so that an unstripped busybox
binary is generated which contains all the required links including mount.

Signed-off-by: Sai Hari Chandana Kalluri <chandana.kalluri@xilinx.com>
---
 recipes-core/busybox/busybox_vmsep.inc | 1 +
 1 file changed, 1 insertion(+)

diff --git a/recipes-core/busybox/busybox_vmsep.inc b/recipes-core/busybox/busybox_vmsep.inc
index b70a065..d4b1e6c 100644
--- a/recipes-core/busybox/busybox_vmsep.inc
+++ b/recipes-core/busybox/busybox_vmsep.inc
@@ -6,3 +6,4 @@ SRC_URI += " \
 # we do this to get the target binary available to recipes that
 # depend on busybox
 SYSROOT_DIRS += "/bin"
+BUSYBOX_SPLIT_SUID = "0"
-- 
2.7.4


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

* Re: [meta-virtualization][master][PATCH] busybox_vmsep.inc: busybox changes for runx support
  2020-05-02  4:20 [meta-virtualization][master][PATCH] busybox_vmsep.inc: busybox changes for runx support Chandana kalluri
@ 2020-05-02 15:10 ` Bruce Ashfield
  0 siblings, 0 replies; 2+ messages in thread
From: Bruce Ashfield @ 2020-05-02 15:10 UTC (permalink / raw)
  To: Sai Hari Chandana Kalluri; +Cc: meta-virtualization

merged.

Bruce

In message: [meta-virtualization][master][PATCH] busybox_vmsep.inc: busybox changes for runx support
on 01/05/2020 Sai Hari Chandana Kalluri wrote:

> Runx needs busybox static binary that contains symlinks to mount.  However, in
> zeus, busybox by default uses BUSYBOX_SPLIT_SUID = 1.  With the variable set,
> busybox binary gets split into two busybox.suid and busybox.nosuid busybox.suid
> contains links to mount while runx recipes pulls in busybox.nosuid.
> 
> When vmsep is enabled, set BUSYBOX_SPLIT_SUID = 0 so that an unstripped busybox
> binary is generated which contains all the required links including mount.
> 
> Signed-off-by: Sai Hari Chandana Kalluri <chandana.kalluri@xilinx.com>
> ---
>  recipes-core/busybox/busybox_vmsep.inc | 1 +
>  1 file changed, 1 insertion(+)
> 
> diff --git a/recipes-core/busybox/busybox_vmsep.inc b/recipes-core/busybox/busybox_vmsep.inc
> index b70a065..d4b1e6c 100644
> --- a/recipes-core/busybox/busybox_vmsep.inc
> +++ b/recipes-core/busybox/busybox_vmsep.inc
> @@ -6,3 +6,4 @@ SRC_URI += " \
>  # we do this to get the target binary available to recipes that
>  # depend on busybox
>  SYSROOT_DIRS += "/bin"
> +BUSYBOX_SPLIT_SUID = "0"
> -- 
> 2.7.4
> 

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

end of thread, other threads:[~2020-05-02 15:10 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2020-05-02  4:20 [meta-virtualization][master][PATCH] busybox_vmsep.inc: busybox changes for runx support Chandana kalluri
2020-05-02 15:10 ` Bruce Ashfield

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.