Project

General

Profile

Actions

Feature #14

closed

Build-prepare script should adapt the Debian repository URL for a local cache

Added by Administrator Redmine about 13 years ago. Updated almost 13 years ago.

Status:
Closed
Priority:
Normal
Category:
Programming
Start date:
05/31/2011
Due date:
06/30/2011
% Done:

100%

Estimated time:
1:00 h
Spent time:

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

Also available in: Atom PDF