aboutsummaryrefslogtreecommitdiff
path: root/pdebuild
Commit message (Collapse)AuthorAge
* use log.e() instead of log()Mattia Rizzolo2015-11-15
|
* use log.w() instead of log()Mattia Rizzolo2015-11-15
|
* use log.i() instead of log()Mattia Rizzolo2015-11-15
|
* pdebuild: make debsign work if only a source build was perfomed and only ↵Mattia Rizzolo2015-11-12
| | | | | | | _source.changes is available Thanks: Marcin Kulisz <marcin@bashton.com> for the original patch Closes: #804905
* pdebuild: hack dpkg-buildpackage invocation to remove the -g/-G/-b/etc flags ↵Mattia Rizzolo2015-11-10
| | | | | | also when they are surrounded by quotes Thanks: Tomasz Buchert for the regex
* pdebuild: hack dpkg-buildpackage command to remove a possible '-g' or '-G' ↵Mattia Rizzolo2015-11-09
| | | | | | | when building the source package Closes: #802800 Thanks: Guido Günther <agx@sigxcpu.org> for the first patch
* pdebuild: pass -d to dpkg-buildpackage while building the source packageMattia Rizzolo2015-06-25
| | | | Closes: #786690
* fix logging message and conditionality to make it less lines.Junichi Uekawa2012-03-13
| | | | | | I think we don't need the if. I'm not quite convinced ||true to kill the error message is a good idea
* fix space handling in additional-buildresults.Junichi Uekawa2012-03-13
|
* Bug#652634: Allow to copy additional files out of the build directoryGuido Günther2012-03-13
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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.
* make longer lines wrap so reading patch files aren't as painful.Junichi Uekawa2012-03-09
|
* Bug#623321: pdebuild needs to strip debbuildopts -A and -FPeter Eisentraut2012-01-26
| | | | | | | | | | | | 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.
* Coding style. Use $() instead of ``Junichi Uekawa2011-12-23
|
* factor out the file copy test part and add a test.Junichi Uekawa2011-12-04
| | | | | Use 'PWD' like other parts of the codebase. Coding style uses $() not ``.
* Avoid dsc copy error when using build-internal and buildresult=.. (closes: ↵Tom Hughes2011-12-04
| | | | #422272)
* 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.
* Factor "exec >" + "exec 2>&1" togetherLoïc Minier2009-12-13
|
* Make --debbuildopts additiveLoïc Minier2009-12-12
| | | | | | 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.
* 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.
* pdebuild: Move "$@" to end of "arg chain" for PDEBUILD_BUILDER callsLoïc Minier2008-06-27
| | | | | | 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.
* * Bug fix: "pbuilder: pdebuild - Breakage when using XC- headers",Junichi Uekawa2007-11-01
| | | | thanks to Soren Hansen (Closes: #448757).
* 424717: improved log file support: pdebuild will create a log file per defaultJunichi Uekawa2007-05-27
|
* copyright year 2007, and changelog about it, and changelog warning/error to >&2Junichi Uekawa2007-03-27
|
* stylistic change to match rest of code.Junichi Uekawa2007-03-27
|
* 399484: use buildresult in pdebuild-internalJunichi Uekawa2007-03-27
|
* * 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.
* 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.
* + * 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.
* pdebuild: give --uid/--gid options to pdebuild-internaldancer2006-04-22
| | | | it will fix the testsuite failure
* pdebuild --help works without ./debian dir.dancer2006-04-01
|
* 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
* #312121 fix and release 0.136dancer2005-10-20
|
* pdebuild now checks for unsupported options.dancer2005-06-04
| | | | | | | | | | | | | | | | | | | | | | | | + * 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. +
* --- ChangeLog 11 Apr 2005 06:24:29 -0000 1.293dancer2005-04-16
| | | | | | | | | | | | | | | | | | | | | | +++ 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 +
* 2005-02-13 Junichi Uekawa <dancer@debian.org>dancer2005-02-13
| | | | | | | | | | | | | | | | | | | | | | | | * 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
* update datedancer2005-01-04
|
* typo fix.dancer2004-12-29
|
* +dancer2004-12-11
| | | | | | | | | + * 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.
* potential fix for pdebuild probelmdancer2004-12-01
|
* + * Add example script from Jamin W Collins for short-cut way of specifying ↵dancer2004-11-16
| | | | | | distribution. (closes: #255165) + * Warn if build-depends is not satisfied when invoking dpkg-buildpackage -S (closes: #266349)
* +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-01-19 Junichi Uekawa <dancer@debian.org>dancer2004-01-18
| | | | | | | | | | | | | | | | | | + + * 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. +
* +2003-12-23 Junichi Uekawa <dancer@debian.org>dancer2003-12-23
| | | | | | | | | | | | | | | | | | | | | | | | | | | | + + * 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. +
* +2003-10-28 Junichi Uekawa <dancer@debian.org>dancer2003-10-27
| | | | | | | | | | | | | | | | | | | | | | | | + + * 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. +
* + * Bug fix: "pdebuild continues after source package fails to build",dancer2003-09-21
| | | | + thanks to Matt Kraai (Closes: #211108).
* +dancer2003-02-10
| | | | | | | | | | | | | | | | | | | + * 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.
* +2003-01-08 Junichi Uekawa <dancer@debian.org>dancer2003-01-08
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | + + * 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. +
* +2003-01-07 Junichi Uekawa <dancer@debian.org>dancer2003-01-07
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | + + * 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