81 Commits

Author SHA1 Message Date
Siegfried-Angel Gevatter Pujals
3515d7ac78 * pbuilder-dist, doc/pbuilder-dist.1:
- Export the distribution and architecture information to the environment
     so that it is available in pbuilderrc, etc. (LP: #628933).
2010-09-26 17:39:45 +02:00
Benjamin Drung
0189b27604 Remove trailing tab. 2010-09-25 13:13:59 +02:00
Siegfried-Angel Gevatter Pujals
2c2ba94a96 * pbuilder-dist:
- Fix regression where pbuilder would get an empty string as first
     positional argument.
   - Update --debug-echo so that it doesn't hide empty parameters (now
     that they are wrapped around quotes they are significant).
2010-09-25 10:47:48 +02:00
Siegfried-Angel Gevatter Pujals
ebff8fe69f * doc/pbuilder-dist.1:
- Move the documentation for --main-only (previously "mainonly") and
     --debug-echo to a new Options section.
* doc/pbuilder-dist.1: update manpage to indicate general architecture
2010-09-21 21:48:33 +02:00
Siegfried-Angel Gevatter Pujals
f0db65419b pbuilder-dist: wrap a couple long lines. 2010-09-21 21:27:52 +02:00
Siegfried-Angel Gevatter Pujals
8fda1ebdc1 Wrap any extra (user) arguments appended to the pbuilder command with
quotation marks, when needed (LP: #398989).
2010-09-21 21:25:33 +02:00
Siegfried-Angel Gevatter Pujals
4ca97770da * pbuilder-dist:
- Do not show a warning when "experimental" is used; there is no
     debootstrap file for it but it should just work anyway.
* bash_completion/pbuilder-dist:
   - Enable auto-completion for "pbuilder-experimental".
2010-09-21 20:45:45 +02:00
Emmet Hikory
2b34773630 pbuilder-dist: change requested/system arch order in check (LP: #557097) 2010-04-20 06:25:19 +09:00
Emmet Hikory
afdf9bfd63 pbuilder-dist: add self. before target_distro in powerpc check 2010-03-08 21:07:31 +09:00
Emmet Hikory
e5862f49c9 * pbuilder-dist: allow any foreign chroot (may not work, but we can try)
* docs/pbuilder-dist.1: update manpage to indicate general architecture
2010-03-08 18:54:54 +09:00
Emmet Hikory
6661936718 pbuilder-dist: change --mirror logic to use -ports when appropriate 2010-02-03 15:26:40 -08:00
Emmet Hikory
384cba2e19 pbuilder-dist: use --arch=foo rather than --arch foo for debootstrap 2010-02-03 15:06:03 -08:00
Emmet Hikory
54b102a92d s/=/ / in pbuilder-dist 2010-02-03 15:01:48 -08:00
Emmet Hikory
5a62f49527 elif is nicer than else if 2010-02-03 14:58:45 -08:00
Emmet Hikory
bffe719703 Fix bugs in architecture-switching 2010-02-03 14:38:27 -08:00
Emmet Hikory
5120e41e6a pbuilder-dist: Allow architecture-switching to armel on i386/amd64 2010-02-03 14:13:33 -08:00
Siegfried-Angel Gevatter Pujals
dc678ec284 * bash_completion/pbuilder-dist:
- Enable tab-completion for pbuilder-lucid and cowbuilder-lucid.
2010-02-03 12:37:19 +01:00
Iain Lane
df9a4986c5 pbuilder lives in /usr/sbin, not /usr/bin 2010-01-15 22:27:26 +00:00
Siegfried-Angel Gevatter Pujals
dc291e72df pbuilder-dist: some cleanup to --debug-echo's output. 2010-01-15 14:35:28 +01:00
Siegfried-Angel Gevatter Pujals
ee9561ae59 * pbuilder-dist:
- Set "--mirror" option also for Ubuntu chroots, so that they work
     on Debian.
2010-01-15 14:26:39 +01:00
Siegfried-Angel Gevatter Pujals
d97b54fc0a * pbuilder-dist, doc/pbuilder-dist.1:
- Add "--debug-echo" option which prints the resulting pbuilder/cowbuilder
     commands instead of executing it.
2009-11-17 19:50:26 +01:00
Iain Lane
2c4db266b4 Don't pass --logfile if logging in
pbuilder-dist: Don't pass --logfile if we are trying to log in to the
chrootthe logfile option swallows the prompt, and we probably don't
want to log if we are using login anyway.
2009-11-05 14:18:29 +00:00
Siegfried-Angel Gevatter Pujals
ab78b51a9f * debian/control:
- Improve description of pbuilder-dist and mention cowbuilder-dist.
  * pbuilder-dist:
     - Abort if the host's architecture can't be determined.
     - Error out instead of showing a traceback if pbuilder-dist is called
       without any argument.
  * pbuilder-dist, ubuntutools/misc.py:
     - Move the functions used to determine the hosts architecture and
       distribution to the ubuntutools.misc module.
2009-10-25 13:57:39 +01:00
Siegfried-Angel Gevatter Pujals
9842049f21 Change pbuilder-dist header to mention cowbuilder in addition to pbuilder. 2009-08-16 00:20:27 +02:00
Siegfried-Angel Gevatter Pujals
1028885576 If there's a "etc/<distro>/apt.conf" file inside the build result
directory, pass it to pbuilder as --aptconfdir. Thanks to Paul Novotny
and Ryan Pavlik (LP: #363043).
2009-08-16 00:18:24 +02:00
Siegfried-Angel Gevatter Pujals
5069952a4a * pbuilder-dist:
- Expand "~" in PBUILDFOLDER to the user's home directory.
2009-08-16 00:12:37 +02:00
Siegfried-Angel Gevatter Pujals
ad0ee7b350 * pbuilder-dist:
- Fallback to calling lsb_release if /etc/lsb-release doesn't
     exist; this makes it possible to run pbuilder-dist on Debian.
2009-04-18 23:38:52 +02:00
Siegfried-Angel Gevatter Pujals
0bb9ebc0d8 * pbuilder-dist:
- Add squeeze as a Debian distribution. Thanks to Marco Rodrigues.
2009-03-28 15:19:36 +01:00
Siegfried-Angel Gevatter Pujals
0fecbc40ba pbuilder-dist: check if package debootstrap is installed (LP: #334848) 2009-03-04 19:13:29 +01:00
Siegfried-Angel Gevatter Pujals
68e7eafe79 pbuilder-dist: abort if pbuilder/cowbuilder is not installed. 2009-03-04 19:00:57 +01:00
Siegfried-Angel Gevatter Pujals
7a5865fd07 pbuilder-dist: abort if the value of builder isn't recognized. 2009-03-04 18:52:45 +01:00
Siegfried-Angel Gevatter Pujals
18f87873a4 * bash-completion/pbuilder-dist: recognize cowbuilder- and -jaunty.
* pbuilder-dist:
   - Fixed a bug which broke pbuilder-dist when "build" was omited; just
     giving a .dsc works now.
   - {p,cow}builder-dist will now complain if you try to build a .changes
     file (or anything else that isn't a .dsc).
2009-02-05 16:50:19 +01:00
Iain Lane
07ceae19b3 Merge jpds's quoting fix 2009-01-11 17:34:00 +00:00
Jonathan Davies
c1b9bd2081 pbuilder-dist: Added missing quote. 2009-01-11 17:29:28 +00:00
Jonathan Davies
1fa547d059 pbuilder-dist: Remove extra ". 2009-01-11 17:23:03 +00:00
Siegfried-Angel Gevatter Pujals
4e476d4755 - Add compatibility for cowbuilder.
- Fix the mainonly support.
  - Rename build.log to last_operation.log.
* pbuilder-dist, pbuilder-dist.new:
  - Replace pbuilder-dist with pbuilder-dist.new.
* debian/links:
  - Symlink /usr/bin/cowbuilder-dist to /usr/bin/pbuilder-dist, and the
    same with the manpage.
* debian/control:
  - Add cowdancer as alternative recommends to pbuilder.
* doc/pbuilder-dist.1:
  - Update it to explain the usage for the new pbuilder-dist script.
* doc/mk-sbuild-lv.1:
  - Fix an error (and get ride of a lintian warning).
2009-01-10 15:09:09 +01:00
Michael Casadevall
9e1272482c * buildd: Fixed rescore (tested by Sarah Hobbs)
* submittodebian: Changed default tag to Jaunty
* pbuilder-dist: Added jaunty to ubuntu releases
* pull-lp-source: Made jaunty the default
* dch-repeat: Added jaunty
2008-11-09 06:54:51 -05:00
Adrien Cunin
e1138e8482 * pbuilder-dist:
- Eliminated some warning with a better check for whether a given distro
     already has a pbuilder chroot in $BASE_DIR, when that distro is not
     known by the script
   - Added intrepid as a known distro
2008-09-13 00:16:09 +02:00
Siegfried-Angel Gevatter Pujals
d3efcc879f Remove unneeded AUTHORS and README. Add the GPL header to all scripts. 2008-08-11 20:06:35 +02:00
Kees Cook
62c5cb5f0b move pbuilder-dist to pbuilder-dist.new and restore published pbuilder-dist so the bzr tree is publishable 2008-06-13 11:22:01 -07:00
Iain Lane
17cb5f8283 Add my name (Iain Lane) as contributor of requestsync and pbuilder-dist 2008-05-22 18:55:45 +01:00
Iain Lane
2ccec91f3b Get rid of double slashes in paths 2008-05-22 18:47:25 +01:00
Iain Lane
c098ed3931 Make ~/pbuilder if it doesn't exist. Pbuilder complains if this isn't created when it is called as "pbuilder create". 2008-05-22 18:46:47 +01:00
Iain Lane
e5cb75e9cb Correctly get symlink name 2008-05-22 18:46:05 +01:00
Iain Lane
07dd830414 Fix bug in pbuilder-dist whereby the error message with invalid distribution names (not alpha) printed "%s" instead of the name. 2008-05-16 19:51:45 +01:00
Siegfried-Angel Gevatter Pujals
0869bcb2b9 pbuilder-dist (rewrite): always save the last log. 2008-04-08 16:22:31 +02:00
Siegfried-Angel Gevatter Pujals
80435aaceb Further progress with the pbuilder-dist rewrite. 2008-03-13 22:56:27 +01:00
Siegfried-Angel Gevatter Pujals
eb67a7bbac Reimplement pbuilder-dist in python. 2008-03-12 00:40:45 +01:00
Siegfried-Angel Gevatter Pujals
53cef1a285 pbuilder-dist: more fixes (thanks to Adrien Cunin), accept 'upgrade' as an alias for 'update', comment out not used stuff (authenticacion method detection), etc. 2008-02-24 14:08:48 +01:00
Siegfried-Angel Gevatter Pujals
1db357f778 Fixes (presumably) in pbuilder-dist and comment the code better. Fix a regression in update-maintainer. Other changes? 2008-02-23 21:40:39 +01:00