]> git.proxmox.com Git - mirror_lxc.git/commitdiff
lxc-busybox: Remove warning for dynamically linked Busybox
authorBogdan Purcareata <bogdan.purcareata@nxp.com>
Thu, 24 Mar 2016 11:54:27 +0000 (11:54 +0000)
committerStéphane Graber <stgraber@ubuntu.com>
Thu, 24 Mar 2016 16:46:32 +0000 (12:46 -0400)
The warning has been present since commit 32b37181ea (with no purpose stated).
Support for dynamically linked Busybox has been added since commit bf6cc73696.
Haven't encountered any issues with dynamically linked Busybox in my last
2 years' testing.

Signed-off-by: Bogdan Purcareata <bogdan.purcareata@nxp.com>
Acked-by: Stéphane Graber <stgraber@ubuntu.com>
templates/lxc-busybox.in

index f547f9ee3913666db6026465fecfa41d20c1a722..336fa12e7da2de8e6451d329fb1eb14f43c1e528 100644 (file)
@@ -304,13 +304,6 @@ configure_busybox()
         return 1
     fi
 
-    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"
-        echo "warning : setup the container environment."
-    fi
-
     # copy busybox in the rootfs
     cp $(which busybox) $rootfs/bin
     if [ $? -ne 0 ]; then