aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorSören Tempel <soeren+git@soeren-tempel.net>2021-08-26 13:17:22 +0200
committerSören Tempel <soeren+git@soeren-tempel.net>2021-08-26 13:17:22 +0200
commit3b20d249f8191000030c26fdf15df30ebd077668 (patch)
treee9f93e1219f4e07b5a00757b895042d7a2a5c988
parentd5de0eb0a8825e7125960943a3796d433b42e28b (diff)
downloadaports-3b20d249f8191000030c26fdf15df30ebd077668.tar.gz
aports-3b20d249f8191000030c26fdf15df30ebd077668.tar.bz2
aports-3b20d249f8191000030c26fdf15df30ebd077668.tar.xz
main/util-linux: move rev to /bin to overwrite busybox's default
This is what we do in other aports (e.g. run-parts) as well to ensure that the busybox version is overwritten. IMHO it's preferable over moving the busybox version as doing so would require patching busybox. Fixes !24076
-rw-r--r--main/util-linux/APKBUILD5
1 files changed, 4 insertions, 1 deletions
diff --git a/main/util-linux/APKBUILD b/main/util-linux/APKBUILD
index f69a4398a7..118c1e9d9f 100644
--- a/main/util-linux/APKBUILD
+++ b/main/util-linux/APKBUILD
@@ -9,7 +9,7 @@ case $pkgver in
*.*) _v=$pkgver;;
esac
-pkgrel=0
+pkgrel=1
pkgdesc="Random collection of Linux utilities"
url="https://git.kernel.org/cgit/utils/util-linux/util-linux.git"
arch="all"
@@ -162,6 +162,9 @@ misc() {
amove "$_path"
fi
done
+
+ # Move rev to /bin to overwrite busybox's version.
+ mv "$subpkgdir"/usr/bin/rev "$subpkgdir"/bin
}
dev() {