]> git.pld-linux.org Git - projects/cleanbuild.git/blobdiff - README
update ccache path in rpmmacros for libexec change
[projects/cleanbuild.git] / README
diff --git a/README b/README
index 769f93ac2c2671d617cad8b5b3146d17eb7dc55b..a412694f2d7a29a9424e29dca9e0ea4a9c426a80 100644 (file)
--- a/README
+++ b/README
@@ -1,47 +1,18 @@
-Dependencies:
+cleanbuild
 
-  Missing packages on fresh PLD vserver installation:
+cleanbuild is tool to help discovering missing (or excessive) dependencies by
+building packages in clean build environment.
 
-  cvsnt
-  mount
-  perl
-  poldek
-  rpm-build-tools
-  subversion
-  sudo
+cleanbuild comes with two backends:
+- vserver (legacy)
+- docker
 
-Setup:
-
-  # Install all dependencies
-
-  # create rpm dir
-  builder --init-rpm-dir
-
-  # optionally login to cvs
-  cd ~/rpm/packages
-  sed -i s/:cvs@/:yourcvslogin@/ CVS/Root
-  cvs login
-
-  # create directories
-  mkdir ~/rpm/cleanRPMS
-  mkdir ~/rpm/cleanRPMS.repo
-
-  # checkout svn repo
-  svn co http://svn.pld-linux.org/svn/toys/tools/cleanbuild
-
-Notes for vserver:
-
-  If you are inside vserver, you need to have following context capabilities
-  (add these lines to /etc/vserver/<name>/ccapabilities):
-    SECURE_MOUNT
-    BINARY_MOUNT
-
-  And following system capabilities (add these lines to
-  /etc/vserver/<name>/bcapabilities):
-    MKNOD
-    SYS_ADMIN
+See README.vserver or README.docker for engine specific instructions.
 
 Run cleanbuild:
 
-  cd cleanbuild
-  ./cleanbuild some.spec
+  ./cleanbuild FHS
+
+You can create yourself alias for easier invocation from regular user:
+  alias cleanbuild='_cleanbuild() { sudo -H -u builder sh -c "cd ~/cleanbuild && ./cleanbuild $*"; }; _cleanbuild'
+  cleanbuild somepkg
This page took 0.027111 seconds and 4 git commands to generate.