Received: from us-smtp-delivery-124.mimecast.com (us-smtp-delivery-124.mimecast.com [170.10.133.124]) (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 4C64236C0CF for ; Tue, 17 Feb 2026 16:07:15 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=170.10.133.124 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1771344436; cv=none; b=R9JmgetNwyhiyACQ8wPUkproo6mRL3POeOFiXvIJUzOoO08exHUBltt+L/1/Jp0IoNKS0v2NItldDY6AMKmdn6FPal4U6cyJpngt5k68H0jfh87U99L1o0QKdAKRA8mt0BxMiBDO5nTRv8OHvq7lVOQ+iS6AZp2CoyQQ/jvsfeU= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1771344436; c=relaxed/simple; bh=HVq/wLgCQW6Xfh/0mDruHbNTFvUpmRujYEYetSvjgpI=; h=From:To:Cc:Subject:Date:Message-ID:In-Reply-To:References: MIME-Version:Content-type; b=qhzN3wnRGF7QorukLUXqotrZuu8+zBO1+CakiAXoy/gl9WP+4/cAnP8ZXGfaS1VjZvkQTAaODGQLXvGCgW3JyWQ3tAZEFojiIsJ/tktDj3+NZ7LqkcUzYnEOTa2ixfpM54785Cu3ADeEAZptNEgi5uNustsWAoEItfdjEP12aOE= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dmarc=pass (p=quarantine dis=none) header.from=redhat.com; spf=pass smtp.mailfrom=redhat.com; dkim=pass (1024-bit key) header.d=redhat.com header.i=@redhat.com header.b=TMYhoIRT; arc=none smtp.client-ip=170.10.133.124 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=quarantine dis=none) header.from=redhat.com Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=redhat.com Authentication-Results: smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=redhat.com header.i=@redhat.com header.b="TMYhoIRT" DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=redhat.com; s=mimecast20190719; t=1771344434; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=4PpSzQJyzU8gtJYdAsuoo9e1Tig+WeepqPMXKWRW5p4=; b=TMYhoIRT9gkBGZ3YDzxr/+zHSqe0QKcwJDZzihG5ugJ0/Q3SvjSFT/qg1lML3IaESf+S2C IfHGiH48uQ5vtCWbQt8LNX/O1qMBUW67NH8hK2pQamkoV0fInWgCqvVmRkkSdEpaE9vKgN tQvsVK2Ill9WTEouSGBXkSuS0RRTnbo= Received: from mx-prod-mc-03.mail-002.prod.us-west-2.aws.redhat.com (ec2-54-186-198-63.us-west-2.compute.amazonaws.com [54.186.198.63]) by relay.mimecast.com with ESMTP with STARTTLS (version=TLSv1.3, cipher=TLS_AES_256_GCM_SHA384) id us-mta-600-1Lw--c8xNtiBXleG_CnIQQ-1; Tue, 17 Feb 2026 11:07:11 -0500 X-MC-Unique: 1Lw--c8xNtiBXleG_CnIQQ-1 X-Mimecast-MFC-AGG-ID: 1Lw--c8xNtiBXleG_CnIQQ_1771344430 Received: from mx-prod-int-01.mail-002.prod.us-west-2.aws.redhat.com (mx-prod-int-01.mail-002.prod.us-west-2.aws.redhat.com [10.30.177.4]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits) server-digest SHA256) (No client certificate requested) by mx-prod-mc-03.mail-002.prod.us-west-2.aws.redhat.com (Postfix) with ESMTPS id 84D48195606C; Tue, 17 Feb 2026 16:07:10 +0000 (UTC) Received: from jolawren-thinkpadp1gen7.ibmlowe.csb (unknown [10.22.80.197]) by mx-prod-int-01.mail-002.prod.us-west-2.aws.redhat.com (Postfix) with ESMTP id 4760B30001A5; Tue, 17 Feb 2026 16:07:09 +0000 (UTC) From: Joe Lawrence To: live-patching@vger.kernel.org Cc: Josh Poimboeuf , Song Liu , Jiri Kosina , Miroslav Benes , Petr Mladek Subject: [PATCH v3 13/13] livepatch/klp-build: don't look for changed objects in tools/ Date: Tue, 17 Feb 2026 11:06:44 -0500 Message-ID: <20260217160645.3434685-14-joe.lawrence@redhat.com> In-Reply-To: <20260217160645.3434685-1-joe.lawrence@redhat.com> References: <20260217160645.3434685-1-joe.lawrence@redhat.com> Precedence: bulk X-Mailing-List: live-patching@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-type: text/plain Content-Transfer-Encoding: 8bit X-Scanned-By: MIMEDefang 3.4.1 on 10.30.177.4 Signed-off-by: Joe Lawrence --- scripts/livepatch/klp-build | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/scripts/livepatch/klp-build b/scripts/livepatch/klp-build index 5367d573b94b..9bbce09cfb74 100755 --- a/scripts/livepatch/klp-build +++ b/scripts/livepatch/klp-build @@ -564,8 +564,8 @@ find_objects() { local opts=("$@") # Find root-level vmlinux.o and non-root-level .ko files, - # excluding klp-tmp/ and .git/ - find "$OBJ" \( -path "$TMP_DIR" -o -path "$OBJ/.git" -o -regex "$OBJ/[^/][^/]*\.ko" \) -prune -o \ + # excluding klp-tmp/, .git/, and tools/ + find "$OBJ" \( -path "$TMP_DIR" -o -path "$OBJ/.git" -o -path "$OBJ/tools" -o -regex "$OBJ/[^/][^/]*\.ko" \) -prune -o \ -type f "${opts[@]}" \ \( -name "*.ko" -o -path "$OBJ/vmlinux.o" \) \ -printf '%P\n' -- 2.53.0