Skip to content
  • Dermot Bradley's avatar
    main/grub: prevent duplicated menu entries · 6ae9f87d
    Dermot Bradley authored and alice's avatar alice committed
    If a /etc/grub.d/ template file is locally customised/modified then
    if the Grub package is later updated the stock version of that file
    will be placed in /etc/grub.d/ with a .apk-new suffix. Whenever
    grub-mkconfig is next triggered (e.g. after kernel package update)
    it will make use of both the modified file and the stock file so
    resulting in the creation of duplicate menu entries.
    
    This patch prevents that by ignoring any *.apk-new files in the
    template directory.
    6ae9f87d