slitaz-modular rev 114
Added full support for cook.slitaz.org.
author | Christopher Rogers <slaxemulator@gmail.com> |
---|---|
date | Wed Jun 01 09:17:31 2011 +0000 (2011-06-01) |
parents | 41cd6454e504 |
children | 24427d0da381 |
files | initramfs/etc/init.d/local.sh initramfs/etc/lighttpd/vhosts-local-tank.conf initramfs/etc/local-mirror.conf |
line diff
1.1 --- a/initramfs/etc/init.d/local.sh Wed Jun 01 09:13:26 2011 +0000 1.2 +++ b/initramfs/etc/init.d/local.sh Wed Jun 01 09:17:31 2011 +0000 1.3 @@ -5,7 +5,6 @@ 1.4 # 1.5 . /etc/init.d/rc.functions 1.6 . /etc/slitaz/slitaz.conf 1.7 - 1.8 echo "Starting local startup commands... " 1.9 1.10 [ -d /etc/pango ] || mkdir -p /etc/pango 1.11 @@ -14,4 +13,10 @@ 1.12 [ -x /usr/bin/gdk-pixbuf-query-loaders ] && /usr/bin/gdk-pixbuf-query-loaders > /etc/gtk-2.0/gdk-pixbuf.loaders 1.13 [ -x /usr/bin/update-mime-database ] && update-mime-database /usr/share/mime 1.14 1.15 +if [ -f /etc/local-mirror.conf ]; then 1.16 + . /etc/local-mirror.conf 1.17 + if [ ! $(grep -l "$PKGDIR" $LOCALSTATE/mirror) ]; then 1.18 + [ -d $PKGDIR ] && echo "$PKGDIR" > $LOCALSTATE/mirror 1.19 + fi 1.20 +fi 1.21 #[ -x /usr/bin/setup-live ] && /usr/bin/setup-live
2.1 --- a/initramfs/etc/lighttpd/vhosts-local-tank.conf Wed Jun 01 09:13:26 2011 +0000 2.2 +++ b/initramfs/etc/lighttpd/vhosts-local-tank.conf Wed Jun 01 09:17:31 2011 +0000 2.3 @@ -94,9 +94,13 @@ 2.4 } 2.5 2.6 $HTTP["host"] =~ "cook\.slitaz\.org$" { 2.7 - server.document-root = "/home/slitaz/www/bb" 2.8 - server.errorlog = "/var/log/lighttpd/bb.slitaz.org-error.log" 2.9 - accesslog.filename = "/var/log/lighttpd/bb.slitaz.org-access.log" 2.10 + server.document-root = "/home/slitaz/www/cook" 2.11 + server.errorlog = "/var/log/lighttpd/cook.slitaz.org-error.log" 2.12 + accesslog.filename = "/var/log/lighttpd/cook.slitaz.org-access.log" 2.13 + cgi.assign = ( 2.14 + ".cgi" => "/bin/sh" 2.15 + ) 2.16 + index-file.names = ( "cooker.cgi" ) 2.17 } 2.18 2.19 # hg.slitaz.org (Mercurial repos)
3.1 --- a/initramfs/etc/local-mirror.conf Wed Jun 01 09:13:26 2011 +0000 3.2 +++ b/initramfs/etc/local-mirror.conf Wed Jun 01 09:17:31 2011 +0000 3.3 @@ -1,21 +1,22 @@ 3.4 -REPOS="flavors flavors-stable slitaz-base-files \ 3.5 +REPOS="cookutils flavors flavors-stable slitaz-base-files \ 3.6 slitaz-boot-scripts slitaz-dev-tools slitaz-configs slitaz-doc \ 3.7 slitaz-doc-wiki-data slitaz-forge slitaz-modular slitaz-pizza \ 3.8 slitaz-tools slitaz-vz tazlito tazpanel tazpkg tazusb \ 3.9 tazwok slitaz-dev-tools website wok wok-stable wok-tiny \ 3.10 - wok-undigest" 3.11 -WWW="website people doc pizza bb pkgs mirror boot tank hg lfs" 3.12 + wok-undigest wok-tank my-cookutils" 3.13 +WWW="website people doc pizza cook pkgs mirror boot tank hg lfs" 3.14 IP_ADDR="127.0.0.1" 3.15 ROUTER_IP="192.168.1.1" 3.16 ADDRESS="www.slitaz.org pizza.slitaz.org boot.slitaz.org \ 3.17 mirror.slitaz.org tank.slitaz.org doc.slitaz.org \ 3.18 -pkgs.slitaz.org hg.slitaz.org bb.slitaz.org people.slitaz.org lfs.slitaz.org" 3.19 +pkgs.slitaz.org hg.slitaz.org cook.slitaz.org people.slitaz.org lfs.slitaz.org" 3.20 VHOST_FILE="/etc/lighttpd/vhosts-local.conf" 3.21 VHOST_MIRROR_FILE="/etc/lighttpd/vhosts-local-mirror.conf" 3.22 VHOST_TANK_FILE="/etc/lighttpd/vhosts-local-tank.conf" 3.23 REPOS_DIR="/repos" 3.24 REPOS_WEB_DIR="/home/slitaz/repos-web" 3.25 CUSTOM_WOK="yes" 3.26 +MKCHROOT="yes" 3.27 3.28 MAIN_WWW_DIR="/home/slitaz/www" 3.29