]> spindle.queued.net Git - xodist/blobdiff - README.approx
README.approx: update documentation
[xodist] / README.approx
index c5616c0fd46638c36b9ea3f1c72d8aa42d4ee02b..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.  during the creation of the root filesystem described in README,
-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
+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-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