]> Frank Brehm's Git Trees - profitbricks/jenkins-build-scripts.git/commitdiff
get BZULD_ARCH in packages names again
authorHolger Levsen <holger@layer-acht.org>
Sun, 18 Sep 2011 16:17:17 +0000 (18:17 +0200)
committerHolger Levsen <holger@layer-acht.org>
Sun, 18 Sep 2011 16:17:17 +0000 (18:17 +0200)
kernel_inpbuilder.py

index 8cc5450c5058151ce9f79a4b92a8dad7c8c21929..6fe56a31c9c4b827fa9002e5dd243cb14a39b6ee 100644 (file)
@@ -277,10 +277,10 @@ def determine_kernel_flavour():
     # create appropriate /etc/kernel-pkg.conf
     content = 'maintainer := Profitbricks GmbH\nemail := %s\npriority := Low\ndebian = %s\n' % (GIT_COMMITTER_EMAIL, debian_version)
     create_file('/etc/kernel-pkg.conf', content)
-    logger.info('/etc/kernel-pkg.conf created with this content: %s' % content)
+    logger.info('/etc/kernel-pkg.conf created with this content: \n%s' % content)
 
     # return safely
-    localversion = 'profitbricks-%s' % flavour
+    localversion = 'profitbricks-%s-%s' % (flavour, BUILD_ARCH)
     return localversion
 
 def exit(retcode):