We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 9ef5b99 commit 12d60bcCopy full SHA for 12d60bc
packages/bsp/common/usr/lib/armbian/armbian-zram-config
@@ -19,7 +19,7 @@
19
20
# Read mkfs version as it behaves differently after v2.40.1 (Trixie / Plucky ->)
21
# mkfs is used to create the zram devices and the ramlog partition
22
-MKFS_VERSION=$(mkfs --version | grep -oP '\d+\.\d+\.\d+')
+MKFS_VERSION=$(LC_ALL=C mkfs --version 2>&1 | grep -Po 'util-linux\s+\K[0-9]+(\.[0-9]+)*' | head -n1)
23
24
# and script configuration
25
. /usr/lib/armbian/armbian-common
0 commit comments