From: Aishwarya Mathuria Date: Thu, 12 Jun 2025 11:50:31 +0000 (+0530) Subject: Revert "teuthology/suite: set the kernel branch in the kernel config" X-Git-Url: http://git-server-git.apps.pok.os.sepia.ceph.com/?a=commitdiff_plain;h=d1d44252ae1e52494805f78774891ab1064afa58;p=teuthology.git Revert "teuthology/suite: set the kernel branch in the kernel config" This reverts commit 5bac476685eacea5a62f470286b7af6032f2a687. --- diff --git a/teuthology/suite/run.py b/teuthology/suite/run.py index 5fddb3489..bb7f5c2f7 100644 --- a/teuthology/suite/run.py +++ b/teuthology/suite/run.py @@ -167,16 +167,13 @@ class Run(object): # Put together a stanza specifying the kernel hash if self.args.kernel_branch == 'distro': kernel_hash = 'distro' - kernel_branch = 'distro' # Skip the stanza if '-k none' is given elif self.args.kernel_branch is None or \ self.args.kernel_branch.lower() == 'none': kernel_hash = None - kernel_branch = None else: - kernel_branch = self.args.kernel_branch kernel_hash = util.get_gitbuilder_hash( - 'kernel', kernel_branch, 'default', + 'kernel', self.args.kernel_branch, 'default', self.args.machine_type, self.args.distro, self.args.distro_version, ) @@ -192,7 +189,7 @@ class Run(object): if kernel_hash: log.info("kernel sha1: {hash}".format(hash=kernel_hash)) - kernel_dict = dict(kernel=dict(branch=kernel_branch, kdb=kdb, sha1=kernel_hash)) + kernel_dict = dict(kernel=dict(kdb=kdb, sha1=kernel_hash)) if kernel_hash != 'distro': kernel_dict['kernel']['flavor'] = 'default' else: