aboutsummaryrefslogtreecommitdiff
path: root/pbuilder-modules
Commit message (Collapse)AuthorAge
* fixup a bunch of things for binNMU supportMattia Rizzolo2015-11-23
|
* modules: copy /etc/resolv.conf from the host only when USENETWORK=yesMattia Rizzolo2015-11-15
| | | | Closes: #753944
* pbuilder: add an (undocumented) --help operation. Exit 0 if the help was ↵Mattia Rizzolo2015-11-15
| | | | requested
* modules: short the --help output and point to the manual pagesMattia Rizzolo2015-11-15
|
* only set Changed-By to --binnmu-maintainer in .changesAndreas Beckmann2015-11-15
| | | | do not override Maintainer
* add "binary-only=yes" mark to the binNMU changelogAndreas Beckmann2015-11-15
|
* modules: style improvments to binNMU()Mattia Rizzolo2015-11-15
| | | | | | | | | * use `dpkg-parsechangelog -S $field` to get info from the changelog, instead of sedding it (dep on dpkg-dev >= 1.7.0) * use log.[ew] instead of plain echo * use cat > $tmpcl << EOF instead of that list of echo * use mktemp to create the temporary changelog, instead of fixing on one filename * add a lot of quotes
* add binNMU supportLuca Falavigna2015-11-15
| | | | Closes: #683848
* make the output level configurable through LOGLEVEL (--loglevel)Mattia Rizzolo2015-11-15
| | | | | | valid values are D/I/W/E Closes: #490184
* 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
|
* modules: add 3 log.{i,w,e} functions to be used instead of log()Mattia Rizzolo2015-11-15
|
* use relative sources where possibleMattia Rizzolo2015-11-01
| | | | | | | | | | This way it's a lot easier to test stuff without actually installing it Use BASH_SOURCE, which contains the path of the current script being executed. BASH_SOURCE is clearly a bashism, but it's cheaper than using dirname(1). Thanks to Gianfranco Costamagna for noticing how this bit could have be improved. Gbp-Dch: Short
* pbuilder-modules: change the pbuilder-runhooks source directory to be relativeGianfranco Costamagna2015-10-28
| | | | | | We can assume they are always in the same directory. This fixes the testsuite when run in a clean environment without pbuilder itself installed.
* add hook type H: they run just after unpacking the chroot, for every target.Mattia Rizzolo2015-10-13
| | | | Closes: #800757
* always load hooks just after extracting the build place, and unload them ↵Mattia Rizzolo2015-10-13
| | | | | | | | when cleaning up So, no need to load&run&unload everywhere as it is now. Gbp-Dch: Short
* pbuilder-modules: normalize whitespacesMattia Rizzolo2015-10-13
| | | | Gbp-Dch: Ignore
* modules: mount correctly selinux: bindmount from the host, and in the same ↵Mattia Rizzolo2015-10-11
| | | | | | | place (/sys/fs/selinux >= wheezy, /selinux < wheezy) Thanks: ChangZhuo Chen (陳昌倬) <czchen@gmail.com> for the patch. Closes: #734193, #734454
* Allow copying the local configuration from a defined directory, instead of ↵Mattia Rizzolo2015-09-18
| | | | | | | | system /etc. New configuration variable: CONFDIR Closes: #580086
* fix a whole bunch of warning from shellcheckMattia Rizzolo2015-09-18
| | | | | | | There are still quite some, this is a first chunk based on a given patch applied where i felt confident enough. Thanks: Herbert Parentes Fortes Neto <hpfn@ig.com.br> for the initial patch-set
* pbuilder-modules: remove the /tmp/buildd symlink if it points to the current ↵Mattia Rizzolo2015-09-06
| | | | | | BUILDDIR before repacking and just after unpacking Closes: #797351
* pbuilder-modules: fix spelling error: s,compatibily,compatibility,gMattia Rizzolo2015-08-29
| | | | | Gbp-Dch: Ignore Thanks: Sven Joachim <svenjoac@gmx.de> for the reporting
* Add a symlink from /tmp/buildd to the current BUILDD to avoid too many breakagesMattia Rizzolo2015-08-26
| | | | | | This change will go away someday, so please update your scripts to use BUILDDIR Thanks: Helmut for the idea
* parametrize the build directory using the conf option BUILDDIRMattia Rizzolo2015-08-08
|
* pbuilder-modules: copy /etc/mailname from the host, instead of writing it ↵Mattia Rizzolo2015-08-08
| | | | | | after `hostname -f` output Closes: #637627
* Thanks to TG for the bad feedback! More than one value aren't allowed in ↵Gianfranco Costamagna2015-08-06
| | | | | | | | that file Revert "Use a hostname -A as fallback in case of -f fails (Closes: #637627)" This reverts commit c2087b165bd0fdc6511df4c874390359b290b8bf.
* Use a hostname -A as fallback in case of -f fails (Closes: #637627)Gianfranco Costamagna2015-08-03
| | | | thanks <mapreri> for the help
* pbuilder-modules: stop downloading translations of package descriptionsMattia Rizzolo2015-06-23
| | | | | | | They are a waste of bandwidth and time, really useless in a build chroots. Thanks: Paul Wise <pabs@debian.org> for the suggestion Closes: #749961
* Add support for hurdGabriele Giacone2015-06-22
| | | | Closes: #753801
* Use "none" instead of "/dev/pts" as device for the /dev/pts mount inside the ↵Axel Beckert2015-06-22
| | | | | | chroot Closes: #788580
* Do not try to use /dev/shm if /run/shm is not present. (closes: #702811, ↵Junichi Uekawa2013-03-26
| | | | | | | | #702102) falling back to /dev/shm doesn't make sense; /dev/shm is a symlink to /run/shm. rename variable to USERUNSHM instead of USEDEVSHM, we don't need to touch /dev/shm
* Added support for shared memory mounting point (closes: #700591)Agustin Henze2013-02-28
|
* what's this x.Junichi Uekawa2013-02-28
|
* 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..
* factor out common code for apt key rings.Junichi Uekawa2012-03-13
|
* make longer lines wrap so reading patch files aren't as painful.Junichi Uekawa2012-03-09
|
* fix test, and use standard lib for output.Junichi Uekawa2011-12-04
|
* 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 ``.
* Bug#569917: Support base.tar.xz/bz2 as well as tgzTino Keitel2011-11-29
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Package: pbuilder Version: 0.203 Followup-For: Bug #569917 I cooked a little patch that adds a --compressprog command line option and COMPRESSPROG option in pbuilderrc. Tested with pigz, to get multithreaded, and therefore much faster compression/decompression, and xz. Debian Release: wheezy/sid APT prefers unstable APT policy: (500, 'unstable'), (1, 'experimental') Architecture: amd64 (x86_64) Kernel: Linux 3.1.0-00002-g5eeb7f9 (SMP w/4 CPU cores) Locale: LANG=C, LC_CTYPE=de_DE.UTF-8 (charmap=UTF-8) Shell: /bin/sh linked to /bin/bash Versions of packages pbuilder depends on: ii cdebootstrap 0.5.8+b1 ii coreutils 8.13-3 ii debconf [debconf-2.0] 1.5.41 ii debianutils 4.0.4 ii debootstrap 1.0.38 ii wget 1.13.4-1 Versions of packages pbuilder recommends: ii devscripts 2.11.2 ii fakeroot 1.18.1-1 ii sudo 1.8.3p1-2 Versions of packages pbuilder suggests: pn cowdancer 0.65 pn gdebi-core <none> pn pbuilder-uml <none> -- debconf information: pbuilder/mirrorsite: http://ftp.de.debian.org/debian/ pbuilder/nomirror: pbuilder/rewrite: false
* From: Luca Falavigna <dktrkranz@debian.org>Junichi Uekawa2011-06-24
| | | | | | | | | | | | | | | | tags 542837 + patch pending thanks Dear Junichi, I've prepared an NMU for pbuilder (versioned as 0.199+nmu3) and uploaded it to DELAYED/10. Please feel free to tell me if I should delay it longer. I tested this patchset on both kfreebsd-i386 and kfreebsd-amd64, and I can confirm they work as expected. Regards,
* Bug#542915: NMU patchSteve M. Robbins2011-06-24
| | | | | | Hi, The patch for this NMU is as follows.
* Bug#582415: [pbuilder]: typo "taget"Hideki Yamane2010-06-20
| | | | | | | | | | | | | | | | | Package: pbuilder version: 0.196 Severity: minor I saw a message as below > I: copy /home/henrich/pbuilder/result/pathfinderd_1.1.3-0.3_amd64.deb to taget directory "taget", it's merely a typo. Please fix it as attached file when you have a time. -- Regards, Hideki Yamane henrich @ debian.or.jp/org http://wiki.debian.org/HidekiYamane
* 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.
* pbuilder: Add --architecture and ARCHITECTURE flagLoïc Minier2009-12-30
| | | | | pbuilder: add support for setting the architecture on the command-line and in pbuilderrc.
* Do not mention codename of testing where possibleLoïc Minier2009-12-14
| | | | | | Avoid mentionning the codename of the current testing distribution where possible as this gets out of date -- except in the rebuild README where the current testig is really what we want.
* COMPONENTS is always setLoïc Minier2009-12-13
| | | | | Don't fallback on another COMPONENTS default, it's already set in the pbuilder defaults
* Add support for building packages twice; #493538Loïc Minier2009-12-11
| | | | | Add support for building packages twice; based on a patch by Nicolas Valcárcel; closes: #493538
* Gracefully handle non-existing bind-mount in --bindmount option (closes: ↵Junichi Uekawa2009-12-02
| | | | | | | #556164) When bind-mount fails, /proc etc are mounted and not unmounted. umount them in that case.
* 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.