From 10afb9e880cf79994d6c51131abfd07e7ff2dbde Mon Sep 17 00:00:00 2001 From: Dominique Martinet Date: Wed, 17 Nov 2021 13:43:55 +0900 Subject: main/dosfstools: install binaries to /sbin dosfstools installed programs in /usr/sbin which overlap with what busybox provides in /sbin (mkfs.vfat, mkdosfs). /sbin has priority over /usr/sbin on alpine and there is no mechanism to remove overlapping commands in such case, so change dosfstools to install in /sbin directly instead: - installing dosfstools will overwrite busybox-provided symlinks - removing dosfstools will run busybox trigger and restore the symlink - upgrading busybox itself does not mess with these links either Fixes #13194. --- main/dosfstools/APKBUILD | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'main/dosfstools/APKBUILD') diff --git a/main/dosfstools/APKBUILD b/main/dosfstools/APKBUILD index e56b121a9c0..50c4839107d 100644 --- a/main/dosfstools/APKBUILD +++ b/main/dosfstools/APKBUILD @@ -1,7 +1,7 @@ # Maintainer: Natanael Copa pkgname=dosfstools pkgver=4.2 -pkgrel=0 +pkgrel=1 pkgdesc="DOS filesystem utilities" url="https://github.com/dosfstools/dosfstools" arch="all" @@ -20,6 +20,7 @@ build() { --build=$CBUILD \ --host=$CHOST \ --prefix=/usr \ + --sbindir=/sbin \ --sysconfdir=/etc \ --mandir=/usr/share/man \ --localstatedir=/var \ -- cgit v1.2.3