aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--README36
1 files changed, 36 insertions, 0 deletions
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