[Fai-commit] r6209 - branches/stable/3.4/bin

Michael Prokop mika at alioth.debian.org
Tue Nov 30 22:40:24 UTC 2010


Author: mika
Date: 2010-11-30 22:40:23 +0000 (Tue, 30 Nov 2010)
New Revision: 6209

Modified:
   branches/stable/3.4/bin/fai-mirror
Log:
create directories, set additional parameters (closes: #602498)

Modified: branches/stable/3.4/bin/fai-mirror
===================================================================
--- branches/stable/3.4/bin/fai-mirror	2010-11-30 22:40:20 UTC (rev 6208)
+++ branches/stable/3.4/bin/fai-mirror	2010-11-30 22:40:23 UTC (rev 6209)
@@ -99,6 +99,9 @@
        -o Aptitude::CmdLine::Ignore-Trust-Violations=yes\
        -o APT::Get::AllowUnauthenticated=true \
       -o DPkg::force-conflicts::=yes \
+      -o Dir::State=$aptcache/var/lib/apt \
+      -o Dir::Log=$aptcache/var/log/apt \
+      -o Dir::State::extended_states=$aptcache/var/lib/apt/lists/extended_states \
       -o Dir::State::status=$statefile \
       -o APT::Get::Force-Yes=true \
       -o Dir::Cache=$aptcache/var/cache/apt \
@@ -117,7 +120,7 @@
 
     # we only need some empty dirs
     set -e
-    mkdir -p $archivedir/partial $aptcache/etc/apt $aptcache/var/lib/apt/lists/partial 
+    mkdir -p $archivedir/partial $aptcache/etc/apt/preferences.d $aptcache/var/lib/apt/lists/partial $aptcache/var/log/apt
     > $statefile
     set +e
 }




More information about the Fai-commit mailing list