diff options
Diffstat (limited to 'recipes-mac/AppArmor/files/0001-apparmor-fix-manpage-order.patch')
-rw-r--r-- | recipes-mac/AppArmor/files/0001-apparmor-fix-manpage-order.patch | 43 |
1 files changed, 43 insertions, 0 deletions
diff --git a/recipes-mac/AppArmor/files/0001-apparmor-fix-manpage-order.patch b/recipes-mac/AppArmor/files/0001-apparmor-fix-manpage-order.patch new file mode 100644 index 0000000..9f3dce4 --- /dev/null +++ b/recipes-mac/AppArmor/files/0001-apparmor-fix-manpage-order.patch | |||
@@ -0,0 +1,43 @@ | |||
1 | From c9baef0c70122e1be33b627874772e6e9a5d7744 Mon Sep 17 00:00:00 2001 | ||
2 | From: Armin Kuster <akuster808@gmail.com> | ||
3 | Date: Fri, 2 Oct 2020 19:43:44 -0700 | ||
4 | Subject: [PATCH] apparmor: fix manpage order | ||
5 | |||
6 | It trys to create a symlink before the man pages are installed. | ||
7 | |||
8 | ln -sf aa-status.8 /(path}/apparmor/3.0-r0/image/usr/share/man/man8/apparmor_status.8 | ||
9 | | ln: failed to create symbolic link '{path}/apparmor/3.0-r0/image/usr/share/man/man8/apparmor_status.8': No such file or directory | ||
10 | |||
11 | Upstream-Status: Pending | ||
12 | Signed-off-by: Armin Kuster <akuster808@gmail.com> | ||
13 | |||
14 | ... | ||
15 | |||
16 | install -d /{path}/apparmor/3.0-r0/image/usr/share/man/man8 ; install -m 644 aa-status.8 /{path}/apparmor/3.0-r0/image/usr/share/man/man8; | ||
17 | |||
18 | Signed-off-by: Armin Kuster <akuster@mvista.com> | ||
19 | --- | ||
20 | binutils/Makefile | 2 +- | ||
21 | 1 file changed, 1 insertion(+), 1 deletion(-) | ||
22 | |||
23 | diff --git a/binutils/Makefile b/binutils/Makefile | ||
24 | index 99e54875..3f1d0011 100644 | ||
25 | --- a/binutils/Makefile | ||
26 | +++ b/binutils/Makefile | ||
27 | @@ -156,12 +156,12 @@ install-arch: arch | ||
28 | install -m 755 -d ${SBINDIR} | ||
29 | ln -sf aa-status ${SBINDIR}/apparmor_status | ||
30 | install -m 755 ${SBINTOOLS} ${SBINDIR} | ||
31 | - ln -sf aa-status.8 ${DESTDIR}/${MANDIR}/man8/apparmor_status.8 | ||
32 | |||
33 | .PHONY: install-indep | ||
34 | install-indep: indep | ||
35 | $(MAKE) -C po install NAME=${NAME} DESTDIR=${DESTDIR} | ||
36 | $(MAKE) install_manpages DESTDIR=${DESTDIR} | ||
37 | + ln -sf aa-status.8 ${DESTDIR}/${MANDIR}/man8/apparmor_status.8 | ||
38 | |||
39 | ifndef VERBOSE | ||
40 | .SILENT: clean | ||
41 | -- | ||
42 | 2.17.1 | ||
43 | |||