diff options
Diffstat (limited to 'meta-filesystems/recipes-utils/aufs-util/aufs-util/aufs-util-don-t-strip-executables.patch')
-rw-r--r-- | meta-filesystems/recipes-utils/aufs-util/aufs-util/aufs-util-don-t-strip-executables.patch | 37 |
1 files changed, 37 insertions, 0 deletions
diff --git a/meta-filesystems/recipes-utils/aufs-util/aufs-util/aufs-util-don-t-strip-executables.patch b/meta-filesystems/recipes-utils/aufs-util/aufs-util/aufs-util-don-t-strip-executables.patch new file mode 100644 index 000000000..48727e6e2 --- /dev/null +++ b/meta-filesystems/recipes-utils/aufs-util/aufs-util/aufs-util-don-t-strip-executables.patch | |||
@@ -0,0 +1,37 @@ | |||
1 | From 244863eca77fcaa1187884836c3e28d6b6d1504a Mon Sep 17 00:00:00 2001 | ||
2 | From: Bruce Ashfield <bruce.ashfield@windriver.com> | ||
3 | Date: Tue, 9 Apr 2013 18:50:34 -0700 | ||
4 | Subject: [PATCH] aufs-util: don't strip executables | ||
5 | |||
6 | By default, aufs-util strips its binaries. This produces QA warnings | ||
7 | as follows: | ||
8 | |||
9 | WARNING: File '/sbin/mount.aufs' from aufs-util was already stripped, this will prevent future debugging! | ||
10 | WARNING: File '/sbin/auplink' from aufs-util was already stripped, this will prevent future debugging! | ||
11 | WARNING: File '/sbin/umount.aufs' from aufs-util was already stripped, this will prevent future debugging! | ||
12 | WARNING: File '/sbin/auibusy' from aufs-util was already stripped, this will prevent future debugging! | ||
13 | WARNING: File '/usr/lib/libau.so.2.6' from aufs-util was already stripped, this will prevent future debugging! | ||
14 | |||
15 | To prevent this, we remove -s from LDFLAGS. | ||
16 | |||
17 | Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com> | ||
18 | --- | ||
19 | Makefile | 2 +- | ||
20 | 1 file changed, 1 insertion(+), 1 deletion(-) | ||
21 | |||
22 | diff --git a/Makefile b/Makefile | ||
23 | index 2f905ad..e0c6dcd 100644 | ||
24 | --- a/Makefile | ||
25 | +++ b/Makefile | ||
26 | @@ -56,7 +56,7 @@ all: ver_test ${Man} ${Bin} ${Etc} | ||
27 | ver_test: ver | ||
28 | ./ver | ||
29 | |||
30 | -${Bin}: LDFLAGS += -static -s | ||
31 | +${Bin}: LDFLAGS += -static | ||
32 | ${Bin}: LDLIBS = -L. -lautil | ||
33 | ${BinObj}: %.o: %.c ${LibUtilHdr} ${LibUtil} | ||
34 | |||
35 | -- | ||
36 | 1.7.10.4 | ||
37 | |||