[apparmor] [PATCH v2] binutils: Install to /usr/bin instead of /sbin
Tyler Hicks
tyhicks at canonical.com
Thu Dec 17 21:59:41 UTC 2015
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>
---
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:
--
2.5.0
More information about the AppArmor
mailing list