From 92336a472ebc9d8182486d9a7e6da5f936acb19e Mon Sep 17 00:00:00 2001 From: kj-sh604 Date: Tue, 27 May 2025 14:40:21 -0400 Subject: kj-gitbot: PKGBUILD --- coreutils-uutils/PKGBUILD | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/coreutils-uutils/PKGBUILD b/coreutils-uutils/PKGBUILD index f301bc7..367a8a5 100644 --- a/coreutils-uutils/PKGBUILD +++ b/coreutils-uutils/PKGBUILD @@ -77,6 +77,14 @@ package() { # additional cleanup rm $pkgdir/usr/share/bash-completion/completions/* rm $pkgdir/usr/share/man/man1/{groups.1,hostname.1,install.1,kill.1,more.1,uptime.1} + + # create dummy shell scripts for chcon and runcon + install -m 755 <(echo "#!/bin/sh +echo \"error: chcon not built with coreutils-uutils package\" +exit 1") $pkgdir/usr/bin/chcon + install -m 755 <(echo "#!/bin/sh +echo \"error: runcon not built with coreutils-uutils package\" +exit 1") $pkgdir/usr/bin/runcon } # vim: ts=2 sw=2 et: -- cgit v1.2.3