mirror of
https://github.com/archlinuxarm/PKGBUILDs.git
synced 2025-01-17 23:34:07 +00:00
extra/fwupd: fix
This commit is contained in:
parent
feb675243d
commit
6748dc22de
1 changed files with 3 additions and 2 deletions
|
@ -11,6 +11,7 @@
|
||||||
# - meson with -Dplugin_intel_spi=false
|
# - meson with -Dplugin_intel_spi=false
|
||||||
# - meson with -Dplugin_amdgpu=disabled
|
# - meson with -Dplugin_amdgpu=disabled
|
||||||
# - remove makedepend on pandoc, meson with -Dman=false
|
# - remove makedepend on pandoc, meson with -Dman=false
|
||||||
|
# - disable tests, failing in chroot
|
||||||
|
|
||||||
pkgbase=fwupd
|
pkgbase=fwupd
|
||||||
pkgname=(
|
pkgname=(
|
||||||
|
@ -88,7 +89,7 @@ build() {
|
||||||
-D plugin_intel_spi=false
|
-D plugin_intel_spi=false
|
||||||
-D supported_build=enabled
|
-D supported_build=enabled
|
||||||
-D systemd_unit_user=fwupd
|
-D systemd_unit_user=fwupd
|
||||||
-Dplugin_uefi_capsule=disabled -Dplugin_uefi_pk=disabled -Dplugin_redfish=disabled -Dplugin_nvme=disabled -Dplugin_msr=disabled -Dman=false
|
-Dplugin_uefi_capsule=disabled -Dplugin_uefi_pk=disabled -Dplugin_redfish=disabled -Dplugin_nvme=disabled -Dplugin_msr=disabled -Dman=false -Dtests=false
|
||||||
)
|
)
|
||||||
|
|
||||||
arch-meson ${pkgname}-${pkgver} build "${meson_options[@]}"
|
arch-meson ${pkgname}-${pkgver} build "${meson_options[@]}"
|
||||||
|
@ -137,7 +138,7 @@ package_fwupd() {
|
||||||
# Add fwupd user https://bugs.archlinux.org/task/79653
|
# Add fwupd user https://bugs.archlinux.org/task/79653
|
||||||
install -D -m644 fwupd.sysusers "${pkgdir}"/usr/lib/sysusers.d/fwupd.conf
|
install -D -m644 fwupd.sysusers "${pkgdir}"/usr/lib/sysusers.d/fwupd.conf
|
||||||
# Remove the tests
|
# Remove the tests
|
||||||
rm -r "${pkgdir}"/usr/{lib,share}/installed-tests/
|
rm -rf "${pkgdir}"/usr/{lib,share}/installed-tests/
|
||||||
# Conflicts with the dbxtool package
|
# Conflicts with the dbxtool package
|
||||||
mv "${pkgdir}"/usr/bin/{,fwupd-}dbxtool
|
mv "${pkgdir}"/usr/bin/{,fwupd-}dbxtool
|
||||||
#mv "${pkgdir}"/usr/share/man/man1/{,fwupd-}dbxtool.1
|
#mv "${pkgdir}"/usr/share/man/man1/{,fwupd-}dbxtool.1
|
||||||
|
|
Loading…
Reference in a new issue