diff options
author | davidovski <david@davidovski.xyz> | 2021-12-22 23:12:55 +0000 |
---|---|---|
committer | davidovski <david@davidovski.xyz> | 2021-12-22 23:12:55 +0000 |
commit | 313d7d23237c142a833e4f0e05593f50f8805b3e (patch) | |
tree | 59df30d640cab22dfaf3b58da0fd6ab1d2fe8821 | |
parent | 1f8792ef2a605288f1e136c6543959cb43775372 (diff) |
added a few extra configuration to install script
-rwxr-xr-x | install-system.sh | 19 |
1 files changed, 19 insertions, 0 deletions
diff --git a/install-system.sh b/install-system.sh index dd9a87e..5eda255 100755 --- a/install-system.sh +++ b/install-system.sh @@ -9,6 +9,7 @@ mkdir -p $R mkdir -p $R/tmp mkdir -p $R/dev mkdir -p $R/sys +mkdir -p $R/run mkdir -p $R/proc mkdir -p $R/usr/bin mkdir -p $R/usr/lib @@ -28,3 +29,21 @@ xi sync xi -nyl --root . install $(ls /var/lib/xipkg/packages/core) xi -nyl --root . install xipkg + +cd bin +ln -s bash sh + +cd ../.. + +mkdir -p $R/var/lib/xipkg/ +cp -r /var/lib/xipkg/packages $R/var/lib/xipkg +cp -r /var/lib/xipkg/keychain $R/var/lib/xipkg + +# Autoconfiguring some things like network + +echo "xilinux" > $R/etc/hostname + +cat > $R/etc/resolv.conf << "EOF" +nameserver 80.80.80.80 +nameserver 80.80.81.81 +EOF |