team:kang:release
=>  Releases

Current version
Git/Latestdiff: 1.5.6

Latest Snapshots
Produced after each commit or rebase to new upstream version

GIT
RSBAC source code, can be unstable sometimes

=>  Events

No events planned

Differences

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

Link to this comparison view

Both sides previous revision Previous revision
Next revision
Previous revision
team:kang:release [2009/10/28 13:38]
127.0.0.1 (old revision restored)
team:kang:release [2009/10/28 14:05]
127.0.0.1 (old revision restored)
Line 1: Line 1:
 ===== Releasing ===== ===== Releasing =====
 //This document covers the various areas you need to know to release RSBAC :)// //This document covers the various areas you need to know to release RSBAC :)//
 +
 +
  
  
Line 9: Line 11:
 <​code>​ <​code>​
   -a, --archive ​                ​Create release archive in DESTDIR   -a, --archive ​                ​Create release archive in DESTDIR
 +  -a24                          Enable 2.4 kernel fetching and archiving (required for -rd, -d 24, -c 24)
   -d, --diff 24|26|ALL ​         Shows a diff with trunk   -d, --diff 24|26|ALL ​         Shows a diff with trunk
   -rd, --rdiff ​                 Shows a diff between RSBAC code of   -rd, --rdiff ​                 Shows a diff between RSBAC code of
Line 26: Line 29:
 Don't forget to check the packages created, upload them to the release server and make a tag with -t (or by hand) before it's too late :) Don't forget to check the packages created, upload them to the release server and make a tag with -t (or by hand) before it's too late :)
  
-Note: 2.4 support is deprecated and the tool does not make 2.4 kernels by default+Note: 2.4 support is deprecated and the tool does not make 2.4 kernels by default. You need the -a24 option. 
 + 
 + 
 +Here's a sample run to make patches and tarballs: 
 + 
 +<​code>​ 
 +  # cd rsbac-misc/​mkrelease 
 +  # ./mr -a /​home/​kang/​test 1.4.2 
 +  Using /​home/​kang/​test/​rsbac-1.4.2 with RSBAC 1.4.2 
 +  Using temporary directory /​home/​kang/​test/​rsbac-1.4.2/​rsbac_tmp_28102009 
 +   
 +  Last chance to cancel, proceeding in 3 seconds... 
 +  SVK Synchronising tree... 
 +  [...] 
 +  Detected kernel 2.6.31.5 
 +  Tag NOT found for 1.4.2, using trunk/​branches (trunk) 
 +  SVK Fetching your tree... 
 +  SVK Getting the 2.6 vanilla kernel... 
 +  SVK Getting the 2.6 rsbac kernel... 
 +  SVK Getting the RSBAC utilities... 
 +  PACKING 2.6 RSBAC archive... 
 +  PACKING RSBAC admin utils... 
 +  PACKING Full Linux kernel + RSBAC 2.6 
 +  SVK Fetching your tree... 
 +  SVK Making patches...  
 +  2.6 
 +  Loading hunks 
 +  Sorting 0 hunks 
 +  Done 
 +  # ls -l /​home/​kang/​test/​rsbac-1.4.2/​ 
 +  total 62520 
 +  -rw-r--r-- 1 kang kang 63158324 2009-10-28 14:01 linux-2.6.31.5-rsbac-1.4.2.tar.bz2 
 +  -rw-r--r-- 1 kang kang    54090 2009-10-28 14:01 patch-linux-2.6.31.5-rsbac-1.4.2.diff.bz2 
 +  -rw-r--r-- 1 kang kang   ​324914 2009-10-28 13:59 rsbac-admin-1.4.2.tar.bz2 
 +  -rw-r--r-- 1 kang kang   ​387117 2009-10-28 13:59 rsbac-common-2.6-1.4.2.tar.bz2 
 +  drwxr-xr-x 4 kang kang     4096 2009-10-28 13:59 rsbac_tmp_28102009 
 +</​code>​
  
 ==== Versions ==== ==== Versions ====
//
team/kang/release.txt · Last modified: 2009/10/28 14:05 by 127.0.0.1

team/kang/release.txt · Last modified: 2009/10/28 14:05 by 127.0.0.1
This website is kindly hosted by m-privacy