| Summary: | alsa_utils wrong deployment | ||
|---|---|---|---|
| Product: | buildroot | Reporter: | htenberge |
| Component: | Other | Assignee: | unassigned |
| Status: | RESOLVED FIXED | ||
| Severity: | normal | CC: | buildroot |
| Priority: | P5 | ||
| Version: | 2021.11 | ||
| Target Milestone: | --- | ||
| Hardware: | All | ||
| OS: | Linux | ||
| Host: | Target: | ||
| Build: | |||
This seems to be already fixed in master by https://git.buildroot.net/buildroot/commit/?id=6c71b52235d88cd8d38b4fd02c87f791aaa8eff3 As this is fixed in master I'll close this one. |
When the alsa_utils package is deployed, it deploys the /usr/share/alsa one level too deep. Instead of having a /usr/share/alsa with several files and subdirectories, some parts are being deployed in /usr/share/alsa/alsa. I'm not entirely what the right way is to fix this, but this simple hack fixed it: diff --git a/package/alsa-utils/alsa-utils.mk b/package/alsa-utils/alsa-utils.mk index 427280c1e6..da00f07d52 100644 --- a/package/alsa-utils/alsa-utils.mk +++ b/package/alsa-utils/alsa-utils.mk @@ -76,8 +76,8 @@ define ALSA_UTILS_INSTALL_TARGET_CMDS cp -rdpf $(STAGING_DIR)/usr/share/sounds/alsa/* $(TARGET_DIR)/usr/share/sounds/alsa/; \ fi if [ -x "$(TARGET_DIR)/usr/sbin/alsactl" ]; then \ - mkdir -p $(TARGET_DIR)/usr/share/; \ - cp -rdpf $(STAGING_DIR)/usr/share/alsa/ $(TARGET_DIR)/usr/share/alsa/; \ + mkdir -p $(TARGET_DIR)/usr/share/alsa; \ + cp -rdpf $(STAGING_DIR)/usr/share/alsa/* $(TARGET_DIR)/usr/share/alsa/; \ fi endef