Commit b6e640bd authored by Michael Shigorin's avatar Michael Shigorin

slimmer webkiosk with Russian layout

Thanks someone for review and feedback: http://www.opennet.ru/openforum/vsluhforumID3/83728.html#136 Better cleanup and i18n controls are due but in the meantime, let's at least build something actually useful.
parent 0c41e39e
......@@ -34,8 +34,10 @@ distro/live-rescue: distro/live-icewm
@$(call add,LIVE_LISTS, \
$(call tags,(base || extra) && (archive || rescue || network)))
distro/live-webkiosk: distro/.live-desktop use/live/autologin use/live/hooks
distro/live-webkiosk: distro/.live-desktop use/live/autologin \
use/live/hooks use/live/ru use/cleanup
@$(call add,LIVE_PACKAGES,livecd-webkiosk)
@$(call add,LIVE_PACKAGES,fonts-ttf-dejavu fonts-ttf-droid)
@$(call add,CLEANUP_PACKAGES,'installer*' 'alterator*' 'libqt4*')
endif
#!/bin/sh
# FIXME: there should be less brutal i18n tuning
cd /usr/share/locale
for i in */; do
case "$i" in
be*|en*|ru*|uk*) continue;;
esac
rm -r "$i"
done
:
#!/bin/sh -efu
# remove extra packages from a bare livecd
list="$(rpmquery -a --qf='%{NAME}\n' $GLOBAL_CLEANUP_PACKAGES)"
[ -z "$list" ] || apt-get remove -f -y -- $list
:
#!/bin/sh
# remove rpm, apt databases and cache
find /var/lib/rpm /var/lib/apt /var/cache/apt -type f -delete
# remove rpm database
rm -rf /var/lib/rpm/*
# remove apt data files
rm -rf /var/cache/apt /var/lib*/apt
#!/bin/sh
# remove rpm, apt databases and cache
find /var/lib/rpm /var/lib/apt /var/cache/apt -type f -delete
......@@ -20,3 +20,6 @@ use/live/autologin: use/live/desktop
use/live/hooks: use/live
@$(call add,LIVE_PACKAGES,livecd-run-hooks)
use/live/ru: use/live
@$(call add,LIVE_PACKAGES,livecd-ru)
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment