]> code.ossystems Code Review - openembedded-core.git/commit
kernel.bbclass: Correct post(inst|rm) package association
authorDarren Hart <dvhart@linux.intel.com>
Fri, 9 Aug 2013 17:58:42 +0000 (10:58 -0700)
committerPaul Eggleton <paul.eggleton@linux.intel.com>
Thu, 10 Oct 2013 11:21:01 +0000 (12:21 +0100)
commitd5478e188561c2fee788ee326e3f7cdea7cf5a24
treec81831083216fe9d7cf6e94c898ba754739ca0f4
parent8a00a57870bf71a34b901c4a3aa08094f548e8f1
kernel.bbclass: Correct post(inst|rm) package association

Fixes [YOCTO #4991]

The kernel image is installed as part of the kernel-image package, but
the symlink creation/removal via alternatives is being done in
pkg_post(inst|rm)_kernel-base.

Move the postinst alternatives logic into the kernel-image functions.

(From OE-Core rev: 35f538b117e3387354d2dab1f22c3de28ab1322b)

Signed-off-by: Darren Hart <dvhart@linux.intel.com>
Signed-off-by: Saul Wold <sgw@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
meta/classes/kernel.bbclass