-
-
Notifications
You must be signed in to change notification settings - Fork 1.7k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
MDEV-32686 Debian: include ELF package notes #3692
base: 10.11
Are you sure you want to change the base?
Changes from all commits
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -77,6 +77,12 @@ disable_libfmt() | |
sed '/libfmt-dev/d' -i debian/control | ||
} | ||
|
||
remove_package_notes() | ||
{ | ||
# binutils >=2.39 + disto makefile /usr/share/debhelper/dh_package_notes/package-notes.mk | ||
sed -e '/package.notes/d' -i debian/rules debian/control | ||
} | ||
|
||
architecture=$(dpkg-architecture -q DEB_BUILD_ARCH) | ||
uname_machine=$(uname -m) | ||
|
||
|
@@ -114,6 +120,7 @@ in | |
;& | ||
"bullseye") | ||
add_lsb_base_depends | ||
remove_package_notes | ||
;& | ||
"bookworm") | ||
# mariadb-plugin-rocksdb in control is 4 arches covered by the distro rocksdb-tools | ||
|
@@ -131,6 +138,7 @@ in | |
"focal") | ||
replace_uring_with_aio | ||
disable_libfmt | ||
remove_package_notes | ||
;& | ||
"jammy"|"kinetic") | ||
add_lsb_base_depends | ||
|
@@ -155,6 +163,10 @@ in | |
exit 1 | ||
esac | ||
|
||
if [ ! -f /usr/share/debhelper/dh_package_notes/package-notes.mk ]; then | ||
remove_package_notes | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. I don't think it's a good idea. This script builds release packages. They should be consistently built the way we want them to and not depend on whatever we forgot to install on a particular new builder. Better let it fail here — we'll see it and fix the builder — instead of us suddenly releasing the package that doesn't has what we want There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Ok. Sure. |
||
fi | ||
|
||
if [ -n "${AUTOBAKE_PREP_CONTROL_RULES_ONLY:-}" ] | ||
then | ||
exit 0 | ||
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
why do you remove package notes in focal and bullseye? too old binutils?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
yes, but more directly not a
dh-package-notes
package that would use it.