aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJakub Jirutka <jakub@jirutka.cz>2020-12-05 02:06:59 +0100
committerJakub Jirutka <jakub@jirutka.cz>2020-12-05 02:08:53 +0100
commitfbf462230496b4199bec867b6a2f2bcfa2091e38 (patch)
tree78404e4cd8279fe966d73301504a0fcc26acfcca
parent78458d2356c35ccb913115b08d244768f5dee8c9 (diff)
community/open-vm-tools: move vm-support back to /usr/sbin
-rw-r--r--community/open-vm-tools/APKBUILD5
1 files changed, 5 insertions, 0 deletions
diff --git a/community/open-vm-tools/APKBUILD b/community/open-vm-tools/APKBUILD
index f84bc67d6d1..ff21cd47416 100644
--- a/community/open-vm-tools/APKBUILD
+++ b/community/open-vm-tools/APKBUILD
@@ -134,6 +134,11 @@ package() {
chmod -x "$confdir"/*.conf*
mv "$confdir"/tools.conf.example "$confdir"/tools.conf
+ # vm-support requires root privileges to run, so it should be in
+ # /usr/sbin, not /usr/bin.
+ mkdir -p ./usr/sbin
+ mv ./usr/bin/vm-support ./usr/sbin/vm-support
+
# *-vm-default scripts are identical and they are not supposed to be
# modified by the user, so move the script to /usr/share and symlink back.
mkdir -p "$sharedir"