From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from smtp.kernel.org (aws-us-west-2-korg-mail-1.web.codeaurora.org [10.30.226.201]) (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 C2A5E811F7 for ; Fri, 26 Apr 2024 04:07:34 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=10.30.226.201 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1714104454; cv=none; b=ejDteUk27ztUq1GL1VW3iPBr+QKbvEDcRNkoXpkI3yTqmiHjuaZDrzhlUdW+plMnRRX3gdcpJ8kjVxRtQYWn8tjPJGrU3tU0dxS9wGoJ5S/YfRSdX5JejyqBzDgGQucYG7e1mjsi1XQtzG5Vun/TqTRDrpl3+xat+CAHxDpHIfw= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1714104454; c=relaxed/simple; bh=+1JYyhrUK6F0F6PbUsB+7eehFX6Kk/kuB2ci8O2Trvk=; h=Date:To:From:Subject:Message-Id; b=XptxB/sG9uyLqk3ttE1yJP2PsRymH/XqG2cEotAC3UBME7J+BYqVGlEpETvN7XpjwnPK0Cl7GhcwY9KM9N5VLw9RRoCFIvWmhZDkKpKpqjGhfaHkfTQL2m+Qyqc07aWmSOWUIzSjZ5gOGEZYg5iAOrO0h2Wv707RGfa/FDaEr9Q= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=linux-foundation.org header.i=@linux-foundation.org header.b=Zj5tkNcu; arc=none smtp.client-ip=10.30.226.201 Authentication-Results: smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=linux-foundation.org header.i=@linux-foundation.org header.b="Zj5tkNcu" Received: by smtp.kernel.org (Postfix) with ESMTPSA id 448FAC2BD11; Fri, 26 Apr 2024 04:07:34 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=linux-foundation.org; s=korg; t=1714104454; bh=+1JYyhrUK6F0F6PbUsB+7eehFX6Kk/kuB2ci8O2Trvk=; h=Date:To:From:Subject:From; b=Zj5tkNcuuTDuAJxt2nVZHEe3XJccuFB6t4K3SHOXQoqoly+TA2haaeNmNi1uK2o+z +7hkJANeGdxFaqPb3oB3qM/DcDD9mgHcg6BHBlvTxA+aDw88QCmEUyfJyVDvuk28mp YBGvc+yKviOWX+oOuOwSYLnvIqBIXQ36mjqH6SOw= Date: Thu, 25 Apr 2024 21:07:33 -0700 To: mm-commits@vger.kernel.org,nicolas@fjasle.eu,masahiroy@kernel.org,u.kleine-koenig@pengutronix.de,akpm@linux-foundation.org From: Andrew Morton Subject: [merged mm-nonmm-stable] lib-build_oid_registry-dont-mention-the-full-path-of-the-script-in-output.patch removed from -mm tree Message-Id: <20240426040734.448FAC2BD11@smtp.kernel.org> Precedence: bulk X-Mailing-List: mm-commits@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: The quilt patch titled Subject: lib/build_OID_registry: don't mention the full path of the script in output has been removed from the -mm tree. Its filename was lib-build_oid_registry-dont-mention-the-full-path-of-the-script-in-output.patch This patch was dropped because it was merged into the mm-nonmm-stable branch of git://git.kernel.org/pub/scm/linux/kernel/git/akpm/mm ------------------------------------------------------ From: Uwe Kleine-König Subject: lib/build_OID_registry: don't mention the full path of the script in output Date: Wed, 13 Mar 2024 22:19:56 +0100 This change strips the full path of the script generating lib/oid_registry_data.c to just lib/build_OID_registry. The motivation for this change is Yocto emitting a build warning File /usr/src/debug/linux-lxatac/6.7-r0/lib/oid_registry_data.c in package linux-lxatac-src contains reference to TMPDIR [buildpaths] So this change brings us one step closer to make the build result reproducible independent of the build path. Link: https://lkml.kernel.org/r/20240313211957.884561-2-u.kleine-koenig@pengutronix.de Signed-off-by: Uwe Kleine-König Cc: Masahiro Yamada Reviewed-by: Nicolas Schier Signed-off-by: Andrew Morton --- lib/build_OID_registry | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) --- a/lib/build_OID_registry~lib-build_oid_registry-dont-mention-the-full-path-of-the-script-in-output +++ a/lib/build_OID_registry @@ -8,6 +8,7 @@ # use strict; +use Cwd qw(abs_path); my @names = (); my @oids = (); @@ -17,6 +18,8 @@ if ($#ARGV != 1) { exit(2); } +my $abs_srctree = abs_path($ENV{'srctree'}); + # # Open the file to read from # @@ -35,7 +38,7 @@ close IN_FILE || die; # open C_FILE, ">$ARGV[1]" or die; print C_FILE "/*\n"; -print C_FILE " * Automatically generated by ", $0, ". Do not edit\n"; +print C_FILE " * Automatically generated by ", $0 =~ s#^\Q$abs_srctree/\E##r, ". Do not edit\n"; print C_FILE " */\n"; # _ Patches currently in -mm which might be from u.kleine-koenig@pengutronix.de are