Skip to content
  • Hans van Kranenburg's avatar
    c2113190
    d/.../grub.d/xen.cfg: Redirect output when running grub-mkconfig · c2113190
    Hans van Kranenburg authored
    John E. Krokes noticed that the grub configuration fragment that we ship
    outputs text to stdout, which means it will end up being part of the
    generated grub configuration. This is wrong, and leads to error messages
    during boot like "error: can't find command `Including'."...
    
    Instead, output informational messages about progress to stderr (exactly
    like what happens with other messages such as "Generating grub
    configuration file ..." or "Found linux image: /boot/vmlinuz-[...]").
    
    For the more prominent message about changing GRUB_DEFAULT as a side
    effect, use the grub_warn helper instead.
    
    (Closes: #1016547)
    c2113190
    d/.../grub.d/xen.cfg: Redirect output when running grub-mkconfig
    Hans van Kranenburg authored
    John E. Krokes noticed that the grub configuration fragment that we ship
    outputs text to stdout, which means it will end up being part of the
    generated grub configuration. This is wrong, and leads to error messages
    during boot like "error: can't find command `Including'."...
    
    Instead, output informational messages about progress to stderr (exactly
    like what happens with other messages such as "Generating grub
    configuration file ..." or "Found linux image: /boot/vmlinuz-[...]").
    
    For the more prominent message about changing GRUB_DEFAULT as a side
    effect, use the grub_warn helper instead.
    
    (Closes: #1016547)
Loading