From d0031c5621e302c659bec13dfcc62b55ac288462 Mon Sep 17 00:00:00 2001 From: Fabrice Fontaine Date: Sun, 24 Jan 2021 19:26:05 +0100 Subject: [PATCH] package/mpd: create directories used in mpd.conf Fixes: - https://bugs.buildroot.org/show_bug.cgi?id=13471 Signed-off-by: Fabrice Fontaine Signed-off-by: Thomas Petazzoni --- package/mpd/mpd.mk | 2 ++ 1 file changed, 2 insertions(+) diff --git a/package/mpd/mpd.mk b/package/mpd/mpd.mk index 6e8a3f36da..baabb6ff38 100644 --- a/package/mpd/mpd.mk +++ b/package/mpd/mpd.mk @@ -333,6 +333,8 @@ endif define MPD_INSTALL_EXTRA_FILES $(INSTALL) -m 0644 -D package/mpd/mpd.conf $(TARGET_DIR)/etc/mpd.conf + mkdir -p $(TARGET_DIR)/var/lib/mpd/music + mkdir -p $(TARGET_DIR)/var/lib/mpd/playlists endef MPD_POST_INSTALL_TARGET_HOOKS += MPD_INSTALL_EXTRA_FILES -- 2.30.2