conflicts between qemu-common qemu-system-x86 and seabios

This forum is for discussion about general software issues.

conflicts between qemu-common qemu-system-x86 and seabios

Postby Popolon » Thu Jul 24, 2025 10:55 am

* qemu-system-x86 depends on seabios that doesn't exists on archlinuxarm as package
* qemu-common contains /usr/share/qemu/vgabios-* and /usr/share/qemu/bios-* that are in seabios package on arch linux x86 (any package)

So this is impossible to install qemu-system-x86.

Solutions possible:
* More clean, remove bios-* vgabios-* from qemu-common, and add seabios package to archlinuxarm
* Less clean, will probably need more maintenance work between x86 and arm versions of package but could work: change the qemu-system-x86 package to qemu-common instead of seabios.
Popolon
 
Posts: 11
Joined: Mon Sep 28, 2015 11:53 pm

Re: conflicts between qemu-common qemu-system-x86 and seabio

Postby Popolon » Sun Jul 27, 2025 9:56 am

As I'm not sure there is still active package management here, the simpliest solution I found for now:

Download the seabios PKGBUILD from arch (x86_64):

git clone "url copy-pasted from Arch linux seabios page, _source files_ link"

(this forum is totally broken, impossible to keep the original code format)


Remove all the prepare and build functions and install commands inside package_seabios() function, build so just make an empty package (still with docs) to avoid dependencies complaints and conflicts.

-------------
package_seabios() {
optdepends=('seabios-docs: for documentation')

# install -vDm 644 output/*.bin -t "$pkgdir/usr/share/qemu/"
install -vDm 644 $pkgbase-rel-$pkgver/README -t "$pkgdir/usr/share/doc/$pkgbase/"
}
-------------

Install this made package:

pacman -U seabios-1.17.0-1-any.pkg.tar.xz


Get the other dependency, edk2-ovmf (any) package from arch x86_64, and install it too (both are x86 firmware for booting x86 system as a PC compatible does).

Then just install qemu-system-x86 Arch Linux ARM package the usual way. The emulator It works for me, my goal is to use static emulator to chroot x86_64 Arch system on an ALARM system, to use some missing packages.
Popolon
 
Posts: 11
Joined: Mon Sep 28, 2015 11:53 pm


Return to General

Who is online

Users browsing this forum: No registered users and 7 guests