diff options
Diffstat (limited to 'eclass/kernel-build.eclass')
-rw-r--r-- | eclass/kernel-build.eclass | 11 |
1 files changed, 3 insertions, 8 deletions
diff --git a/eclass/kernel-build.eclass b/eclass/kernel-build.eclass index 4a2af9845ad4..9d33aef92691 100644 --- a/eclass/kernel-build.eclass +++ b/eclass/kernel-build.eclass @@ -397,7 +397,7 @@ kernel-build_src_install() { fi dodir "${kernel_dir}/arch/${kern_arch}" - mv include scripts "${ED}${kernel_dir}/" || die + mv certs include scripts "${ED}${kernel_dir}/" || die mv "arch/${kern_arch}/include" \ "${ED}${kernel_dir}/arch/${kern_arch}/" || die # some arches need module.lds linker script to build external modules @@ -438,13 +438,8 @@ kernel-build_src_install() { local image=${ED}${kernel_dir}/${image_path} cp -p "build/${image_path}" "${image}" || die - # If a key was generated, copy it so external modules can be signed - local suffix - for suffix in pem x509; do - if [[ -f "build/certs/signing_key.${suffix}" ]]; then - cp -p "build/certs/signing_key.${suffix}" "${ED}${kernel_dir}/certs" || die - fi - done + # Copy built key/certificate files + cp -p build/certs/* "${ED}${kernel_dir}/certs/" || die # building modules fails with 'vmlinux has no symtab?' if stripped use ppc64 && dostrip -x "${kernel_dir}/${image_path}" |