aboutsummaryrefslogtreecommitdiff
path: root/pbuilder-modules
Commit message (Collapse)AuthorAge
* pdebuild: Add architecture flag; #516625Loïc Minier2009-12-30
| | | | | pdebuild: add support for setting the architecture on the command-line and in pbuilderrc; closes: #516625.
* pbuilder: Add --architecture and ARCHITECTURE flagLoïc Minier2009-12-30
| | | | | pbuilder: add support for setting the architecture on the command-line and in pbuilderrc.
* Do not mention codename of testing where possibleLoïc Minier2009-12-14
| | | | | | Avoid mentionning the codename of the current testing distribution where possible as this gets out of date -- except in the rebuild README where the current testig is really what we want.
* COMPONENTS is always setLoïc Minier2009-12-13
| | | | | Don't fallback on another COMPONENTS default, it's already set in the pbuilder defaults
* Add support for building packages twice; #493538Loïc Minier2009-12-11
| | | | | Add support for building packages twice; based on a patch by Nicolas Valcárcel; closes: #493538
* Gracefully handle non-existing bind-mount in --bindmount option (closes: ↵Junichi Uekawa2009-12-02
| | | | | | | #556164) When bind-mount fails, /proc etc are mounted and not unmounted. umount them in that case.
* Bug#520251: pbuilder: Pbuilder does not umount bindmounts when ssh ↵Stefan Fritsch2009-03-18
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | connection dies Package: pbuilder Version: 0.181 Severity: important When pbuilder is executed over ssh and the ssh connection dies, it won't umount bind mounts and won't clean up the build dir. Unfortunately, cowbuilder WILL cleanup the build dir, wiping all bind mounts. The execution order is like this: ssh -> sudo -> cowbuilder -> pbuilder Because of the sudo, the SIGHUP will not be delivered to pbuilder. However, pbuilder will get SIGPIPE when writing to stdout or stderr. In addition, even when SIGPIPE is ignored, a write to stdout will give EPIPE, which causes echo to return with an error. Therefore, you - need to catch sigpipe in addition to sighup - need to ignore sigpipe and sighup in the cleanup handler - need to set +x in the cleanup handler to avoid exiting just because echo returns an error. The attached patch works for me but I have only edited pbuilder-buildpackage and not the other commands.
* implement --inputfile option.Junichi Uekawa2009-03-07
| | | | Copies extra files to inside chroot.
* refactor to use 'log' function rather than using 'echo' directly.Junichi Uekawa2009-02-26
| | | | First cut into doing this, hopefully we're not breaking anything.
* Bug#493154: warn if --othermirror is specified and --override-config is not ↵Junichi Uekawa2009-02-24
| | | | | | specified. People don't read the manpage thoroughly, and file bugs. Add a Warning.
* umount on failed bind-mount (closes: #474771)Junichi Uekawa2008-04-29
| | | | | | | | | | | Special-case bind-mounting points since it might result in user-data loss when pbuilder clean is ran. When multiple bind-mount points are specified in command-line options, and one of them failed to mount, not all of them were umounted in clean-up. That is now fixed.
* Fix devpts mount permissions (closes: #453862)Junichi Uekawa2007-12-26
| | | | | | | | | 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.
* * Create /etc/apt/apt.conf.d just in case it doesn't exist. (Closes:Junichi Uekawa2007-11-24
| | | | #452584).
* * Bug fix: "pbuilder-satisfydepends-classic should passJunichi Uekawa2007-11-07
| | | | | | -o APT::Install-Recommends=false to apt-get", thanks to Daniel Schepler (Closes: #448562). * set /etc/apt/apt.conf.d/15pbuilder so that Install-Recommends is false.
* [Pbuilder-maint] Bug#422371: Patch for specifying componentsAdrien Cunin2007-10-22
| | | | | | | | | Here is a patch against latest git revision which adds the ability to specify the components either via $COMPONENTS in pbuilderrc or via the command line with --components. It is based on some of the Ubuntu changes [1]. [1] http://patches.ubuntu.com/p/pbuilder/pbuilder_0.170ubuntu1.patch
* * Bug fix: "pbuilder: incoherence man page with --help", thanks to DavidJunichi Uekawa2007-10-15
| | | | Vernazobres (Closes: #446479).
* fix thinko: trap exit -> trap - exitJunichi Uekawa2007-05-27
|
* change "trap" handling so that all trap function calls are called _trap, and ↵Junichi Uekawa2007-05-27
| | | | they will exit pbuilder after receiving a trap.
* minor documentation update for etch releaseJunichi Uekawa2007-04-10
|
* 391915: re-fix the applied patch, etc/$a inside buildplace was ↵Junichi Uekawa2007-03-31
| | | | | | | | | unconditionally removed. "The fix for #391915 as applied in 0.165 isn't quite correct, it still has an unconditional rm -f "$BUILDPLACE/etc/$a" outside the check for an existing /etc/$a to copy into its place." From Paul TBBle Hampson <Paul.Hampson@Pobox.com>
* 391915: Try to warn only if network configuration files are not found on ↵Junichi Uekawa2007-03-28
| | | | host OS, not error out.
* copyright year 2007, and changelog about it, and changelog warning/error to >&2Junichi Uekawa2007-03-27
|
* warning message goes to &2Junichi Uekawa2007-03-27
|
* error message goes to &2Junichi Uekawa2007-03-27
|
* * --override-config and --mirror without --distribution leaves /procdancer2007-01-04
| | | | mounted, and breaks cowbuilder. (closes: #405497)
* * debuild-pbuilder, pbuilder-buildpackage-funcs, pdebuild-internal:lool2006-11-06
| | | | | | | | | | | | | | | use $PBUILDERSATISFYDEPENDSCMD instead of /usr/lib/pbuilder/pbuilder-satisfydepends. * pbuilderrc: set PBUILDERSATISFYDEPENDSCMD to /usr/lib/pbuilder/pbuilder-satisfydepends by default. * pbuilderrc.5: document PBUILDERSATISFYDEPENDSCMD. * debian/TODO: alternatives implementation of pbuilder-satisfydepends now possible. * pdebuild-checkparams, pdebuild-uml-checkparams, pdebuild-internal: add a new --pbuildersatisfydepends flag to override PBUILDERSATISFYDEPENDSCMD * pdebuild: pass --pbuildersatisfydepends to pdebuild-internal. * pbuilder-modules, pdebuild.1: document --pbuildersatisfydepends.
* * Make a case construct POSIX compliant; thanks Martin F Krafft.lool2006-10-30
|
* * pbuilder-modules: umount selinux and bind mounts first.lool2006-10-29
|
* * pbuilder-modules: add sanity checks during umount_one(); ignorelool2006-10-29
| | | | | | umount errors of the type "umount: /foobar: not mounted" and "umount: /foobar: not found" as retries will be useless anyway, and these errors shouldn't cause data loss; fixes #391390.
* initial selinux supportdancer2006-08-24
|
* bind-mount ordering fix.dancer2006-08-20
|
* quiet down /etc/mtabdancer2006-06-01
|
* update copyright info.dancer2006-05-30
|
* initial cowbuilder support in pdebuilddancer2006-05-24
| | | | | | | | | | | | pbuilder supports pdebuild/cowbuilder login/execute/update/create etc. can also be --login/--execute/--update/--create etc. to cater for cowbuilder documentation updates / XML typesetting fixes. manpage fixes / spellchecking generally what I did while I was on plane trip from Debconf Mexico to Japan.
* * fix pdebuild --help output (closes: #367133)dancer2006-05-14
| | | | | | | | | | | * pbuilderrc.5: undocument the restriction that --buildresult option needs to be specified for pdebuild, and BUILDRESULT cannot be used. I should probably warn that the directory should be absolute. * pdebuild.1: fix man a bit to make --buildresult option doc unambiguous.
* + * Documentation/pbuilder-doc.xml: update docs on user-mode-linux usage.dancer2006-04-22
| | | | | | + add reference to PDF version. and update some copyright years to 2006.
* remove support for --nonusmirror.dancer2006-02-22
|
* + * Bug fix: "pbuilder: url to debian experimental's apt archive seems todancer2006-01-12
| | | | + have changed recently", thanks to Johan Boule (Closes: #347296).
* 345870dancer2006-01-06
|
* use readlink -f instead of -e.dancer2005-12-21
| | | | add q-funk's script.
* Use readlink -e instead of readlink -f :dancer2005-12-05
| | | | | | | | | | | | | | | | | | | * pdebuild-user-mode-linux: * pdebuild-uml-checkparams: * pdebuild-checkparams: * pdebuild: readlink -e instead of readlink -f * pbuilder-uml-checkparams: readlink -e instead of readlink -f * pbuilder-modules: readlink -e instead of readlink -f * pbuilder-createbuildenv: quote HOOKDIR and readlink -e instead of readlink -f. * pbuilder-checkparams: * pbuilder-buildpackage: use readlink -e here. * pbuilder-buildpackage-funcs: use readlink -e instead of readlink -f. 342117 thanks to Markus Kolb
* 337541: 0.138: allow xvfb to work inside pbuilderdancer2005-11-11
|
* workaround Matt's commit;dancer2005-11-02
| | | | add ||true for 'ln -s' creating mtab.
* If /proc is mounted, create a symbolic link from /etc/mtab tokraai2005-11-01
| | | | /proc/mounts.
* update documentation and manual pagesdancer2005-09-30
| | | | | | | | * suppress warnings from find; it wants -maxdepth before any other argument. (closes: #330848) * Documentation update patch from Osamu Aoki to clarify about configuration file priorities and issues associated with it. (closes: #325318)
* 2005-08-28 Junichi Uekawa <dancer@debian.org>dancer2005-08-28
| | | | * pbuilderrc: SHELL variable is set a default value.
* +2005-08-07 Junichi Uekawa <dancer@debian.org>dancer2005-08-07
| | | | | | | | | | | | | | | | | | | | | | | | | | + + * debian/control: allow cdebootstrap dependency. + + * testsuite/run-test.sh: complicate the process by testing both + cdebootstrap and debootstrap. + + * pbuilder.8: document --debootstrap + + * pbuilder-checkparams: --debootstrap + + * pbuilder-modules: --debootstrap + + * pbuilder-createbuildenv: unset DEBOOTSTRAPSCRIPT instead of setting + "". The number of parameter given to cdebootstrap changes. + since DEBOOTSTRAPSCRIPT are not supported by cdebootstrap, + Giving cdebootstrap this parameter caused it to fail. + + * pbuilderrc.5: Document DEBOOTSTRAP + + * pbuilderrc (DEBOOTSTRAP): new option. + + * pbuilder-createbuildenv (DEBOOTSTRAPSCRIPT): call ${DEBOOTSTRAP} instead of calling debootstrap directly. +
* +2005-06-12 Junichi Uekawa <dancer@debian.org>dancer2005-06-12
| | | | | | | | | | | | | + + * testsuite/test-pdebuild.sh: add a sample command-line that should + work. + + * pbuilder-modules (pbuilder-options): + find '-xdev' is an option, not an evaluation, and so moved it around + since newer find now complains. + Marc Dequènes (Duck) <Duck@DuckCorp.org> and "Artur R. Czechowski" <arturcz@hell.pl> + #312913 +
* + * pbuilder.8: document --autocleanaptcachedancer2005-06-03
| | | | | | | | + + * pbuilder-updatebuildenv: + * pbuilder-checkparams (AUTOCLEANAPTCACHE): support auto-clean of aptcache + (IGNORE_UMOUNT): add --autocleanaptcache +
* change to use experimental,dancer2005-06-03
| | | | and apply patch; and apply my own patch.