summaryrefslogtreecommitdiff
path: root/install-system.sh
blob: dd9a87e0e2800897f999b201e46151452135718c (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
#!/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/tmp
mkdir -p $R/dev
mkdir -p $R/sys
mkdir -p $R/proc
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

ln -s usr/local usr

xi sync

xi -nyl --root . install $(ls /var/lib/xipkg/packages/core)
xi -nyl --root . install xipkg