qemu-devel.nongnu.org archive mirror
 help / color / mirror / Atom feed
* [PATCH] roms: re-remove execute bit from hppa-firmware*
@ 2025-05-18 17:54 Cole Robinson
  2025-05-19 13:45 ` Daniel P. Berrangé
  2025-07-15  6:04 ` Philippe Mathieu-Daudé
  0 siblings, 2 replies; 4+ messages in thread
From: Cole Robinson @ 2025-05-18 17:54 UTC (permalink / raw)
  To: qemu-devel; +Cc: deller, Cole Robinson

This was fixed in c9d77526bddba0803a1fa982fb59ec98057150f9 for
9.2.0 but regressed in db34be329162cf6b06192703065e6c1010dbe3c5 in
10.0.0

When the bit is present, rpmbuild complains about missing ELF build-id

Signed-off-by: Cole Robinson <crobinso@redhat.com>
---
 pc-bios/hppa-firmware.img   | Bin
 pc-bios/hppa-firmware64.img | Bin
 2 files changed, 0 insertions(+), 0 deletions(-)
 mode change 100755 => 100644 pc-bios/hppa-firmware.img
 mode change 100755 => 100644 pc-bios/hppa-firmware64.img

diff --git a/pc-bios/hppa-firmware.img b/pc-bios/hppa-firmware.img
old mode 100755
new mode 100644
diff --git a/pc-bios/hppa-firmware64.img b/pc-bios/hppa-firmware64.img
old mode 100755
new mode 100644
-- 
2.49.0



^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: [PATCH] roms: re-remove execute bit from hppa-firmware*
  2025-05-18 17:54 [PATCH] roms: re-remove execute bit from hppa-firmware* Cole Robinson
@ 2025-05-19 13:45 ` Daniel P. Berrangé
  2025-05-25  0:26   ` Helge Deller
  2025-07-15  6:04 ` Philippe Mathieu-Daudé
  1 sibling, 1 reply; 4+ messages in thread
From: Daniel P. Berrangé @ 2025-05-19 13:45 UTC (permalink / raw)
  To: Cole Robinson; +Cc: qemu-devel, deller

On Sun, May 18, 2025 at 01:54:20PM -0400, Cole Robinson wrote:
> This was fixed in c9d77526bddba0803a1fa982fb59ec98057150f9 for
> 9.2.0 but regressed in db34be329162cf6b06192703065e6c1010dbe3c5 in
> 10.0.0
> 
> When the bit is present, rpmbuild complains about missing ELF build-id
> 
> Signed-off-by: Cole Robinson <crobinso@redhat.com>
> ---
>  pc-bios/hppa-firmware.img   | Bin
>  pc-bios/hppa-firmware64.img | Bin
>  2 files changed, 0 insertions(+), 0 deletions(-)
>  mode change 100755 => 100644 pc-bios/hppa-firmware.img
>  mode change 100755 => 100644 pc-bios/hppa-firmware64.img

Reviewed-by: Daniel P. Berrangé <berrange@redhat.com>

Though given the back & forth, I wonder if we wouldn't be better off
changing meson.build rules instead to mode 0644 for all blobs ?

  install_data(blobs,
               install_dir: qemu_datadir,
	       install_mode: 0644)

...assuming none actually need execute bits set.

With regards,
Daniel
-- 
|: https://berrange.com      -o-    https://www.flickr.com/photos/dberrange :|
|: https://libvirt.org         -o-            https://fstop138.berrange.com :|
|: https://entangle-photo.org    -o-    https://www.instagram.com/dberrange :|



^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: [PATCH] roms: re-remove execute bit from hppa-firmware*
  2025-05-19 13:45 ` Daniel P. Berrangé
@ 2025-05-25  0:26   ` Helge Deller
  0 siblings, 0 replies; 4+ messages in thread
From: Helge Deller @ 2025-05-25  0:26 UTC (permalink / raw)
  To: Daniel P. Berrangé, Cole Robinson; +Cc: qemu-devel

On 5/19/25 15:45, Daniel P. Berrangé wrote:
> On Sun, May 18, 2025 at 01:54:20PM -0400, Cole Robinson wrote:
>> This was fixed in c9d77526bddba0803a1fa982fb59ec98057150f9 for
>> 9.2.0 but regressed in db34be329162cf6b06192703065e6c1010dbe3c5 in
>> 10.0.0
>>
>> When the bit is present, rpmbuild complains about missing ELF build-id
>>
>> Signed-off-by: Cole Robinson <crobinso@redhat.com>
>> ---
>>   pc-bios/hppa-firmware.img   | Bin
>>   pc-bios/hppa-firmware64.img | Bin
>>   2 files changed, 0 insertions(+), 0 deletions(-)
>>   mode change 100755 => 100644 pc-bios/hppa-firmware.img
>>   mode change 100755 => 100644 pc-bios/hppa-firmware64.img
> 
> Reviewed-by: Daniel P. Berrangé <berrange@redhat.com>

Acked-by: Helge Deller <deller@gmx.de>


> Though given the back & forth, I wonder if we wouldn't be better off
> changing meson.build rules instead to mode 0644 for all blobs ?
> 
>    install_data(blobs,
>                 install_dir: qemu_datadir,
> 	       install_mode: 0644)
> 
> ...assuming none actually need execute bits set.

yes, please.

Helge


^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: [PATCH] roms: re-remove execute bit from hppa-firmware*
  2025-05-18 17:54 [PATCH] roms: re-remove execute bit from hppa-firmware* Cole Robinson
  2025-05-19 13:45 ` Daniel P. Berrangé
@ 2025-07-15  6:04 ` Philippe Mathieu-Daudé
  1 sibling, 0 replies; 4+ messages in thread
From: Philippe Mathieu-Daudé @ 2025-07-15  6:04 UTC (permalink / raw)
  To: Cole Robinson, qemu-devel; +Cc: deller

On 18/5/25 19:54, Cole Robinson wrote:
> This was fixed in c9d77526bddba0803a1fa982fb59ec98057150f9 for
> 9.2.0 but regressed in db34be329162cf6b06192703065e6c1010dbe3c5 in
> 10.0.0
> 
> When the bit is present, rpmbuild complains about missing ELF build-id
> 
> Signed-off-by: Cole Robinson <crobinso@redhat.com>
> ---
>   pc-bios/hppa-firmware.img   | Bin
>   pc-bios/hppa-firmware64.img | Bin
>   2 files changed, 0 insertions(+), 0 deletions(-)
>   mode change 100755 => 100644 pc-bios/hppa-firmware.img
>   mode change 100755 => 100644 pc-bios/hppa-firmware64.img

If nobody objects, I'm taking this patch via my mips-next tree.

Thanks,

Phil.


^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2025-07-15  6:04 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2025-05-18 17:54 [PATCH] roms: re-remove execute bit from hppa-firmware* Cole Robinson
2025-05-19 13:45 ` Daniel P. Berrangé
2025-05-25  0:26   ` Helge Deller
2025-07-15  6:04 ` Philippe Mathieu-Daudé

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).