-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.
% 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