[SCM] debian-live/config-webc branch, master, updated. 86fff56a5fad04328fd0c6820bb2be134e7947eb
Kai Hendry
hendry at iki.fi
Mon Oct 4 22:20:33 UTC 2010
The following commit has been merged in the master branch:
commit 86fff56a5fad04328fd0c6820bb2be134e7947eb
Author: Kai Hendry <hendry at iki.fi>
Date: Tue Oct 5 00:23:09 2010 +0200
add forgotten minimal and purge old install stuff
diff --git a/webconverger/config/binary_local-includes/README.html b/webconverger/config/binary_local-includes/README.html
deleted file mode 100644
index 6c23a0b..0000000
--- a/webconverger/config/binary_local-includes/README.html
+++ /dev/null
@@ -1,28 +0,0 @@
-<!DOCTYPE HTML>
-<html>
- <head>
- <title>Webconverger</title>
-
-<link rel="stylesheet" href="style.css" type="text/css">
-
- </head>
- <body>
-
-<div id="main">
-
- <h1>Webconverger</h1>
-
- <h3>The Web operating system</h3>
-
- <p><a href="http://webconverger.com">Learn more about Webconverger...</a></p>
-
- <h3>Please reboot your machine and enable CDROM boot to enjoy Webconverger!</h3>
-
-<hr/>
-
-<p>Please email <a href="mailto:webmaster@webconverger.com">webmaster@webconverger.com</a> or call +44 20 8123 3380 to enquire.</p>
-
-</div>
-
-</body>
-</html>
diff --git a/webconverger/config/binary_local-includes/README.txt b/webconverger/config/binary_local-includes/README.txt
deleted file mode 100644
index 8faf3d2..0000000
--- a/webconverger/config/binary_local-includes/README.txt
+++ /dev/null
@@ -1,11 +0,0 @@
-Webconverger - The Web operating system
-
-Learn more about Webconverger at http://webconverger.com/
-
-***********************************************************************
-***********************************************************************
-Please reboot your machine and enable CDROM boot to enjoy Webconverger!
-***********************************************************************
-***********************************************************************
-
-Please email support at webconverger.com or call +44 20 8123 3380 to enquire.
diff --git a/webconverger/config/binary_local-includes/autorun.bat b/webconverger/config/binary_local-includes/autorun.bat
deleted file mode 100644
index 4718afe..0000000
--- a/webconverger/config/binary_local-includes/autorun.bat
+++ /dev/null
@@ -1,3 +0,0 @@
- at echo Starting "README.html"...
- at start README.html
- at exit
diff --git a/webconverger/config/binary_local-includes/autorun.inf b/webconverger/config/binary_local-includes/autorun.inf
deleted file mode 100644
index 1b28f75..0000000
--- a/webconverger/config/binary_local-includes/autorun.inf
+++ /dev/null
@@ -1,2 +0,0 @@
-[autorun]
-open=autorun.bat
diff --git a/webconverger/config/binary_local-includes/install/banner.png b/webconverger/config/binary_local-includes/install/banner.png
deleted file mode 100644
index 29b7d88..0000000
Binary files a/webconverger/config/binary_local-includes/install/banner.png and /dev/null differ
diff --git a/webconverger/config/binary_local-includes/install/gtk/initrd.gz b/webconverger/config/binary_local-includes/install/gtk/initrd.gz
deleted file mode 100644
index bce5947..0000000
Binary files a/webconverger/config/binary_local-includes/install/gtk/initrd.gz and /dev/null differ
diff --git a/webconverger/config/binary_local-includes/install/gtk/vmlinuz b/webconverger/config/binary_local-includes/install/gtk/vmlinuz
deleted file mode 100644
index b8ad359..0000000
Binary files a/webconverger/config/binary_local-includes/install/gtk/vmlinuz and /dev/null differ
diff --git a/webconverger/config/binary_local-includes/install/initrd.gz b/webconverger/config/binary_local-includes/install/initrd.gz
deleted file mode 100644
index 17308c9..0000000
Binary files a/webconverger/config/binary_local-includes/install/initrd.gz and /dev/null differ
diff --git a/webconverger/config/binary_local-includes/install/late_command.sh b/webconverger/config/binary_local-includes/install/late_command.sh
deleted file mode 100644
index fecd8fb..0000000
--- a/webconverger/config/binary_local-includes/install/late_command.sh
+++ /dev/null
@@ -1,28 +0,0 @@
-#!/bin/sh -e
-
-log () {
- logger -t webconverger_late_cmd "$@"
-}
-
-USER="webc"
-
-log "Removing packages"
-in-target apt-get remove --yes aufs-modules-* user-setup
-
-log "Removing empty xorg.conf files"
-rm -f /target/etc/X11/xorg.conf*
-
-log "Remove passwords"
-#in-target passwd --delete root
-#in-target passwd --delete ${USER}
-
-log "Setting up autologin"
-sed -i -e "s|^\([^:]*:[^:]*:[^:]*\):.*getty.*\<\(tty[0-9]*\).*$|\1:/bin/login -f ${USER} </dev/\2 >/dev/\2 2>\&1|" /target/etc/inittab
-
-log "Setting up Webconverger sources.list"
-log $(mount)
-mount
-cp /mnt/etc/apt/sources.list /target/etc/apt/sources.list
-
-log "Flushing filesystem buffers"
-sync
diff --git a/webconverger/config/binary_local-includes/install/vmlinuz b/webconverger/config/binary_local-includes/install/vmlinuz
deleted file mode 100644
index b8ad359..0000000
Binary files a/webconverger/config/binary_local-includes/install/vmlinuz and /dev/null differ
diff --git a/webconverger/config/binary_local-includes/style.css b/webconverger/config/binary_local-includes/style.css
deleted file mode 100644
index a3b71af..0000000
--- a/webconverger/config/binary_local-includes/style.css
+++ /dev/null
@@ -1,52 +0,0 @@
-body { font-family: serif; font-weight: 500; }
-
-h2 { margin: 0em;}
-
-a { text-decoration: none;}
-a:visited { color: #5959ff;}
-a:hover { color: #0000ff;}
-
-#nav { float: left; width: 17em; }
-#main { margin-left: 17em; border: thin #CCCCCC solid; padding: 1em; }
-
-
-.feedback input, textarea, button { width: 90%; border: thin solid #33FF33; }
-.announce input, textarea, button { width: 90%; border: thin solid #33FF33; }
-input.homepage { width: 90%; font-size: 2.5em; border: thin solid #33FF33;}
-
-table { border-collapse: collapse; }
-td { padding: 0.1em 0.5em; }
-table td { border-left: 1px solid silver; border-right: 1px solid silver }
-
-#nav form, ul { border-left: thick solid #FF9999; margin: 0.2em; padding: 0.1em; }
-ul { list-style: none; padding-left: 0.7em;}
-
-td.yes, td.no, td.undecided { text-align: center; }
-td.no { background-color: #FF9999 }
-td.yes { background-color: #CCFF99 }
-
-p.tip { width: 18em; min-height: 2em; margin: 1em 2em; padding: 1em 1.4em; border: solid medium; text-align: center; float: right; }
-p.tip :link, p.tip :visited { color: black; text-decoration: none; }
-p.tip em { font-size: 2em; font-style: normal; display: block; text-decoration: underline; }
-p.tip span { white-space: nowrap; }
-p.tip span :link, p.tip span :visited { text-decoration: underline; }
-
-p.tip { color: black; background: #FFFF99; border-color: #FFFF00; }
-
-form, .footer { text-align: center; }
-
-input:focus, textarea:focus, button:focus {
- border: medium solid #33FF33;
- }
-
- input[type=button], input[type=submit] {
- cursor: pointer;
- background-color: #dfe;
- }
-
- button {
- cursor: pointer;
- background-color: #CCFF99;
- }
-
-img.screenshot { border: solid #CCCCCC thin;}
diff --git a/webconverger/config/chroot_local-hooks/minimal b/webconverger/config/chroot_local-hooks/minimal
new file mode 100755
index 0000000..a33c006
--- /dev/null
+++ b/webconverger/config/chroot_local-hooks/minimal
@@ -0,0 +1,33 @@
+#!/bin/sh
+
+## live-build(7) - System Build Scripts
+## Copyright (C) 2006-2010 Daniel Baumann <daniel at debian.org>
+##
+## live-build comes with ABSOLUTELY NO WARRANTY; for details see COPYING.
+## This is free software, and you are welcome to redistribute it
+## under certain conditions; see COPYING for details.
+
+
+set -e
+
+# Removing unused packages
+for PACKAGE in apt-utils aptitude man-db manpages info wget
+do
+ if ! apt-get remove --purge --yes "${PACKAGE}"
+ then
+ echo "WARNING: ${PACKAGE} isn't installed"
+ fi
+done
+
+apt-get autoremove --yes || true
+
+# Removing unused files
+find . -name *~ -print0 | xargs -0 rm -f
+
+rm -rf /var/cache/man/*
+
+# Truncating logs
+for FILE in $(find /var/log/ -type f)
+do
+ : > ${FILE}
+done
--
debian-live/config-webc
More information about the debian-live-changes
mailing list