summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rwxr-xr-xinstall-system.sh24
1 files changed, 24 insertions, 0 deletions
diff --git a/install-system.sh b/install-system.sh
new file mode 100755
index 0000000..892e1e5
--- /dev/null
+++ b/install-system.sh
@@ -0,0 +1,24 @@
+#!/bin/bash
+
+# This is just a temporary install script that will install xilinux into a folder
+# recommended to run with root
+
+R=$1
+
+mkdir -p $R
+mkdir -p $R/usr/bin
+mkdir -p $R/usr/lib
+
+cd $R
+ln -s usr/bin bin
+ln -s usr/bin sbin
+ln -s usr/bin usr/sbin
+
+ln -s usr/lib lib
+ln -s usr/lib lib64
+ln -s usr/lib usr/lib64
+
+xi sync
+
+xi -nyl --root . install $(ls /var/lib/xipkg/packages/core)
+