summaryrefslogtreecommitdiff
path: root/libre/qemu-static/PKGBUILD
diff options
context:
space:
mode:
Diffstat (limited to 'libre/qemu-static/PKGBUILD')
-rw-r--r--libre/qemu-static/PKGBUILD3
1 files changed, 2 insertions, 1 deletions
diff --git a/libre/qemu-static/PKGBUILD b/libre/qemu-static/PKGBUILD
index 6974af4fa..f484ca8b7 100644
--- a/libre/qemu-static/PKGBUILD
+++ b/libre/qemu-static/PKGBUILD
@@ -90,6 +90,7 @@ package_qemu-arch-extra-static() {
pkgdesc='QEMU with full support for non native architectures (static binaries only)'
replaces=('qemu-static-arch-extra')
conflicts=('qemu-static-arch-extra')
+ backup=('etc/binfmt.d/qemu-static.conf')
options=(!strip)
cd qemu-${pkgver}
@@ -98,7 +99,7 @@ package_qemu-arch-extra-static() {
install -m755 ${_arch}-*/qemu-${_arch} "${pkgdir}"/usr/bin
mv -v "${pkgdir}"/usr/bin/qemu-${_arch}{,-static}
done
- install -m755 "${srcdir}"/qemu-static.conf
+ install -m755 "${srcdir}"/qemu-static.conf "${pkgdir}"/etc/binfmt.d
# manually stripping
find "${pkgdir}"/usr/bin -type f -exec strip {} \;