Skip to contentSkip to conversation

package/libcap: drop host-libcap dependency

Buildroot Thomas Petazzoni 1 participant 1 message Jan 8, 2022

lore
Share & tools
lore
#0 lore raw

commit: https://git.buildroot.net/buildroot/commit/?id=0651b22d638faecb3688f1fd4e0760c31bfba893
branch: https://git.buildroot.net/buildroot/commit/?id=refs/heads/master

host-libcap was added as a dependency of libcap in commit efae605c88deb15d9c50fd67bdd80f46a78b06c1 because back then at installation time, the setcap utility was called.

However, since commit 57155c6b6a7a40523075626353375109fe159c04, we use RAISE_SETFCAP=no, which disables calling setcap at install time. Therefore, having host-libcap built before libcap is no longer needed.

---
 package/libcap/libcap.mk | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
package/libcap/libcap.mk +1 -1
index 42acca9082..1207995333 100644
@@ -11,7 +11,7 @@ LIBCAP_LICENSE = GPL-2.0 or BSD-3-Clause
 LIBCAP_LICENSE_FILES = License
 LIBCAP_CPE_ID_VENDOR = libcap_project
 
-LIBCAP_DEPENDENCIES = host-libcap host-gperf
+LIBCAP_DEPENDENCIES = host-gperf
 LIBCAP_INSTALL_STAGING = YES
 
 HOST_LIBCAP_DEPENDENCIES = host-gperf

_______________________________________________
buildroot mailing list
[email protected]
https://lists.buildroot.org/mailman/listinfo/buildroot