]> spindle.queued.net Git - xodist/blobdiff - README.approx
README.approx: update documentation
[xodist] / README.approx
index 512b375550039b3ebba4e29bf421ac2521efb6b2..63cfae583d2279ef7f81d91583f4658a2263aa9f 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.
@@ -11,17 +11,19 @@ Solution: set up the approx package to cache these packages.
 
 debian          http://http.us.debian.org/debian
 security        http://security.debian.org/
+backports       http://backports.debian.org/debian-backports
 
-3.  restart approx,
+3.  restart approx (not required when running approx from inetd),
 
        % sudo /etc/init.d/approx restart
 
 4.  follow README, but during the creation of the root filesystem, add
-the --mirror option, like this:
-
-        sudo ./initchroot.sh \
-            --package-list kde.packages \
-            --local-apt-mirror "deb http://localhost:9999/debian lenny main contrib non-free
-deb http://localhost:9999/security lenny/updates main contrib non-free" \
-            kde.root
-
+the --local-apt-mirror option, like this:
+
+        sudo ./mkchroot.sh \
+            --config-type debxo-lxde \
+            --local-apt-mirror \
+"deb http://localhost:9999/debian squeeze main contrib non-free
+deb http://localhost:9999/security squeeze/updates main contrib non-free
+deb http://localhost:9999/backports squeeze-backports main contrib non-free" \
+            debxo-lxde