From 8c0cf1a0508c2fc6ea41eb11c581617b8f4fba02 Mon Sep 17 00:00:00 2001 From: Pascal Terjan Date: Sun, 4 May 2014 21:09:58 +0000 Subject: Add a README --- README | 36 ++++++++++++++++++++++++++++++++++++ 1 file changed, 36 insertions(+) create mode 100644 README diff --git a/README b/README new file mode 100644 index 0000000..f85c309 --- /dev/null +++ b/README @@ -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 -- cgit v1.2.1