| Commit message (Collapse) | Author | Age |
|
|
|
| |
call debconf pbuilder.config script
|
| |
|
|
|
|
| |
Signed-off-by: Eddy Petrișor <eddy.petrisor@gmail.com>
|
|
|
|
|
|
|
| |
If, when parsing the current existing pbuilderrc file, no
MIRRORSITE setting is found, fall back to autodetection.
Signed-off-by: Eddy Petrișor <eddy.petrisor@gmail.com>
|
|
|
|
|
|
|
|
|
|
|
| |
When accepting to rewrite the config, most definetly, the user
wants just this once to accept the rewrite, not every time from
this point onwards (including upgrades).
In other words, accepting rewrite is forgot immediately, and valid only
once.
Signed-off-by: Eddy Petrișor <eddy.petrisor@gmail.com>
|
|
|
|
|
|
|
|
|
|
| |
Hook the sed replacement to the begining of the line to
make sure we're not replacing any commented out entries.
Also, it is possible that the MIRRORSITE line to be
preceeded by whitespace. Accept that, too.
Signed-off-by: Eddy Petrișor <eddy.petrisor@gmail.com>
|
|
|
|
|
|
|
|
|
|
|
|
| |
Use http://you-have-broken-debconf-configuration.example.com/ as a
default place-holder instead of the possiblly confusing _
No longer create large /etc/pbuilderrc files, instead create a minimal
file which contains just the MIRRORSITE definition since pbuilder
sources the default options, so there's only need for overrides.
Thanks Junichi for clearing that up.
Signed-off-by: Eddy Petrișor <eddy.petrisor@gmail.com>
|
|
|
|
| |
Signed-off-by: Eddy Petrișor <eddy.petrisor@gmail.com>
|
|
|
|
|
|
|
|
| |
Fix the moronic use of a temporary file within postinst
when trying to generate the correct MIRRORSITE info via sed.
Sed already has in-place transformation.
Signed-off-by: Eddy Petrișor <eddy.petrisor@gmail.com>
|
|
|
|
|
|
|
|
|
| |
When the config exists already, ask the user if he/she
really wants to reconfigure pbuilder's config.
Small layout fixes.
Signed-off-by: Eddy Petrișor <eddy.petrisor@gmail.com>
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
A the system might use sources.list.d, but might miss sources.list
entirely. All the relevant files are concatenated and the first deb
source is picked from that list.
When the autodection fails, make sure the responsability to insert
the valid information drops on the shoulders of the user.
Even if the shell is non-interactive, add some mirror.
Signed-off-by: Eddy Petrișor <eddy.petrisor@gmail.com>
|
|
|
|
| |
Signed-off-by: Eddy Petrișor <eddy.petrisor@gmail.com>
|
| |
|
| |
|
| |
|
|
|
|
| |
which are used when calling it
|
|
|