aboutsummaryrefslogtreecommitdiff
path: root/pbuilder-buildpackage-funcs
Commit message (Collapse)AuthorAge
* buildpackage: also set the value of BUILD_HOME in the chroot passwdMattia Rizzolo2015-10-23
| | | | | | | This is a follow-up commit of a60fed7f9f773368c1adcf0f0784972889dd728a Thanks: Paul Wise for noticing Gbp-Dch: Ignore
* normalize some tabs to 4 spaces and correct some indentationMattia Rizzolo2015-09-17
| | | | Gbp-Dch: Ignore
* parametrize the build directory using the conf option BUILDDIRMattia Rizzolo2015-08-08
|
* pbuilder-buildpackage-functs: allow .dsc to lack a newline between the ↵Mattia Rizzolo2015-06-25
| | | | | | | | Files: line and the signature. Also add a couple of tests for this Closes: #741617
* import 0.125+nmu1Mattia Rizzolo2015-06-17
|
* move around echobacktime definition location. (closes: #666440)Junichi Uekawa2012-03-31
| | | | Seems like my regression test was happily claiming to be successful even when things have failed. Hmmm..
* cannot cross build i386 only package on amd64 host (closes: #624530)YOSHINO Yoshihito2011-08-07
| | | | | | | | | | | | | | | | | | | | | | | | | | Followup-For: Bug #624530 Package: pbuilder Version: 0.200 found 624530 0.199+nmu2 severity 624530 important tags 624530 patch thanks Hi, The changes introduced in 0.199+nmu2 (arch-wildcard-part2.patch in Message #159 of Bug#363193) breaks the cross building of packages (not only i386 packages on amd64, but also amd64 ones on i386 running on amd64 kernel). The checkarchitecture must be done inside the build place. That patch does not actually check anything, and what's worse, breaks the cross building. So I propose reverting back the changes. Thanks, -- YOSHINO Yoshihito <yy.y.ja.jp@gmail.com>
* 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
* Add an option to verify key signatures. (closes: #579028)Junichi Uekawa2010-07-05
| | | | | | | By unsetting APTGETOPT, and setting PBUILDERSATISFYDEPENDSOPT=('--check-key'), the user now has an option of verifying the key signature of each package against the installed keyring.
* Move ccache setup to pbuilder-buildpackage-funcsLoïc Minier2010-01-03
|
* pass apt-get '-q' option to remove the progress.Junichi Uekawa2009-08-15
| | | | It's probably not too useful when used non-interactively, and clutters output.
* 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.
* Reorder command-line options, and add error check so that things are better ↵Junichi Uekawa2008-08-11
| | | | | | | checked. --internal-chrootexec "${CHROOTEXEC}" --chroot "${BUILDPLACE}" will always override --internal-chrootexec command, --chroot "${BUILDPLACE}" --internal-chrootexec "${CHROOTEXEC}" is better.
* pbuilder-buildpackage-funcs: always pass chroot to satisfydependsLoïc Minier2008-06-27
| | | | | Always pass --chroot to the pbuilder-satisfydepends; particulary useful for pbuilder-satisfydepends-aptitude and -gdebi.
* satisfydepends-gdebi: reorganize code to go in-line with other funcs.Junichi Uekawa2008-01-04
| | | | | | | | The original implementation did not work well with cowdancer, change it so that gdebi is called inside chroot and inside chroot only. This has the drawback that gdebi must be available within chroot, but it is much simpler than adding conditional cowdancer support to gdebi, and hopefully better for future development.
* python-apt/gdebi based pbuilder-satisfydepends-gdebi (closes: #453388)Junichi Uekawa2007-12-26
| | | | | | | | | | | | | | | | | | | | | | | | | | | From: Michael Vogt <mvo@ubuntu.com> In Ubuntu, we've applied the attached patch to achieve the following: * Makefile: - Addded pbuilder-satisfydepends-gdebi * pbuilder-buildpackage-funcs: - always pass --chroot to the pbuilder-satisfydepends (needed for pbuilder-satisfydepends-gdebi) * pbuilder-satisfydepends-gdebi: - added alternative b-d resolver pbuilder-satisfydepends-gdebi is a build-dependencies resolver based on gdebi (that in turn uses python-apt/libapt). It is fast and does not need to build a dummy package. It should behave exactly like apt-get build-dep $pkg It used to be more interessting because of the speed gain when pbuilder-satisfydepends-classic was the default. You probably want to add a recommends or suggests for gdebi too (if you like the patch method). Modified by dancerj: --chroot is given before --chrootexec so that cowdancer can continue to work.
* 398865: apply patch for LOGNAME, and implement also shadow group fileJunichi Uekawa2007-05-28
|
* try setting LOGNAME when user is already createdJunichi 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
|
* 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
|
* * 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.
* * 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.
* 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
* pbuilder-buildpackage-funcs: 'install' was missing from apt-get for ↵dancer2005-12-05
| | | | | | | | EXTRAPACKAGES handling. Fix. pbuilderrc: make fakeroot default. Documentation/pbuilder-doc.xml: update a note on pdebuild-internal is ran as the outside user uid. pdebuild-internal: Add a note what I'm doing.
* Revert to using --force-yes, since --allow-unauthenticated doesn't work with ↵dancer2005-12-04
| | | | | | | | | sarge * Bug fix: "/usr/share/doc/pbuilder/examples/B90linda missing --force-yes option", thanks to qfunk (Closes: #340715). Note: --allow-unauthenticated is probably a better option here, but apt-get in sarge does not support it, we will revisit it after etch.
* * 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).
* * Bug fix: "/usr/share/doc/pbuilder/examples/B90linda missingdancer2005-12-04
| | | | | | --allow-unauthenticated option", thanks to qfunk (Closes: #340715). - fixed other scripts to use --allow-unauthenticated option rather than --force-yes. * debconf compatibility level 4
* fix typo/thinkodancer2005-11-16
|
* check before editing /etc/shadowdancer2005-11-16
|
* add a note on cowprotect funcdancer2005-10-03
|
* Don't add a redundant group, passwd, and shadow entries for the build user.kraai2005-10-03
|
* + * pbuilder-buildpackage-funcs: do cow thing, with cowprotect, for cowdancer.dancer2005-08-19
|
* 0.129dancer2005-08-17
|
* change to use experimental,dancer2005-06-03
| | | | and apply patch; and apply my own patch.
* update datedancer2005-01-04
|
* + * pbuilder-updatebuildenv: Patch from matt kraai to savedancer2004-06-17
| | | | | | + apt cache when pbuilder update fails. + 252777, 252793 +
* + * debian/control (Description): do not conflict with older bash.dancer2003-12-16
| | | | | | | | | | | | | | | + + * pbuilder-buildpackage-funcs: + * pbuilder-checkparams: do not error out on + failure to unset. + + * pbuilder.8: document --debug. + + * pbuilder-checkparams (IGNORE_UMOUNT): --debug option. + + * pbuilder-createbuildenv: + * pbuilder-updatebuildenv: use PBUILDER_DEBUGMODE variable +
* + * 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. +
* cp -pdancer2003-02-07
|
* fix bug in --binary-arch target reported by Schelperdancer2002-12-07
|
* + * pbuilder-buildpackage-funcs: try and implement binary-arch option.dancer2002-11-27
| | | | | | | | | | | | | | + + * pbuilder-checkparams (--binary-arch): set DEBBUILDOPTS. + + * pbuilder.8: document --binary-arch + + * pbuilder-modules (pbuilder-options): add doc of binary-arch + + * pbuilder-checkparams (OVERRIDE_APTLINES): --binary-arch option. + (BINARY_ARCH): set initial value to "no". + thanks: Daniel Schepler <schepler@math.berkeley.edu> +
* +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
* + * pbuilder-buildpackage-funcs: unset LOGNAMEdancer2002-10-29
| | | | +
* + * pbuilderrc.5: updatedancer2002-10-29
| | | | | | | | | | | | + + * pbuilder.8: update documentation slightly. + + * THANKS: update thanks file. + + * pbuilder-buildpackage-funcs: LOGNAME is set to BUILDUSERNAME, and + Create shadow entry for inside chroot on fakerooting as well. + Reported by: Robert Bihlmeyer <robbe@orcus.priv.at> +