From 7887f4d828c0ec15b209afc49f2671e368cb2c70 Mon Sep 17 00:00:00 2001 From: davidovski Date: Tue, 7 Dec 2021 19:12:06 +0000 Subject: added rudimentary install script --- install-system.sh | 24 ++++++++++++++++++++++++ 1 file changed, 24 insertions(+) create mode 100755 install-system.sh 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) + -- cgit v1.2.1