lxc-busybox: follow symlinks when inspecting busybox binary

Signed-off-by: Bogdan Purcareata <bogdan.purcareata@freescale.com>
Signed-off-by: Serge Hallyn <serge.hallyn@ubuntu.com>
This commit is contained in:
Bogdan Purcareata 2014-03-24 12:43:03 -04:00 committed by Serge Hallyn
parent 826cde7c21
commit 50dbb8209b

View File

@ -187,7 +187,7 @@ configure_busybox()
return 1 return 1
fi fi
file $(which busybox) | grep -q "statically linked" file -L $(which busybox) | grep -q "statically linked"
if [ $? -ne 0 ]; then if [ $? -ne 0 ]; then
echo "warning : busybox is not statically linked." echo "warning : busybox is not statically linked."
echo "warning : The template script may not correctly" echo "warning : The template script may not correctly"