summaryrefslogtreecommitdiff
path: root/scripts/package
diff options
context:
space:
mode:
authorMasahiro Yamada <masahiroy@kernel.org>2023-11-23 16:18:24 +0900
committerMasahiro Yamada <masahiroy@kernel.org>2023-11-28 11:38:32 +0900
commitef6609adf1ecc4c0797a894d4dd365dbbc4903f9 (patch)
treed12653cd95fdf936edc81ed7427c684fc4064854 /scripts/package
parentb28d6ca1c9cbb64b0c8e435c0ff34d8c5d52812c (diff)
kbuild: remove the last use of old cmd_src_tar rule in packaging
The rpm-pkg and deb-pkg targets have transitioned to using 'git archive' for tarball creation. Although the old cmd_src_tar is still used by snap-pkg, there is no need to pack and unpack a tarball solely for passing the source to snapcraft. Instead, you can use 'source-type: local' to tell the source location to snapcraft. Signed-off-by: Masahiro Yamada <masahiroy@kernel.org>
Diffstat (limited to 'scripts/package')
-rw-r--r--scripts/package/snapcraft.template2
1 files changed, 1 insertions, 1 deletions
diff --git a/scripts/package/snapcraft.template b/scripts/package/snapcraft.template
index 626d278e4a5a..85d5e07d1b40 100644
--- a/scripts/package/snapcraft.template
+++ b/scripts/package/snapcraft.template
@@ -10,5 +10,5 @@ parts:
kernel:
plugin: kernel
source: SRCTREE
- source-type: tar
+ source-type: local
kernel-with-firmware: false