#1061433 grub-common: duplicate "single" in /etc/grub.d/10_linux

Package:
grub-common
Source:
grub-common
Description:
GRand Unified Bootloader (common files)
Submitter:
Vincent Lefevre
Date:
2024-01-24 11:48:04 UTC
Severity:
normal
#1061433#5
Date:
2024-01-24 11:44:55 UTC
From:
To:
In the generated /boot/grub/grub.cfg file:

  linux   /boot/vmlinuz-6.6.11-amd64 root=... ro single single dis_ucode_ldr

There is a duplicate "single".

/etc/grub.d/10_linux has

: ${GRUB_CMDLINE_LINUX_RECOVERY:=single}
[...]
if [ -x /lib/recovery-mode/recovery-menu ]; then
    GRUB_CMDLINE_LINUX_RECOVERY="${GRUB_CMDLINE_LINUX_RECOVERY} recovery"
else
    GRUB_CMDLINE_LINUX_RECOVERY="${GRUB_CMDLINE_LINUX_RECOVERY} single"
fi

So one may get "single" twice.