* fix compatibility with tooling on powerpc with linux-ppc64

This commit is contained in:
Alexander Baldeck 2023-07-06 14:58:29 +02:00
parent b35219764d
commit a4477ca47b

View File

@ -8,7 +8,7 @@ pkgname=(util-linux util-linux-libs)
_tag='722ea47989cef5d892711614c4a2767213b177d8' # git rev-parse v${_tag_name}
_tag_name=2.39.1
pkgver=${_tag_name/-/}
pkgrel=1
pkgrel=1.1
pkgdesc='Miscellaneous system utilities for Linux'
url='https://github.com/util-linux/util-linux'
arch=(x86_64 powerpc64le powerpc64 powerpc riscv64)
@ -138,6 +138,9 @@ package_util-linux() {
"${pkgdir}/usr/lib/systemd/system/rfkill-unblock@.service"
install -Dm0644 rfkill-block_.service \
"${pkgdir}/usr/lib/systemd/system/rfkill-block@.service"
ln -sf /usr/bin/setarch "${pkgdir}/usr/bin/ppc32"
ln -sf /usr/bin/setarch "${pkgdir}/usr/bin/ppc64"
}
package_util-linux-libs() {