diff options
author | Dominique Martinet <dominique.martinet@atmark-techno.com> | 2021-11-17 13:43:55 +0900 |
---|---|---|
committer | Sören Tempel <soeren+git@soeren-tempel.net> | 2021-11-17 09:12:24 +0100 |
commit | 10afb9e880cf79994d6c51131abfd07e7ff2dbde (patch) | |
tree | 396d9fbdfeb71e4cba4eb4ddd281e2528213860c | |
parent | 87dec97b468839dae343dbdc8ca1956a5047a911 (diff) | |
download | aports-10afb9e880cf79994d6c51131abfd07e7ff2dbde.tar.gz aports-10afb9e880cf79994d6c51131abfd07e7ff2dbde.tar.bz2 aports-10afb9e880cf79994d6c51131abfd07e7ff2dbde.tar.xz |
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.
-rw-r--r-- | main/dosfstools/APKBUILD | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/main/dosfstools/APKBUILD b/main/dosfstools/APKBUILD index e56b121a9c..50c4839107 100644 --- a/main/dosfstools/APKBUILD +++ b/main/dosfstools/APKBUILD @@ -1,7 +1,7 @@ # Maintainer: Natanael Copa <ncopa@alpinelinux.org> 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 \ |