summaryrefslogtreecommitdiff
path: root/tools
diff options
context:
space:
mode:
authorJan Janssen <medhefgo@web.de>2022-01-26 10:20:46 +0100
committerJan Janssen <medhefgo@web.de>2022-01-26 14:40:55 +0100
commitb6167d96117fcb3f737c9b3534e858dcdcaa5aa0 (patch)
treee75829c0210515fbb6fca35784d9b8dfd7d5a6b4 /tools
parentb2ba8511e6eaf1fb28207492e9ff306679bbe9ff (diff)
downloadsystemd-b6167d96117fcb3f737c9b3534e858dcdcaa5aa0.tar.gz
meson: Use same name format for efi binary intermediates
Diffstat (limited to 'tools')
-rwxr-xr-xtools/debug-sd-boot.sh4
1 files changed, 2 insertions, 2 deletions
diff --git a/tools/debug-sd-boot.sh b/tools/debug-sd-boot.sh
index 816eead22d..1bd2cc406d 100755
--- a/tools/debug-sd-boot.sh
+++ b/tools/debug-sd-boot.sh
@@ -32,10 +32,10 @@ fi
binary=$(realpath "${1}")
if [[ "${1}" =~ systemd-boot([[:alnum:]]+).efi ]]; then
target="systemd-boot"
- symbols=$(realpath "$(dirname "${1}")/systemd_boot.so")
+ symbols=$(realpath "${1%efi}elf")
elif [[ "${1}" =~ linux([[:alnum:]]+).efi.stub ]]; then
target="systemd-stub"
- symbols=$(realpath "$(dirname "${1}")/linux${BASH_REMATCH[1]}.elf.stub")
+ symbols=$(realpath "${1%efi.stub}elf.stub")
else
echo "Cannot detect EFI binary '${1}'."
exit 1