Skip to contentSkip to conversation

roms: re-remove execute bit from hppa-firmware*

PATCH In review Cole Robinson 4 participants 4 messages May 18, 2025 – Jul 15, 2025

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 roms: re-remove execute bit from hppa-firmware*

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

---
 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
pc-bios/hppa-firmware.img +0 -0
old mode 100755
new mode 100644
pc-bios/hppa-firmware64.img +0 -0
old mode 100755
new mode 100644
Signature · 1 line
2.49.0
Reviewed-by on v1 1/1
#1 lore raw
Quoted 6 lines · 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

Quoted 7 lines
---
 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

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

Signature · 3 lines
|: 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 :|
Acked-by
#2 lore raw
Quoted 15 lines · Daniel P. Berrangé
Quoted 6 lines · 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

Quoted 7 lines
---
  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

Quoted 1 line
Quoted 8 lines

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

#3 lore raw
In reply to Cole Robinson
Quoted 6 lines · 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

Quoted 7 lines
---
  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.