summaryrefslogtreecommitdiffstats
path: root/anaconda-stub
blob: 95bcc8c2847abf3fd738a34b20b9895ce91b4580 (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
45
46
47
#!/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
uncpio < /usr/lib/anaconda.cgz
cd /usr/lib
ln -s /tmp/lib/python1.5 python1.5
ln -s /tmp/lib/anaconda anaconda
rm python1.5.cgz
rm anaconda.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 "$@"