With changes to the fetcher, we now have what we need to download
kernel sources in a way that is forward thinking for sharing and
growth and EOL of components.  This will be achieved by "fetch-only"
recipes that only exist to populate chunks of this "library" of source.

We may wish to reconsider locating 99% of this elsewhere, if use cases
outside the kernel eventually arise.

Signed-off-by: Paul Gortmaker <[email protected]>
---
 meta/recipes-kernel/linux/fetch-only.inc | 20 ++++++++++++++++++++
 1 file changed, 20 insertions(+)
 create mode 100644 meta/recipes-kernel/linux/fetch-only.inc

diff --git a/meta/recipes-kernel/linux/fetch-only.inc 
b/meta/recipes-kernel/linux/fetch-only.inc
new file mode 100644
index 000000000000..3333eef50713
--- /dev/null
+++ b/meta/recipes-kernel/linux/fetch-only.inc
@@ -0,0 +1,20 @@
+# There's nothing to do here, except fetch
+
+do_unpack[noexec] = "1"
+do_patch[noexec] = "1"
+do_configure[noexec] = "1"
+do_compile[noexec] = "1"
+do_install[noexec] = "1"
+
+inherit nopackages allarch meta
+
+deltask do_deploy_source_date_epoch
+deltask do_prepare_recipe_sysroot
+deltask do_populate_sysroot
+deltask do_populate_lic
+deltask do_rm_work
+
+EXCLUDE_FROM_WORLD = "1"
+KORG_SERVER ?= "git.kernel.org"
+KORG_PATH ?= "/pub/scm/linux/kernel/git"
+KORG_URLBASE ?= "git://${KORG_SERVER}${KORG_PATH}"
-- 
2.25.1

-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group.
View/Reply Online (#9645): 
https://lists.yoctoproject.org/g/linux-yocto/message/9645
Mute This Topic: https://lists.yoctoproject.org/mt/81808173/21656
Group Owner: [email protected]
Unsubscribe: https://lists.yoctoproject.org/g/linux-yocto/unsub 
[[email protected]]
-=-=-=-=-=-=-=-=-=-=-=-

Reply via email to