diff options
author | Matt Madison <matt@madison.systems> | 2020-07-05 06:44:32 -0700 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2020-07-08 10:37:12 +0100 |
commit | 5e8f88570be5966d2e26d9662ba53d58f7c4e3f9 (patch) | |
tree | a4c3ed294bf983d8325bc61977b25954db08c08e /meta/classes/kernel.bbclass | |
parent | 7dbc62a672909adce316bb4a8772be0ee9b480fe (diff) | |
download | poky-5e8f88570be5966d2e26d9662ba53d58f7c4e3f9.tar.gz |
kernel.bbclass: add gzip-native to do_deploy dependencies
When a modules tarball is created during kernel_do_deploy,
the tarball is compressed using gzip, but gzip-native is not
a dependency so the build host's gzip is being used for this.
Using gzip-native will, by default, use pigz instead of
single-threaded gzip, making this task less of a bottleneck
for builds with a large modules package.
(From OE-Core rev: 1243aad78601e9a5c0a3471c8a105c429536599d)
Signed-off-by: Matt Madison <matt@madison.systems>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta/classes/kernel.bbclass')
-rw-r--r-- | meta/classes/kernel.bbclass | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/meta/classes/kernel.bbclass b/meta/classes/kernel.bbclass index c834aad033..46479e245c 100644 --- a/meta/classes/kernel.bbclass +++ b/meta/classes/kernel.bbclass | |||
@@ -8,7 +8,7 @@ DEPENDS += "virtual/${TARGET_PREFIX}binutils virtual/${TARGET_PREFIX}gcc kmod-na | |||
8 | DEPENDS += "${@bb.utils.contains("INITRAMFS_FSTYPES", "cpio.lz4", "lz4-native", "", d)}" | 8 | DEPENDS += "${@bb.utils.contains("INITRAMFS_FSTYPES", "cpio.lz4", "lz4-native", "", d)}" |
9 | PACKAGE_WRITE_DEPS += "depmodwrapper-cross" | 9 | PACKAGE_WRITE_DEPS += "depmodwrapper-cross" |
10 | 10 | ||
11 | do_deploy[depends] += "depmodwrapper-cross:do_populate_sysroot" | 11 | do_deploy[depends] += "depmodwrapper-cross:do_populate_sysroot gzip-native:do_populate_sysroot" |
12 | do_clean[depends] += "make-mod-scripts:do_clean" | 12 | do_clean[depends] += "make-mod-scripts:do_clean" |
13 | 13 | ||
14 | CVE_PRODUCT ?= "linux_kernel" | 14 | CVE_PRODUCT ?= "linux_kernel" |