FS#51435 - [grub] bashism in 0002-intel-ucode.patch

Attached to Project: Arch Linux
Opened by silverwyrda (SilverWyrda) - Tuesday, 18 October 2016, 20:11 GMT
Last edited by Christian Hesse (eworm) - Thursday, 20 October 2016, 10:03 GMT
Task Type Bug Report
Category Packages: Core
Status Closed
Assigned To Ronald van Haren (pressh)
Christian Hesse (eworm)
Architecture All
Severity Low
Priority Normal
Reported Version
Due in Version Undecided
Due Date Undecided
Percent Complete 100%
Votes 0
Private No

Details

Description:
0002-intel-ucode.patch contains the following bashism:

`initrd_extra+=" ${i}"`

which should be replaced with the POSIX compliant equivalent:

`initrd_extra="${initrd_extra} ${i}"`

Additional info:
* grub 1:2.02.beta3-3
* intel-ucode.img available

Steps to reproduce:
* install the `intel-ucode` package
* set `dash` or another strict POSIX shell as default
* run `grub-mkconfig -o /boot/grub/grub.cfg`

The following error appears: "/etc/grub.d/10_linux: 213: /etc/grub.d/10_linux: initrd_extra+= intel-ucode.img: not found"
This task depends upon

Closed by  Christian Hesse (eworm)
Thursday, 20 October 2016, 10:03 GMT
Reason for closing:  Fixed
Additional comments about closing:  grub 1:2.02.beta3-4 in [testing]

Loading...