Go to:
Gentoo Home
Documentation
Forums
Lists
Bugs
Planet
Store
Wiki
Get Gentoo!
Gentoo's Bugzilla – Attachment 467386 Details for
Bug 586420
sys-kernel/mips-sources: eblit use violates PMS rules for FILESDIR access
Home
|
New
–
[Ex]
|
Browse
|
Search
|
Privacy Policy
|
[?]
|
Reports
|
Requests
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
Preliminary mips-sources-4.10.3 ebuild highlighting use of eblit.eclass
mips-sources-4.10.3.ebuild (text/plain), 3.11 KB, created by
Joshua Kinard
on 2017-03-17 17:29:42 UTC
(
hide
)
Description:
Preliminary mips-sources-4.10.3 ebuild highlighting use of eblit.eclass
Filename:
MIME Type:
Creator:
Joshua Kinard
Created:
2017-03-17 17:29:42 UTC
Size:
3.11 KB
patch
obsolete
># Copyright 1999-2017 Gentoo Foundation ># Distributed under the terms of the GNU General Public License v2 > ># EAPI Version >EAPI="5" > >#//------------------------------------------------------------------------------ > ># Version Data >GITDATE="20170314" # Date of diff between kernel.org and lmo GIT >GENPATCHREV="1" # Tarball revision for patches > ># Directories >S="${WORKDIR}/linux-${OKV}-${GITDATE}" >MIPS_PATCHES="${WORKDIR}/mips-patches" > ># Kernel-2 Vars >K_SECURITY_UNSUPPORTED="yes" >K_NOUSENAME="yes" >K_NOSETEXTRAVERSION="yes" >K_NOUSEPR="yes" >K_BASE_VER="4.9" >K_FROM_GIT="yes" >ETYPE="sources" > ># Inherit Eclasses >inherit kernel-2 eutils eblit >detect_version > ># Version Data >F_KV="${PVR}" >BASE_KV="$(get_version_component_range 1-2).0" >[[ "${EXTRAVERSION}" = -rc* ]] && KVE="${EXTRAVERSION}" > ># Portage Vars >HOMEPAGE="http://www.linux-mips.org/ http://www.gentoo.org/" >KEYWORDS="-* ~mips" >IUSE="experimental ip27 ip28 ip30" >RDEPEND="" >DEPEND="${RDEPEND} > >=sys-devel/gcc-4.7.0 > >=sys-devel/patch-2.7.4" > ># Specify any patches or patch familes to NOT apply here. ># Use only the 4-digit number followed by a '*'. >P_EXCLUDE="" > ># Machine Support Control Variables >DO_IP22="test" # If "yes", enable IP22 support (SGI Indy, Indigo2 R4x00) >DO_IP27="yes" # IP27 support (SGI Origin) >DO_IP28="test" # IP28 support (SGI Indigo2 Impact R10000) >DO_IP30="yes" # IP30 support (SGI Octane) >DO_IP32="yes" # IP32 support (SGI O2, R5000/RM5200 Only) > ># Machine Stable Version Variables >SV_IP22="" # If set && DO_IP22 == "no", indicates last "good" IP22 version >SV_IP27="" # DO_IP27 == "no", IP27 >SV_IP28="" # DO_IP28 == "no", IP28 >SV_IP30="" # DO_IP30 == "no", IP30 >SV_IP32="" # DO_IP32 == "no", IP32 > >DESCRIPTION="Linux-Mips GIT sources for MIPS-based machines, dated ${GITDATE}" >SRC_URI="${KERNEL_URI} > mirror://gentoo/mipsgit-${BASE_KV}${KVE}-${GITDATE}.diff.xz > mirror://gentoo/${PN}-${BASE_KV}-patches-v${GENPATCHREV}.tar.xz" > >UNIPATCH_STRICTORDER="yes" >UNIPATCH_LIST="${DISTDIR}/mipsgit-${BASE_KV}${KVE}-${GITDATE}.diff.xz" > >#//------------------------------------------------------------------------------ > >load_eblit_funcs() { > # This is a sanity check to avoid QA issues. It prevents > # eblits from being referenced during metadata operations. > [ -n "${_EBLITS_LOADED}" ] && return > > # All are in ${EBLITSDIR} > # If a message for a given machine needs to change, > # then we create a new eblit and increment the > # version and reference it here. > eblit-include err_disabled_mach v1 > eblit-include err_only_one_mach_allowed v1 > eblit-include show_ip22_info v3 > eblit-include show_ip27_info v4 > eblit-include show_ip28_info v1 > eblit-include show_ip30_info v5 > eblit-include show_ip32_info v5 > > # This makes sure pkg_setup & pkg_postinst gets into any binpkg. > # Neccessary because we can't guarantee FILESDIR is around for binpkgs. > eblit-pkg setup v2 > eblit-pkg postinst v2 > > # Eblit load complete > _EBLITS_LOADED=1 >} > >pkg_setup() { > load_eblit_funcs > pkg_setup >} > >src_unpack() { eblit-run src_unpack v8 ; } > >#//------------------------------------------------------------------------------
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 586420
:
464762
|
464902
|
467384
| 467386 |
467388