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

Bogdan Purcareata bogdan.purcareata at freescale.com
Mon Mar 24 16:43:03 UTC 2014


Signed-off-by: Bogdan Purcareata <bogdan.purcareata at freescale.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




More information about the lxc-devel mailing list