summaryrefslogtreecommitdiff
path: root/install-system.sh
diff options
context:
space:
mode:
Diffstat (limited to 'install-system.sh')
-rwxr-xr-xinstall-system.sh4
1 files changed, 4 insertions, 0 deletions
diff --git a/install-system.sh b/install-system.sh
index 5eda255..aef3b72 100755
--- a/install-system.sh
+++ b/install-system.sh
@@ -3,6 +3,8 @@
# This is just a temporary install script that will install xilinux into a folder
# recommended to run with root
+KEY="davidovski https://xi.davidovski.xyz/repo/xi.pub"
+
R=$1
mkdir -p $R
@@ -29,6 +31,7 @@ xi sync
xi -nyl --root . install $(ls /var/lib/xipkg/packages/core)
xi -nyl --root . install xipkg
+xi -nyl --root . keyimport $KEY
cd bin
ln -s bash sh
@@ -47,3 +50,4 @@ cat > $R/etc/resolv.conf << "EOF"
nameserver 80.80.80.80
nameserver 80.80.81.81
EOF
+