*** This bug is a duplicate of bug 1878705 ***
    https://bugs.launchpad.net/bugs/1878705

Patch does not work as expected.
            
Before the loop
            initrd_path=""             <-- Needs to be cleared before the loop.
            for i in ${initrd}; do
              initrd_path="${initrd_path} ${rel_dirname}/${i}"
            done

If this is not done it will append the same data over and over to this variable 
creating duplicates for subsequent boot-entries..
 
Ie
                initrd   /acpi_override /initrd.img-5.8.0 /acpi_override 
/initrd.img-5.8.0 /acpi_override /initrd.img-5.8.0 /acpi_override 
/initrd.img-5.8.0-rc7 /acpi_override /initrd.img-5.8.0-rc7 /acpi_override 
/initrd.img-5.4.0-42-generic /acpi_override /initrd.img-5.4.0-42-generic

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1891131

Title:
  Invalid config generated when using GRUB_EARLY_INITRD_LINUX_CUSTOM

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/grub2/+bug/1891131/+subscriptions

-- 
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to