[Buildroot] [Bug 14471] New: alsa_utils wrong deployment
bugzilla at busybox.net
bugzilla at busybox.net
Tue Dec 21 20:20:48 UTC 2021
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: unassigned at buildroot.uclibc.org
Reporter: htenberge at gmail.com
CC: buildroot at uclibc.org
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:
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
--
You are receiving this mail because:
You are on the CC list for the bug.
More information about the buildroot
mailing list