mirror of
https://github.com/Jeffrey-Sardina/liberated-systemd.git
synced 2026-10-19 01:29:53 -05:00
meson: add config switch for systemd-measure
This prog is still labelled as experimental and we didn't have a way to disable its build.
This commit is contained in:
1 parent
f7e15328b0
commit
b9d52d9ded
6 files changed
+21
-9
No files matched your search
@@ -13,6 +13,7 @@ fi
|
||||
bootctl
|
||||
|
||||
CURRENT_UKI=$(bootctl --print-stub-path)
|
||||
MEASURE=/usr/lib/systemd/systemd-measure
|
||||
|
||||
echo "CURRENT UKI ($CURRENT_UKI):"
|
||||
ukify inspect "$CURRENT_UKI"
|
||||
@@ -20,8 +21,12 @@ if test -f /run/systemd/stub/profile; then
|
||||
echo "CURRENT PROFILE:"
|
||||
cat /run/systemd/stub/profile
|
||||
fi
|
||||
echo "CURRENT MEASUREMENT:"
|
||||
/usr/lib/systemd/systemd-measure --current
|
||||
|
||||
# systemd-measure is optional
|
||||
if [ -x "$MEASURE" ]; then
|
||||
echo "CURRENT MEASUREMENT:"
|
||||
"$MEASURE" --current
|
||||
fi
|
||||
if test -f /run/systemd/tpm2-pcr-signature.json; then
|
||||
echo "CURRENT SIGNATURE:"
|
||||
jq </run/systemd/tpm2-pcr-signature.json
|
||||
|
||||
Reference in new issue
Block a user