don't package /boot/syslinux/syslinux.cfg

Task Info (Flyspray)
Opened By nl6720 (nl6720)
Task ID 61060
Type General Gripe
Project Arch Linux
Category Packages: Testing
Version None
OS All
Opened 2018-12-13 13:56:04 UTC
Status Assigned
Assignee Tobias Powalowski (tpowa)
Assignee Anatol Pomozov (anatolik)

Details

Description: If someone installs the syslinux package, it doesn't mean that they're going to use syslinux as the system's boot loader. For example, when using only pxelinux the configuration file and directory in /boot/ is entirely useless. I suggest moving syslinux.cfg to e.g. /usr/share/syslinux/syslinux.cfg and copying it to /boot/syslinux/ only when syslinux-install_update is run.

See FS#57949 for a similar bug report for GRUB.

Attached is an untested patch for the syslinux package.

Additional info:

  • package version(s)
  • config and/or log files etc. syslinux 6.04.alpha-1

Steps to reproduce: pacman -Ql syslinux

Attachments

syslinux.patch