Go to:
Gentoo Home
Documentation
Forums
Lists
Bugs
Planet
Store
Wiki
Get Gentoo!
Gentoo's Bugzilla – Attachment 344964 Details for
Bug 465236
app-eselect/eselect-sysvinit: add support for runtime switchable sysvinit compatible implementations
Home
|
New
–
[Ex]
|
Browse
|
Search
|
Privacy Policy
|
[?]
|
Reports
|
Requests
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
sysvinit eclass
sysvinit.eclass (text/plain), 1.38 KB, created by
Fabio Erculiani (RETIRED)
on 2013-04-09 12:23:43 UTC
(
hide
)
Description:
sysvinit eclass
Filename:
MIME Type:
Creator:
Fabio Erculiani (RETIRED)
Created:
2013-04-09 12:23:43 UTC
Size:
1.38 KB
patch
obsolete
># Copyright 2004-2013 Gentoo Foundation ># Distributed under the terms of the GNU General Public License v2 ># $ > ># @ECLASS-VARIABLE: SYSVINIT_DIR ># @DESCRIPTION: ># Directory where eselect sysvinit must install the symlinks, from INITS_DIR. ># This directory must be a parent of SYSVINITS_DIR. >SYSVINIT_DIR="sbin" > ># @ECLASS-VARIABLE: SYSVINITS_DIR ># @DESCRIPTION: ># Directory where eselect-able sysvinit implementations must install their ># own executables, it must be prefixed with ${ROOT}. This variable ># is shared with the eselect-sysvinit module. This directory must contain ># only directories, whose names are the name of the sysvinit implementation. >SYSVINITS_DIR="${SYSVINIT_DIR}/init.d" > ># @ECLASS-VARIABLE: SYSVINIT_NAME ># @DESCRIPTION: ># Name of the sysvinit implementation that is being installed/removed. >SYSVINIT_NAME="${SYSVINIT_NAME:-${PN}}" > ># @ECLASS-VARIABLE: SYSVINIT_PARTS ># @DESCRIPTION: ># List of sysvinit executables that must be placed inside ${SYSVINITS_DIR}/${PN} >SYSVINIT_PARTS="halt init poweroff reboot" > ># FUNCTION: pkg_sysvinit_setup ># @USAGE: pkg_sysvinit_setup ># DESCRIPTION: ># This function must be called by every ebuild installing an sysvinit ># implementation and configures the initial symlinks by calling ># eselect sysvinit. It must be called in pkg_postinst, pkg_prerm, pkg_postrm. >pkg_sysvinit_setup() { > "${ROOT}"/usr/bin/eselect sysvinit set "${SYSVINIT_NAME}" --use-old >}
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 Raw
Actions:
View
Attachments on
bug 465236
:
344940
|
344942
|
344944
|
344960
|
344962
| 344964