mirror of
https://github.com/Kicksecure/security-misc.git
synced 2024-10-01 08:25:45 -04:00
fix etc/default/grub.d/40_kernel_hardening.cfg
in Qubes if no kernel package is installed
This commit is contained in:
parent
bfd6018d8d
commit
72228946dc
@ -1,8 +1,8 @@
|
|||||||
## Copyright (C) 2019 - 2020 ENCRYPTED SUPPORT LP <adrelanos@riseup.net>
|
## Copyright (C) 2019 - 2020 ENCRYPTED SUPPORT LP <adrelanos@riseup.net>
|
||||||
## See the file COPYING for copying conditions.
|
## See the file COPYING for copying conditions.
|
||||||
|
|
||||||
kpkg="linux-image-$(dpkg --print-architecture)"
|
kpkg="linux-image-$(dpkg --print-architecture)" || true
|
||||||
kver="$(dpkg-query --show --showformat='${Version}' "$kpkg")"
|
kver="$(dpkg-query --show --showformat='${Version}' "$kpkg")" 2>/dev/null || true
|
||||||
#echo "## kver: $kver"
|
#echo "## kver: $kver"
|
||||||
|
|
||||||
## Disables the merging of slabs of similar sizes.
|
## Disables the merging of slabs of similar sizes.
|
||||||
|
Loading…
Reference in New Issue
Block a user