FS#73903 - [grub] sbat.csv has duplicate content

Attached to Project: Arch Linux
Opened by nl6720 (nl6720) - Sunday, 20 February 2022, 15:13 GMT
Last edited by Christian Hesse (eworm) - Monday, 21 February 2022, 17:44 GMT
Task Type Bug Report
Category Packages: Core
Status Closed
Assigned To Christian Hesse (eworm)
Architecture All
Severity Low
Priority Normal
Reported Version
Due in Version Undecided
Due Date Undecided
Percent Complete 100%
Votes 1
Private No

Details

Description:
/usr/share/grub/sbat.csv is created in _package_grub-efi using >> to append lines to the file, but the package function runs it twice (for both x64 and IA32). That results in there being twice more lines than necessary.


Additional info:
* package version(s)
* config and/or log files etc.
* link to upstream bug report, if any
grub 2:2.06-4


Steps to reproduce:
$ cat /usr/share/grub/sbat.csv
This task depends upon

Closed by  Christian Hesse (eworm)
Monday, 21 February 2022, 17:44 GMT
Reason for closing:  Fixed
Additional comments about closing:  in svn
Comment by Christian Hesse (eworm) - Monday, 21 February 2022, 15:59 GMT
Ah, right... About to fix it.
Is there any actual issue with this? If no I would just commit the fix to svn without a rebuild.
Comment by nl6720 (nl6720) - Monday, 21 February 2022, 16:01 GMT
No idea, sorry.
I use neither GRUB nor Secure Boot.

Loading...