From a18a29d98fda7c3b07b7c2078ac256eb0c46b6b3 Mon Sep 17 00:00:00 2001 From: Holger Levsen Date: Sun, 18 Sep 2011 16:35:28 +0200 Subject: [PATCH] less is sometimes more --- kernel_build.py | 3 +-- kernel_inpbuilder.py | 4 ++-- 2 files changed, 3 insertions(+), 4 deletions(-) diff --git a/kernel_build.py b/kernel_build.py index db2c651..2a581c7 100644 --- a/kernel_build.py +++ b/kernel_build.py @@ -172,8 +172,7 @@ def remove_git_target_workspace(): rmpath = '/tmp/%s-build%s' %(BUILD_ID, BUILD_NUMBER) if os.path.isdir(rmpath): try: - pass - #shutil.rmtree(rmpath) + shutil.rmtree(rmpath) except IOError, error: logger.debug('Got exception with error code: %s', error.errno) if error.errno == 2: diff --git a/kernel_inpbuilder.py b/kernel_inpbuilder.py index 9b54aa7..d9affd9 100644 --- a/kernel_inpbuilder.py +++ b/kernel_inpbuilder.py @@ -203,8 +203,8 @@ def build_kernel(version, 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', '3.0', - '--append-to-version', '+%s' %(version), '--initrd', '--arch-in-name', + '%s' %(BUILD_ARCH), '--rootcmd', 'fakeroot', + '--initrd', '--arch-in-name', 'configure' ] #'kernel_debug', -- 2.39.5