Go to:
Gentoo Home
Documentation
Forums
Lists
Bugs
Planet
Store
Wiki
Get Gentoo!
Gentoo's Bugzilla – Attachment 344940 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]
current init.eclass
init.eclass (text/plain), 1.28 KB, created by
Fabio Erculiani (RETIRED)
on 2013-04-09 11:21:35 UTC
(
hide
)
Description:
current init.eclass
Filename:
MIME Type:
Creator:
Fabio Erculiani (RETIRED)
Created:
2013-04-09 11:21:35 UTC
Size:
1.28 KB
patch
obsolete
># Copyright 2004-2013 Gentoo Foundation ># Distributed under the terms of the GNU General Public License v2 ># $ > ># @ECLASS-VARIABLE: INIT_DIR ># @DESCRIPTION: ># Directory where eselect init must install the symlinks, from INITS_DIR. ># This directory must be a parent of INITS_DIR. >INIT_DIR="sbin" > ># @ECLASS-VARIABLE: INITS_DIR ># @DESCRIPTION: ># Directory where eselect-able init implementations must install their ># own executables, it must be prefixed with ${ROOT}. This variable ># is shared with the eselect-init module. This directory must contain ># only directories, whose names are the name of the init implementation. >INITS_DIR="${INIT_DIR}/init.d" > ># @ECLASS-VARIABLE: INIT_NAME ># @DESCRIPTION: ># Name of the init implementation that is being installed/removed. >INIT_NAME="${INIT_NAME:-${PN}}" > ># @ECLASS-VARIABLE: INIT_PARTS ># @DESCRIPTION: ># List of init executables that must be placed inside ${INITS_DIR}/${PN} >INIT_PARTS="halt init poweroff reboot" > ># FUNCTION: pkg_init_setup ># @USAGE: pkg_init_setup ># DESCRIPTION: ># This function must be called by every ebuild installing an init ># implementation and configures the initial symlinks by calling ># eselect init. It must be called in pkg_postinst, pkg_prerm, pkg_postrm. >pkg_init_setup() { > "${ROOT}"/usr/bin/eselect init set --use-old "${INIT_NAME}" >}
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