View Issue Details
ID | Project | Category | View Status | Date Submitted | Last Update |
---|---|---|---|---|---|
0003307 | Kali Linux | Feature Requests | public | 2016-05-23 18:57 | 2023-10-10 12:28 |
Reporter | vanguard | Assigned To | rhertzog | ||
Priority | low | Severity | minor | Reproducibility | always |
Status | closed | Resolution | no change required | ||
Product Version | 2016.1 | ||||
Summary | 0003307: live-build-config request, that apt-cacher-ng can be reused again | ||||
Description | Dear maintainers, when building a kali livefile, you request this command: ./build.sh --distribution kali-rolling --verbose In earlier times, I could use the commands This is working also today. When you changed the command to the first above, apt-cacher-ng worked no more, as ./build.sh purges at first the whole live-build environment. I checked the build.sh command. | ||||
Steps To Reproduce | Do the requested command ./build.sh --distribution kali-rolling --verbose | ||||
Additional Information | I think the following changes in build.sh would make things nicer: Line 117:
to
This does not purge the environment and apt-cacher-ng can be used again. Of course, I can edit my own ./build.sh myself, but I think, these should be the default for a fresh live-build. Would be nice, if you agree to my suggestion! Thank you very much! Best Hans | ||||
It would help if you could explain what the requirements are to be able to use apt-cacher-ng. On my side, I use "approx" and simply edit auto/config to make kali_mirror point to my approx setup. I could add a new option to ./build.sh if there are specific configuration switches to pass to "lb config" (or environment variables to set). |
|
But I'm not going to drop "--purge", otherwise you will mix up settings from different types of images. |
|
Ok, I understand. The problem is, that I don't want to download the same packages again and again, each time I build a new version, just the updates. The solution you told me some years ago, was to use apt-cacher-ng. This worked until the change from lb build to ./build.sh, as ./build.sh does at first a lb clean --purge. So all already downloaded packages are always deleted when I start the building and have to be dowloaded again. This is annoying. |
|
I understand the need, but I don't understand what you have to do so that live-build download packages through apt-cacher-ng... usually you configure APT to use a proxy. So what's wrong with ./build.sh -- --apt-http-proxy http://127.0.0.1:9999 ? |
|
There is nothing wrong with it! I just did not know, that this is existing. So I do not need apt-cacher-ng, I see. I will do as you requested. The --apt-http-proxy http://127.0.0.1:9999 must be after the "--" where my other configurationms like "keyboard=de" etc. reside? Best Hans |
|
Yes, --apt-http-proxy needs to be after "--" with other generic lb_config command line options. You still need apt-cacher-ng or another generic proxy/cache. This option just tells live-build to use a proxy for downloads via APT and let it know where it is available (the sample I gave was for port 9999 on localhost, but other ports are commonly in use). |
|
Date Modified | Username | Field | Change |
---|---|---|---|
2016-05-23 18:57 | vanguard | New Issue | |
2016-05-24 07:43 | rhertzog | Note Added: 0005273 | |
2016-05-24 07:44 | rhertzog | Note Added: 0005274 | |
2016-05-24 07:44 | rhertzog | Assigned To | => rhertzog |
2016-05-24 07:44 | rhertzog | Status | new => feedback |
2016-05-24 08:00 | vanguard | Note Added: 0005275 | |
2016-05-24 08:00 | vanguard | Status | feedback => assigned |
2016-05-24 08:55 | rhertzog | Note Added: 0005276 | |
2016-05-24 09:09 | vanguard | Note Added: 0005277 | |
2016-05-24 09:30 | rhertzog | Note Added: 0005278 | |
2016-05-24 09:30 | rhertzog | Assigned To | rhertzog => |
2016-05-24 09:31 | rhertzog | Status | assigned => resolved |
2016-05-24 09:31 | rhertzog | Resolution | open => no change required |
2016-05-24 09:31 | rhertzog | Assigned To | => rhertzog |
2023-10-10 12:28 | vanguard | Status | resolved => closed |