Actions
Feature #14
closedBuild-prepare script should adapt the Debian repository URL for a local cache
Status:
Closed
Priority:
Normal
Assignee:
Category:
Programming
Target version:
Description
In the file config-base/bootstrap
the Debian repositories are set to the German Internet repositories. In the current Lenny based DDL, we're using a local cache based on apt-cacher. As we cannot know in advance what is the configuration of the user to build CD's, it would be better that the script build-prepare.sh
arrange the repository URL after probing the dedicated port 3142:
- if not ping localhost:3142 ? keep a remote Internet repository
- if ping localhost:3142 ? convert the repository URL into a local cache URL
The default should be to use a remote Internet repository not to oblige users to install apt-cacher.
Actions