User Tools

Site Tools


developingpld:preparingworkingenvironment

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Next revision
Previous revision
developingpld:preparingworkingenvironment [2006-08-24 15:39]
glen
developingpld:preparingworkingenvironment [2009-05-14 10:59] (current)
grizz SPECS -> packages
Line 1: Line 1:
  
  
-==== Preparing your working environment ==== +====== Preparing your working environment ======
-The first thing you should do is make sure you have the ''​cvs''​ package installed. Second, if you have a directory or file named ''​rpm''​ in your home directory, either delete it or move it somewhere else. You don't want it to get in your way in the next step. Now, invoke the following set of commands: ​+
  
  
 +===== Needed packages =====
 +Before you start, you need to install a recent version of: 
  
-<​file>​$ cd 
-</​file>​ 
-To make sure your current working directory is your home directory. ​ 
  
 +  * ''​cvs'' ​
 +  * ''​rpm-build-macros'' ​
 +  * ''​rpm-build-tools'' ​
 +The latter contains the ''​builder''​ script itself. ​
  
  
-<​file>​$ mkdir -p rpm/​{RPMS,​BUILD,​SRPMS} 
-</​file>​ 
-To create necessary directories. ​ 
  
 +===== Preconfiguration =====
 +To initialize your working directory, invoke: ​
  
  
-<​file>​$ CVSROOT=:​pserver:​cvs@cvs.pld-linux.org:/​cvsroot \ 
-cvs co SOURCES/​.cvsignore SPECS 
-</​file>​ 
-NB! Alternative initialization ​ 
  
-<​file>​$ poldek -u rpm-build-tools +<​file>​builder --init-rpm-dir
-builder --init-rpm-dir+
 </​file>​ </​file>​
-Read more aboout [[:​DevelopingPLD:​BuilderScript| ​builder]] script.  +''​builder''​ will create ​all the necessary directories under //~/rpm/// and create initial config for ''​cvs''​. This is essentially all the work needed to build the packages for your own use
- +
-To fetch all the files from the [[:​Repositories| repository]]. If you already have an account there, replace ​''​cvs@cvs.pld-linux.org'' ​with your account name+
  
-Now you are ready to start your work+In case you also need to commit ​your changes back, edit the //​~/​rpm/​packages/​CVS/​Root//​ to contain your login instead of the anonymous ''​cvs@''​ account
  
  
developingpld/preparingworkingenvironment.1156426790.txt.gz · Last modified: 2006-08-24 15:39 by glen