Contents of /trunk/libcap/patches/libcap-2.20-ignore-RAISE_SETFCAP-install-failures.patch
Parent Directory | Revision Log
Revision 1332 -
(show annotations)
(download)
Sun May 29 20:02:41 2011 UTC (13 years, 4 months ago) by niro
File size: 840 byte(s)
Sun May 29 20:02:41 2011 UTC (13 years, 4 months ago) by niro
File size: 840 byte(s)
added 2.20 fixes
1 | From f2020ee4ee4b2f245637c77e81d62ab6d1db3c6c Mon Sep 17 00:00:00 2001 |
2 | From: Mike Frysinger <vapier@gentoo.org> |
3 | Date: Tue, 25 Jan 2011 15:52:31 -0500 |
4 | Subject: [PATCH] ignore RAISE_SETFCAP install failures |
5 | |
6 | While the new RAISE_SETFCAP feature is nifty, its failure to run (often |
7 | due to the fs not supporting it) shouldn't impair the default install. |
8 | |
9 | Signed-off-by: Mike Frysinger <vapier@gentoo.org> |
10 | --- |
11 | progs/Makefile | 2 +- |
12 | 1 files changed, 1 insertions(+), 1 deletions(-) |
13 | |
14 | diff --git a/progs/Makefile b/progs/Makefile |
15 | index c261f57..9e1a84d 100644 |
16 | --- a/progs/Makefile |
17 | +++ b/progs/Makefile |
18 | @@ -30,7 +30,7 @@ install: all |
19 | install -m 0755 $$p $(SBINDIR) ; \ |
20 | done |
21 | ifeq ($(RAISE_SETFCAP),yes) |
22 | - $(SBINDIR)/setcap cap_setfcap=i $(SBINDIR)/setcap |
23 | + -$(SBINDIR)/setcap cap_setfcap=i $(SBINDIR)/setcap |
24 | endif |
25 | |
26 | clean: |
27 | -- |
28 | 1.7.4.rc2 |
29 |