no longer hardcode amd64

This commit is contained in:
Patrick Schleizer 2019-12-24 06:00:41 -05:00
parent d03a3d9ac0
commit ede536913d
No known key found for this signature in database
GPG Key ID: CB8D50BB77BB3C48

View File

@ -1,7 +1,8 @@
## Copyright (C) 2019 - 2019 ENCRYPTED SUPPORT LP <adrelanos@riseup.net>
## See the file COPYING for copying conditions.
kver="$(dpkg-query --show --showformat='${Version}' linux-image-amd64)"
kpkg="linux-image-$(dpkg --print-architecture)"
kver="$(dpkg-query --show --showformat='${Version}' "$kpkg")"
#echo "## kver: $kver"
## Disables the merging of slabs of similar sizes.