kernel.bbclass: Do not chdir to /boot before running update-alternatives
authorHolger Hans Peter Freyther <holger@moiji-mobile.com>
Fri, 12 Oct 2012 18:01:16 +0000 (20:01 +0200)
committerRichard Purdie <richard.purdie@linuxfoundation.org>
Mon, 22 Oct 2012 13:59:30 +0000 (14:59 +0100)
commit3a9b5516963adfb1071abee94b2a72e5cb033d99
tree4765f23e14038921921aadba70c4d3fca5b3ce13
parentc8305112086191e3f04b74e5a3d035785aaff5c4
kernel.bbclass: Do not chdir to /boot before running update-alternatives

The symlink from uImage-3... to uImage is not created at image creation
time and not properly update on kernel upgrades. This is fixed by removing
the chdir. The other users of update-alternative do not change the directory
before calling it.

(From OE-Core rev: c77ca9ee901468c93570b5264b226f7d17a41c16)

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