[Bug 2080244] Re: Rebuilding results in unusable OpenSBI binary
Bug Watch Updater
2080244 at bugs.launchpad.net
Wed Sep 11 16:47:28 UTC 2024
** Changed in: opensbi (Debian)
Status: New => Fix Released
--
You received this bug notification because you are a member of Ubuntu
Foundations Bugs, which is subscribed to opensbi in Ubuntu.
https://bugs.launchpad.net/bugs/2080244
Title:
Rebuilding results in unusable OpenSBI binary
Status in opensbi package in Ubuntu:
New
Status in opensbi package in Debian:
Fix Released
Bug description:
debian/rules only strips the .note section but not .note.package.
We need a change like:
diff --git a/debian/rules b/debian/rules
index d9562be..2a5a7a5 100755
--- a/debian/rules
+++ b/debian/rules
@@ -19,7 +19,7 @@ override_dh_auto_build:
PLATFORM=generic ; \
for elffile in build/platform/generic/firmware/fw_*.elf ; do \
riscv64-linux-gnu-strip --remove-section=.comment \
- --remove-section=.note \
+ --remove-section=.note* \
$${elffile} ; \
done
To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/opensbi/+bug/2080244/+subscriptions
More information about the foundations-bugs
mailing list