From 1661e8ce98164f3c3a6b73e79c7bb56ee4bfb77d Mon Sep 17 00:00:00 2001 From: Marcel Stangenberger Date: Fri, 11 Apr 2025 20:17:29 +0000 Subject: [PATCH] optimize makepkg flags --- post/run.sh | 3 +++ 1 file changed, 3 insertions(+) diff --git a/post/run.sh b/post/run.sh index 066941c..4091707 100644 --- a/post/run.sh +++ b/post/run.sh @@ -38,6 +38,9 @@ curl -o /usr/local/bin/deploy https://git.xoservice.nl/marcel/deploy/raw/master/ chown root:root /usr/local/bin/deploy chmod ug+x /usr/local/bin/deploy +echo -e "${GREEN}Optimizing makepkg settings...${NOCOL}" +sed -i 's/#MAKEFLAGS="-j2"/MAKEFLAGs="-j$(nproc)"/g' /etc/makepkg.conf + echo -e "${RED}All done, reboot in 10 seconds...${NOCOL}" sleep 10 reboot