From a5f31fbf4e9d5aeb586feef28bdfb45a973d77fa Mon Sep 17 00:00:00 2001 From: Mariusz Kogen Date: Wed, 14 Sep 2022 19:24:43 +0200 Subject: [PATCH] =?UTF-8?q?=F0=9F=8E=9A=EF=B8=8F=20reclaiming=20that=20pre?= =?UTF-8?q?cious=20RAM=20memory=20(#1799)?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit * 🎚️ reclaiming that precious RAM memory This adds 60MB of usable RAM * 🎚️ reclaiming that precious RAM memory - sudo * Update build/write-image.sh Co-authored-by: Aiden McClelland <3732071+dr-bonez@users.noreply.github.com> --- build/write-image.sh | 1 + 1 file changed, 1 insertion(+) diff --git a/build/write-image.sh b/build/write-image.sh index 448e6edbc..fc945dad8 100755 --- a/build/write-image.sh +++ b/build/write-image.sh @@ -34,6 +34,7 @@ sudo sed -i 's/ init=\/usr\/lib\/raspi-config\/init_resize.sh//g' /tmp/eos-mnt/c cat /tmp/eos-mnt/config.txt | grep -v "dtoverlay=" | sudo tee /tmp/eos-mnt/config.txt.tmp > /dev/null echo "dtoverlay=pwm-2chan,disable-bt" | sudo tee -a /tmp/eos-mnt/config.txt.tmp > /dev/null +echo "gpu_mem=16" | sudo tee -a /tmp/eos-mnt/config.txt.tmp > /dev/null sudo mv /tmp/eos-mnt/config.txt.tmp /tmp/eos-mnt/config.txt sudo touch /tmp/eos-mnt/ssh