mirror of
https://git.yoctoproject.org/poky
synced 2026-07-16 03:47:03 +00:00
wic/plugins: kernel image refer to KERNEL_IMAGETYPE
replaced hardcoded kernel image with KERNEL_IMAGETYPE. set kernel image to "bzImage" incase KERNEL_IMAGETYPE not set. (From OE-Core rev: 88a9fef761c5e67b2964fedc85a7e8ad37067564) Signed-off-by: Chee Yang Lee <chee.yang.lee@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This commit is contained in:
committed by
Richard Purdie
parent
ef8080c804
commit
97feebdf99
@@ -149,8 +149,12 @@ class BootimgPcbiosPlugin(SourcePlugin):
|
||||
|
||||
hdddir = "%s/hdd/boot" % cr_workdir
|
||||
|
||||
cmds = ("install -m 0644 %s/bzImage %s/vmlinuz" %
|
||||
(staging_kernel_dir, hdddir),
|
||||
kernel = get_bitbake_var("KERNEL_IMAGETYPE")
|
||||
if not kernel:
|
||||
kernel = "bzImage"
|
||||
|
||||
cmds = ("install -m 0644 %s/%s %s/vmlinuz" %
|
||||
(staging_kernel_dir, kernel, hdddir),
|
||||
"install -m 444 %s/syslinux/ldlinux.sys %s/ldlinux.sys" %
|
||||
(bootimg_dir, hdddir),
|
||||
"install -m 0644 %s/syslinux/vesamenu.c32 %s/vesamenu.c32" %
|
||||
|
||||
Reference in New Issue
Block a user