| Commit message (Expand) | Author | Age |
* | fix logging message and conditionality to make it less lines.•••I think we don't need the if.
I'm not quite convinced ||true to kill the error message is a good idea
| Junichi Uekawa | 2012-03-13 |
* | fix space handling in additional-buildresults. | Junichi Uekawa | 2012-03-13 |
* | Bug#652634: Allow to copy additional files out of the build directory•••On Sat, Dec 24, 2011 at 05:22:05PM +0900, Junichi Uekawa wrote:
> Hi,
>
> I'd use a shell array for specifying the values; but yes I think I
> too wanted this feature at one point.
Attached is a patch that uses a shell array and adds some documentation.
Please apply if you see fit.
> Would list of filename (I will imagine there will be requests for all
> sorts of wildcards after release, which is kind of a pain) be useful
> or a directory that a post-build script can write to after build be
> useful? (I think qemubuilder needed something to do with a specific
> directory that you can write to, but I will need to check how I did
> it).
I'd be great to have this in first and see how others use it. It
wouldn't be a problem to introduce an ADDITIONAL_BUILD_RESULTS_DIR
later.
Cheers,
-- Guido
>From ad3569e07a9cc64cd5b126193cddf311e48180a6 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Guido=20G=C3=BCnther?= <agx@sigxcpu.org>
Date: Mon, 19 Dec 2011 13:31:59 +0100
Subject: [PATCH] Add ADDITIONAL_BUILDRESULTS variable
this can be used to copy additional build results out of the build
directory. It's useful to e.g. preserve a xml testresult file when using
a build system like Jenkins.
| Guido Günther | 2012-03-13 |
* | make longer lines wrap so reading patch files aren't as painful. | Junichi Uekawa | 2012-03-09 |
* | Bug#623321: pdebuild needs to strip debbuildopts -A and -F•••Package: pbuilder
Version: 0.199+nmu3
Severity: normal
Tags: patch
pdebuild has some code that strips the options -b and -B from --debbuildopts
before calling dpkg-buildpackage -S, because that would conflict. It should
do the same for the options -A and -F, because they have the same issue.
Patch attached.
| Peter Eisentraut | 2012-01-26 |
* | Coding style. Use $() instead of `` | Junichi Uekawa | 2011-12-23 |
* | factor out the file copy test part and add a test.•••Use 'PWD' like other parts of the codebase.
Coding style uses $() not ``.
| Junichi Uekawa | 2011-12-04 |
* | Avoid dsc copy error when using build-internal and buildresult=.. (closes: #4... | Tom Hughes | 2011-12-04 |
* | pdebuild: Add architecture flag; #516625•••pdebuild: add support for setting the architecture on the command-line
and in pbuilderrc; closes: #516625.
| Loïc Minier | 2009-12-30 |
* | Factor "exec >" + "exec 2>&1" together | Loïc Minier | 2009-12-13 |
* | Make --debbuildopts additive•••Change --debbuildopts to be additive and reset the list of options to
the empty list if --debbuildopts "" is passed. Update docs and add NEWS
entry.
| Loïc Minier | 2009-12-12 |
* | refactor to use 'log' function rather than using 'echo' directly.•••First cut into doing this, hopefully we're not breaking anything.
| Junichi Uekawa | 2009-02-26 |
* | pdebuild: Move "$@" to end of "arg chain" for PDEBUILD_BUILDER calls•••Move "$@" to end of "arg chain" for PDEBUILD_BUILDER calls as to allow
a "--buildresult" flag to override the one passed to pbuilder; thanks
Michael Vogt; Launchpad #129586.
| Loïc Minier | 2008-06-27 |
* | * Bug fix: "pbuilder: pdebuild - Breakage when using XC- headers",••• thanks to Soren Hansen (Closes: #448757).
| Junichi Uekawa | 2007-11-01 |
* | 424717: improved log file support: pdebuild will create a log file per default | Junichi Uekawa | 2007-05-27 |
* | copyright year 2007, and changelog about it, and changelog warning/error to >&2 | Junichi Uekawa | 2007-03-27 |
* | stylistic change to match rest of code. | Junichi Uekawa | 2007-03-27 |
* | 399484: use buildresult in pdebuild-internal | Junichi Uekawa | 2007-03-27 |
* | * debuild-pbuilder, pbuilder-buildpackage-funcs, pdebuild-internal:••• 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.
| lool | 2006-11-06 |
* | update copyright info. | dancer | 2006-05-30 |
* | initial cowbuilder support in pdebuild•••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.
| dancer | 2006-05-24 |
* | + * Documentation/pbuilder-doc.xml: update docs on user-mode-linux usage.•••+ add reference to PDF version.
and update some copyright years to 2006.
| dancer | 2006-04-22 |
* | pdebuild: give --uid/--gid options to pdebuild-internal•••it will fix the testsuite failure
| dancer | 2006-04-22 |
* | pdebuild --help works without ./debian dir. | dancer | 2006-04-01 |
* | use readlink -f instead of -e.•••add q-funk's script.
| dancer | 2005-12-21 |
* | Use readlink -e instead of readlink -f :••• * 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
| dancer | 2005-12-05 |
* | #312121 fix and release 0.136 | dancer | 2005-10-20 |
* | pdebuild now checks for unsupported options.•••+ * debian/pbuilder-uml.files: move to uml.
+ * Makefile: install
+ * pdebuild-user-mode-linux: use pdebuild-uml-checkparams
+
+ * pdebuild-uml-checkparams: add --debsign-k
+
+ * pbuilder-uml-checkparams: pdebuild options remove.
+
+ * pdebuild-uml-checkparams: --buildresult
+
+ * pdebuild.1: add --logfile option to documentation.
+
+ * pdebuild-checkparams: --logfile option implemented for pdebuild.
+
+ * Makefile (install): install
+
+ * pdebuild: use pdebuild-checkparams instead.
+
+ * pbuilder-checkparams: split
+ * pdebuild-checkparams: new file.
+
| dancer | 2005-06-04 |
* | --- ChangeLog 11 Apr 2005 06:24:29 -0000 1.293•••+++ ChangeLog 16 Apr 2005 04:39:27 -0000
@@ -1,3 +1,20 @@
+2005-04-16 Junichi Uekawa <dancer@debian.org>
+
+ * pbuilder-modules: document signing-related options in pbuilder-options.
+
+ * pdebuild-user-mode-linux:
+ * pdebuild: implement keyid specification.
+
+ * Documentation/pbuilder-doc.xml: add document on using auto-debsign
+ and add a FAQ entry for source.changes file.
+
+ * pbuilder-checkparams: use --debsign-k option
+ to specify DEBSIGN_KEYID
+
+ * pdebuild.1: add --debsign-k option
+
+ * pdebuild-user-mode-linux.1: add --debsign-k option
+
| dancer | 2005-04-16 |
* | 2005-02-13 Junichi Uekawa <dancer@debian.org>••• * pbuilder.8: update documentation to include 'sarge'
* pbuilder: set umask 0022 in pbuilder.
276589
* pbuilderrc (BUILDRESULT): make default distribution sarge, instead of woody.
* pbuilder-modules: update to include sarge in list of distributions;
this list is too long, needs some improvement.
289170
* pdebuild: Change build results by default to be owned by the building user, not root:root
This change only required for pdebuild only, UML already runs as user.
286397
* pbuilder.8: clarify documentation for 286602, Do not use --debbuildopts -B, but
use --binary-arch
* Documentation/pbuilder-doc.xml: 293882: Jens Seidel <jensseidel@users.sf.net> small typo fixes.
* pbuilderrc (MIRRORSITE): 295032: change default mirror from www.jp.debian.org to ftp.jp.debian.org
| dancer | 2005-02-13 |
* | update date | dancer | 2005-01-04 |
* | typo fix. | dancer | 2004-12-29 |
* | +•••+ * Documentation/pbuilder-doc.xml: some more minor fixes before it is released
+
+ * pdebuild-user-mode-linux, pdebuild: use bash instead of sh
+
re-run testsuites and pdebuild tests.
| dancer | 2004-12-11 |
* | potential fix for pdebuild probelm | dancer | 2004-12-01 |
* | + * Add example script from Jamin W Collins for short-cut way of specifying ...•••+ * Warn if build-depends is not satisfied when invoking dpkg-buildpackage -S (closes: #266349)
| dancer | 2004-11-16 |
* | +2004-10-31 Junichi Uekawa <dancer@debian.org>•••+
+ * 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.
+
| dancer | 2004-10-31 |
* | +2004-01-19 Junichi Uekawa <dancer@debian.org>•••+
+ * pdebuild-user-mode-linux.1: document
+
+ * pdebuild.1: document
+
+ * pdebuild-internal: add support for DEBBUILDOPTS
+
+ * pdebuild-user-mode-linux: add support for DEBBUILDOPTS
+ remove '|| true ' from dpkg-source invocation
+
+ * pdebuild: --debbuildopts support.
+
+ * examples/execute_installtest.sh (KILLPID): add killing routine;
+ change it to reboot, to get a reboot done.
+
| dancer | 2004-01-18 |
* | +2003-12-23 Junichi Uekawa <dancer@debian.org>•••+
+ * Makefile (install): update build rules to install pdebuild-internal
+
+ * pbuilderrc.5: update document USE_PDEBUILD_INTERNAL
+
+ * pdebuild-user-mode-linux.1: document --use-pdebuild-internal
+
+ * pdebuild.1: document --use-pdebuild-internal
+
+ * pbuilder-modules: document use-pdebuild-internal
+
+ * pbuilder-checkparams: --use-pdebuild-internal option.
+
+ * pdebuild: use pdebuild-internal if USE_PDEBUILD_INTERNAL option is 'yes'
+
+ * pdebuild-user-mode-linux: use pdebuild-internal if USE_PDEBUILD_INTERNAL option is 'yes'
+
+ * pdebuild-internal: Implement a pbuilder execute script to be
+ used for pdebuild without doing debian/rules clean outside of chroot.
+
+ * pbuilder-checkparams: support multiple bindmounts;
+ delimit it with spaces.
+
+ * pbuilder-modules: add --debug option here.
+
| dancer | 2003-12-23 |
* | +2003-10-28 Junichi Uekawa <dancer@debian.org>•••+
+ * pdebuild.1: pbuilder will use the config file that is specified
+ as pdebuild command-line.
+
+ * pdebuild (ARCHITECTURE): Add --configfile to the call to pbuilder
+ invocation.
+
+ * pbuilder-checkparams (IGNORE_UMOUNT): EXTRA_CONFIGFILE is an array
+ containing the list of CONFIGFILEs loaded via --configfile.
+
+ * pbuilder-user-mode-linux: rename variable that looked similar to
+ other variable. CONFIGFILE->SYSTEM_CONFIG.
+
+ * pbuilder-checkparams (IGNORE_UMOUNT): add error check to --configfile option
+
+ * pbuilderrc.5: update docs on BUILDRESULT not effective on
+ pdebuild.
+
+ * pdebuild.1: add notes on pdebuild requiring buildresult to be
+ specified.
+
| dancer | 2003-10-27 |
* | + * Bug fix: "pdebuild continues after source package fails to build",•••+ thanks to Matt Kraai (Closes: #211108).
| dancer | 2003-09-21 |
* | +•••+ * pdebuild: set pdebuild here as well.
+
+ * pbuilder-checkparams (BASEBUILDPLACE): support the convention, and
+ do not exec < /dev/null in that case.
+
+ * pdebuild-user-mode-linux (PBCURRENTCOMMANDLINEOPERATION): set to
+ pdebuild-user-mode-linux.
+
+ * pbuilder-user-mode-linux.1: fix manual to have pbuilder-uml.conf.5
+
+ * Makefile (install): add pdebuild-user-mode-linux
+
+ * pdebuild-user-mode-linux.1: Initial manual page.
+
+ * pdebuild-user-mode-linux: try making a new script that
+ uses pbuilder-user-mode-linux for building instead of pbuilder.
| dancer | 2003-02-10 |
* | +2003-01-08 Junichi Uekawa <dancer@debian.org>•••+
+ * pbuilder-user-mode-linux (UML_EXTRAOPT): --logfile option.
+
+ * pbuilder-user-mode-linux.1: and document these new options.
+
+ * pbuilder-user-mode-linux (OPERATION): --override-config option passed
+ through to pbuilder.
+ (EXTRAOPT): quote ${EXTRAOPT} which is probably meant to be passed
+ through.
+ (UML_EXTRAOPT): define as variable that is used to pass uml extra options.
+ and, of course, add these options: --binary-arch --override-config --timeout --http-proxy --configfile --hookdir --aptconfdir
+
+
+ * debian/rules (binary-arch): add manual page installation
+
+ * pbuilder-uml.conf.5: new manual page
+
+ * pbuilder-uml.conf (UML_MEM): Use 128MB memory per default, it would
+ be better to use that.
+
+ * pbuilder-user-mode-linux: export HOME inside UML
+ Try and umount the device afterwards, so that it will be clean-mount
+ the next time.
+ thanks: Matt Zimmerman <mdz@debian.org>
+ (OPERATION): --uml-mem option.
+
+ * pbuilder-checkparams: update copyright
+
+ * pdebuild: update copyright info.
+
+ * update copyright information to add 2003.
+
+ * pbuilder-user-mode-linux: LOGNAME is set as soon as
+ entering UML.
+
| dancer | 2003-01-08 |
* | +2003-01-07 Junichi Uekawa <dancer@debian.org>•••+
+ * Documentation/pbuilder-doc.xml: update documentation
+ and add chapter on pbuilder-uml, document that pbuilder-uml actually
+ works, and some detailed nodes on how to use them.
+ Add FAQ entry on how to specify extra apt sources.
+
+ * pbuilder-user-mode-linux.1: update doc to document that
+ configuration files for pbuilder is now read in.
+
+ * pbuilder-user-mode-linux: add debug info, to print out
+ the command-line used for running uml.
+ export TMPDIR=/tmp inside the chroot inside UML.
+ change UML_CHROOT_MOUNTPOINT from /tmp/ubd1 to /mnt,
+ and do not mkdir UML_CHROOT_MOUNTPOINT.
+ fix /tmp creation script so that /tmp is writable when
+ not using tmpfs.
+ use tempfile in creating the COW file.
+ clean COW file after finishing.
+ remove temporary file created by tempfile, because UML doesn't seem to
+ like the zero-byte file. (POSSIBLE SECURITY PROBLEM)
+ extra cleanup added for cleanup_function
+
+ * pbuilder-uml.conf (BUILDPLACE): add definition of BUILDPLACE
+ for pbuilder-uml. It is probably needed, because BUILDPLACE
+ needs to be writable by the user for UML, while it is not for
+ pbuilder.
+
+ * pbuilder-user-mode-linux: load config for pbuilder also, before
+ trying to load other things.
+
+2003-01-06 Junichi Uekawa <dancer@debian.org>
+
+ * Documentation/pbuilder-doc.xml (EXTRAPACKAGES): document possible usage of pbuilder for dchroot.
+
+ * pbuilder.8: document --no-targz
+
+ * pbuilder-checkparams (USE_PKGNAME_LOGFILE): allow
+ --no-targz option as alias to --internal-build-uml
+
+ * pdebuild (ARCHITECTURE): use dpkg-architecture
+ to find out the architecture.
+ sign changes file not dsc file.
+ pointed out by
+ Andrew Lau <netsnipe@debianplanet.org>, bug #175432
+
+2003-01-04 Junichi Uekawa <dancer@debian.org>
+
+ * debian/control (Description): fix suggests to pbuilder-uml
| dancer | 2003-01-07 |
* | --auto-debsign option | dancer | 2002-12-12 |
* | notes are updated,•••pdebuild calls dpkg-buildpackage -rROOTCOMMAND instead of
ROOTCOMMAND dpkg-buildpackage
| dancer | 2002-02-08 |
* | recursively ssearches up like debuild | dancer | 2001-12-20 |
* | added feature.•••Can work with ../debian.
| dancer | 2001-12-20 |
* | update, fixing a bug with handling packages with an epoch, with pbuilder | dancer | 2001-12-12 |
* | fixed wrong command-option | dancer | 2001-11-08 |
* | adding -us -uc | dancer | 2001-11-06 |