Go to:
Gentoo Home
Documentation
Forums
Lists
Bugs
Planet
Store
Wiki
Get Gentoo!
Gentoo's Bugzilla – Attachment 371842 Details for
Bug 373219
provide alternative for /etc/init.d/functions.sh so that openrc is not required
Home
|
New
–
[Ex]
|
Browse
|
Search
|
Privacy Policy
|
[?]
|
Reports
|
Requests
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
ebuild for william's functions.sh
gentoo-functions-0.ebuild (text/plain), 1.21 KB, created by
Ulf Dambacher
on 2014-03-06 08:25:21 UTC
(
hide
)
Description:
ebuild for william's functions.sh
Filename:
MIME Type:
Creator:
Ulf Dambacher
Created:
2014-03-06 08:25:21 UTC
Size:
1.21 KB
patch
obsolete
># Copyright 1999-2013 Gentoo Foundation ># Distributed under the terms of the GNU General Public License v2 ># $Header: $ > ># copied from coreos-overlay because they do not root on gentoo > >EAPI=5 >DESCRIPTION="Stand-alone and portable version of Gentoo's functions.sh" >HOMEPAGE="https://bugs.gentoo.org/show_bug.cgi?id=373219" > >SRC_URI="" > >LICENSE="GPL-2" >SLOT="0" >KEYWORDS="~amd64 ~x86" >IUSE="" > >DEPEND="" >RDEPEND="!sys-apps/openrc" > >S=${WORKDIR} > >src_install() { > local dst_dir=/lib/gentoo > > dodir $dst_dir > insinto $dst_dir > doins "${FILESDIR}/functions.sh" > fperms -R +x $dst_dir >} > >pkg_postinst() { > local dst_dir="${ROOT}"/lib/gentoo > local functions_path="${ROOT}"/etc/init.d/functions.sh > > einfo "Creating /etc/init.d/functions.sh symlink..." > mkdir -p "${ROOT}"/etc/init.d > ln -sf ${dst_dir}/functions.sh ${functions_path} >} > >pkg_prerm() { > local dst_dir="${ROOT}"/lib/gentoo > local functions_path="${ROOT}"/etc/init.d/functions.sh > > if test -L ${functions_path} && test $(readlink -f ${functions_path}) = $(readlink -f ${dst_dir}/functions.sh) > then > einfo "removing /etc/init.d/functions.sh symlink..." > rm -f ${functions_path} > else > einfo "symlink /etc/init.d/functions.sh does not point to ${dst_dir}/functions.sh" > fi >}
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 373219
:
278393
|
278537
|
278625
|
278635
|
278645
|
278999
|
303775
|
364774
|
367476
|
367478
|
367480
|
367482
|
368936
|
371754
|
371834
| 371842 |
372314
|
372318