Do not change the MODULES to 'dep' to avoid the following failure
during the progress to generate the initramfs, which is triggerred
by upgrading the kernel.
>update-initramfs: Generating /boot/initrd.img-6.12.0-1-amd64
>W: Possible missing firmware /lib/firmware/aic94xx-seq.fw for built-in driver aic94xx
>/etc/kernel/postinst.d/kdump-tools:
>kdump-tools: Generating /var/lib/kdump/initrd.img-6.12.0-1-amd64
>mkinitramfs: failed to determine device for /
>mkinitramfs: workaround is MODULES=most, check:
>grep -r MODULES /var/lib/kdump/initramfs-toolsError please report bug on initramfs-tools
TestPlan:
PASS: build-pkgs -c -p kdump-tools
PASS: sudo ostree admin unlock --hotfix(on AIO lab)
PASS: apt install kdump-tools deb package
PASS: Manually modify the apt_ostree util to bind mount /sys
PASS: software upload designer.patch (including kernel updates)
PASS: software show designer --packages
PASS: software deploy precheck designer
PASS: software deploy start designer
PASS: softwaare deploy show(to wait deploy-start-done)
PASS: system host-lock controller-0
PASS: software deploy host controller-0
The error is gone during the kernel being upgraded.
Story: 2010867
Task: 52236
Change-Id: I3fc33c8abaa97291099725aa788d8a2319fd762d
Signed-off-by: Zhixiong Chi <zhixiong.chi@windriver.com>