]> git.ipfire.org Git - thirdparty/openembedded/openembedded-core-contrib.git/commit
kernel: Fix symlinks
authorDavid Vincent <freesilicon@gmail.com>
Tue, 20 Dec 2016 09:53:29 +0000 (10:53 +0100)
committerRichard Purdie <richard.purdie@linuxfoundation.org>
Thu, 22 Dec 2016 08:50:17 +0000 (08:50 +0000)
commitde807c78203aa6714987261f4d18e16de926dbcb
tree14c1a355a347754e34bce9486b1f141b7098c9c7
parent01fe67b1b367bb1d2936a0810f1249a76adf305f
kernel: Fix symlinks

When installing a kernel package, the symlinks created by
update-alternatives should point to a path relative to KERNEL_IMAGEDEST
and not an absolute path to '/boot'.

Failing to do so causes problems when resolving the symlink inside some
bootloaders which mount the boot partition elsewhere.

(From OE-Core rev: c7bc46b9bc29dd0953ab8d63b50fa105bb66892e)

Signed-off-by: David Vincent <freesilicon@gmail.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
meta/classes/kernel.bbclass
meta/recipes-kernel/linux/linux-dtb.inc