Go to:
Gentoo Home
Documentation
Forums
Lists
Bugs
Planet
Store
Wiki
Get Gentoo!
Gentoo's Bugzilla – Attachment 366920 Details for
Bug 353492
media-tv/gentoo-vdr-scripts: add systemd unit
Home
|
New
–
[Ex]
|
Browse
|
Search
|
Privacy Policy
|
[?]
|
Reports
|
Requests
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
Ebuild (diff against gentoo-vdr-scripts-2.0.0.ebuild)
gentoo-vdr-scripts-2.0.0.ebuild.diff (text/plain), 1.67 KB, created by
Lucian Muresan
on 2014-01-04 01:11:04 UTC
(
hide
)
Description:
Ebuild (diff against gentoo-vdr-scripts-2.0.0.ebuild)
Filename:
MIME Type:
Creator:
Lucian Muresan
Created:
2014-01-04 01:11:04 UTC
Size:
1.67 KB
patch
obsolete
>--- gentoo-vdr-scripts-2.0.0.ebuild 2014-01-04 01:47:09.458000000 +0100 >+++ gentoo-vdr-scripts-2.0.0-r1.ebuild 2014-01-04 01:46:14.000000000 +0100 >@@ -4,7 +4,7 @@ > > EAPI="5" > >-inherit eutils user >+inherit eutils user systemd > > DESCRIPTION="Scripts necessary for use of vdr as a set-top-box" > HOMEPAGE="http://www.gentoo.org/" >@@ -50,6 +50,16 @@ > for kd in shutdown-data merged-config-files dvd-images tmp; do > keepdir "${VDR_HOME}/${kd}" > done >+ >+ # install systemd unit file >+ systemd_dounit "${FILESDIR}/vdr.service" >+ # install systemd helper script which uses OpenRC-based framework >+ dosbin "${FILESDIR}/vdr-systemd_helper.sh" >+ # create empty environment exchange file and set correct permissions >+ touch "${D}${VDR_HOME}/tmp/systemd_env" >+ fowners vdr:vdr "${VDR_HOME}/tmp/systemd_env" >+ insinto "/etc/systemd/system/vdr.service.d" >+ doins "${FILESDIR}/00-gentoo-vdr-user.conf" > } > > pkg_preinst() { >@@ -108,6 +118,17 @@ > ewarn "This no longer has any effect, please use" > ewarn "VDR_DVDBURNSPEED in /etc/conf.d/vdr.cd-dvd" > fi >+ >+ ewarn "" >+ ewarn "If using systemd, you can still customize any of the" >+ ewarn "'/etc/conf.d/vdr*' config files as you would do when using OpenRC." >+ ewarn "The only thing you have to take special care of is how to deal with running" >+ ewarn "the VDR service either as user 'vdr' or as user 'root'." >+ ewarn "If you have to set START_VDR_AS_ROOT=yes in /etc/conf.d/vdr, then" >+ ewarn "you HAVE TO comment out 'User=vdr' in" >+ ewarn "'/etc/systemd/system/vdr.service.d/00-gentoo-vdr-user.conf' and viceversa." >+ ewarn "Make sure you toggle these 2 user settings properly, in sync and" >+ ewarn "ONLY when the VDR service is STOPPED !!!!" > } > > pkg_config() {
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
Attachments on
bug 353492
:
261323
|
261324
|
366914
|
366916
|
366918
|
366920
|
367092
|
367094
|
367096
|
367100
|
367130
|
367238
|
386020
|
386990