From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.2.5 (2008-06-10) on sa.int.altlinux.org X-Spam-Level: X-Spam-Status: No, score=-2.6 required=5.0 tests=BAYES_00 autolearn=ham version=3.2.5 Date: Wed, 25 Jan 2012 09:20:48 +0200 From: Michael Shigorin To: ALT Linux Community general discussions Message-ID: <20120125072048.GC864@osdn.org.ua> Mail-Followup-To: ALT Linux Community general discussions References: <20120124223423.GK31448@osdn.org.ua> Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="UlVJffcvxoiEqYs2" Content-Disposition: inline Content-Transfer-Encoding: 8bit In-Reply-To: User-Agent: Mutt/1.4.2.1i Subject: Re: [Comm] web kiosk livecd X-BeenThere: community@lists.altlinux.org X-Mailman-Version: 2.1.12 Precedence: list Reply-To: shigorin@gmail.com, ALT Linux Community general discussions List-Id: ALT Linux Community general discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 25 Jan 2012 07:20:58 -0000 Archived-At: List-Archive: List-Post: --UlVJffcvxoiEqYs2 Content-Type: text/plain; charset=koi8-r Content-Disposition: inline Content-Transfer-Encoding: 8bit On Wed, Jan 25, 2012 at 07:25:26AM +0300, Eugene Prokopiev wrote: > > Вдруг кому пригодится -- сделал набросок livecd для поднятия > > веб-киосков, 32-битный образ на базе t6/branch доступен здесь: > > http://ftp.linux.kiev.ua/pub/Linux/ALT/people/mike/iso/mkimage-profiles/live-webkiosk-t6_20120125-i586.iso > спасибо, но make что ? ;) make live-webkiosk.iso, натурально :) (прилагается) > > (предложения касательно желаемого транспорта URL > > опять же приветствуются). > RFC 2132 - option 72 (Default World Wide Web (WWW) Server) ? Ага, спасибо. В сторону DHCP и думал, но не искал ещё, есть ли что готовенькое или придётся piggyback'ать. > > Должно быть весьма несложно доработать m-p таким образом, > > чтобы изменение стартовой страницы можно было сделать простой > > пересборкой, передав дополнительную переменную. > Нет, изменение стартовой страницы пересборкой - это слишком Смотря для каких целей, хотя для многих должно хватать правки файлика в его корне. -- ---- WBR, Michael Shigorin ------ Linux.Kiev http://www.linux.kiev.ua/ --UlVJffcvxoiEqYs2 Content-Type: text/plain; charset=us-ascii Content-Disposition: attachment; filename="0001-conf.d-live.mk-factor-commons-into-distro-.live-x11.patch" >>From aed27ce333c74c680280e8c64efbc6b199c55bc0 Mon Sep 17 00:00:00 2001 From: Michael Shigorin Date: Tue, 24 Jan 2012 23:58:31 +0200 Subject: [PATCH 1/2] conf.d/live.mk: factor commons into distro/.live-x11 It's rather unexpected that someone would do an X11 LiveCD without user autologin -- but even if that's the case, then this waypoint is just not used for it. --- conf.d/live.mk | 6 ++++-- 1 files changed, 4 insertions(+), 2 deletions(-) diff --git a/conf.d/live.mk b/conf.d/live.mk index bc18033..7de9c39 100644 --- a/conf.d/live.mk +++ b/conf.d/live.mk @@ -6,6 +6,8 @@ distro/rescue: distro/.base use/rescue use/syslinux/ui-menu distro/live: distro/.base use/live/base use/power/acpi/cpufreq distro/live-systemd: distro/.base use/live/base use/systemd +distro/.live-x11: distro/live use/live/autologin use/power/acpi/button + distro/live-isomd5sum: distro/.base use/live/base use/isomd5sum @$(call add,LIVE_PACKAGES,livecd-isomd5sum) @@ -24,11 +26,11 @@ distro/live-builder: distro/.base use/repo/main \ distro/live-install: distro/.base use/live/base use/syslinux/localboot.cfg @$(call add,LIVE_PACKAGES,live-install) -distro/live-icewm: distro/live use/live/autologin +distro/live-icewm: distro/.live-x11 @$(call add,LIVE_LISTS, \ $(call tags,(base || desktop) && (live || network || icewm))) -distro/live-razorqt: distro/live use/live/autologin +distro/live-razorqt: distro/.live-x11 @$(call add,LIVE_LISTS, \ $(call tags,(base || desktop) && (live || network || razorqt))) -- 1.7.8.4 --UlVJffcvxoiEqYs2 Content-Type: text/plain; charset=us-ascii Content-Disposition: attachment; filename="0002-conf.d-live.mk-initial-live-webkiosk.patch" >>From bece6a57b020ba4e1dc35bb2fcf326af9ebf5c8c Mon Sep 17 00:00:00 2001 From: Michael Shigorin Date: Wed, 25 Jan 2012 00:01:00 +0200 Subject: [PATCH 2/2] conf.d/live.mk: initial live-webkiosk 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 @@ + + + +Welcome to ALT Linux! + + +

Welcome to ALT Linux!

+

You will be redirected to the home page shortly.

+ + -- 1.7.8.4 --UlVJffcvxoiEqYs2--