Coder Social home page Coder Social logo

meta-mpd-server's Introduction

Summary

meta-mpd-server support to build a MPD server machine.

This layer supports :

  • static IP address in local.conf
  • CIFS mount at boot
  • MPD musicdir location
  • DAC definition for MPD configuration(for Raspberry Pi)

Dependency

This layers depdends on :

  • meta-oe
  • meta-python
  • meta-networking
  • meta-multimedia

and systemd.

How to use

In order to use this layer, add the following settings to your local.conf.

then bitbake core-image-minimal. If your machine is Raspberry Pi, bitbake rpi-basic-image.

systemd

# use systemd instead of sysvinit
DISTRO_FEATURES_append = " systemd"
VIRTUAL-RUNTIME_init_manager = "systemd"
DISTRO_FEATURES_BACKFILL_CONSIDERED = "sysvinit"
VIRTUAL-RUNTIME_initscripts = ""

CIFS

IMAGE_INSTALL_append = " cifs-utils cifs-mount-networkd"
CIFS_SHARED_DIR = "//remote_pc/shared_dir"
CIFS_MOUNT_DIR = "/mnt/point"
CIFS_USER = "username"
CIFS_PASSWD = "password"
CIFS_VERS = "3.0"

MPD

# mpd
LICENSE_FLAGS_WHITELIST = "commercial"
IMAGE_INSTALL_append = " mpd"

# MPD Music Directory
IMAGE_INSTALL_append = " mpd-musicdir"
MPD_MUSIC_DIR = "/mnt/point"

CONNMAN

IMAGE_INSTALL_append = " connman \
		       	 connman-wait-online \
			 connman-ipv4-conf \
"
#SYSTEMD_SERVICE_append_pn-connman-wait-online = "connman-wait-online.service"
SYSTEMD_AUTO_ENABLE_pn-connman-wait-online = "enable"

# static IPv4 address for connman
CONNMAN_IPv4 = "XXX.XXX.XXX.XXX/YYY.YYY.YYY.YYY"
CONNMAN_IPv4_NS = "ZZZ.ZZZ.ZZZ.ZZZ"

XXX.XXX.XXX.XXX is IP address of target machine.

YYY.YYY.YYY.YYY is subnet mask.

ZZZ.ZZZ.ZZZ.ZZZ is IP address of Name Server.

Maintainers

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.