From: Andreas Ziegler <br025@umbiko.net>
To: buildroot@buildroot.org
Cc: Marcus Hoffmann <buildroot@bubu1.eu>, Andreas Ziegler <br025@umbiko.net>
Subject: [Buildroot] [PATCH v2 01/11] package/mpd: install provided sample configuration file as mpd.conf
Date: Thu, 9 Jul 2026 13:08:05 +0200 [thread overview]
Message-ID: <20260709110822.305873-2-br025@umbiko.net> (raw)
In-Reply-To: <20260709110822.305873-1-br025@umbiko.net>
The configuration file supplied by Buildroot is only a sample; it will not
start MPD on a default installation. Usually a custom mpd.conf is supplied
in a rootfs overlay.
Drop the Buildroot configuration file and install the sample supplied by
MPD instead, it is more complete, contains useful examples and is updated
regularly.
Signed-off-by: Andreas Ziegler <br025@umbiko.net>
---
package/mpd/mpd.conf | 32 --------------------------------
package/mpd/mpd.mk | 2 +-
2 files changed, 1 insertion(+), 33 deletions(-)
delete mode 100644 package/mpd/mpd.conf
diff --git a/package/mpd/mpd.conf b/package/mpd/mpd.conf
deleted file mode 100644
index 5956b75e24..0000000000
--- a/package/mpd/mpd.conf
+++ /dev/null
@@ -1,32 +0,0 @@
-#
-# Sample configuration file for mpd
-# This is a minimal configuration, see the manpage for more options
-#
-
-# Directory where the music is stored
-music_directory "/var/lib/mpd/music"
-
-# Directory where user-made playlists are stored (RW)
-playlist_directory "/var/lib/mpd/playlists"
-
-# Database file (RW)
-db_file "/var/lib/mpd/database"
-
-# Log file (RW)
-log_file "/var/log/mpd.log"
-
-# Process ID file (RW)
-pid_file "/var/run/mpd.pid"
-
-# State file (RW)
-state_file "/var/lib/mpd/state"
-
-# User id to run the daemon as
-#user "nobody"
-
-# TCP socket binding
-bind_to_address "any"
-#bind_to_address "localhost"
-
-# Unix socket to listen on
-bind_to_address "/var/lib/mpd/socket"
diff --git a/package/mpd/mpd.mk b/package/mpd/mpd.mk
index 65cd390ff9..2014488520 100644
--- a/package/mpd/mpd.mk
+++ b/package/mpd/mpd.mk
@@ -346,7 +346,7 @@ MPD_CONF_OPTS += -Dzzip=disabled
endif
define MPD_INSTALL_EXTRA_FILES
- $(INSTALL) -m 0644 -D package/mpd/mpd.conf $(TARGET_DIR)/etc/mpd.conf
+ $(INSTALL) -m 0644 -D $(@D)/doc/mpdconf.example $(TARGET_DIR)/etc/mpd.conf
mkdir -p $(TARGET_DIR)/var/lib/mpd/music
mkdir -p $(TARGET_DIR)/var/lib/mpd/playlists
endef
--
2.53.0
_______________________________________________
buildroot mailing list
buildroot@buildroot.org
https://lists.buildroot.org/mailman/listinfo/buildroot
next prev parent reply other threads:[~2026-07-09 11:09 UTC|newest]
Thread overview: 18+ messages / expand[flat|nested] mbox.gz Atom feed top
2026-07-09 11:08 [Buildroot] [PATCH v2 00/11] add runtime test for mpd Andreas Ziegler
2026-07-09 11:08 ` Andreas Ziegler [this message]
2026-08-15 17:08 ` [Buildroot] [PATCH v2 01/11] package/mpd: install provided sample configuration file as mpd.conf Thomas Petazzoni via buildroot
2026-07-09 11:08 ` [Buildroot] [PATCH v2 02/11] package/mpd: remove duplicated dependencies from sub-options Andreas Ziegler
2026-08-15 19:37 ` Thomas Petazzoni via buildroot
2026-07-09 11:08 ` [Buildroot] [PATCH v2 03/11] package/mpd: reorder config items based on order in meson_options.txt Andreas Ziegler
2026-08-15 19:38 ` Thomas Petazzoni via buildroot
2026-07-09 11:08 ` [Buildroot] [PATCH v2 04/11] support/testing: add test data for mpd (1/6) Andreas Ziegler
2026-08-15 19:41 ` Thomas Petazzoni via buildroot
2026-07-09 11:08 ` [Buildroot] [PATCH v2 05/11] support/testing: add test data for mpd (2/6) Andreas Ziegler
2026-07-09 11:08 ` [Buildroot] [PATCH v2 06/11] support/testing: add test data for mpd (3/6) Andreas Ziegler
2026-07-09 11:08 ` [Buildroot] [PATCH v2 07/11] support/testing: add test data for mpd (4/6) Andreas Ziegler
2026-07-09 11:08 ` [Buildroot] [PATCH v2 08/11] support/testing: add test data for mpd (5/6) Andreas Ziegler
2026-07-09 11:08 ` [Buildroot] [PATCH v2 09/11] support/testing: add test data for mpd (6/6) Andreas Ziegler
2026-07-09 11:08 ` [Buildroot] [PATCH v2 10/11] support/testing: add runtime test for mpd Andreas Ziegler
2026-07-09 11:08 ` [Buildroot] [PATCH v2 11/11] DEVELOPERS: add entry for test_mpd Andreas Ziegler
2026-07-11 10:24 ` [Buildroot] [PATCH v2 00/11] add runtime test for mpd Fiona Klute via buildroot
2026-07-12 2:54 ` Andreas Ziegler
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20260709110822.305873-2-br025@umbiko.net \
--to=br025@umbiko.net \
--cc=buildroot@bubu1.eu \
--cc=buildroot@buildroot.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox