All of lore.kernel.org
 help / color / mirror / Atom feed
From: "akuster" <akuster808@gmail.com>
To: bitbake-devel@lists.openembedded.org
Subject: [gatesgargh 08/10] zram: fix sourcing of zram parameters
Date: Sat,  6 Feb 2021 15:08:45 -0800	[thread overview]
Message-ID: <bdb79efaba481b2d9807eab59df04fb67e5277dd.1612652802.git.akuster808@gmail.com> (raw)
In-Reply-To: <cover.1612652802.git.akuster808@gmail.com>

From: Søren Andersen <san@skov.dk>

Signed-off-by: Søren Andersen <san@skov.dk>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
(cherry picked from commit 3c8ad9192c1c9f4323bdc7ff28456f11db689adb)
Signed-off-by: Ulrich Ölmann <u.oelmann@pengutronix.de>
---
 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 0643dbca23..ccc3aafe3a 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))
-- 
2.17.1


WARNING: multiple messages have this Message-ID (diff)
From: "akuster" <akuster808@gmail.com>
To: openembedded-devel@lists.openembedded.org
Subject: [gatesgargh 08/10] zram: fix sourcing of zram parameters
Date: Sat,  6 Feb 2021 15:17:04 -0800	[thread overview]
Message-ID: <bdb79efaba481b2d9807eab59df04fb67e5277dd.1612652802.git.akuster808@gmail.com> (raw)
In-Reply-To: <cover.1612652802.git.akuster808@gmail.com>

From: Søren Andersen <san@skov.dk>

Signed-off-by: Søren Andersen <san@skov.dk>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
(cherry picked from commit 3c8ad9192c1c9f4323bdc7ff28456f11db689adb)
Signed-off-by: Ulrich Ölmann <u.oelmann@pengutronix.de>
---
 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 0643dbca23..ccc3aafe3a 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))
-- 
2.17.1


  parent reply	other threads:[~2021-02-06 23:09 UTC|newest]

Thread overview: 24+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2021-02-06 23:08 [gatesgargh 00/10] patch review Feb 06 akuster
2021-02-06 23:16 ` akuster
2021-02-06 23:08 ` [gatesgargh 01/10] xterm: install xterm and uxterm desktop files akuster
2021-02-06 23:16   ` akuster
2021-02-06 23:08 ` [gatesgargh 02/10] xterm: provide virtual/x-terminal-emulator akuster
2021-02-06 23:16   ` akuster
2021-02-06 23:08 ` [gatesgargh 03/10] xmlsec1: Fix configure QA error caused by host lookup path akuster
2021-02-06 23:16   ` akuster
2021-02-06 23:08 ` [gatesgargh 04/10] iscsi-initiator-utils: upgrade 2.1.2 -> 2.1.3 akuster
2021-02-06 23:17   ` akuster
2021-02-06 23:08 ` [gatesgargh 05/10] sip3: simplify recipe akuster
2021-02-06 23:17   ` akuster
2021-02-06 23:08 ` [gatesgargh 06/10] flatbuffers: whitelist CVE-2020-35864 akuster
2021-02-06 23:17   ` akuster
2021-02-06 23:08 ` [gatesgargh 07/10] giflib: apply patch for CVE-2019-15133 and set CVE_PRODUCT akuster
2021-02-06 23:17   ` akuster
2021-02-06 23:08 ` akuster [this message]
2021-02-06 23:17   ` [gatesgargh 08/10] zram: fix sourcing of zram parameters akuster
2021-02-06 23:08 ` [gatesgargh 09/10] openldap: upgrade 2.4.51 -> 2.4.56 akuster
2021-02-06 23:17   ` akuster
2021-02-06 23:08 ` [gatesgargh 10/10] openldap: upgrade 2.4.56 -> 2.4.57 akuster
2021-02-06 23:17   ` akuster
2021-02-06 23:09 ` [bitbake-devel] [gatesgargh 00/10] patch review Feb 06 Martin Jansa
2021-02-06 23:18 ` akuster

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=bdb79efaba481b2d9807eab59df04fb67e5277dd.1612652802.git.akuster808@gmail.com \
    --to=akuster808@gmail.com \
    --cc=bitbake-devel@lists.openembedded.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.