Skip to contentSkip to conversation

package/mpd: create directories used in mpd.conf

PATCH New Fabrice Fontaine 3 participants 3 messages Jan 24, 2021 – Jan 28, 2021

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 package/mpd: create directories used in mpd.conf

Fixes:
- https://bugs.buildroot.org/show_bug.cgi?id=13471

---
 package/mpd/mpd.mk | 2 ++
 1 file changed, 2 insertions(+)
package/mpd/mpd.mk +2 -0
index 5cdcc2c009..919673cad4 100644
@@ -350,6 +350,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
Signature · 1 line
2.29.2
#1 lore raw

PATCH 1/1 package/mpd: create directories used in mpd.conf

Quoted 7 lines · On Sun, 24 Jan 2021 19:26:05 +0100 Fabrice Fontaine…

Fixes:
- https://bugs.buildroot.org/show_bug.cgi?id=13471

---
 package/mpd/mpd.mk | 2 ++
 1 file changed, 2 insertions(+)

Applied to master, thanks.

Thomas

Signature · 3 lines
Thomas Petazzoni, CTO, Bootlin
Embedded Linux and Kernel engineering
https://bootlin.com