package/alsa-utils: fix install rule for alsactl
PATCH 1/1 package/alsa-utils: fix install rule for alsactl
The copy command for /usr/share/alsa missing an asterisk cause it to copy to /usr/share/alsa/alsa instead of /usr/share/alsa where it should be.
--- package/alsa-utils/alsa-utils.mk | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
package/alsa-utils/alsa-utils.mk +1 -1
@@ -77,7 +77,7 @@ define ALSA_UTILS_INSTALL_TARGET_CMDS 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/; \ + cp -rdpf $(STAGING_DIR)/usr/share/alsa/* $(TARGET_DIR)/usr/share/alsa/; \ fi endef
Signature · 6 lines
2.34.1 _______________________________________________ buildroot mailing list [email protected] https://lists.buildroot.org/mailman/listinfo/buildroot
Arnout Vandecappelle
AppliedQuoted 13 lines · Khoa Hoang
The copy command for
/usr/share/alsamissing an asterisk cause it to copy to/usr/share/alsa/alsainstead of/usr/share/alsawhere it should be.Signed-off-by Khoa Hoang <[email protected]>--- package/alsa-utils/alsa-utils.mk | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)package/alsa-utils/alsa-utils.mk +0
-0
package/alsa-utils/alsa-utils.mk define ALSA_UTILS_INSTALL_TARGET_CMDS · line 80
Quoted 5 lines
package/alsa-utils/alsa-utils.mk +1
-1@@ -77,7 +77,7 @@ define ALSA_UTILS_INSTALL_TARGET_CMDS 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/; \ + cp -rdpf $(STAGING_DIR)/usr/share/alsa/* $(TARGET_DIR)/usr/share/alsa/; \
I was going to suggest to use -t instead. However, this pattern is already
used for two other copies above, so I guess it's OK.
Applied to master, thanks.
Regards,
Arnout
package/alsa-utils/alsa-utils.mk define ALSA_UTILS_INSTALL_TARGET_CMDS · line 83
Quoted 4 lines
package/alsa-utils/alsa-utils.mk +0
-0fi endef
_______________________________________________
buildroot mailing list
[email protected]
https://lists.buildroot.org/mailman/listinfo/buildroot
Quoted 6 lines
Quoted 1 line
Quoted 1 line
Quoted 1 line
Quoted 1 line
"Khoa" == Khoa Hoang <[email protected]> writes:
The copy command for
/usr/share/alsamissing an asterisk cause it to copy to/usr/share/alsa/alsainstead of/usr/share/alsawhere it should be.Signed-off-by Khoa Hoang <[email protected]>
Committed to 2021.02.x and 2021.11.x, thanks.
Signature · 5 lines
Bye, Peter Korsgaard _______________________________________________ buildroot mailing list [email protected] https://lists.buildroot.org/mailman/listinfo/buildroot