mirror of
https://github.com/systemd/systemd.git
synced 2025-03-28 02:50:16 +03:00
meson: print autodetected sbat fields
... Message: sbat-distro (from ID): fedora Message: sbat-distro-summary (from NAME): Fedora Message: sbat-distro-url (from BUG_REPORT_URL): https://bugzilla.redhat.com/ ...
This commit is contained in:
parent
0f4c4f3824
commit
f86887af6e
@ -118,6 +118,7 @@ if have_gnu_efi
|
||||
if value == '' or value == 'auto'
|
||||
cmd = 'if [ -e /etc/os-release ]; then . /etc/os-release; else . /usr/lib/os-release; fi; echo $@0@'.format(sbatvar[1])
|
||||
value = run_command(sh, '-c', cmd).stdout().strip()
|
||||
message('@0@ (from @1@): @2@'.format(sbatvar[0], sbatvar[1], value))
|
||||
endif
|
||||
if value == ''
|
||||
error('Required @0@ option not set and autodetection failed'.format(sbatvar[0]))
|
||||
|
Loading…
x
Reference in New Issue
Block a user