Skip to contentSkip to conversation

New: alsa_utils wrong deployment

Buildroot [email protected] 1 participant 3 messages Dec 21, 2021 – Dec 25, 2021

lore
Share & tools
lore
#0 lore raw

https://bugs.busybox.net/show_bug.cgi?id=14471

            Bug ID: 14471
           Summary: alsa_utils wrong deployment
           Product: buildroot
           Version: 2021.11
          Hardware: All
                OS: Linux
            Status: NEW
          Severity: normal
          Priority: P5
         Component: Other
          Assignee: [email protected]
          Reporter: [email protected]
                CC: [email protected]

Target Milestone: ---

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:

(quoted diff) +0 -0

b/package/alsa-utils/alsa-utils.mk
index 427280c1e6..da00f07d52 100644

package/alsa-utils/alsa-utils.mk +0 -0
@@ -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

Signature · 6 lines
You are receiving this mail because:
You are on the CC list for the bug.
_______________________________________________
buildroot mailing list
[email protected]
https://lists.buildroot.org/mailman/listinfo/buildroot
#1 lore raw

[Buildroot] [Bug 14471] alsa_utils wrong deployment

https://bugs.busybox.net/show_bug.cgi?id=14471

--- Comment #1 from Fabrice Fontaine <[email protected]> --- This seems to be already fixed in master by
https://git.buildroot.net/buildroot/commit/?id=6c71b52235d88cd8d38b4fd02c87f791aaa8eff3

Signature · 6 lines
You are receiving this mail because:
You are on the CC list for the bug.
_______________________________________________
buildroot mailing list
[email protected]
https://lists.buildroot.org/mailman/listinfo/buildroot
#2 lore raw

[Buildroot] [Bug 14471] alsa_utils wrong deployment

In reply to [email protected]

https://bugs.busybox.net/show_bug.cgi?id=14471

[email protected] changed:

What |Removed |Added
----------------------------------------------------------------------------

         Resolution|---                         |FIXED
             Status|NEW                         |RESOLVED

--- Comment #2 from [email protected] ---
As this is fixed in master I'll close this one.

Signature · 6 lines
You are receiving this mail because:
You are on the CC list for the bug.
_______________________________________________
buildroot mailing list
[email protected]
https://lists.buildroot.org/mailman/listinfo/buildroot