]> git.ipfire.org Git - thirdparty/openembedded/openembedded-core-contrib.git/commit
kernel: Use hardlinks for do_populate_sysroot for speed
authorRichard Purdie <richard.purdie@linuxfoundation.org>
Fri, 8 Nov 2013 15:18:00 +0000 (15:18 +0000)
committerRichard Purdie <richard.purdie@linuxfoundation.org>
Tue, 12 Nov 2013 10:34:09 +0000 (10:34 +0000)
commitdf564c4ea851d95833745f5766f51259a600defe
tree3f670d59ff133814030bbc5b4e61506e7cf41d14
parentdb5d1274c5f9c00dafc36bfef775a1f4c449b005
kernel: Use hardlinks for do_populate_sysroot for speed

The kernel tree is large and doesn't need to be copied. Override
the default sysroot handling function to use a hardlink copying
function in python.

This commit also drops the copying of the /lib directory which
just contains the kernel modules. We never use those in the sysroot
so there is little point in carrying those around.

For linux-yocto this takes the do_populate_sysroot time 24s -> 14s.

(From OE-Core rev: 13259459e200a237ca486cbe1123a0b0a4d1eebf)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
meta/classes/kernel.bbclass