On Tue, Feb 08, 2022 at 10:39:18PM +0200, Liviu Ionescu wrote: > > > > On 8 Feb 2022, at 21:58, Peter Maydell <peter.mayd...@linaro.org> wrote: > > > > I've cc'd some people who might have an opinion on whether this > > something we want to add upstream. (Patch/thread below for context.) > > Sure. For a better understanding of the reason why I found this useful: I use > QEMU extensively in CI tests, in various environments, and, to be sure that > the tests always run in a reproducible environment, I have binary packages > with various tools; the tested packages have dependencies on explicit > versions of the tools, for example: > > - > https://github.com/micro-os-plus/micro-test-plus-xpack/blob/9c23c7d7b8fdba849602bcf8ad4c9e64e7e2837a/package.json#L505 > > Seeing the branded greeting in a console log is a visual confirmation that > the test script used the desired version, and not another version picked up > by mistake when using an incorrect PATH. > > I hope that other distributions may find this useful too.
Is the existing ./configure --with-pkgversion= option not enough? Here is the system QEMU from Fedora 35: $ qemu-system-x86_64 --version QEMU emulator version 6.1.0 (qemu-6.1.0-10.fc35) ^^^^ Or on Debian: QEMU emulator version 5.2.0 (Debian 1:5.2+dfsg-11+deb11u1) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ Stefan
signature.asc
Description: PGP signature