package/alsa-utils: Fix alsa-plugins compatibility
authorGleb Mazovetskiy <glex.spb@gmail.com>
Wed, 25 Aug 2021 15:16:59 +0000 (16:16 +0100)
committerArnout Vandecappelle (Essensium/Mind) <arnout@mind.be>
Wed, 25 Aug 2021 20:12:26 +0000 (22:12 +0200)
commit3454bc99242a1a0069ccdb61d9598dc2fe6a9aa5
tree341d85cbf8f8c512a0c0de90e6c46cab68c8610a
parent5eace9d35c4a671c1ac175ab1240d2403e3d7290
package/alsa-utils: Fix alsa-plugins compatibility

Previously, alsa-plugins would not work if alsa-utils was installed
after it. This happened because:

1. alsa-plugins copies some files $(TARGET_DIR)/usr/share/alsa/alsa.conf.d
2. alsa-utils removes these files during installation ( rm -rf $(TARGET_DIR)/usr/share/alsa/;)

The `rm -rf` command was originally added as part of the fix for
https://bugs.buildroot.org/show_bug.cgi?id=1573 11 years ago.

The intention might have been to allow for unconfiguring some options
and then rebuilding alsa-utils. However, this is a scenario that does
not work anyway.

The simplest fix for the `alsa-plugins` compatibility issue appears to
be to remove the `rm -rf` command.

Signed-off-by: Gleb Mazovetskiy <glex.spb@gmail.com>
Signed-off-by: Arnout Vandecappelle (Essensium/Mind) <arnout@mind.be>
package/alsa-utils/alsa-utils.mk