~ubuntu-branches/ubuntu/hardy/sbuild/hardy

« back to all changes in this revision

Viewing changes to bin/README.bins

  • Committer: Bazaar Package Importer
  • Author(s): Roger Leigh, Jan-Marek Glogowski
  • Date: 2008-01-01 11:36:55 UTC
  • mfrom: (8.1.1 upstream)
  • Revision ID: james.westby@ubuntu.com-20080101113655-rxlefdonr61fnikq
Tags: 0.57.0-1
* Sbuild/*.pm: Reindent to increase readability.
* Sbuild/Chroot.pm: set APT::Install-Recommends to false inside the
  chroot (Closes: #449253).
* Sbuild/Conf.pm: Add and export $check_depends_algorithm.
  [Jan-Marek Glogowski]
* sbuild:
  - Reindent to increase readability.
  - Add additional syntax checks.  Thanks to Jan-Marek Glogowski.
  - build: Use unicode line drawing characters instead of ASCII.
  - filter_dependencies: Remove redundant conditional.
    [Jan-Marek Glogowski]
  - Add check for check-depends-algorithm option. [Jan-Marek Glogowski]
  - filter_dependencies: Change dependency behaviour depending upon
    check_depends_algorithm.  [Jan-Marek Glogowski]
  - Move to bin/.
* avg-pkg-build-time:
  - Move to bin/.
* bin/*: Reindent to increase readability.
* chroot/*: Reindent to increase readability.
* bin/sbuild-createchroot:
  - Moved from chroot/buildd.chroot.
  - Also install fakeroot and build-essential.
* sbuild-createchroot.1.in: Add manual page.
* chroot/buildd.chroot:
  - Add GPL boilerplate.
  - Remove /etc/passwd creation (already done by debootstrap).
  - Remove sbuild directory creation (already done by schroot).
  - Use here doc to set up /etc/apt/sources.list.
  - List sources.list.
* chroot/README: Rename from README.buildd-chroot.  Remove
  buildd.chroot section.
* example.sbuildrc: Add missing variable types.  [Jan-Marek Glogowski]
* example.sbuildrc: Add missing variable types and add
  $check_depends_algorithm.  [Jan-Marek Glogowski]
* sbuild.1: Document --check-depends-algorithm [Jan-Marek Glogowski]
* Move manual pages to man/.
* debian/manpages: Move manual pages to man/.
* sbuild.conf: Move to etc/.
* example.sbuildrc: Move to etc/.
* debian/compat: Move to debhelper v6 compatibility level.
* debian/control: Update to Standards-Version 3.7.3.
* debian/copyright:
  - Update git repository location.
  - Update GPL boilerplate.
* debian/sbuild.dirs:
  - Rename from debian/dirs.
  - Remove all but -var/lib/sbuild/srcdep-lock.
* debian/manpages: Remove.
* debian/sbuild.postinst: Rename from debian/postinst.
* debian/sbuild.preinst: Rename from debian/preinst.
* debian/sbuild.postrm: Rename from debian/postrm.
* debian/sbuild.install:
  - New file.
  - Install files from usr/sbin and usr/share/man/man8.
* debian/rules:
  - Install sbuild-createchroot, and add buildd.chroot compatibility
    symlink.
  - Move -stamp files to debian/.
  - Remove GENFILES.
  - Run configure, make, and make install in appropriate rules.
  - Use dh_install.
  - Remove all special-cased installation rules (now handled by automake).
* Note: All upstream changes are now in an upstream ChangeLog.

Show diffs side-by-side

added added

removed removed

Lines of Context:
1
 
 
2
 
These are some useful utilities for accessing/maintaining the
3
 
chroots.
4
 
 
5
 
The <chroot> arg used by most scripts has two forms:
6
 
 
7
 
  · s,stable,-t,testing,-u,unstable
8
 
 
9
 
    - a symlink in the current directory, chroot-{stable,testing,unstable}
10
 
      pointing to the chroot must exist
11
 
 
12
 
  · any other distribution name
13
 
 
14
 
    - in this case the argument is parsed to try and determine
15
 
      the distribution, for those scripts that need it, for example:
16
 
 
17
 
      # checkchroot stable-security
18
 
 
19
 
      - CHROOT=/usr/local/chroot/chroot-stable-security
20
 
      - DIST=stable-security so it can find the ref-stable-security
21
 
        reference file
22
 
 
23
 
The scripts:
24
 
 
25
 
 ------------------------------------------
26
 
    abort-current-build
27
 
 
28
 
Aborts the current dpkg-buildpackage process.
29
 
Author: Roman Hodek
30
 
 
31
 
 ------------------------------------------
32
 
    checkchroot <chroot>
33
 
 
34
 
Shows how the contents of the chroot differs from a reference.
35
 
This requires the ref-{stable,testing,unstable} files to be in the
36
 
chroot root:
37
 
 
38
 
    # cp /usr/share/doc/sbuild/configs/ref-{stable,testing,unstable} \
39
 
        /usr/local/chroot
40
 
 
41
 
The chroots should only include essential & build-essential
42
 
packages and the extra packages that sbuild needs: apt, fakeroot,
43
 
ssmtp.  Please check that the references are accurate for
44
 
your arch.
45
 
 
46
 
 ------------------------------------------
47
 
    chr-hold <chroot> pkg [pkg..]
48
 
    chr-unhold <chroot> pkg [pkg..]
49
 
 
50
 
For changing the hold/install status of packages in the chroots.
51
 
 
52
 
 ------------------------------------------
53
 
    chrapt <chroot> apt-get|apt-cache arguments
54
 
 
55
 
Runs apt-get or apt-cache in the chroot from base.
56
 
 
57
 
 ------------------------------------------
58
 
    gochroot <chroot>
59
 
 
60
 
Enter the chroot.
61
 
 
62
 
 ------------------------------------------
63
 
    updatechroot
64
 
    upgradechroot
65
 
 
66
 
Scripts to keep the chroots up to date.  Can be run as cron jobs
67
 
from base.
68
 
 
69
 
 ------------------------------------------
70
 
    add_sbuild_user /path/to/chroot <dist> <user>
71
 
 
72
 
A script to add a new user to a chroot.  See
73
 
/usr/share/doc/sbuild/README-buildd.chroot.
74
 
 
75
 
 ------------------------------------------
76
1
    dobuildlog
77
2
 
78
3
A shell script for mutt & vi to handle the build logs that