From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from bombadil.infradead.org (bombadil.infradead.org [198.137.202.133]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 4F28C18B47D for ; Mon, 28 Jul 2025 01:14:37 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=198.137.202.133 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1753665282; cv=none; b=Ch8436/AWn1tmOIqRsBiE8iHvYEr+Bprgria2LOfuYGQdEf3YV/A4MJS36kzWYxyX4Ct6G7DU03j7VEX1YqEFehQMHr0mICu5fElmCKIp+1rE3+QHFf031q7s/5zw5gT5UqAtCLdPzgwv3/6b3JMAbEMDj++CnzLtL0FdhnorN4= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1753665282; c=relaxed/simple; bh=BO9+tbd3xRmg/aINc0OjDdgJEgH56s59dtOUBK/YYIs=; h=From:To:Cc:Subject:Date:Message-ID:In-Reply-To:References: MIME-Version; b=NeofLvLpN35jtANZ8Mmvf35QS7oJM78XX9muPpVPBf/3h/sM/KXDBUqikgEA4PjSfoXagrtdFF45e9/6G9vfO34Z906r5gSJcmPWg/hF14tvW7wWfSpfJxSAz78ghJRHRiZ+Zz4h+/jCB6WW/M+fTf/8mt96efXUunAchGLxoJc= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dmarc=fail (p=quarantine dis=none) header.from=kernel.org; spf=none smtp.mailfrom=infradead.org; dkim=pass (2048-bit key) header.d=infradead.org header.i=@infradead.org header.b=UuIurBg1; arc=none smtp.client-ip=198.137.202.133 Authentication-Results: smtp.subspace.kernel.org; dmarc=fail (p=quarantine dis=none) header.from=kernel.org Authentication-Results: smtp.subspace.kernel.org; spf=none smtp.mailfrom=infradead.org Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=infradead.org header.i=@infradead.org header.b="UuIurBg1" DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=infradead.org; s=bombadil.20210309; h=Sender:Content-Transfer-Encoding: MIME-Version:References:In-Reply-To:Message-ID:Date:Subject:Cc:To:From: Reply-To:Content-Type:Content-ID:Content-Description; bh=l3nqFn1ZVbBgmIIrIiM1YtXiCw+T2jgQ0DQrBZqs3+8=; b=UuIurBg11NItQTVJDgeVEGFxyY MuqVQJs1oCG54Dm05edbFXwMj9hqzAu35d+4g6kxaB/GnJ9Sw7mz4ahu9ho8eKI0V3ks1rq0QcGA1 HK4JJx4QxhpQC0v2bdbi26aVAaopjg5T/N/R6u10talekZUKQpvmjTjyOm7WsrG8MeI2aSFFjBRzJ 8HsRzPpYqJearT4Q7o7eWig41RLnmrTurxtAVP2L1xrwzoLpbPV7nYJ52PWcGAA8r2x2wlvJGHf2E kiReVVW1YrrK15ARfXhptO2hcec1IkTha7DPXpcuC1k8ZKwhOTIBQmtM3x1Y46E38w2lauclXGJEE QHLKCyog==; Received: from mcgrof by bombadil.infradead.org with local (Exim 4.98.2 #2 (Red Hat Linux)) id 1ugCRo-0000000DPkC-0fgY; Mon, 28 Jul 2025 01:14:36 +0000 From: Luis Chamberlain To: Chuck Lever , Daniel Gomez , kdevops@lists.linux.dev Cc: Chuck Lever Subject: [PATCH v2 18/33] bootlinux: Select the kernel .config earlier Date: Sun, 27 Jul 2025 18:14:18 -0700 Message-ID: <20250728011434.3197091-19-mcgrof@kernel.org> X-Mailer: git-send-email 2.49.0 In-Reply-To: <20250728011434.3197091-1-mcgrof@kernel.org> References: <20250728011434.3197091-1-mcgrof@kernel.org> Precedence: bulk X-Mailing-List: kdevops@lists.linux.dev List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Sender: Luis Chamberlain From: Chuck Lever The tasks that select the kernel .config are common to both building via 9p and building on the test runners. In order to refactor the build tasks, move the common portion (selecting the kernel .config) earlier in the bootlinux playbook. Signed-off-by: Chuck Lever --- playbooks/roles/bootlinux/tasks/main.yml | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/playbooks/roles/bootlinux/tasks/main.yml b/playbooks/roles/bootlinux/tasks/main.yml index 9c43c1e5..6a0563b1 100644 --- a/playbooks/roles/bootlinux/tasks/main.yml +++ b/playbooks/roles/bootlinux/tasks/main.yml @@ -10,6 +10,10 @@ skip: true tags: vars +- name: Select the .config file for building the test kernel + ansible.builtin.include_tasks: + file: "{{ role_path }}/tasks/config.yml" + # Distro specific - name: Install dependencies to build and install the Linux kernel ansible.builtin.import_tasks: @@ -223,10 +227,6 @@ run_once: true delegate_to: localhost -- name: Select the .config file for building the test kernel - ansible.builtin.include_tasks: - file: "{{ role_path }}/tasks/config.yml" - - name: Copy configuration for Linux {{ target_linux_tree }} to the target nodes template: src: "{{ linux_config }}" -- 2.47.2