aboutsummaryrefslogtreecommitdiff
path: root/pbuilder-buildpackage
Commit message (Collapse)AuthorAge
* 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
|
* + * debian/rules: add check target for build.dancer2003-03-10
| | | | | | | | | | | | | | | | | | | | | | | | | | + + * Makefile (check): add check target to makefile, to see if there is + any syntax error. + + * pbuilder-updatebuildenv: support --preserve-buildplace + apply things from + Daniel Schepler <schepler@math.berkeley.edu> + + * pbuilder-satisfydepends: support --preserve-buildplace + support Format: field. + + * pbuilder-modules (pbuilder-options): support --preserve-buildplace + + * pbuilder-buildpackage (PACKAGENAME): support --preserve-buildplace + + * pbuilder-buildpackage-funcs: support --preserve-buildplace + + * pbuilder-createbuildenv (DEBOOTSTRAPSCRIPT): support --preserve-buildplace + + * pbuilder-checkparams (PRESERVE_BUILDPLACE): add PRESERVE_BUILDPLACE + + * pbuilder.8: update docs to add --preserve-buildplace +
* +2003-03-10 Junichi Uekawa <dancer@debian.org>dancer2003-03-10
| | | | | | | | | | | | | | | | | | | | | | | + + * pbuilder-satisfydepends: quote some strings... trying to be pedantic + + * pbuilder-buildpackage-funcs: unset LOGNAME for when building with + real root privilage. + thanks Barak Pearlmutter <bap@cs.unm.edu> + + * pbuilder.8: document X hooks which were previously undocumented. + + * pbuilder-user-mode-linux (BUILDING_DSC_FILE): use readlink on real existing files. + GNU "readlink -f " exits with an exit code of 1 when the file does not + exist, debianutils readlink did not. + + * pbuilder-runhooks (hooks): do not call readlink here, + since the file may not exist. + + * pbuilder-checkparams (USE_PKGNAME_LOGFILE): use readlink on real existing files. + + * pbuilder-buildpackage (PACKAGENAME): use readlink on real existing files. +
* + * pbuilder-buildpackage (PACKAGENAME): add banner for logfile.dancer2002-12-12
| | | | | | | | | | | | | | | | | | | | | + + * debian/control (Recommends): add devscripts to recommends + + * pbuilder-checkparams (USE_PKGNAME_LOGFILE): fix typo + + * pbuilder-modules (pbuilder-options): add reference to pkgname-logfile to help text. + + * pbuilder.8: documentation of pkgname-logfile moved closer to --logfile option. + + * ChangeLog: spell-checked. + + * pbuilder.8: document --pkgname-logfile option. + From Michael Banck <mbanck@gmx.net>, requested feature. + * pbuilder-checkparams (PBUILDER_BUILD_LOGFILE): logfile name is stored in PBUILDER_BUILD_LOGFILE + (PBUILDER_BUILD_LOGFILE): add --pkgname-logfile option for using logfile with pkgname-version.log + (USE_PKGNAME_LOGFILE): make this variable be usable only as command-line option, and not for + configuration.
* +2002-11-27 Junichi Uekawa <dancer@debian.org>dancer2002-11-27
| | | | | | | | | | | | + + * THANKS: update. + + * pbuilder-buildpackage-funcs (createbuilduser): do not set HOME here. + + * pbuilder-buildpackage (PACKAGENAME): make HOME to be "/tmp/buildd". + thanks: Clint Adams <schizo@debian.org> + up
* +dancer2002-10-29
| | | | | | | | + * pbuilder-buildpackage: Changed to work with trap instead of other + kludgy alternatives. + + * pbuilder-buildpackage-funcs: fixed to use trap for buildpackage hooks. +
* KILL_WAIT_PID related quoting fixdancer2002-10-05
|
* 2002-10-05 Junichi Uekawa <dancer@debian.org>dancer2002-10-05
| | | | | | | | | | | | | * debian/TODO: note that TODO item, support building without root is implemented. Running as non-root in the build process is implemented through the fakeroot options, so that entry goes away, too. * AUTHORS: update the little story. * THANKS: update a bit. * pbuilder-buildpackage (BUILD_PID): quote properly
* +dancer2002-09-29
| | | | | | | | | + * pbuilderrc.5: update manpage to document the vars. + + * pbuilder-buildpackage (BUILD_PID): preserve file permissions + on copying the result. + (BUILDRESULTUID,BUILDRESULTGID): define UID and GID. + chown and chgrp to the user ID after build.