virgin_indy
1.34 KB
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
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
#!/bin/sh
#
# This does a simple INDY cleanup prior to testing an ultra image.
#
# To test the released images do
#
# - run this script to clean up
# - install the new images
# - reboot to load the new kernel drivers
#
# app/sys test
# - build all of the apps to check that they work
#
# gfx tools
# - make install in PR/conv to build the tools
# - make clobber apps and build again, check that they work
#
# audio tools
# - build PR/assets
# - make clobber apps and rebuild again with new banks to
# make sure they work
#
# debugger
# - debug any app, make sure we can set break point and step.
user="`whoami`"
if (test $user != "root")
then
echo "must be root clean up the ultra 64 images from this INDY";
exit 0;
fi
#
# removing last install using versions
#
echo "versions -r / remove ultra"
versions -r / remove ultra
#echo "versions -r / remove GameShop"
#versions -r / remove GameShop
echo "removing misc src apps/tools, binaries, include, libs"
#
# apps/tools
#
rm -rf /usr/src/PR
#
# /usr/sbin system stuff
#
rm -rf /usr/sbin/gload
rm -rf /usr/sbin/dbgif
#
# /usr/sbin gfx tools
#
rm -rf /usr/sbin/flt2c
rm -rf /usr/sbin/rgb2c
rm -rf /usr/sbin/ppmquant
rm -rf /usr/sbin/mksprite
rm -rf /usr/sbin/mkisprite
rm -rf /usr/sbin/mksprite32
#
# /usr/lib stuff
#
rm -rf /usr/lib/PR
rm -rf /usr/lib/libultra.a
#
# /usr/include stuff
#
rm -rf /usr/include/PR