Subversion Repositories livecd

Rev

Rev 295 | Only display areas with differences | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed

Rev 295 Rev 306
-
 
1
########################################################################
1
#
2
#
2
# sl6-doc.ks
3
# sl6-doc.ks
3
#
4
#
4
# Create /usr/share/doc/HTML/index.html 
5
# Create /usr/share/doc/HTML/index.html 
5
# A short documentation for Scientific Linux Live CD/DVD
6
# A short documentation for Scientific Linux Live CD/DVD
6
#
7
#
-
 
8
########################################################################
7
 
9
 
8
%post
10
%post
9
 
11
 
10
# get sl logo
12
# get sl logo
11
cp /usr/share/doc/sl-release-notes-6.0/images/sl-logo-96.png /usr/share/doc/HTML/sl-logo-96.png
13
cp /usr/share/doc/sl-release-notes-6.0/images/sl-logo-96.png /usr/share/doc/HTML/sl-logo-96.png
12
if [ ! -e /usr/share/doc/HTML/sl-logo-96.png ]; then
14
if [ ! -e /usr/share/doc/HTML/sl-logo-96.png ]; then
13
   wget --timeout=20 http://131.225.111.32/documentation/graphics/logo/sl-logo-96.png -O /usr/share/doc/HTML/sl-logo-96.png
15
   wget --timeout=20 http://131.225.111.32/documentation/graphics/logo/sl-logo-96.png -O /usr/share/doc/HTML/sl-logo-96.png
14
fi
16
fi
15
if [ ! -e /usr/share/doc/HTML/sl-logo-96.png ]; then
17
if [ ! -e /usr/share/doc/HTML/sl-logo-96.png ]; then
16
   wget --timeout=20 http://129.132.221.163/sl-logo-96.png -O /usr/share/doc/HTML/sl-logo-96.png
18
   wget --timeout=20 http://129.132.221.163/sl-logo-96.png -O /usr/share/doc/HTML/sl-logo-96.png
17
fi
19
fi
18
 
20
 
19
cat > /usr/share/doc/HTML/index.html << EOF
21
cat > /usr/share/doc/HTML/index.html << EOF
20
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
22
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
21
<html>
23
<html>
22
<head>
24
<head>
23
<title>Scientific Linux 6.0 Live</title>
25
<title>Scientific Linux 6.0 Live</title>
24
<style type="text/css" media="all">@import "layout.css";</style>
26
<style type="text/css" media="all">@import "layout.css";</style>
25
</head>
27
</head>
26
<body>
28
<body>
27
<center>
29
<center>
28
<img SRC='sl-logo-96.png' ALT='SL-Logo'><br><br>
30
<img SRC='sl-logo-96.png' ALT='SL-Logo'><br><br>
29
<h1>Welcome to Scientific Linux 6.0 Live</h1>
31
<h1>Welcome to Scientific Linux 6.0 Live</h1>
30
</center>
32
</center>
31
<p>The <b>Scientific Linux Live CD/DVD</b> is a bootable CD/DVD that runs Linux directly from
33
<p>The <b>Scientific Linux Live CD/DVD</b> is a bootable CD/DVD that runs Linux directly from
32
CD/DVD without installing. It is based on <a href="https://www.scientificlinux.org/"> Scientific Linux</a> (SL),
34
CD/DVD without installing. It is based on <a href="https://www.scientificlinux.org/"> Scientific Linux</a> (SL),
33
which is recompiled from <a href="http://www.redhat.com/software/rhel/">RedHat Enterprise Linux</a> (RHEL) sources.<br>
35
which is recompiled from <a href="http://www.redhat.com/software/rhel/">RedHat Enterprise Linux</a> (RHEL) sources.<br>
34
The Live CD/DVD has a read-write rootfs and squashfs provides on-the-fly decompression that allows to store 
36
The Live CD/DVD has a read-write rootfs and squashfs provides on-the-fly decompression that allows to store 
35
2 GB software on a normal CD-ROM. It can be installed on hard disk or usb drive with persistent changes.
37
2 GB software on a normal CD-ROM. It can be installed on hard disk or usb drive with persistent changes.
36
The Live CD/DVDs were built using the <a href="http://fedoraproject.org/wiki/FedoraLiveCD">Fedora LiveCD Tools</a>.</p>
38
The Live CD/DVDs were built using the <a href="http://fedoraproject.org/wiki/FedoraLiveCD">Fedora LiveCD Tools</a>.</p>
37
<p>For more information visit the <a href="http://www.livecd.ethz.ch/">Scientific Linux Live Homepage</a>.</p>
39
<p>For more information visit the <a href="http://www.livecd.ethz.ch/">Scientific Linux Live Homepage</a>.</p>
38
<p align=right>Last modified: Friday, 04-March-2011 by Urs Beyerle</p>
40
<p align=right>Last modified: Friday, 04-March-2011 by Urs Beyerle</p>
39
</body>
41
</body>
40
</html>
42
</html>
41
EOF
43
EOF
42
 
44
 
43
cat > /usr/share/doc/HTML/layout.css << EOF
45
cat > /usr/share/doc/HTML/layout.css << EOF
44
body {
46
body {
45
        margin:10px;
47
        margin:10px;
46
        padding:10px;
48
        padding:10px;
47
        font-family:verdana, arial, helvetica, sans-serif;
49
        font-family:verdana, arial, helvetica, sans-serif;
48
        color:#333;
50
        color:#333;
49
        background-color:white;
51
        background-color:white;
50
        }
52
        }
51
h1 {
53
h1 {
52
        margin:5px 5px 15px 0px;
54
        margin:5px 5px 15px 0px;
53
        padding:0px;
55
        padding:0px;
54
        font-size:24px;
56
        font-size:24px;
55
        line-height:24px;
57
        line-height:24px;
56
        font-weight:900;
58
        font-weight:900;
57
        color:#333;
59
        color:#333;
58
        }
60
        }
59
p {
61
p {
60
        font:12px/20px verdana, arial, helvetica, sans-serif;
62
        font:12px/20px verdana, arial, helvetica, sans-serif;
61
        margin:0px 0px 14px 0px;
63
        margin:0px 0px 14px 0px;
62
        padding:3px;
64
        padding:3px;
63
        }
65
        }
64
li {
66
li {
65
        font:12px/20px verdana, arial, helvetica, sans-serif;
67
        font:12px/20px verdana, arial, helvetica, sans-serif;
66
        margin:0px 0px 0px 0px;
68
        margin:0px 0px 0px 0px;
67
        padding:0px;
69
        padding:0px;
68
        }
70
        }
69
a {
71
a {
70
        color:#09c;
72
        color:#09c;
71
        font-size:12px;
73
        font-size:12px;
72
        text-decoration:none;
74
        text-decoration:none;
73
        font-weight:600;
75
        font-weight:600;
74
        font-family:verdana, arial, helvetica, sans-serif;
76
        font-family:verdana, arial, helvetica, sans-serif;
75
        }
77
        }
76
a:link {color:#05a;}
78
a:link {color:#05a;}
77
a:visited {color:#058;}
79
a:visited {color:#058;}
78
a:hover {background-color:#eee;}
80
a:hover {background-color:#eee;}
79
EOF
81
EOF
80
 
82
 
81
%end
83
%end