Received: by 2002:a05:7412:3784:b0:e2:908c:2ebd with SMTP id jk4csp824898rdb; Sun, 1 Oct 2023 07:08:32 -0700 (PDT) X-Google-Smtp-Source: AGHT+IHbhZ88x+UVez6K/TJpoo9rLfNqt9YiGdcZCaRw2nzVyxjZKyDy87wqPUC5M29dn9qh93Ip X-Received: by 2002:a05:6870:6107:b0:1c0:c42f:6db2 with SMTP id s7-20020a056870610700b001c0c42f6db2mr11762411oae.37.1696169312060; Sun, 01 Oct 2023 07:08:32 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1696169312; cv=none; d=google.com; s=arc-20160816; b=mT56TBUJdcGRctESuK2/kTeQxDnMm/mmICu6V56e6Ryunbf3cyiVELM9Pb+GtLMZnH x8t+7bJ5jRhfXGkxl1Zx1n9YtP+sNOlIJK2b98ET8NS6WdcyOA4j8GL8Ls5CT8ImzZeq BFnX7eyfZbeU6e+nkSBuHQ3Aw7vsQ9ESjc8a5pNpOPptog9cdCe6etF+HE65Mw2GRDMO 18/sMmni8IFA/IR81Az+A6StNZs5EoJkC2U8SRlaO/MnPVSqC7ncjERSzbexXV1I6n8b EM6T7bmK/54xDDZSn84w5rDDaOB3uVRynwKCusH5/iSCRWpjGCk/QlOQ4B/SwK+w/AKz NtjQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:mime-version :message-id:date:subject:cc:to:from:dkim-signature; bh=m+2RzWBPj2WHoPHeJrYWaUuU0VyGWov6rVfiHfg1lf8=; fh=wKrPioF+0wPaktGqmf0aQvlk8PY4Pc32rTAsBSAiP8I=; b=o+SqvOdKEzXDATGVQIS0nI2xfvkjJxDrL7RtDCMxKugKnTzsfrCvjRqS+RAIxUHwMK 5UN+g9ty1h9UsavfkFTz1pjFpo/epynezG32dfjpeqMyHAtpUmAV6kU6PQqGVB4zLOAg PwS8HJTRre3sS5KLjBibUZLyq0Mrk4+5qTzi+xHrlSfwkNHFK9d4hR3mx8bwFTzQiA+H V1vxwysmqKiMWVRDxcwRbwLfBD7NBsKjjcXsoB+GdRmBiZwwL2jvmksTC4vb4TbaUP22 rSXT/OGFqXah3BThvyDCrK6+LO/78MTTXwvIOiBKFSx3oGxzFnDcKrXLygxZY35PCPeM Yb6A== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=diyT5n3E; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:2 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 agentk.vger.email (agentk.vger.email. [2620:137:e000::3:2]) by mx.google.com with ESMTPS id be3-20020a656e43000000b0057e5d66c200si22510180pgb.462.2023.10.01.07.08.31 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sun, 01 Oct 2023 07:08:32 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:2 as permitted sender) client-ip=2620:137:e000::3:2; Authentication-Results: mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=diyT5n3E; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:2 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 agentk.vger.email (Postfix) with ESMTP id A40A2810F0DF; Sun, 1 Oct 2023 07:08:29 -0700 (PDT) X-Virus-Status: Clean X-Virus-Scanned: clamav-milter 0.103.10 at agentk.vger.email Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S235023AbjJAODt (ORCPT + 99 others); Sun, 1 Oct 2023 10:03:49 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:36094 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S231216AbjJAODs (ORCPT ); Sun, 1 Oct 2023 10:03:48 -0400 Received: from smtp.kernel.org (relay.kernel.org [52.25.139.140]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 619E29F; Sun, 1 Oct 2023 07:03:46 -0700 (PDT) Received: by smtp.kernel.org (Postfix) with ESMTPSA id 67E2FC433C7; Sun, 1 Oct 2023 14:03:44 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1696169025; bh=3LIpQH6MN3tTgISuUJS+MrG+dyX1WcYUgjAL90yBmcw=; h=From:To:Cc:Subject:Date:From; b=diyT5n3Erw4CBxvvAhE+uw79QY8yXl0wxr2XxAzsWWWiMipbv6ppyuz5whMdCsAzZ P4Nq21lPh8xZiSKO6NxWsc4gugxca7mbR0ZZINH1tOYgfRyWIHTYTtSjHshhDVn+38 8ooR2zg12DbTUWM1+B0jyDxB1inkTxlJsV+1uybnHNOKtIRDn2nhrSLJjwhJ7T51a/ vC+QpSxSj3PEXq/JcT13CtDF2ylIoQZ/z4LorY5tw+ohaUgDac48L6WhDDA3gMlXGk ltnt3GNKP0aZRONOw6c7fDJaybnwWVOzcogt7DAk5o6Flko8fYBqLObBc6fTXNecRt Z0GkUNbHqQGUA== From: Masahiro Yamada To: linux-kbuild@vger.kernel.org Cc: linux-kernel@vger.kernel.org, Masahiro Yamada , Nathan Chancellor , Nick Desaulniers , Nicolas Schier Subject: [PATCH] kbuild: remove stale code for 'source' symlink in packaging scripts Date: Sun, 1 Oct 2023 23:03:39 +0900 Message-Id: <20231001140339.1707548-1-masahiroy@kernel.org> X-Mailer: git-send-email 2.39.2 MIME-Version: 1.0 Content-Transfer-Encoding: 8bit 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 agentk.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 (agentk.vger.email [0.0.0.0]); Sun, 01 Oct 2023 07:08:29 -0700 (PDT) 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 --- 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