]> spindle.queued.net Git - xodist/blob - README.approx
f93bb4a42891313d339bf76d70309caf119bbebf
[xodist] / README.approx
1 Problem: every time you use initchroot.sh the hundreds of megabytes of
2 packages are downloaded again.
3
4 Solution: set up the approx package to cache these packages.
5
6 1.  install the approx package,
7
8         % sudo aptitude install approx
9
10 2.  add the following lines to /etc/approx/approx.conf,
11
12 debian          http://http.us.debian.org/debian
13 security        http://security.debian.org/
14
15 3.  restart approx,
16
17         % sudo /etc/init.d/approx restart
18
19 4.  during the creation of the root filesystem described in README,
20 add the --mirror option, like this:
21
22         sudo ./initchroot.sh \
23             --package-list kde.packages \
24             --mirror http://localhost:9999/debian kde.root
25