Comment 28 for bug 1918427

Revision history for this message
Date Huang (tjjh89017) wrote :

> In my POC patch, it is because we need to divert flash-kernel before
> it is installed, *just in case* it gets installed as a dependency of
> some other package (in our case it happened due to a kernel Recommends
> relationship). We therefore can't use `which` to look up the path...
> unless we continue to always install f-k in the ephemeral for the sole
> purpose of looking up its path... but that seems to making assumptions
> as well - i.e. that the ephemeral OS has the same paths as the target
> OS.

Hi Dann
Maybe we can test my patch in #24

Or we can try to install_kernel with --no-recommends to avoid installing flash-kernel
and move install_missing_packages after install_kernel and enable_update_initramfs?

Thanks
Date