From: Helge Deller <deller@gmx.de>
To: "Daniel P. Berrangé" <berrange@redhat.com>, qemu-devel@nongnu.org
Cc: Cole Robinson <crobinso@redhat.com>
Subject: Re: [PATCH] pc-bios: ensure installed ROMs don't have execute permissions
Date: Sat, 31 May 2025 20:02:35 +0200 [thread overview]
Message-ID: <23ddd4e7-dd4c-4386-aa17-a95bf9066e34@gmx.de> (raw)
In-Reply-To: <20250530152118.65030-1-berrange@redhat.com>
On 5/30/25 17:21, Daniel P. Berrangé wrote:
> We have been inconsistent about whether ROMS stored in git have
> execute permission set, and by default meson will preserve source
> file permissions when installing files. This has caused periodic
> problems in RPM packaging as executable binary files get analysed
> by various tools/linters, which can trip up on the ROMs.
>
> Tell meson explicitly that all the ROMs should be without execute
> permission when installed.
>
> Signed-off-by: Daniel P. Berrangé <berrange@redhat.com>
Reviewed-by: Helge Deller <deller@gmx.de>
Tested-by: Helge Deller <deller@gmx.de>
Thanks!
Helge
> ---
> pc-bios/meson.build | 2 +-
> 1 file changed, 1 insertion(+), 1 deletion(-)
>
> diff --git a/pc-bios/meson.build b/pc-bios/meson.build
> index 79bb2e1800..3c41620044 100644
> --- a/pc-bios/meson.build
> +++ b/pc-bios/meson.build
> @@ -88,7 +88,7 @@ blobs = [
> ]
>
> if get_option('install_blobs')
> - install_data(blobs, install_dir: qemu_datadir)
> + install_data(blobs, install_dir: qemu_datadir, install_mode: 'rw-r--r--')
> endif
>
> subdir('descriptors')
next prev parent reply other threads:[~2025-05-31 18:04 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2025-05-30 15:21 [PATCH] pc-bios: ensure installed ROMs don't have execute permissions Daniel P. Berrangé
2025-05-31 18:02 ` Helge Deller [this message]
2025-06-10 7:18 ` Philippe Mathieu-Daudé
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=23ddd4e7-dd4c-4386-aa17-a95bf9066e34@gmx.de \
--to=deller@gmx.de \
--cc=berrange@redhat.com \
--cc=crobinso@redhat.com \
--cc=qemu-devel@nongnu.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).