Bug 1226453

Summary: Kernel 6.9.4 not being booted after update because of grub script failing with dash-sh
Product: [openSUSE] openSUSE Tumbleweed Reporter: nuts <rx2l5t+4zshakz4lenfc>
Component: BootloaderAssignee: Bootloader Maintainers <bootloader-maintainers>
Status: RESOLVED FIXED QA Contact: E-mail List <qa-bugs>
Severity: Normal    
Priority: P5 - None CC: mchang, tiwai
Version: Current   
Target Milestone: ---   
Hardware: x86-64   
OS: openSUSE Tumbleweed   
Whiteboard:
Found By: --- Services Priority:
Business Priority: Blocker: ---
Marketing QA Status: --- IT Deployment: ---

Description nuts 2024-06-18 00:21:01 UTC
When upgrading the kernel, after it installs and dracut finishes, the grub script outputs:

+ /usr/sbin/grub2-mkconfig -o /boot/grub2/grub.cfg
Generating grub configuration file ...
Found theme: /boot/grub2/themes/openSUSE/theme.txt
/etc/grub.d/10_linux: 154: Syntax error: "(" unexpected (expecting "}")
CA enrolled. Skip /etc/uefi/certs/1F673297.crt
warning: %post(kernel-default-6.9.4-1.1.x86_64) scriptlet failed, exit status 2

Line 154:
files=($(for bls in ${blsdir}/*.conf; do
Comment 1 Michael Chang 2024-07-08 11:59:38 UTC
Hi,

Thanks for reporting the issue. The submit request addressing this problem has been created, therefore setting the resolution to "Fixed."

https://build.opensuse.org/request/show/1186154