mirror of
https://git.proxmox.com/git/shim-signed
synced 2025-04-28 09:50:19 +00:00
fix error if /var/lib/dkms does not exist. Closes: #923718
This commit is contained in:
parent
858db3ac9b
commit
d86d671802
7
debian/changelog
vendored
7
debian/changelog
vendored
@ -1,3 +1,10 @@
|
||||
shim-signed (1.31) UNRELEASED; urgency=medium
|
||||
|
||||
* update-secureboot-policy: fix error if /var/lib/dkms does not
|
||||
exist. Closes: #923718
|
||||
|
||||
-- Steve McIntyre <93sam@debian.org> Sat, 25 May 2019 02:25:24 +0100
|
||||
|
||||
shim-signed (1.30) unstable; urgency=medium
|
||||
|
||||
* Force the built-using version to be 15+1533136590.3beb971-6. That
|
||||
|
@ -142,8 +142,9 @@ elif echo "$args" | grep -qc -- '--help'; then
|
||||
exit 0
|
||||
fi
|
||||
|
||||
if [ `find /var/lib/dkms -type d -print | wc -l ` -gt 1 ]; then
|
||||
setup_mok_validation $enable_secureboot
|
||||
if [ -d /var/lib/dkms ] &&
|
||||
[ `find /var/lib/dkms -type d -print | wc -l ` -gt 1 ]; then
|
||||
setup_mok_validation $enable_secureboot
|
||||
else
|
||||
echo "No DKMS packages installed: not changing Secure Boot validation state."
|
||||
fi
|
||||
|
Loading…
Reference in New Issue
Block a user