Received: by 2002:a05:7412:3784:b0:e2:908c:2ebd with SMTP id jk4csp1628168rdb; Mon, 2 Oct 2023 16:13:14 -0700 (PDT) X-Google-Smtp-Source: AGHT+IFkd1krPw59+Wuyo/EjQPN3l0wUK3YmPbWPiBY2K4ewuClBLlh1vgFVHCm8o5xqme2iXbso X-Received: by 2002:a05:6808:912:b0:3a8:472b:febf with SMTP id w18-20020a056808091200b003a8472bfebfmr13499302oih.21.1696288394000; Mon, 02 Oct 2023 16:13:14 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1696288393; cv=none; d=google.com; s=arc-20160816; b=EXe1qTvnCJ5Lk3J+hSQGqx2GlphMLC9ALF86rGw3WxaTgfBmqD+YbWHBHlOarSt+Hh voFO3cISmNm+nNoo085enHdpxkSf6D0E6CL5a6bg4myEly80EBqdN1Jljzc7ximYHhqp oVl4OpopYV56NpA9GmLgDBPNbH3LcH2l8JCNcbJjITsyA7WCJ4ZDHZPlLm8CjRzZoNtD iZuCq7w9wm8OIPbFiuqy09jTgXvoG+gaka/geY5aIfwmW7ipvYqSSvu95SLxqcgY0nr/ 7LWMIXYv/YAzaDldey62RRb/SNjd6NeayHrm7hQEmtekK+JEMsHTqqp5p7EFRDrs/9fi 3wRQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:in-reply-to:content-disposition:mime-version :references:message-id:subject:cc:to:from:date:dkim-signature; bh=t3S673fRIkbY8IS6qAIYKcgODxviEkc8KhpN44waoRU=; fh=t8xSZLhUjR/t/PYJwDfXI/uF/JfI4Vfhl2NLI1fZqO4=; b=E9QWCQrvnwWXdMPw1IdztWh9goLYDwcQob31ngiTSWhMfq39NHyEqlPvzPSXZl/UtO rydSBDLWzOUYBaYjLBTdtsGQ+PC2eGX65PerDLr1ADvyPtv8ahhgJLOdT57Qdv/2pPH/ NYqoepiWAc5vaPR9QO+fPSnn+iAPwagpRDPDTriHwkVG4B2WePVRK00tJtnfgyeYCEDQ hjC84aGQehKazKVpHMPh0S8BrqAHP01Jk1uCsQxGfy7IPlq3vJ+FF7Sbp/KUzSS5q4W5 bvZcWA66z5uj46X5gfYtHQmCDXEcyZ/qEiv+YWYG6Fwipt4ufRCPtOLYcNlQEEFC4L0N IaKQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=VYHeAIRb; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.35 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Return-Path: Received: from groat.vger.email (groat.vger.email. [23.128.96.35]) by mx.google.com with ESMTPS id gf8-20020a17090ac7c800b0027779681be6si8221pjb.70.2023.10.02.16.13.13 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 02 Oct 2023 16:13:13 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.35 as permitted sender) client-ip=23.128.96.35; Authentication-Results: mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=VYHeAIRb; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.35 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Received: from out1.vger.email (depot.vger.email [IPv6:2620:137:e000::3:0]) by groat.vger.email (Postfix) with ESMTP id 9D79E80A90E0; Mon, 2 Oct 2023 16:13:11 -0700 (PDT) X-Virus-Status: Clean X-Virus-Scanned: clamav-milter 0.103.10 at groat.vger.email Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S237160AbjJBXNE (ORCPT + 99 others); Mon, 2 Oct 2023 19:13:04 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:36966 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S230121AbjJBXNE (ORCPT ); Mon, 2 Oct 2023 19:13:04 -0400 Received: from smtp.kernel.org (relay.kernel.org [52.25.139.140]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id BE41DB4; Mon, 2 Oct 2023 16:12:58 -0700 (PDT) Received: by smtp.kernel.org (Postfix) with ESMTPSA id F23B4C433C7; Mon, 2 Oct 2023 23:12:57 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1696288378; bh=QpsjepJRRnfhetgwl5KFi+10Gk78WLVJJwQQ9BNE95o=; h=Date:From:To:Cc:Subject:References:In-Reply-To:From; b=VYHeAIRbDhoCcOWwQ/a0kTl3pIN8FBh0tQW+alPxeZL0jnzRTw8NXJTIhscEbHSZP 0f3whN14VnqD75XsMWiP9N6IoF4IeOsifuRNcIAy8ZTukBBbr9H7tKDhWRVOCVLTrB dYRY6AIUmu7kY48/OyY9nCSkbOms/3sjOJiOGbKvq5RIOTihhyoeKvnyNRo24zTV4q 8dqoHXYUkFcy5QX7YjmueX4XhYulI+k0GxF/AZpugWFNxvWGNbJX2cW2YJHatWGSsd bhBHclrb2kr5WkJgSm/do0inH3Dc3Tjggo+MIQV9fM6wbYhQZdl8I6KWUDbSAbFhO2 cI5KZypI6AwVQ== Date: Mon, 2 Oct 2023 16:12:56 -0700 From: Nathan Chancellor To: Masahiro Yamada Cc: linux-kbuild@vger.kernel.org, linux-kernel@vger.kernel.org, Nick Desaulniers , Nicolas Schier Subject: Re: [PATCH] kbuild: remove stale code for 'source' symlink in packaging scripts Message-ID: <20231002231256.GA1269812@dev-arch.thelio-3990X> References: <20231001140339.1707548-1-masahiroy@kernel.org> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20231001140339.1707548-1-masahiroy@kernel.org> X-Spam-Status: No, score=-1.2 required=5.0 tests=DKIMWL_WL_HIGH,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,MAILING_LIST_MULTI, SPF_HELO_NONE,SPF_PASS autolearn=unavailable autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on groat.vger.email Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org X-Greylist: Sender passed SPF test, not delayed by milter-greylist-4.6.4 (groat.vger.email [0.0.0.0]); Mon, 02 Oct 2023 16:13:11 -0700 (PDT) On Sun, Oct 01, 2023 at 11:03:39PM +0900, Masahiro Yamada wrote: > Since commit d8131c2965d5 ("kbuild: remove $(MODLIB)/source symlink"), > modules_install does not create the 'source' symlink. > > Remove the stale code from builddeb and kernel.spec. > > Signed-off-by: Masahiro Yamada Reviewed-by: Nathan Chancellor > --- > > scripts/package/builddeb | 1 - > scripts/package/kernel.spec | 3 --- > 2 files changed, 4 deletions(-) > > diff --git a/scripts/package/builddeb b/scripts/package/builddeb > index bf3f8561aa68..d7dd0d04c70c 100755 > --- a/scripts/package/builddeb > +++ b/scripts/package/builddeb > @@ -64,7 +64,6 @@ install_linux_image () { > > ${MAKE} -f ${srctree}/Makefile INSTALL_MOD_PATH="${pdir}" modules_install > rm -f "${pdir}/lib/modules/${KERNELRELEASE}/build" > - rm -f "${pdir}/lib/modules/${KERNELRELEASE}/source" > > # Install the kernel > if [ "${ARCH}" = um ] ; then > diff --git a/scripts/package/kernel.spec b/scripts/package/kernel.spec > index ac3f2ee6d7a0..3eee0143e0c5 100644 > --- a/scripts/package/kernel.spec > +++ b/scripts/package/kernel.spec > @@ -68,7 +68,6 @@ cp $(%{make} %{makeflags} -s image_name) %{buildroot}/boot/vmlinuz-%{KERNELRELEA > cp System.map %{buildroot}/boot/System.map-%{KERNELRELEASE} > cp .config %{buildroot}/boot/config-%{KERNELRELEASE} > ln -fns /usr/src/kernels/%{KERNELRELEASE} %{buildroot}/lib/modules/%{KERNELRELEASE}/build > -ln -fns /usr/src/kernels/%{KERNELRELEASE} %{buildroot}/lib/modules/%{KERNELRELEASE}/source > %if %{with_devel} > %{make} %{makeflags} run-command KBUILD_RUN_COMMAND='${srctree}/scripts/package/install-extmod-build %{buildroot}/usr/src/kernels/%{KERNELRELEASE}' > %endif > @@ -101,7 +100,6 @@ fi > %defattr (-, root, root) > /lib/modules/%{KERNELRELEASE} > %exclude /lib/modules/%{KERNELRELEASE}/build > -%exclude /lib/modules/%{KERNELRELEASE}/source > /boot/* > > %files headers > @@ -113,5 +111,4 @@ fi > %defattr (-, root, root) > /usr/src/kernels/%{KERNELRELEASE} > /lib/modules/%{KERNELRELEASE}/build > -/lib/modules/%{KERNELRELEASE}/source > %endif > -- > 2.39.2 >