mirror of
https://github.com/gentoo-mirror/gentoo.git
synced 2026-08-24 18:58:08 -07:00
22 lines
724 B
Diff
22 lines
724 B
Diff
From 8dfcdcfdcb9c462a05566aa8d3c6eca871f0ddbf Mon Sep 17 00:00:00 2001
|
|
From: Mike Frysinger <vapier@gentoo.org>
|
|
Date: Wed, 10 Feb 2016 09:52:45 +0100
|
|
Subject: [PATCH] ignore RAISE_SETFCAP install failures
|
|
|
|
While the new RAISE_SETFCAP feature is nifty, its failure to run (often
|
|
due to the fs not supporting it) shouldn't impair the default install.
|
|
|
|
Signed-off-by: Mike Frysinger <vapier@gentoo.org>
|
|
|
|
--- a/progs/Makefile
|
|
+++ b/progs/Makefile
|
|
@@ -39,7 +39,7 @@ install: all
|
|
install -m 0755 $$p $(FAKEROOT)$(SBINDIR) ; \
|
|
done
|
|
ifeq ($(RAISE_SETFCAP),yes)
|
|
- $(FAKEROOT)$(SBINDIR)/setcap cap_setfcap=i $(FAKEROOT)$(SBINDIR)/setcap
|
|
+ -$(FAKEROOT)$(SBINDIR)/setcap cap_setfcap=i $(FAKEROOT)$(SBINDIR)/setcap
|
|
endif
|
|
|
|
test:
|