Gentle ping! On Thu, Jan 21 2021 at 12:01 +0100, Ulrich ?lmann <[email protected]> wrote: > 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(-) > > diff --git a/meta-oe/recipes-extended/zram/zram/zram-swap-init > b/meta-oe/recipes-extended/zram/zram/zram-swap-init > index 0643dbca2341..ccc3aafe3a6f 100755 > --- a/meta-oe/recipes-extended/zram/zram/zram-swap-init > +++ b/meta-oe/recipes-extended/zram/zram/zram-swap-init > @@ -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)) -- 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 |
-=-=-=-=-=-=-=-=-=-=-=- Links: You receive all messages sent to this group. View/Reply Online (#89114): https://lists.openembedded.org/g/openembedded-devel/message/89114 Mute This Topic: https://lists.openembedded.org/mt/80001121/21656 Group Owner: [email protected] Unsubscribe: https://lists.openembedded.org/g/openembedded-devel/unsub [[email protected]] -=-=-=-=-=-=-=-=-=-=-=-
