* [Buildroot] [Bug 14471] New: alsa_utils wrong deployment
@ 2021-12-21 20:20 bugzilla
2021-12-22 14:15 ` [Buildroot] [Bug 14471] " bugzilla
2021-12-25 13:38 ` bugzilla
0 siblings, 2 replies; 3+ messages in thread
From: bugzilla @ 2021-12-21 20:20 UTC (permalink / raw)
To: buildroot
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@buildroot.uclibc.org
Reporter: htenberge@gmail.com
CC: buildroot@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.
_______________________________________________
buildroot mailing list
buildroot@buildroot.org
https://lists.buildroot.org/mailman/listinfo/buildroot
^ permalink raw reply related [flat|nested] 3+ messages in thread
end of thread, other threads:[~2021-12-25 13:38 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2021-12-21 20:20 [Buildroot] [Bug 14471] New: alsa_utils wrong deployment bugzilla
2021-12-22 14:15 ` [Buildroot] [Bug 14471] " bugzilla
2021-12-25 13:38 ` bugzilla
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox