mirror of
https://github.com/ublue-os/bazzite.git
synced 2025-03-14 01:18:40 +00:00
add sudo to secureboot check (#1821)
This commit is contained in:
parent
fe2ba90ec6
commit
5b48ae627c
7
.github/workflows/build.yml
vendored
7
.github/workflows/build.yml
vendored
@ -276,9 +276,10 @@ jobs:
|
||||
sudo apt update
|
||||
sudo apt install sbsigntool curl openssl
|
||||
fi
|
||||
TMP=$(podman create raw-img bash)
|
||||
podman cp $TMP:/usr/lib/modules/${{ matrix.kernel_version }}/vmlinuz .
|
||||
podman rm $TMP
|
||||
TMP=$(sudo podman create raw-img bash)
|
||||
sudo podman cp $TMP:/usr/lib/modules/${{ matrix.kernel_version }}/vmlinuz .
|
||||
sudo podman rm $TMP
|
||||
sudo chmod 666 vmlinux # might not be needed
|
||||
sbverify --list vmlinuz
|
||||
curl --retry 3 -Lo kernel-sign.der https://github.com/ublue-os/kernel-cache/raw/main/certs/public_key.der
|
||||
curl --retry 3 -Lo akmods.der https://github.com/ublue-os/kernel-cache/raw/main/certs/public_key_2.der
|
||||
|
Loading…
x
Reference in New Issue
Block a user