func: add starting podman tests
This commit is contained in:
parent
b93edbf9b8
commit
6cfae3af98
4
func/core/pkg_podman/00-install-podman.sh
Executable file
4
func/core/pkg_podman/00-install-podman.sh
Executable file
@ -0,0 +1,4 @@
|
||||
#!/bin/bash
|
||||
#
|
||||
r_log "podman" "Installing podman"
|
||||
p_installPackageNormal podman
|
4
func/core/pkg_podman/10-test-podman.sh
Executable file
4
func/core/pkg_podman/10-test-podman.sh
Executable file
@ -0,0 +1,4 @@
|
||||
#!/bin/bash
|
||||
|
||||
r_log "podman" "Testing podman"
|
||||
|
3
func/core/pkg_podman/11-test-podman-socket.sh
Executable file
3
func/core/pkg_podman/11-test-podman-socket.sh
Executable file
@ -0,0 +1,3 @@
|
||||
#!/bin/bash
|
||||
|
||||
r_log "podman" "Testing podman sockets"
|
@ -8,7 +8,12 @@ if [ ! -d /sys/firmware/efi ]; then
|
||||
exit 0
|
||||
fi
|
||||
else
|
||||
p_installPackageNormal pesign
|
||||
pesign --show-signature --in /boot/efi/EFI/rocky/shim.efi | grep -Eq "Microsoft Windows UEFI Driver Publisher"
|
||||
r_checkExitStatus $?
|
||||
if [[ "$rl_arch" == "x86_64" ]]; then
|
||||
p_installPackageNormal pesign
|
||||
pesign --show-signature --in /boot/efi/EFI/rocky/shim.efi | grep -Eq "Microsoft Windows UEFI Driver Publisher"
|
||||
r_checkExitStatus $?
|
||||
else
|
||||
r_log "secureboot" "x86_64 is the only supported secureboot arch at this time"
|
||||
exit 0
|
||||
fi
|
||||
fi
|
||||
|
Loading…
Reference in New Issue
Block a user