On Mon, Mar 19, 2012 at 8:01 PM, Koen Kooi <[email protected]> wrote: > -----BEGIN PGP SIGNED MESSAGE----- > Hash: SHA1 > > Op 19-03-12 16:24, Andreas Müller schreef: >> On Mon, Mar 19, 2012 at 1:54 PM, Koen Kooi <[email protected]> >> wrote: >>>> +DESC="The Music Player Daemon" +DAEMON=/usr/bin/mpd >>>> +MPDCONF=/etc/mpd.conf >>> >>> The above hardcodes $bindir and $sysconfdir, which it shouldn't do. >> mpd.in + sed in V2. OK? > > sound good to me. > >>> Furthermore I'd like to stop maintaining our own initsystem in meta-oe >>> and switch to upstream initscripts as much as possible >> The package itself does not contain an initscript so I implemented it >> close to that found in debian-lenny package. What upstream source do you >> suggest (matching also above requirement not hardcoding paths)? >> >>> and include systemd units by default as well. >> This requirement I did not know and did not find any source for that - >> some suggestion? > > Fedora or arch should have one. > >> >>> The above script is missing LSB headers as well. >> This initscript as is does not need. > > AIUI OE-core requires lsb headers for all sysvinitscripts and systemd works > a lot better when those headers are present as well. > Another question: How about adding the mpd stuff into meta-multimedia ( as a starter - e.g. in subdir recipes-audio )?
Andreas _______________________________________________ Openembedded-devel mailing list [email protected] http://lists.linuxtogo.org/cgi-bin/mailman/listinfo/openembedded-devel
