summaryrefslogtreecommitdiffstats
path: root/anaconda-stub
blob: eefd9c98c5fbb6538befeb487aaf183b92f268e1 (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
31
32
33
34
35
36
37
38
39
40
41
42
43
44
#!/bin/sh

cd /mnt/runtime/modules
rm *
cd /modules
rm *

rm /bin/loader
cd /tmp
mkdir lib
cd lib
uncpio < /usr/lib/python1.5.cgz
cd /usr/lib
ln -s /tmp/lib/python1.5 python1.5
rm python1.5.cgz

cd /tmp
uncpio < /usr/bin/python1.5.cgz 
chmod 0755 python1.5
cd /usr/bin
rm python1.5.cgz
ln -s /tmp/python1.5 /usr/bin/python1.5

cd /usr
uncpio < X11R6.cgz
rm X11R6.cgz

cd /usr/lib
for n in *.cgz; do
    uncpio < $n
    rm $n
done

cd /usr/sbin
uncpio < sbin.cgz
rm sbin.cgz

cd /lib
uncpio < libs.cgz
rm libs.cgz

cd /

exec /usr/bin/anaconda.real -T $*