summaryrefslogtreecommitdiffstats
path: root/anaconda-stub
blob: 665c485f660f97e6ec83fb83afb909402e9fac72 (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
#!/bin/sh

cd /mnt/runtime/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 /lib
uncpio < libs.cgz
rm libs.cgz

cd /

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