[Buildroot] [PATCH v2] alsa-utils: install systemd sevice files
thomas.petazzoni at bootlin.com
Thu Nov 1 13:51:15 UTC 2018
On Tue, 30 Oct 2018 23:41:39 +0100, Peter Seiderer wrote:
> Signed-off-by: Peter Seiderer <ps.report at gmx.net>
> Changes v1 -> v2:
> - fix symlinks (reported by Тимур Прокопенко)
> package/alsa-utils/alsa-utils.mk | 14 ++++++++++++++
> 1 file changed, 14 insertions(+)
So, I have applied (after fixing the typo in the commit title), but I
am not a big fan in fact. Indeed, the alsa-utils build system has all
the logic to install those service files, provided --enable-systemd is
Unfortunately, we completely override the alsa-utils "make install"
before since we define ALSA_UTILS_INSTALL_TARGET_CMDS.
Perhaps the alsa-utils package should be reworked to use
ALSA_UTILS_INSTALL_TARGET_CMDS, and then use post-install target hooks
to remove unwanted programs/data if applicable.
But since that was clearly a larger effort, I took your patch as-is as
it does the right thing considering how alsa-utils.mk works today.
Thomas Petazzoni, CTO, Bootlin
Embedded Linux and Kernel engineering
More information about the buildroot