-
-
Notifications
You must be signed in to change notification settings - Fork 2.9k
Open
Description
Problem
The post_family_tweaks__enable_aic8800_bluetooth_service() function in several board configuration files uses brace expansion with test -f, which causes the test command to fail because it receives multiple arguments instead of one.
Affected Files
config/boards/kickpik2b.cscconfig/boards/radxa-cubie-a5e.cscconfig/boards/radxa-zero3.csc
Current Problematic Code
if chroot_sdcard test -f {/lib/,/usr/lib/,/etc/}systemd/system/aic-bluetooth.service; thenSolution
Replace with explicit OR checks:
if chroot_sdcard test -f /lib/systemd/system/aic-bluetooth.service || \
chroot_sdcard test -f /usr/lib/systemd/system/aic-bluetooth.service || \
chroot_sdcard test -f /etc/systemd/system/aic-bluetooth.service; thenContext
This issue was identified during review of PR #8511 but deferred to a separate PR to keep changes focused.
References:
- PR: Radxa Zero 3: fix bluetooth, for edge & current, switch to u-boot master #8511
- Comment: Radxa Zero 3: fix bluetooth, for edge & current, switch to u-boot master #8511 (comment)
Requested by: @leggewie
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels