aboutsummaryrefslogtreecommitdiffstats
path: root/README
blob: f85c309d40417ce09f31de9bd5c128f1d1b26779 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
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