diff options
author | Sebastian Silva (icarito) <sebastian@sugarlabs.org> | 2012-09-03 15:54:54 (GMT) |
---|---|---|
committer | Sebastian Silva (icarito) <sebastian@sugarlabs.org> | 2012-09-03 15:54:54 (GMT) |
commit | 35f7e2c701f23237c80aa814e77024c08b9692a8 (patch) | |
tree | 0c167878b725db18d1fbd9d495b797aa9abe90da | |
parent | 8f5152fbb06c377192c8397901e22749262d0def (diff) |
Release 0.5
-rw-r--r-- | hx_home/favicon_01.png | bin | 0 -> 882 bytes | |||
-rw-r--r-- | hx_home/fondo.jpg | bin | 0 -> 86804 bytes | |||
-rw-r--r-- | hx_home/index.html | 127 | ||||
-rw-r--r-- | hx_home/med.png | bin | 0 -> 9264 bytes | |||
-rw-r--r-- | hx_home/perueduca.png | bin | 0 -> 8204 bytes | |||
-rw-r--r-- | hx_home/somosazucar.png | bin | 0 -> 9067 bytes | |||
-rw-r--r-- | hx_home/system-search.png | bin | 0 -> 860 bytes | |||
-rw-r--r-- | image/common.ini | 22 | ||||
-rw-r--r-- | image/latestbuild | 2 | ||||
-rw-r--r-- | image/post.sh | 20 |
10 files changed, 166 insertions, 5 deletions
diff --git a/hx_home/favicon_01.png b/hx_home/favicon_01.png Binary files differnew file mode 100644 index 0000000..2336101 --- /dev/null +++ b/hx_home/favicon_01.png diff --git a/hx_home/fondo.jpg b/hx_home/fondo.jpg Binary files differnew file mode 100644 index 0000000..b340679 --- /dev/null +++ b/hx_home/fondo.jpg diff --git a/hx_home/index.html b/hx_home/index.html new file mode 100644 index 0000000..0d53e81 --- /dev/null +++ b/hx_home/index.html @@ -0,0 +1,127 @@ +<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> +<html> +<head> +<script type="text/javascript" language="JavaScript"> +<!-- +logos = new Array(); +logos = ['logo_white_01.png', 'logo_white_02.png', 'logo_white_03.png', 'logo_white_04.png', 'logo_white_05.png', 'logo_white_06.png', 'logo_white_07.png', 'logo_white_08.png', 'logo_white_09.png', 'logo_white_10.png', 'logo_white_11.png', 'logo_white_12.png']; +link_colours = new Array(); +link_colours = ['link1', 'link2', 'link3', 'link4', 'link5', 'link6', 'link7', 'link8', 'link9', 'link10', 'link11', 'link12']; +r = Math.round(Math.random() * 11); +function logo_filename() { + return logos[r] +} +function link_colour() { + return link_colours[r] +} +--> +</script> +<style type="text/css"> +#submit_search { + background:#a6a6a6 url(system-search.png) no-repeat center; + color: white; + width: 48px; + height:48px; + border-radius: 15px; + -moz-border-radius: 15px; + } +#submit_search:hover { + background-color: #282828; + cursor: pointer; + } +#q { + font-size: 14pt; + font-family: DejaVu Sans; + border-radius: 15px; + -moz-border-radius: 15px; + padding: 7px; +} +a img { + border: 0; + } +a:active { + outline:none; + } +#bottom { + background-color: white; + width: 100%; + position: absolute; + bottom: 0px; + border-top: 3px solid #a6a6a6; +} +body { + /* background:#a6a6a6 url(fondo.jpg) no-repeat center; + background-size: 100%;*/ + background-color: #d5d5d5; + margin:0px; + height: 100%; + } +img#bg { + position:fixed; + top:0; + left:0; + width:100%; + height:100%; + z-index:-10; +} +.links-container { padding-bottom: 4px; padding-top: 4px; display: block; text-align: right;} +.link1 { padding-bottom: 4px; padding-top: 4px; text-decoration: none; color: #006e00;} +.link1:hover { color: white; background-color: #006e00;} +.link2 { padding-bottom: 4px; padding-top: 4px; text-decoration: none; color: #033cd2;} +.link2:hover { color: white; background-color: #033cd2;} +.link3 { padding-bottom: 4px; padding-top: 4px; text-decoration: none; color: #006e00;} +.link3:hover { color: white; background-color: #006e00;} +.link4 { padding-bottom: 4px; padding-top: 4px; text-decoration: none; color: #033cd2;} +.link4:hover { color: white; background-color: #033cd2;} +.link5 { padding-bottom: 4px; padding-top: 4px; text-decoration: none; color: #6e008c;} +.link5:hover { color: white; background-color: #6e008c;} +.link6 { padding-bottom: 4px; padding-top: 4px; text-decoration: none; color: #a00000;} +.link6:hover { color: white; background-color: #a00000;} +.link7 { padding-bottom: 4px; padding-top: 4px; text-decoration: none; color: #033cd2;} +.link7:hover { color: white; background-color: #033cd2;} +.link8 { padding-bottom: 4px; padding-top: 4px; text-decoration: none; color: #6e008c;} +.link8:hover { color: white; background-color: #6e008c;} +.link9 { padding-bottom: 4px; padding-top: 4px; text-decoration: none; color: #6e008c;} +.link9:hover { color: white; background-color: #6e008c;} +.link10 { padding-bottom: 4px; padding-top: 4px; text-decoration: none; color: #033cd2;} +.link10:hover { color: white; background-color: #033cd2;} +.link11 { padding-bottom: 4px; padding-top: 4px; text-decoration: none; color: #006e00;} +.link11:hover { color: white; background-color: #006e00; } +.link12 { padding-bottom: 4px; padding-top: 4px; text-decoration: none; color: #033cd2;} +.link12:hover { color: white; background-color: #033cd2;} +</style> +<title>Buscar en Internet</title> +<meta http-equiv="Content-type" content="text/html; charset=utf-8"/> +<link rel="shortcut icon" href="favicon_01.png"/> +</head> +<body> +<img src="fondo.jpg" alt="background image" id="bg" /> +<div class="links-container"> +<script type="text/javascript" language="JavaScript"> +<!-- +document.write("<a class=\"" + link_colour() + "\" href=\"http://pe.sugarlabs.org/\">wiki</a> / <a class=\"" + link_colour() + "\" href=\"http://lists.sugarlabs.org/listinfo/somosazucar\">lista de correo</a> / <a class=\"" + link_colour() + "\" href=\"http://escuela/\">escuela</a>") +--> +</script> +<br/> +</div> +<center> +<table border="0" cellspacing="0" cellpadding="0" width="700px"><tr> +<td width="130px" align="center"> +<form action="http://ecosia.org/search.php" name="f" target="_top"> +<input name="hl" type="hidden" value="en"/> +<br/><br/><br/><br/><br/><br/><input id="q" maxlength="2048" name="q" size="35" title="Ecosia Search" value=""/> <br/> <input name="btnG" type="submit" id="submit_search" value=""/> +</form><br/><br/> +</td> +</tr></table> +<div id="bottom"> +<span style="float:left"> +<a href="http://www.perueduca.pe/"><img src="perueduca.png" /></a> +</span> +<a href="http://somosazucar.org/"><img style="margin-top: 10px;" src="somosazucar.png" /></a> +<span style="float:right"> +<a href="http://www.minedu.gob.pe/"><img src="med.png" /></a> +<span> +</div> +</center> +</body> +</html> diff --git a/hx_home/med.png b/hx_home/med.png Binary files differnew file mode 100644 index 0000000..c4a9355 --- /dev/null +++ b/hx_home/med.png diff --git a/hx_home/perueduca.png b/hx_home/perueduca.png Binary files differnew file mode 100644 index 0000000..8968fa3 --- /dev/null +++ b/hx_home/perueduca.png diff --git a/hx_home/somosazucar.png b/hx_home/somosazucar.png Binary files differnew file mode 100644 index 0000000..9206c0b --- /dev/null +++ b/hx_home/somosazucar.png diff --git a/hx_home/system-search.png b/hx_home/system-search.png Binary files differnew file mode 100644 index 0000000..bce47d1 --- /dev/null +++ b/hx_home/system-search.png diff --git a/image/common.ini b/image/common.ini index 52d7648..e6d85af 100644 --- a/image/common.ini +++ b/image/common.ini @@ -5,13 +5,13 @@ [global] # Image title. # Put your title here. -customization_info = Reference XO distribution +customization_info = Hexoquinasa XO distribution # Image filename. # String should contain one formatting argument to make Python expression, # `image_name % latestbuild`, valid. Make sure that you escaped `%` symbol # by `%%`. Put your filename here. -image_name = xo%%d +image_name = hxp%%d # Minimal list of required modules. # All of the following modules need to be added to keep final image consistent. @@ -33,7 +33,9 @@ modules_extra = # Add rpmfusion repositories to image build time and image itself. rpmfusion, # To add extra packages from [custom_packages] section. - custom_packages + custom_packages, + custom_scripts, + signing [buildnr_from_file] # Path to file to keep current image release number. @@ -87,4 +89,16 @@ add_packages = # Useful packages from rpmfusion repository. gstreamer-plugins-ugly, gstreamer-ffmpeg, - mplayer + mplayer, + x11vnc + +[signing] +extract=1 +bios_crypto_path=/root/bios-crypto +skey=/root/bios-crypto/build/masterkeys/fs +okey=/root/bios-crypto/build/masterkeys/os +wkey=/root/bios-crypto/build/masterkeys/fw +make_img_fs_zip=1 + +[custom_scripts] +custom_script_1 = %(oob_config_dir)s/post.sh diff --git a/image/latestbuild b/image/latestbuild index c227083..c793025 100644 --- a/image/latestbuild +++ b/image/latestbuild @@ -1 +1 @@ -0
\ No newline at end of file +7
\ No newline at end of file diff --git a/image/post.sh b/image/post.sh new file mode 100644 index 0000000..890a059 --- /dev/null +++ b/image/post.sh @@ -0,0 +1,20 @@ +#!/bin/bash + +src_root=$(dirname $0) +cd ${INSTALL_ROOT} + +#for i in $(ls $src_root/../activities/*.xo); do HOME=home/olpc sugar-install-bundle $i; done +#for i in `find home/olpc/.local -type l`; do ln -fs /$(readlink $i) $i; done + +echo Installing homepage +# custom browser homepage +mkdir -p usr/share/library-common +cp $src_root/../hx_home/* usr/share/library-common/ + +cat > home/olpc/.i18n << EOF +LANG="es_PE.utf8" +LANGUAGE="es_PE.utf8" +EOF + +creds=$(ls -aldn home/olpc | awk '{print $3 ":" $4}') +chown ${creds} -R home/olpc |