diff options
Diffstat (limited to 'scripts')
-rw-r--r-- | scripts/lib/wic/plugins/source/bootimg-efi.py | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/scripts/lib/wic/plugins/source/bootimg-efi.py b/scripts/lib/wic/plugins/source/bootimg-efi.py index 4f30926f1a..13a9cddf4e 100644 --- a/scripts/lib/wic/plugins/source/bootimg-efi.py +++ b/scripts/lib/wic/plugins/source/bootimg-efi.py | |||
@@ -400,9 +400,10 @@ class BootimgEFIPlugin(SourcePlugin): | |||
400 | 400 | ||
401 | exec_native_cmd(objcopy_cmd, native_sysroot) | 401 | exec_native_cmd(objcopy_cmd, native_sysroot) |
402 | else: | 402 | else: |
403 | install_cmd = "install -m 0644 %s/%s %s/%s" % \ | 403 | if source_params.get('install-kernel-into-boot-dir') != 'false': |
404 | (staging_kernel_dir, kernel, hdddir, kernel) | 404 | install_cmd = "install -m 0644 %s/%s %s/%s" % \ |
405 | exec_cmd(install_cmd) | 405 | (staging_kernel_dir, kernel, hdddir, kernel) |
406 | exec_cmd(install_cmd) | ||
406 | 407 | ||
407 | if get_bitbake_var("IMAGE_EFI_BOOT_FILES"): | 408 | if get_bitbake_var("IMAGE_EFI_BOOT_FILES"): |
408 | for src_path, dst_path in cls.install_task: | 409 | for src_path, dst_path in cls.install_task: |