Skip to content
Snippets Groups Projects
Commit 3e1c87b3 authored by Zygmunt Krynicki's avatar Zygmunt Krynicki Committed by Andrei Gherzan
Browse files

oniro-image-common: depend on kernel-image

The rootfs already contains kernel modules so updating the image without
updating the kernel would cause a skew that would most likely prevent
the system from working.

On some platforms the kernel must be in a special area, as the
bootloader is more limited or closed, and the update process needs to
copy it to make progress.

On other platforms, we can use a more capable bootloader to load the
kernel from the rootfs directly. For all such platforms we want to add
the kernel-image package to the base oniro dependencies.

The kernel-image package is somewhat suboptimal, as ideally we would put
the kernel image into the root directory, making the /boot directory an
empty mount point for the boot partition.

Since doing this exceeds my skills and patience, the second best thing
will do.

Closes: https://booting.oniroproject.org/distro/oniro/-/issues/240



Signed-off-by: default avatarZygmunt Krynicki <zygmunt.krynicki@huawei.com>
parent 291d8d11
No related branches found
No related tags found
No related merge requests found
...@@ -11,6 +11,7 @@ IMAGE_INSTALL:append = "\ ...@@ -11,6 +11,7 @@ IMAGE_INSTALL:append = "\
packagegroup-net-essentials \ packagegroup-net-essentials \
packagegroup-ble-essentials \ packagegroup-ble-essentials \
sysota \ sysota \
kernel-image \
" "
IMAGE_INSTALL:append = " ${@bb.utils.contains('MACHINE_FEATURES', 'optee', 'optee-client', '', d)} " IMAGE_INSTALL:append = " ${@bb.utils.contains('MACHINE_FEATURES', 'optee', 'optee-client', '', d)} "
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment