From 229734c10a3d07d18137f1e46ccdb02331c13fd2 Mon Sep 17 00:00:00 2001 From: Rahil Bhimjiani Date: Sat, 30 Sep 2023 21:53:27 +0530 Subject: [PATCH] remove selinux tag as not needed anymore I'm not sure about apparmor tag. Atleast runc isn't using it anymore. "apparmor (since runc v1.0.0-rc93 the feature is always enabled)" from https://github.com/opencontainers/runc containers-common still seems to check for apparmor, so not touching it for now. Signed-off-by: Rahil Bhimjiani --- Makefile | 1 - hack/selinux_tag.sh | 4 ---- 2 files changed, 5 deletions(-) delete mode 100755 hack/selinux_tag.sh diff --git a/Makefile b/Makefile index 614f1d66ef..3a698f8ad5 100644 --- a/Makefile +++ b/Makefile @@ -53,7 +53,6 @@ BUILDTAGS ?= \ $(shell hack/apparmor_tag.sh) \ $(shell hack/btrfs_installed_tag.sh) \ $(shell hack/btrfs_tag.sh) \ - $(shell hack/selinux_tag.sh) \ $(shell hack/systemd_tag.sh) \ $(shell hack/libsubid_tag.sh) \ exclude_graphdriver_devicemapper \ diff --git a/hack/selinux_tag.sh b/hack/selinux_tag.sh deleted file mode 100755 index 993630ad62..0000000000 --- a/hack/selinux_tag.sh +++ /dev/null @@ -1,4 +0,0 @@ -#!/usr/bin/env bash -if pkg-config libselinux 2> /dev/null ; then - echo selinux -fi