[PATCH 2/2] conf.d/live.mk: initial live-webkiosk

Michael Shigorin mike на altlinux.org
Ср Янв 25 02:01:00 MSK 2012


This one starts up a Firefox session in kiosk mode
(there are several extensions, I find hsv@'s one
preferable) and tries to browse /image/index.html
which corresponds to index.html in the image root
(could be edited by means of e.g. isomaster).
---
 conf.d/live.mk                           |    4 ++++
 features.in/live/stage1/files/index.html |   10 ++++++++++
 2 files changed, 14 insertions(+), 0 deletions(-)
 create mode 100644 features.in/live/stage1/files/index.html

diff --git a/conf.d/live.mk b/conf.d/live.mk
index 7de9c39..7e7041d 100644
--- a/conf.d/live.mk
+++ b/conf.d/live.mk
@@ -39,4 +39,8 @@ distro/live-rescue: distro/live-icewm
 	@$(call add,LIVE_LISTS, \
 		$(call tags,(base || extra) && (archive || rescue || network)))
 
+distro/live-webkiosk: distro/.live-x11
+	@$(call add,LIVE_PACKAGES,livecd-webkiosk)
+	@$(call add,LIVE_PACKAGES,fonts-ttf-dejavu fonts-ttf-droid)
+
 endif
diff --git a/features.in/live/stage1/files/index.html b/features.in/live/stage1/files/index.html
new file mode 100644
index 0000000..33181ca
--- /dev/null
+++ b/features.in/live/stage1/files/index.html
@@ -0,0 +1,10 @@
+<html>
+<head>
+<meta http-equiv="refresh" content="3;url=http://www.altlinux.org/">
+<title>Welcome to ALT Linux!</title>
+</head>
+<body>
+<h1>Welcome to ALT Linux!</h1>
+<p>You will be redirected to <a href="http://www.altlinux.org/">the home page</a> shortly.</p>
+</body>
+<html>
-- 
1.7.8.4


--UlVJffcvxoiEqYs2--


Подробная информация о списке рассылки community