Package: fai-server
Version: 3.2.17+experimental14
Severity: normal
Tags: patch


This is actually a feature request, not a bug.

I like to do the deboostrap of fai-setup to the mirror created by fai-mirror,
so I've patched fai-mirror to support that, by adding a new option to
make-fai-nfsroot.conf, used in the patch (only if it's set) to override the
debbootstrap options.  Otherwise, it's trying to pull packages from the mirror
it hasn't finished creating yet.

--- /usr/bin/fai-mirror 2009-02-20 19:37:58.000000000 -0800
+++ /var/tmp/fai-mirror.orig-2  2009-02-20 19:27:07.000000000 -0800
@@ -195,12 +195,7 @@
     fi

     # now use sources.list for debootstrap packages
-    if [ "$FAI_DEBOOTSTRAP_REMOTE" ]
-    then
-       echo "$FAI_DEBOOTSTRAP_REMOTE" | awk '{printf "deb %s %s 
main\n",$2,$1}' | perl -p -e 's/file:/copy:/' > $aptcache/etc/apt/sources.list
-    else
-       echo "$FAI_DEBOOTSTRAP" | awk '{printf "deb %s %s main\n",$2,$1}' | 
perl -p -e 's/file:/copy:/' > $aptcache/etc/apt/sources.list
-    fi
+    echo "$FAI_DEBOOTSTRAP" | awk '{printf "deb %s %s main\n",$2,$1}' | perl 
-p -e 's/file:/copy:/' > $aptcache/etc/apt/sources.list
     echo "Adding packages from $NFSROOT/var/tmp/base-pkgs.lis"
     if [ -f $NFSROOT/var/tmp/base-pkgs.lis ]; then
        plist=$(< $NFSROOT/var/tmp/base-pkgs.lis)


-- System Information:
Debian Release: 5.0
  APT prefers stable
  APT policy: (500, 'stable')
Architecture: amd64 (x86_64)

Kernel: Linux 2.6.24.2-ls4 (SMP w/2 CPU cores)
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/bash

Versions of packages fai-server depends on:
ii  debootstrap        1.0.10lenny1          Bootstrap a basic Debian system
ii  fai-client         3.2.17+experimental14 Fully Automatic Installation clien

Versions of packages fai-server recommends:
ii  dhcp3-server             3.1.1-6         DHCP server for automatic IP addre
ii  nfs-kernel-server        1:1.1.2-6lenny1 support for NFS kernel server
ii  openbsd-inetd [inet-supe 0.20080125-2    The OpenBSD Internet Superserver
ii  openssh-client           1:5.1p1-5       secure shell client, an rlogin/rsh
ii  openssh-server           1:5.1p1-5       secure shell server, an rshd repla
ii  syslinux-common          2:3.71+dfsg-5   Kernel loader which uses a FAT, ex
ii  tftpd-hpa                0.48-2.3        HPA's tftp server

Versions of packages fai-server suggests:
ii  apt-move              4.2.27-1+b4        Maintain Debian packages in a pack
ii  aptitude              0.4.11.11-1~lenny1 terminal-based package manager
ii  debmirror             20070123           Debian partial mirror script, with
ii  genisoimage           9:1.1.9-1          Creates ISO-9660 CD-ROM filesystem
ii  grub                  0.97-47lenny2      GRand Unified Bootloader (Legacy v
pn  libproc-daemon-perl   <none>             (no description available)
pn  perl-tk               <none>             (no description available)

-- no debconf information



-- 
To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org

Reply via email to