diff options
author | Pascal Terjan <pterjan@gmail.com> | 2014-05-04 21:09:58 +0000 |
---|---|---|
committer | Pascal Terjan <pterjan@gmail.com> | 2014-05-04 21:09:58 +0000 |
commit | 8c0cf1a0508c2fc6ea41eb11c581617b8f4fba02 (patch) | |
tree | 4ce8604c56aea8d03d129cbf48c32c080c26a754 | |
parent | 7224b1f59c5650d19fb6601585f211348fc3a79b (diff) | |
download | iurt-8c0cf1a0508c2fc6ea41eb11c581617b8f4fba02.tar iurt-8c0cf1a0508c2fc6ea41eb11c581617b8f4fba02.tar.gz iurt-8c0cf1a0508c2fc6ea41eb11c581617b8f4fba02.tar.bz2 iurt-8c0cf1a0508c2fc6ea41eb11c581617b8f4fba02.tar.xz iurt-8c0cf1a0508c2fc6ea41eb11c581617b8f4fba02.zip |
Add a README
-rw-r--r-- | README | 36 |
1 files changed, 36 insertions, 0 deletions
@@ -0,0 +1,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 |