Please read this before reporting a bug:
https://wiki.archlinux.org/title/Bug_reporting_guidelines
Do NOT report bugs when a package is just outdated, or it is in the AUR. Use the 'flag out of date' link on the package page, or the Mailing List.
REPEAT: Do NOT report bugs for outdated packages!
https://wiki.archlinux.org/title/Bug_reporting_guidelines
Do NOT report bugs when a package is just outdated, or it is in the AUR. Use the 'flag out of date' link on the package page, or the Mailing List.
REPEAT: Do NOT report bugs for outdated packages!
FS#26119 - [mkinitcpio] ash: closing paren expected
Attached to Project:
Arch Linux
Opened by Mantas Mikulėnas (grawity) - Monday, 26 September 2011, 13:29 GMT
Last edited by Dave Reisner (falconindy) - Wednesday, 05 October 2011, 00:13 GMT
Opened by Mantas Mikulėnas (grawity) - Monday, 26 September 2011, 13:29 GMT
Last edited by Dave Reisner (falconindy) - Wednesday, 05 October 2011, 00:13 GMT
|
DetailsVery early during boot, the following line appears:
ash: closing paren expected This is before *anything* else, even before the "Starting udev" message. The system boots normally otherwise. This might be caused by my kernel command line, which is: BOOT_IMAGE=(hd0,gpt2)/vmlinuz-linux root=/dev/disk/by-label/rainroot ro init=/bin/systemd irqpoll pcie_aspm=force The "BOOT_IMAGE=(hd0,gpt2)/vmlinuz-linux" part is added automatically by the grub2 bootloader. initscripts 2011.07.3-1 mkinitcpio 0.7.2-1 |
This task depends upon
Closed by Dave Reisner (falconindy)
Wednesday, 05 October 2011, 00:13 GMT
Reason for closing: Fixed
Additional comments about closing: mkinitcpio 0.7.3
Wednesday, 05 October 2011, 00:13 GMT
Reason for closing: Fixed
Additional comments about closing: mkinitcpio 0.7.3
+ [ ( = " ]
ash: closing paren expected
$ w='(hd0,gpt2)/vmlinuz-linux'
$ rhs="$(echo "${w}" | cut -d= -f2-)"
$ [ "\"" = "${rhs:0:1}" ]
$ echo $?
1
Still, this shows that errors in parse_cmdline are no longer fatal, which is a win.
[ "x${rhs:0:1}" = "x\"" ]
This prevents the parser from doing stupid things.
https://github.com/falconindy/mkinitcpio/commit/8aabf1bd