]> spindle.queued.net Git - xodist/blobdiff - README.approx
debxo-sugar: update packages for squeeze
[xodist] / README.approx
index f93bb4a42891313d339bf76d70309caf119bbebf..d65b73fe6c38379699cbe56d3ef5fd70416e1869 100644 (file)
@@ -1,4 +1,4 @@
-Problem: every time you use initchroot.sh the hundreds of megabytes of
+Problem: every time you use mkchroot.sh the hundreds of megabytes of
 packages are downloaded again.
 
 Solution: set up the approx package to cache these packages.
@@ -16,10 +16,12 @@ security        http://security.debian.org/
 
        % sudo /etc/init.d/approx restart
 
-4.  during the creation of the root filesystem described in README,
-add the --mirror option, like this:
-
-        sudo ./initchroot.sh \
-            --package-list kde.packages \
-            --mirror http://localhost:9999/debian kde.root
+4.  follow README, but during the creation of the root filesystem, add
+the --local-apt-mirror option, like this:
 
+        sudo ./mkchroot.sh \
+            --config-type debxo-kde \
+            --local-apt-mirror \
+"deb http://localhost:9999/debian lenny main contrib non-free
+deb http://localhost:9999/security lenny/updates main contrib non-free" \
+            debxo-kde.root