Skip to content
  • Zygmunt Krynicki's avatar
    3e1c87b3
    oniro-image-common: depend on kernel-image · 3e1c87b3
    Zygmunt Krynicki authored and Andrei Gherzan's avatar Andrei Gherzan committed
    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>
    3e1c87b3
    oniro-image-common: depend on kernel-image
    Zygmunt Krynicki authored and Andrei Gherzan's avatar Andrei Gherzan committed
    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>
Loading