[Fai-commit] r3915 - trunk/bin

fai-commit at lists.alioth.debian.org fai-commit at lists.alioth.debian.org
Mon Sep 11 15:04:44 UTC 2006


Author: lange
Date: 2006-09-11 15:04:44 +0000 (Mon, 11 Sep 2006)
New Revision: 3915

Modified:
   trunk/bin/fai-mirror
Log:
generate distrib name from FAI_DEBOOTSTRAP instead of using fixed name


Modified: trunk/bin/fai-mirror
===================================================================
--- trunk/bin/fai-mirror	2006-09-11 14:24:56 UTC (rev 3914)
+++ trunk/bin/fai-mirror	2006-09-11 15:04:44 UTC (rev 3915)
@@ -29,7 +29,6 @@
 
 # variables: NFSROOT, FAI_CONFIGDIR
 
-debdist=sarge # maybe use this $(echo "$FAI_DEBOOTSTRAP" | awk '{print $1}')
 set -a
 
 FAI_ROOT=/ # do not execute in chroot
@@ -120,6 +119,7 @@
     # TODO: root is only needed when FAI_DEBMIRROR is defined. Then we
     # must mount a directory
 
+    debdist=$(echo "$FAI_DEBOOTSTRAP" | awk '{print $1}')
     # store all packages temporary in the mirror partition so we need only a move,
     # not a copy later during apt-move
     aptcache=$mirrordir/aptcache   # holds the package cache data




More information about the Fai-commit mailing list