Filewatcher File Search File Search
Content Search
» » » » »


make a chroot of a rpm-based distribution

mach allows you to set up clean roots from scratch for any distribution or distribution variation supported.

This clean build root can be used for several goals: - making clean packages - set up chroots for services to run it - make disk images of clean roots (for example for UML)

Currently, mach works for rpm-based distributions that can work with apt for rpm.

Included at this moment is the necessary information to set up: - Fedora 1, 2, 3, 4, 5, 6, and development - Red Hat 7.0, 7.1, 7.2, 7.3, 8, and 9 - CentOS 4 - Dave/Dina - Conectiva 9 - SuSE 8.1, 8.2, and 9.0 - Yellowdog 2.3, and 3.0

Some handy features of mach include: - "caching" of downloaded packages using the build hosts's apt the build root - ensures clean packages by reverting to the base set of build packages - uses apt to resolve dependencies - parsing of BuildRequires to install necessary packages for building - build ordering when doing multiple builds - support for flavours of distribution - multiple build roots - locking of buildroot to avoid concurrent builds - optional signing of built packages

Package version:0.9.1-3


RPM locking bug

Due to a bug in mach, it tries to use the default settings of the host for RPM
transactions locking.  Since the Debian "rpm" package does not ship a
/var/lib/rpm for safety reasons, locking fails with cryptic message.

The clean solution is to fix mach, but two other solutions exist:
- create the /var/lib/rpm directory (a bit ugly)
- create a /var/lib/rpm-lock dire


mach - make a chroot

If you're on Fedora Core 2, and want to build for older targets,
MAKE SURE you turn off vdso's by doing

sysctl -w kernel.vdso=0

before using mach.
You can add an entry to /etc/sysctl.conf to make this more permanent.

mach allows you to set up clean roots from scratch for any distribution or


This is mach, make a chroot, 0.9.0.

Changes since 0.9.0:
        - Add FC6, CentOS 4 and JPackage 1.7 configs (Ville)
        - Run rpmlint by default (Thomas)
        - Cleanup of dist files (Ville)
        - Enable buildroot and rpath checks in FE roots (Ville)
	- Add /dev/(u)random to the root (Thomas)
	- Sync FC build package sets with Fedora guidelines (Ville)
        - Create RPM transactio


mach - make a chroot - RELEASE NOTES

Announcing the release of


mach (0.9.1-3) unstable; urgency=low

  * Wrap build-deps and deps.
  * Bump up Standards-Version to


=== release 0.9.1 ===

2007-01-05  Thomas Vander Stichele  <thomas at apestaart dot org>

	* scripts


- control
    - deps
        - Linux kernel that can do bind mounts (>= 2.2.0)?
    - section/priori


* EASY:		add warning about missing stuff from .rpmmacros for signing
* EASY:		check for ending space

Browse inside mach_0.9.1-3_amd64.deb

         [DIR]DEBIAN/ (7)  65535+ mirrors
         [DIR]etc/ (1)  65535+ mirrors
         [DIR]usr/ (3)  65535+ mirrors
         [DIR]var/ (2)  56408+ mirrors

Download mach_0.9.1-3_amd64.deb

Results 1 - 1 of 1
Help - FTP Sites List - Software Dir.
Search over 15 billion files
© 1997-2016