From 3f1978f753785696d3748dbda29c1c4739d36a8b Mon Sep 17 00:00:00 2001
From: Holden Rohrer
Date: Wed, 15 Apr 2020 20:35:02 -0400
Subject: compiled code in $USE
---
build.sh | 2 +-
source.sh | 9 +++++----
2 files changed, 6 insertions(+), 5 deletions(-)
diff --git a/build.sh b/build.sh
index 0efe21c..ca885a1 100755
--- a/build.sh
+++ b/build.sh
@@ -19,8 +19,8 @@ locale-gen
sh mod.sh
systemctl enable wpa_supplicant@wlp3s0
-sh source.sh
sh config.sh
+sh source.sh
su - $USE -c "/dotfiles/user.sh"
diff --git a/source.sh b/source.sh
index 17d309e..7eda6a4 100755
--- a/source.sh
+++ b/source.sh
@@ -1,15 +1,16 @@
#!/bin/sh
# Installs from source
+su - $USE < config.h
+sudo make install
cd ..
git clone https://aur.archlinux.org/preloader-signed.git
-chown -R nobody preloader-signed
cd preloader-signed
-su -s/bin/sh nobody -c "makepkg "
-pacman -U preloader-signed-20130208-1-x86_64.pkg.tar.xz
+yes | makepkg -si
cd ..
+EOF
--
cgit