Skip to content

kernel: provide scripts in the sysroot

Bruce Ashfield openembedded-core 1 version In review

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest1 patch 10 repliesIn review

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/1kernel: restore scripts in the sysrootmeta/classes/kernel.bbclass+8 -010 replies

Reviews trailers per patch

No Reviewed-by, Acked-by or Tested-by trailers for v1 yet.

Read the v1 thread

Cover letter [PATCH 0/1] kernel: provide scripts in the sysroot

Richard/Saul,

Khem noticed that he was seeing frequent "modpost missing" messages in his logs for out of tree builds. This is due to the missing kernel scripts, which we remove for packaging reasons.

Rather than jiggle the kernel install rule itself, experience shows that just heading to the sysroot and re-creating the scripts is easy enough to do.

[PATCH 1/1] kernel: restore scripts in the sysroot

When building against the sysroot, out of tree modules can require modpost and other utilities normally found in the kernel's scripts directory. For the kernel source in the staging dir, these scripts have been removed to avoid mixing archiectures when packaging kernel-dev (among other things).

Rather than further complicate the kernel's install rule, or its packaging, we can jump into the sysroot and restore the scripts by building them, hence making them available to packages that need them.

Khem confirmed that the same fix worked for him.

cc Khem Raj <[email protected]>

Cheers,

Bruce

The following changes since commit e7a20238dc73bb449f15feaf0dead51daf796184:

maintainers: Add some maintainers (2013-10-03 10:22:30 +0100)

are available in the git repository at:

git://git.pokylinux.org/poky-contrib zedd/kernel-oe
http://git.pokylinux.org/cgit.cgi/poky-contrib/log/?h=zedd/kernel-oe

Bruce Ashfield (1):
kernel: restore scripts in the sysroot

 meta/classes/kernel.bbclass | 8 ++++++++
 1 file changed, 8 insertions(+)
Signature · 1 line
1.8.1.2