void-linux / void-packages

The Void source packages collection
https://voidlinux.org
Other
2.58k stars 2.15k forks source link

Request: Split qemu-system-* packages #51804

Closed voidbert closed 1 month ago

voidbert commented 2 months ago

Current situation

QEMU system and user emulators are currently packaged into a single monopackage, qemu.

The problem

It's hard for me to believe most people who download this package use most of the provided emulators. For example, I mostly use qemu-system-x86_64, and qemu-system-arm only occasionally. Thus, I am wasting storage space on programs I'll never use. I see this being particularly problematic in the following cases:

Proposed solution

I would like to suggest that the qemu package be split into many packages, one for each emulator architecture (qemu-x86_64, qemu-arm, qemu-mips, ...). This has already been done, as other distros have adopted similar packaging schemes:

classabbyamp commented 2 months ago

you can use a noextract rule like:

noextract=/usr/bin/qemu-system-*
noextract=!/usr/bin/qemu-system-x86_64
noextract=!/usr/bin/qemu-system-arm
voidbert commented 2 months ago

you can use a noextract rule like:

noextract=/usr/bin/qemu-system-*
noextract=!/usr/bin/qemu-system-x86_64
noextract=!/usr/bin/qemu-system-arm

Thank you for the tip! I'll start using it! Still, I believe that, for most users, having separate packages would be great. Another option would be to add this to Void's libvirt documentation (not just xbps').