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 df9ba96 commit 5315a41Copy full SHA for 5315a41
meta-balena-common/recipes-support/os-helpers/os-helpers/test-zram-estimation.sh
@@ -36,6 +36,11 @@ modprobe zram || true
36
37
# Configure zram0 (assuming it's available) with size 100MiB more than the test file size for meta-data
38
if ! ZRAM_DEV=$(zramctl --find --size "$(( TEST_CONTENT_SIZE + (100 * 1024 * 1024)))" --algo zstd); then
39
+ info "Available zram devices: " "$(zramctl)"
40
+ zramctl --reset "/dev/zram0" || true
41
+ if ZRAM_DEV=$(zramctl --find --size "$(( TEST_CONTENT_SIZE + (100 * 1024 * 1024)))" --algo zstd); then
42
+ info "Initialized $ZRAM_DEV."
43
+ fi
44
fail "Failed to set up zram device."
45
fi
46
0 commit comments