[apparmor] [PATCH v2] binutils: Install to /usr/bin instead of /sbin
Christian Boltz
apparmor at cboltz.de
Thu Dec 17 23:24:51 UTC 2015
Hello,
Am Donnerstag, 17. Dezember 2015 schrieb Tyler Hicks:
> aa-enabled should live in /usr/bin, rather than /sbin, since it is not
> used in early boot and requires no root privileges.
>
> Signed-off-by: Tyler Hicks <tyhicks at canonical.com>
Acked-by: Christian Boltz <apparmor at cboltz.de>
> ---
> binutils/Makefile | 5 +++--
> 1 file changed, 3 insertions(+), 2 deletions(-)
>
> diff --git a/binutils/Makefile b/binutils/Makefile
> index fc6a8f3..de455c1 100644
> --- a/binutils/Makefile
> +++ b/binutils/Makefile
> @@ -18,6 +18,7 @@ COMMONDIR=../common/
> include $(COMMONDIR)/Make.rules
>
> DESTDIR=/
> +BINDIR=${DESTDIR}/usr/bin
> LOCALEDIR=/usr/share/locale
> MANPAGES=aa-enabled.8
>
> @@ -133,8 +134,8 @@ install: install-indep install-arch
>
> .PHONY: install-arch
> install-arch: arch
> - install -m 755 -d $(DESTDIR)/sbin
> - install -m 755 ${TOOLS} $(DESTDIR)/sbin
> + install -m 755 -d ${BINDIR}
> + install -m 755 ${TOOLS} ${BINDIR}
>
> .PHONY: install-indep
> install-indep:
Regards,
Christian Boltz
--
Fenster muss man nur ab und zu putzen, damit wieder mehr Licht rein
kommt. Sind sie kaputt, musst Du neue kaufen. Pinguine muss man pflegen
- dafür können sie dann Kunststücke, die ein Fenster nie hinkriegt.
Genug Heringe, und sie vermehren sich sogar :-) [Arndt Böhm in dcoulh]
More information about the AppArmor
mailing list