[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [PATCH] Add --with-branding-prefix and QEMU_BRANDING_PREFIX
From: |
Peter Maydell |
Subject: |
Re: [PATCH] Add --with-branding-prefix and QEMU_BRANDING_PREFIX |
Date: |
Wed, 9 Feb 2022 11:30:57 +0000 |
On Wed, 9 Feb 2022 at 10:13, Liviu Ionescu <ilg@livius.net> wrote:
> > On 9 Feb 2022, at 11:57, Stefan Hajnoczi <stefanha@redhat.com> wrote:
> >
> >
> > Is the existing ./configure --with-pkgversion= option not enough?
>
> My understanding of --with-pkgversion=, based on the fact that in QEMU this
> string is appended to the version, was that it is a suffix that describes a
> specific version.
>
> Most GNU tools, including GCC, binutils, etc, use a similar option, but the
> string is prepended to the greeting message.
gcc doesn't prepend the pkgversion string to the greeting. Taking
the distro gcc as an example, 'gcc -v' prints out the configure options
used, which include
--with-pkgversion='Ubuntu 9.3.0-17ubuntu1~20.04'
and 'gcc --version' prints the version as:
gcc (Ubuntu 9.3.0-17ubuntu1~20.04) 9.3.0
which is fairly similar to what qemu does today:
QEMU emulator version 4.2.1 (Debian 1:4.2-3ubuntu6.19)
(we just have the pkgversion and the upstream version swapped).
-- PMM
Re: [PATCH] Add --with-branding-prefix and QEMU_BRANDING_PREFIX, Liviu Ionescu, 2022/02/14
- Re: [PATCH] Add --with-branding-prefix and QEMU_BRANDING_PREFIX, Peter Maydell, 2022/02/14
- Re: [PATCH] Add --with-branding-prefix and QEMU_BRANDING_PREFIX, Liviu Ionescu, 2022/02/14
- Re: [PATCH] Add --with-branding-prefix and QEMU_BRANDING_PREFIX, Daniel P . Berrangé, 2022/02/14
- Re: [PATCH] Add --with-branding-prefix and QEMU_BRANDING_PREFIX, Liviu Ionescu, 2022/02/14
- Re: [PATCH] Add --with-branding-prefix and QEMU_BRANDING_PREFIX, Daniel P . Berrangé, 2022/02/14
- Re: [PATCH] Add --with-branding-prefix and QEMU_BRANDING_PREFIX, Peter Maydell, 2022/02/14