# HG changeset patch # User Christopher Rogers # Date 1302978651 0 # Node ID 7259b3c242c8d489edcab5166334486fa61d40c6 # Parent c1efda801fa219eb7d5fe72c238af3dea98e6120 Add tazpanel and slitaz-vz into local-mirror script. diff -r c1efda801fa2 -r 7259b3c242c8 initramfs/etc/local-mirror.conf --- a/initramfs/etc/local-mirror.conf Fri Apr 15 21:04:12 2011 +0000 +++ b/initramfs/etc/local-mirror.conf Sat Apr 16 18:30:51 2011 +0000 @@ -1,7 +1,7 @@ REPOS="flavors flavors-stable slitaz-base-files \ slitaz-boot-scripts slitaz-dev-tools slitaz-configs slitaz-doc \ slitaz-doc-wiki-data slitaz-forge slitaz-modular slitaz-pizza \ - slitaz-tools tank tazlito tazpkg tazusb \ + slitaz-tools slitaz-vz tazlito tazpanel tazpkg tazusb \ tazwok slitaz-dev-tools website wok wok-stable wok-tiny \ wok-undigest" WWW="boot tank hg mirror pkgs bb doc pizza website people lfs" diff -r c1efda801fa2 -r 7259b3c242c8 initramfs/usr/bin/local-mirror --- a/initramfs/usr/bin/local-mirror Fri Apr 15 21:04:12 2011 +0000 +++ b/initramfs/usr/bin/local-mirror Sat Apr 16 18:30:51 2011 +0000 @@ -3,6 +3,7 @@ source /usr/lib/slitaz/libtaz source_lib commons check_root +. /etc/slitaz/slitaz.conf . /etc/local-mirror.conf @@ -79,8 +80,8 @@ [ -d $REPOS_DIR/flavors-stable ] && ln -sf $REPOS_DIR/flavors-stable $STABLE/flavors [ -d $COOKING/wok ] || ln -sf $REPOS_DIR/wok $COOKING/clean-wok [ -d $STABLE/wok ] || ln -sf $REPOS_DIR/wok-stable $STABLE/clean-wok - [ -d $PKGDIR ] && ln -sf $PKGDIR /home/slitaz/$(cat /etc/slitaz-release)/packages - [ -d $SRCDIR ] && ln -sf $SRCDIR /home/slitaz/$(cat /etc/slitaz-release)/src + [ -d $PKGDIR ] && ln -sf $PKGDIR $LOCAL_REPOSITORY/packages + [ -d $SRCDIR ] && ln -sf $SRCDIR $LOCAL_REPOSITORY/src ;; mirror) [ -d $REPOS_DIR/slitaz-dev-tools/mirror-tools/mirror-info ] && cp -a $REPOS_DIR/slitaz-dev-tools/mirror-tools/mirror-info $MAIN_WWW_DIR @@ -162,7 +163,9 @@ [ "$repo" = "slitaz-modular" ] && echo "contact = Christopher Rogers" >> $REPOS_DIR/$repo/.hg/hgrc [ "$repo" = "slitaz-pizza" ] && echo "contact = Pascal Bellard" >> $REPOS_DIR/$repo/.hg/hgrc [ "$repo" = "slitaz-tools" ] && echo "contact = Christophe Lincoln" >> $REPOS_DIR/$repo/.hg/hgrc + [ "$repo" = "slitaz-vz" ] && echo "contact = Eric Joseph-Alexandre" >> $REPOS_DIR/$repo/.hg/hgrc [ "$repo" = "tazlito" ] && echo "contact = Pascal Bellard" >> $REPOS_DIR/$repo/.hg/hgrc + [ "$repo" = "tazpanel" ] && echo "contact = Christophe Lincoln" >> $REPO_DIR/$repo/.hg/hgrc [ "$repo" = "tazpkg" ] && echo "contact = Christophe Lincoln" >> $REPOS_DIR/$repo/.hg/hgrc [ "$repo" = "tazusb" ] && echo "contact = Eric Joseph-Alexandre" >> $REPOS_DIR/$repo/.hg/hgrc [ "$repo" = "tazwok" ] && echo "contact = Christophe Lincoln" >> $REPOS_DIR/$repo/.hg/hgrc @@ -186,10 +189,12 @@ [ "$repo" = "slitaz-modular" ] && echo "description = Scripts to make SliTaz Modular" >> $REPOS_DIR/$repo/.hg/hgrc [ "$repo" = "slitaz-pizza" ] && echo "description = SliTaz Online flavor builder" >> $REPOS_DIR/$repo/.hg/hgrc [ "$repo" = "slitaz-tools" ] && echo "description = SliTaz Tools and Tinyutils" >> $REPOS_DIR/$repo/.hg/hgrc + [ "$repo" = "slitaz-vz" ] && echo "description = SliTaz OpenVZ integration" >> $REPOS_DIR/$repo/.hg/hgrc [ "$repo" = "tazlito" ] && echo "description = SliTaz Live Tool" >> $REPOS_DIR/$repo/.hg/hgrc + [ "$repo" = "tazpanel" ] && echo "description = Slitaz Administration Panel" >> $REPOS_DIR/$repo/.hg/hgrc [ "$repo" = "tazpkg" ] && echo "description = SliTaz Packages manager" >> $REPOS_DIR/$repo/.hg/hgrc [ "$repo" = "tazusb" ] && echo "description = SliTaz LiveUSB utility" >> $REPOS_DIR/$repo/.hg/hgrc - [ "$repo" = "tazwok" ] && echo "description = Slitaz Packages builder" >> $REPOS_DIR/$repo/.hg/hgrc + [ "$repo" = "tazwok" ] && echo "description = SliTaz Packages builder" >> $REPOS_DIR/$repo/.hg/hgrc [ "$repo" = "website" ] && echo "description = SliTaz Website" >> $REPOS_DIR/$repo/.hg/hgrc [ "$repo" = "wok" ] && echo "description = SliTaz Cooking wok" >> $REPOS_DIR/$repo/.hg/hgrc [ "$repo" = "wok-stable" ] && echo "description = SliTaz Stable wok" >> $REPOS_DIR/$repo/.hg/hgrc @@ -227,7 +232,7 @@ else [ -f $VHOST_FILE ] && ln -sf $VHOST_FILE /etc/lighttpd/vhosts.conf fi - chown -R www.www /home/slitaz/www + chown -R www.www $SLITAZ_DIR/www [ -f /etc/init.d/lighttpd ] && /etc/init.d/lighttpd start ;; update-repos)