diff options
author | Adrian Dudau <adrian.dudau@enea.com> | 2015-07-08 11:08:01 +0200 |
---|---|---|
committer | Adrian Dudau <adrian.dudau@enea.com> | 2015-07-08 11:09:24 +0200 |
commit | ec64b2418ccef1e14c6e58b8ca81bb9162c1dfeb (patch) | |
tree | bff0bd4240f00bbb21624c1df55583f61abaea25 /recipes-containers/lxc/files/lxc-busybox-follow-symlinks-when-inspecting-busybox-.patch | |
download | meta-virtualization-daisy-enea.tar.gz |
initial commit for Enea Linux 4.0daisy-enea
Migrated from the internal git server on the daisy-enea branch
Signed-off-by: Adrian Dudau <adrian.dudau@enea.com>
Diffstat (limited to 'recipes-containers/lxc/files/lxc-busybox-follow-symlinks-when-inspecting-busybox-.patch')
-rw-r--r-- | recipes-containers/lxc/files/lxc-busybox-follow-symlinks-when-inspecting-busybox-.patch | 27 |
1 files changed, 27 insertions, 0 deletions
diff --git a/recipes-containers/lxc/files/lxc-busybox-follow-symlinks-when-inspecting-busybox-.patch b/recipes-containers/lxc/files/lxc-busybox-follow-symlinks-when-inspecting-busybox-.patch new file mode 100644 index 00000000..6882c16e --- /dev/null +++ b/recipes-containers/lxc/files/lxc-busybox-follow-symlinks-when-inspecting-busybox-.patch | |||
@@ -0,0 +1,27 @@ | |||
1 | From 50dbb8209bf65e4d24ccd06d3ca05004d0ddc63c Mon Sep 17 00:00:00 2001 | ||
2 | From: Bogdan Purcareata <bogdan.purcareata@freescale.com> | ||
3 | Date: Mon, 24 Mar 2014 12:43:03 -0400 | ||
4 | Subject: [PATCH] lxc-busybox: follow symlinks when inspecting busybox binary | ||
5 | |||
6 | Signed-off-by: Bogdan Purcareata <bogdan.purcareata@freescale.com> | ||
7 | Signed-off-by: Serge Hallyn <serge.hallyn@ubuntu.com> | ||
8 | --- | ||
9 | templates/lxc-busybox.in | 2 +- | ||
10 | 1 file changed, 1 insertion(+), 1 deletion(-) | ||
11 | |||
12 | diff --git a/templates/lxc-busybox.in b/templates/lxc-busybox.in | ||
13 | index e5a512a..246e743 100644 | ||
14 | --- a/templates/lxc-busybox.in | ||
15 | +++ b/templates/lxc-busybox.in | ||
16 | @@ -187,7 +187,7 @@ configure_busybox() | ||
17 | return 1 | ||
18 | fi | ||
19 | |||
20 | - file $(which busybox) | grep -q "statically linked" | ||
21 | + file -L $(which busybox) | grep -q "statically linked" | ||
22 | if [ $? -ne 0 ]; then | ||
23 | echo "warning : busybox is not statically linked." | ||
24 | echo "warning : The template script may not correctly" | ||
25 | -- | ||
26 | 1.9.rc1 | ||
27 | |||