zram: fix sourcing of zram parameters
A message that is not in the archive (sent off-list or not yet received): [email protected]
Gentle ping!
Quoted 23 lines · Ulrich ?lmann
From: Søren Andersen <[email protected]>
Signed-off-by Søren Andersen <[email protected]>Signed-off-by Khem Raj <[email protected]>(cherry picked from commit 3c8ad9192c1c9f4323bdc7ff28456f11db689adb)Signed-off-by Ulrich Ölmann <[email protected]>--- meta-oe/recipes-extended/zram/zram/zram-swap-init | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)meta-oe/recipes-extended/zram/zram/zram-swap-init +1
-1@@ -14,7 +14,7 @@ fi ZRAM_SIZE_PERCENT=100 ZRAM_ALGORITHM=lz4 -[ -f /etc/default/zram ] && ./etc/default/zram || true +[ -f /etc/default/zram ] && . /etc/default/zram || true memtotal=$(grep MemTotal /proc/meminfo | awk ' { print $2 } ') memzram=$(($memtotal*${ZRAM_SIZE_PERCENT}/100))
Signature · 4 lines
Pengutronix e.K. | Ulrich Ölmann | Industrial Linux Solutions | http://www.pengutronix.de/ | Peiner Str. 6-8, 31137 Hildesheim, Germany | Phone: +49-5121-206917-0 | Amtsgericht Hildesheim, HRA 2686 | Fax: +49-5121-206917-5555 |
Quoted 1 line · Ulrich ?lmann
Gentle ping!
running is a build now. May take a few days to finish.
-armin
Quoted 28 lines · Ulrich ?lmann
Quoted 26 lines
From: Søren Andersen <[email protected]>
Signed-off-by Søren Andersen <[email protected]>Signed-off-by Khem Raj <[email protected]>(cherry picked from commit 3c8ad9192c1c9f4323bdc7ff28456f11db689adb)Signed-off-by Ulrich Ölmann <[email protected]>--- meta-oe/recipes-extended/zram/zram/zram-swap-init | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)meta-oe/recipes-extended/zram/zram/zram-swap-init +1
-1@@ -14,7 +14,7 @@ fi ZRAM_SIZE_PERCENT=100 ZRAM_ALGORITHM=lz4 -[ -f /etc/default/zram ] && ./etc/default/zram || true +[ -f /etc/default/zram ] && . /etc/default/zram || true memtotal=$(grep MemTotal /proc/meminfo | awk ' { print $2 } ') memzram=$(($memtotal*${ZRAM_SIZE_PERCENT}/100))