| Commit message (Collapse) | Author | Age |
| |
|
|
|
|
|
| |
pbuilder-buildpackage: pass -e to dpkg-buildpackage instead of -m;
thanks Russ Allbery; closes: #546531
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
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.
|
|
|
|
| |
Copies extra files to inside chroot.
|
|
|
|
| |
First cut into doing this, hopefully we're not breaking anything.
|
| |
|
| |
|
| |
|
|
|
|
| |
they will exit pbuilder after receiving a trap.
|
| |
|
| |
|
|
|
|
|
| |
$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.
|
| |
|
| |
|
| |
|
| |
|
| |
|
|
|
|
|
| |
to Daniel Leidert (Closes: #335523), there was a wrong condition
check, it should do that now.
|
| |
|
|
|
|
|
|
|
|
|
|
|
| |
* 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.
|
|
|
|
|
|
|
|
|
|
|
|
| |
+
+ * 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 q-funk's script.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
* 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
|
|
|
|
|
|
| |
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).
|
| |
|
|
|
|
| |
allow su design change. Bug: 317264
|
|
|
|
|
|
|
|
|
| |
+
+ * 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.
+
|
| |
|
|
|
|
| |
+ we don't keep redownloading lintian/linda . (closes: #296999)
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
+
+ * 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.
+
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
+
+ * 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.
+
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
+ * 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>
+
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
+
+ * 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.
+
|
|
|
|
| |
+ "userid"
|
| |
|
| |
|
| |
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
+
+ * 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
+
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
+
+ * 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.
+
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
+
+ * 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.
|
|
|
|
|
|
|
|
|
|
|
|
| |
+
+ * 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
|
|
|
|
|
|
|
|
| |
+ * pbuilder-buildpackage: Changed to work with trap instead of other
+ kludgy alternatives.
+
+ * pbuilder-buildpackage-funcs: fixed to use trap for buildpackage hooks.
+
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
* 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
|
|
|
|
|
|
|
|
|
| |
+ * 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.
|