systemd/mkosi.images
Daan De Meyer 88221219a3 mkosi: Disable unique debug source names
We use -fdebug-prefix-map= because debugedit doesn't work for us (for
a currently unknown reason since it's the most obtuse code I've ever
had the pleasure of reading). With all the unique macros enabled, the
destination directory we pass to -fdebug-prefix-map= includes the package
release. The release is either the timestamp of the current commit or
the current time if the working tree is dirty. This means it generally
changes every time we rerun the build script. However, meson only reads
compiler arguments the first time it is invoked or if --wipe is specified.
This means that on a rerun -fdebug-prefix-map= will be configured wrong
and the build will fail.

Let's prevent this from happening by disabling the unique debug source
names by overriding the --unique-debug-src-base option that is passed to
find-debuginfo.sh by rpm via the _find_debuginfo_opts macro.
2024-07-16 09:41:22 +02:00
..
build mkosi: Disable unique debug source names 2024-07-16 09:41:22 +02:00
exitrd mkosi: Introduce build image 2024-07-15 16:17:33 +02:00
minimal-0 mkosi: Adapt configuration to take into account configuration rework 2024-07-09 08:07:09 +02:00
minimal-1 mkosi: Adapt configuration to take into account configuration rework 2024-07-09 08:07:09 +02:00
minimal-base mkosi: Introduce build image 2024-07-15 16:17:33 +02:00