]> git.ipfire.org Git - thirdparty/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, 17 Nov 2016 23:00:14 +0000 (18:00 -0500)
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 f432ddca0a38d53bfafb8193a910b2226bea946a..64bf0d571d83c840cbf06e6a5c6a11b5175d8271 100644 (file)
@@ -179,13 +179,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