[lxc-devel] [PATCH] lxc-busybox: follow symlinks when inspecting busybox binary

Serge Hallyn serge.hallyn at ubuntu.com
Mon Mar 24 19:17:13 UTC 2014


Quoting Bogdan Purcareata (bogdan.purcareata at freescale.com):
> Signed-off-by: Bogdan Purcareata <bogdan.purcareata at freescale.com>

Acked-by: Serge E. Hallyn <serge.hallyn at ubuntu.com>

> ---
>  templates/lxc-busybox.in | 2 +-
>  1 file changed, 1 insertion(+), 1 deletion(-)
> 
> diff --git a/templates/lxc-busybox.in b/templates/lxc-busybox.in
> index e5a512a..246e743 100644
> --- a/templates/lxc-busybox.in
> +++ b/templates/lxc-busybox.in
> @@ -187,7 +187,7 @@ configure_busybox()
>          return 1
>      fi
>  
> -    file $(which busybox) | grep -q "statically linked"
> +    file -L $(which busybox) | grep -q "statically linked"
>      if [ $? -ne 0 ]; then
>          echo "warning : busybox is not statically linked."
>          echo "warning : The template script may not correctly"
> -- 
> 1.9.rc1
> 
> 
> _______________________________________________
> lxc-devel mailing list
> lxc-devel at lists.linuxcontainers.org
> http://lists.linuxcontainers.org/listinfo/lxc-devel


More information about the lxc-devel mailing list