aboutsummaryrefslogtreecommitdiffstats
Iurt is a collection of tools to create an automatic rebuild system.
It contains the rebuild script, iurt, as well as the scheduler, ulri,
and the upload script, emi.

Configuration
=============

- Modify /etc/sudoers to be allowed to run /usr/sbin/iurt_root_command as root
  Something like: builder ALL=(ALL) NOPASSWD: /usr/sbin/iurt_root_command

- (Optional) Set some defaults values for a distribution in
  /etc/iurt/build/$DISTRO.conf for system-wide defaults or
  $HOME/.iurt.$DISTRO.conf for personal ones (DISTRO being 1, 2, ..., cauldron)
  
Usage
=====

Building a package
------------------

# Your mirror, preferably local or using urpmi-proxy
MIRROR=http://mymirror/mageia/distrib/
# Your architecture
ARCH=$(rpm --eval %_build_arch)
# The target distribution
DISTRO=cauldron
iurt --repository "$MIRROR" --rebuild "$DISTRO" "$ARCH" \
  --chrooted-urpmi "$MIRROR" ./SRPMS/mypackage-1.0.0-1.mga1.src.rpm 

Building an i586 package on x86_64
----------------------------------

MIRROR=http://mymirror/mageia/distrib/
DISTRO=cauldron
linux32 iurt --repository "$MIRROR" --rebuild "$DISTRO" i586 \
  --chrooted-urpmi "$MIRROR" ./SRPMS/mypackage-1.0.0-1.mga1.src.rpm