Subversion Repositories livecd

Rev

Go to most recent revision | Details | Last modification | View Log | RSS feed

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