From: Holger Levsen Date: Sun, 18 Sep 2011 11:10:10 +0000 (+0200) Subject: append revision to version instead of using it as a version X-Git-Url: https://git.uhu-banane.de/?a=commitdiff_plain;h=dd24f65ce615ffed238db09e4a525a5a4832cd84;p=profitbricks%2Fjenkins-build-scripts.git append revision to version instead of using it as a version --- diff --git a/kernel_inpbuilder.py b/kernel_inpbuilder.py index 417fcea..4288e74 100644 --- a/kernel_inpbuilder.py +++ b/kernel_inpbuilder.py @@ -203,8 +203,8 @@ def build_kernel(revision, parallel_jobs='auto', distcc=False): parallel_jobs = int(parallel_jobs) cmd = [MAKE_KPKG, '-j', '%s' %(parallel_jobs), '--arch', - '%s' %(BUILD_ARCH), '--rootcmd', 'fakeroot', '--revision', - '%s' %(revision), '--initrd', 'kernel_debug', + '%s' %(BUILD_ARCH), '--rootcmd', 'fakeroot', '--append_to_version', + '~%s' %(revision), '--initrd', 'kernel_debug', 'kernel_image', 'kernel_source', 'kernel_headers', 'modules'] logger.info('start compile process')