mirror of
https://git.proxmox.com/git/mirror_lxc
synced 2025-07-12 17:55:18 +00:00
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:
parent
826cde7c21
commit
50dbb8209b
@ -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"
|
||||||
|
Loading…
Reference in New Issue
Block a user