summaryrefslogtreecommitdiffstats
path: root/scripts/package/builddeb
diff options
context:
space:
mode:
authorMasahiro Yamada <masahiroy@kernel.org>2023-10-01 23:03:39 +0900
committerMasahiro Yamada <masahiroy@kernel.org>2023-10-01 23:06:06 +0900
commit2d7d1bc119a4d7f54cfe0b1be480c34e8c712d06 (patch)
tree1daf60dddb94943b7646a379ba28507ac9c7545a /scripts/package/builddeb
parentf177cd0c15fcc7bdbb68d8d1a3166dead95314c8 (diff)
downloadlinux-2d7d1bc119a4d7f54cfe0b1be480c34e8c712d06.tar.gz
linux-2d7d1bc119a4d7f54cfe0b1be480c34e8c712d06.tar.bz2
linux-2d7d1bc119a4d7f54cfe0b1be480c34e8c712d06.zip
kbuild: remove stale code for 'source' symlink in packaging scripts
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 <masahiroy@kernel.org>
Diffstat (limited to 'scripts/package/builddeb')
-rwxr-xr-xscripts/package/builddeb1
1 files changed, 0 insertions, 1 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