From: Fabrice Fontaine Date: Sun, 24 Jan 2021 18:26:05 +0000 (+0100) Subject: package/mpd: create directories used in mpd.conf X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=d0031c5621e302c659bec13dfcc62b55ac288462;p=buildroot.git 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 --- 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