| Commit message (Collapse) | Author | Age |
|
|
|
| |
only has parts of Debian.
|
|\ |
|
| |
| |
| |
| |
| |
| |
| | |
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>
|
| |
| |
| |
| |
| |
| |
| |
| |
| | |
Since now the pbuilderrc is just an example, might as well
use some correct info that is meaningful for a human.
Also, this was broken since the default rc info was not valid
anymore (in the absence of /etc/pbuilderrc)
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>
|
| |
| |
| |
| | |
Signed-off-by: Eddy Petrișor <eddy.petrisor@gmail.com>
|
| |
| |
| |
| | |
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>
|
| |\
| | |
| | |
| | |
| | |
| | |
| | | |
Conflicts:
Makefile
debian/changelog
|
| | |
| | |
| | |
| | | |
Instead put that file in the examples directory.
|
| | | |
|
| | | |
|
| | | |
|
| | | |
|
| | |
| | |
| | |
| | | |
which are used when calling it
|
| | | |
|
| | | |
|
| | | |
|
| |/
|/| |
|
| | |
|
| | |
|
| | |
|
| | |
|
| | |
|
| | |
|
| |
| |
| |
| | |
cdebootstrap no longer debootstraps lenny.
|
| |
| |
| |
| |
| |
| |
| | |
Instead of running "apt-get autoremove", run apt-get dist-upgrade with -o
APT::Get::AutomaticRemove=true; this avoids solutions based on checking for
the version of APT or outputting an error on older APT, or masking all
errors. Also, autoremove happens after the upgrade instead of before.
|
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
--override-config is not specified (closes: #459432)
when no --override-config option is given, options like --distribution,
.... (or their .pbuilderrc counterparts DISTRIBUTION, ...) are not taken
into account for setting up the chroot, they also shouldn't be used for
outputting diagnostics.
Thanks to Andreas Beckmann <debian@abeckmann.de>
|
| | |
|
| |
| |
| |
| | |
gdebi pulls in too much too the chroot, maybe gdebi-core is better.
|
| |
| |
| |
| |
| |
| |
| |
| | |
The original implementation did not work well with cowdancer, change
it so that gdebi is called inside chroot and inside chroot only.
This has the drawback that gdebi must be available within chroot, but
it is much simpler than adding conditional cowdancer support to gdebi, and hopefully better for future development.
|
| | |
|
| |
| |
| |
| | |
Change generated tag names to debian/VERSION from VERSION.
|
| | |
|
| | |
|
| | |
|
| |
| |
| |
| |
| |
| |
| |
| |
| | |
Use the same permission as /etc/init.d/mountdevsubfs.sh for mounting
devpts. devpts mount points share the same system-wide permission for
all mounts, which gets re-set every time pbuilder mounts it.
Since the current gid/permission information is not exported from
devpts, use the /etc/default/devpts value provided by glibc.
|
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
From: Michael Vogt <mvo@ubuntu.com>
In Ubuntu, we've applied the attached patch to achieve the following:
* Makefile:
- Addded pbuilder-satisfydepends-gdebi
* pbuilder-buildpackage-funcs:
- always pass --chroot to the pbuilder-satisfydepends (needed for
pbuilder-satisfydepends-gdebi)
* pbuilder-satisfydepends-gdebi:
- added alternative b-d resolver
pbuilder-satisfydepends-gdebi is a build-dependencies resolver based
on gdebi (that in turn uses python-apt/libapt). It is fast and does
not need to build a dummy package. It should behave exactly like
apt-get build-dep $pkg
It used to be more interessting because of the speed gain when
pbuilder-satisfydepends-classic was the default. You probably want to
add a recommends or suggests for gdebi too (if you like the patch
method).
Modified by dancerj: --chroot is given before --chrootexec so that
cowdancer can continue to work.
|
| | |
|
| | |
|
| | |
|
| | |
|
| | |
|
| | |
|