]> git.pld-linux.org Git - projects/pld-builder.new.git/commitdiff
- some small corrections
authorMariusz Mazur <mmazur@pld-linux.org>
Fri, 10 Sep 2004 16:16:33 +0000 (16:16 +0000)
committercvs2git <feedback@pld-linux.org>
Sun, 24 Jun 2012 12:13:13 +0000 (12:13 +0000)
Changed files:
    admin/install-chroot.sh -> 1.16

admin/install-chroot.sh

index 34177b7b0531a46444d2dd8fe2898ca83f8d0ab6..97e16133eb6efbdfdbd3bfbd2b235246a3b3f04a 100755 (executable)
@@ -1,6 +1,6 @@
 #!/bin/sh
 
-DIST="th"
+DIST="ac"
 DISTTAG="PLD 3.0 (Th)"
 
 die () {
@@ -21,12 +21,13 @@ EOF
 }
 
 default_config () {
-  builder_pkgs="rpm-build poldek shadow net-tools which"
-  builder_uid=2000
+  builder_pkgs="rpm-build poldek shadow net-tools which rpm-perlprov rpm-php-pearprov rpm-pythonprov"
+  builder_uid=`id -u`
+  dist_url="ftp://ftp.$DIST.pld-linux.org"
 
   case "$chroot_type" in
   src )
-    builder_arch_pkgs="cvs wget rpm-perlprov rpm-php-pearprov rpm-pythonprov"
+    builder_arch_pkgs="cvs wget"
     ;;
   bin )
     builder_arch_pkgs=""
@@ -37,8 +38,7 @@ default_config () {
 check_conf () {
   test "$chroot_dir" || die "no chroot_dir"
   test "$arch" || die "no arch"
-#  test "$dist_url" || die "no dist_url"
-  dist_url="ftp://ftp.$DIST.pld-linux.org"
+  test "$dist_url" || die "no dist_url"
   
   case "$chroot_type" in
   src )
This page took 0.040567 seconds and 4 git commands to generate.