From a61c140a0d4f6b4eeb5a91bb4a521bedd704b557 Mon Sep 17 00:00:00 2001 From: Holger Levsen Date: Wed, 19 Oct 2011 17:35:39 +0200 Subject: [PATCH] modify overlay templates so that PB_FLAVOUR is replaced as it should --- kernel_inpbuilder.py | 3 +++ 1 file changed, 3 insertions(+) diff --git a/kernel_inpbuilder.py b/kernel_inpbuilder.py index e03932c..98fd6ef 100644 --- a/kernel_inpbuilder.py +++ b/kernel_inpbuilder.py @@ -213,6 +213,9 @@ def build_kernel(flavour, revision, overlay_dir, parallel_jobs='auto', distcc=Fa else: parallel_jobs = int(parallel_jobs) + # modify overlay-dir/Control on the fly + os.system("sed -i -s 's#PB_FLAVOUR#%s#' %s/Control" % (flavour, overlay_dir)) + cmd = [MAKE_KPKG, '-j', '%s' %(parallel_jobs), '--arch', '%s' %(BUILD_ARCH), '--rootcmd', 'fakeroot', '--append-to-version', '-%s' %(flavour), -- 2.39.5