/[vps]/vserver-sources/mkrelease
Gentoo

Contents of /vserver-sources/mkrelease

Parent Directory Parent Directory | Revision Log Revision Log


Revision 464 - (show annotations) (download)
Wed Sep 6 19:48:46 2006 UTC (8 years ago) by hollow
File size: 540 byte(s)
sync mkrelease scripts
1 #!/bin/bash
2
3 # Package name convention for vserver-sources patches:
4 # vserver-patches-$CKV_$PVR.tar.bz2
5 # where
6 # 1) CKV is the kernel version (i.e. 2.6.15)
7 # 2) PVR is the package version + revision (i.e. 2.0.1-r1)
8
9 if [ -z $2 ]; then
10 echo "Usage: mkrelease <kernelver> <ver> [<rev>]"
11 exit 1
12 fi
13
14 CKV=${1}
15 PVR=${2}
16
17 [[ -n ${3} ]] && PVR=${2}-${3}
18
19 P="vserver-patches-${CKV}_${PVR}.tar.bz2"
20
21 tmpdir=$(mktemp -d)
22
23 svn export ${PVR} ${tmpdir}/${CKV}
24
25 tar cjvf ./${P} -C ${tmpdir} ${CKV} | sort
26
27 rm -rf ${tmpdir}
28
29 echo "Tarball is at ./${P}"

Properties

Name Value
svn:executable *

  ViewVC Help
Powered by ViewVC 1.1.20