diff options
Diffstat (limited to 'selinux/compile.sh')
-rw-r--r-- | selinux/compile.sh | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/selinux/compile.sh b/selinux/compile.sh new file mode 100644 index 0000000..f70ab1b --- /dev/null +++ b/selinux/compile.sh @@ -0,0 +1,10 @@ +#!/bin/sh + +set -x +set -e + +OUTDIR="$(dirname $0)" +checkmodule -M -m -o ${OUTDIR}/ptunnel-ng.mod ${OUTDIR}/ptunnel-ng.te +semodule_package -o ${OUTDIR}/ptunnel-ng.pp -m ${OUTDIR}/ptunnel-ng.mod + +exit 0 |