aboutsummaryrefslogtreecommitdiff
path: root/pbuilder-buildpackage
Commit message (Collapse)AuthorAge
* Bug#606699: pbuilder NMUEmilio Pozuelo Monfort2011-06-24
| | | | | | | | | | Hi, I talked to Junichi and he told me it was fine if I NMU'ed pbuilder to fix these bugs. This is the debdiff for my NMU. Regards, Emilio
* Move ccache setup to pbuilder-buildpackage-funcsLoïc Minier2010-01-03
|
* Add builtin ccache support, enabled by defaultLoïc Minier2010-01-02
| | | | | | | | | Add builtin support for using ccache in pbuilder and enable it by default. Ship a new /var/cache/pbuilder/ccache dir and bind-mount and chown it to BUILDUSERID at build time. Install/remove ccache automatically on create/update if CCACHEDIR is set/unset. Update docs and remove old ccache config example. Add a NEWS entry featuring the change.
* Avoid appending extra spaces in DEBBUILDOPTSLoïc Minier2009-12-14
|
* Factor "exec >" + "exec 2>&1" togetherLoïc Minier2009-12-13
|
* Log dpkg-buildpackage command linesLoïc Minier2009-12-12
|
* 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
* Make error message visible when copying out to buildresult (closes: #505695)Junichi Uekawa2009-12-05
| | | | | | | | NFS directories can't be written to by root processes, and they will fail quietly. 1. Only attempt to copy the files (so we won't attempt to copy the directories). 2. Expose error messages so that users will see them.
* quote-escape debemail so that email with space can be handled properly.Junichi Uekawa2009-11-02
|
* pbuilder-buildpackage: pass -e to dpkg-bp, not -mLoïc Minier2009-09-21
| | | | | pbuilder-buildpackage: pass -e to dpkg-buildpackage instead of -m; thanks Russ Allbery; closes: #546531
* 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.
* 398865: apply patch for LOGNAME, and implement also shadow group fileJunichi Uekawa2007-05-28
|
* fix always ending with "Aborting with error"Junichi Uekawa2007-05-27
|
* 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.
* trap SIGHUP as well as EXIT.Junichi Uekawa2007-05-27
|
* use tee instead of not outputting anything for logging mode.Junichi Uekawa2007-05-17
|
* remove output of $Id$Junichi Uekawa2007-04-11
| | | | | $Id$ is a CVS-specific feature which was useful for showing the version number of pbuilder, but is no longer relevant. Something else is required for git, but that will need to be fixed later.
* copyright year 2007, and changelog about it, and changelog warning/error to >&2Junichi Uekawa2007-03-27
|
* error message goes to &2Junichi Uekawa2007-03-27
|
* create fakeroot user early in build processJunichi Uekawa2007-03-20
|
* support PKGNAME_LOGFILE option in pbuilderrc.dancer2006-08-15
|
* do error checking for buildresult.dancer2006-06-10
|
* * Bug fix: "pbuilder: should create BUILDRESULT if not existent", thanksdancer2006-06-10
| | | | | to Daniel Leidert (Closes: #335523), there was a wrong condition check, it should do that now.
* update copyright info.dancer2006-05-30
|
* * 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.
* +2006-03-18 Junichi Uekawa <dancer@debian.org>dancer2006-03-17
| | | | | | | | | | | | + + * pbuilder.8: update documentation of --pkgname-logfile + + * pbuilder-buildpackage: allow chown, and add support for PKGNAME_LOGFILE_EXTENTION. + + * pbuilderrc (PKGNAME_LOGFILE_EXTENTION): add + + * pbuilderrc.5: document +
* add support for chmod/chown of logfile, needs more work.dancer2006-03-17
|
* 344958 fix was incomplete, re-fix.dancer2006-01-06
|
* 344958dancer2006-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
* * Bug fix: "pbuilder-buildpackage-funcs check for createbuilduser fordancer2005-12-04
| | | | | | SUTOUSER is bogus", thanks to Brian Nelson (Closes: #338976). * Bug fix: "--no-targz option creates tarball in pbuilder create", thanks to Junichi Uekawa (Closes: #341916).
* preserve environment when su to root.dancer2005-12-01
|
* * pbuilder-buildpackage: change the use of su, todancer2005-07-13
| | | | allow su design change. Bug: 317264
* +2005-06-25 Junichi Uekawa <dancer@debian.org>dancer2005-06-25
| | | | | | | | | + + * pbuilder-user-mode-linux: use configured PATH instead of hard-coded PATH. + + * pbuilder-buildpackage: preserve PATH in su, + pass -p option. This fixes the problem with env-var preservation. +
* PATH setting.dancer2005-06-20
|
* + * save apt cache after running B hook in build target; so thatdancer2005-04-21
| | | | + we don't keep redownloading lintian/linda . (closes: #296999)
* update datedancer2005-01-04
|
* +2004-10-31 Junichi Uekawa <dancer@debian.org>dancer2004-10-31
| | | | | | | | | | | | | | | | | | | | | | | | | | | | + + * Documentation/pbuilder-doc.xml (PBUILDER_UML_IMAGE): add notes on + BUILRESULTUID and SUDO interaction. + + * pbuilder-buildpackage (PACKAGENAME): move around buildresult dir creation before pkgname logfile creation. + + * pbuilder.8: add documentation for --save-after-login/exec option. + + * pbuilder: execute and login with --save-after-login/exec option. + + * pbuilder-user-mode-linux.1: add notes that uml-nocow is effective for exec and login. + + * pbuilder-uml-checkparams (UML_SAVE_AFTER_LOGIN): add UML_NOCOW for exec + + * pbuilder-checkparams (SAVE_AFTER_LOGIN): --save-after-login/exec command-option. + + * pdebuild-user-mode-linux.1: add notes that the option will override + pbuilder option. + + * pdebuild.1: add notes that the option will override pbuilder option + + * pdebuild-user-mode-linux: ditto. + + * pdebuild: override --debbbuildopts in pbuilder option when DEBBUILDOPTS is available and for non-internal mode. +
* +2004-07-16 Junichi Uekawa <dancer@debian.org>dancer2004-07-15
| | | | | | | | | | | | | | | | | | | | | + + * pbuilder-user-mode-linux: 259325: call /sbin/halt -d -f + instead of just doing an exit from UML. + init=/bin/sh, and this is required for safe exit now, apparently. + +2004-07-14 Junichi Uekawa <dancer@debian.org> + + * Documentation/pbuilder-doc.xml: update notes on D10tmp script. + + * examples/D10tmp: mkdir -p + +2004-07-09 Junichi Uekawa <dancer@debian.org> + + * testsuite/run-test.sh (IOSTATPID): add debemail to testsuite. + + * pbuilder-buildpackage (PACKAGENAME): move SUTOUSER outside of what's fed into bash. + Run bash in SUTOUSER. SUTOUSER might be eating quote characters. +
* +dancer2003-09-23
| | | | | | | | | | | | | | | + * pbuilder-modules (pbuilder-options): actually, return 101 for policy-rc.d + + * debian/TODO: update + + * pbuilder-modules (pbuilder-options): install policy-rc.d inside chroot if it does not exist, + and make it a dummy exit-all one. + + * THANKS: add Aaron here. + + * pbuilder-buildpackage (PACKAGENAME): use echo here, so that su won't + mess up the command-line. c.f. 203584, "Aaron M. Ucko" <ucko@debian.org> +
* +2003-08-27 Junichi Uekawa <dancer@debian.org>dancer2003-08-26
| | | | | | | | | | | | | | | + + * Documentation/pbuilder-doc.xml (PBUILDER_UML_IMAGE): Update + documentation to note updates that I am aware of. + + * THANKS: update the list. + + * pbuilder.8: fix unintended italic in manual page + Subject: Bug#207390: italicized period in manual page + From: Matt Kraai <kraai@alumni.cmu.edu> + + * pbuilder-buildpackage (BUILD_PID): add default BUILDRESULTGID for chown. +
* + * pbuilder-buildpackage (BUILD_PID): Use chown "userid:" instead ofdancer2003-08-20
| | | | + "userid"
* fix pbuilder-buildpackage ordering, and release 0.73dancer2003-04-20
|
* update copyright datedancer2003-04-19
|
* documentation updates, and fixing ordering of D hooksdancer2003-04-19
|
* fix typodancer2003-03-11
|