ACK: [linux-base][IHGFB] use linux-update-symlinks in xx-update-initrd-links

Krzysztof Kozlowski krzysztof.kozlowski at canonical.com
Fri May 28 13:13:34 UTC 2021


On 28/05/2021 06:42, Dimitri John Ledkov wrote:
> Currently there is inconsistency between the commands that
> linux-image.deb package installation calls, and what installkernel script calls.
> 
> In linux-image postinst linux-update-symlinks is called; whereas
> installkernel script does not call it.
> 
> Rewrite xx-update-initrd-links from custom implementation, to a call
> to linux-update-symlinks but only when installkernel script calls the
> postinst.d run-parts. This way installkernel does exactly what
> linux-image.deb installation would do, including honoring settings in
> /etc/kernel-img.conf that installers have been providing in older
> series.
> 
> Drop duplicated calls to initramfs-tools, multiple postinst.d must not
> call update-initramfs. postinst.d snippted to do that already is
> called and shipped by the initramfs-tools package.
> 


Acked-by: Krzysztof Kozlowski <krzysztof.kozlowski at canonical.com>


Best regards,
Krzysztof



More information about the kernel-team mailing list