Go to:
Gentoo Home
Documentation
Forums
Lists
Bugs
Planet
Store
Wiki
Get Gentoo!
Gentoo's Bugzilla – Attachment 200034 Details for
Bug 266157
sys-kernel/libre-sources ebuild request
Home
|
New
–
[Ex]
|
Browse
|
Search
|
Privacy Policy
|
[?]
|
Reports
|
Requests
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
kernel-libre eclass
kernel-libre.eclass (text/plain), 1.74 KB, created by
Nick White
on 2009-08-03 17:21:53 UTC
(
hide
)
Description:
kernel-libre eclass
Filename:
MIME Type:
Creator:
Nick White
Created:
2009-08-03 17:21:53 UTC
Size:
1.74 KB
patch
obsolete
># ># Original Author: Nick White ># Purpose: override of kernel-2.eclass for the linux-libre kernel ># > >inherit kernel-2 >EXPORT_FUNCTIONS src_unpack > >KERNEL_URI="http://www.linux-libre.fsfla.org/pub/linux-libre/releases/${PV}-libre${LIBRE_VER}/linux-${PV}-libre${LIBRE_VER}.tar.bz2" >DEBLOB_CHECK="deblob-check" >DEBLOB_URI="http://www.linux-libre.fsfla.org/pub/linux-libre/releases/${PV}-libre${LIBRE_VER}/${DEBLOB_CHECK}" > >KERNEL_VER=${PV/-r*} > ># rename deblob-check to avoid collisions >if [[ $EAPI == 2 ]]; then > DEBLOB_CHECK="${DEBLOB_CHECK}-${KERNEL_VER}" > DEBLOB_URI="${DEBLOB_URI} -> ${DEBLOB_CHECK}" >fi > ># override the kernel-2 function as tarball is named differently >universal_unpack() { > cd ${WORKDIR} > unpack linux-${KERNEL_VER}-libre${LIBRE_VER}.tar.bz2 > mv ${WORKDIR}/linux-${KERNEL_VER} ${WORKDIR}/linux-${KV_FULL} \ > || die "Unable to move source tree to ${KV_FULL}." > cd ${S} > > # remove all backup files > find . -iname "*~" -exec rm {} \; 2> /dev/null >} > >check_for_blobs() { > # usage: check_for_blobs name_of_variable_containing_paths_to_check > # we want the name of a variable (not just its contents) > # so can unset it if blobs are found > > [[ -z "${!1}" ]] && return 1 > > sh ${DISTDIR}/${DEBLOB_CHECK} ${!1} > > if [ $? -ne 0 ]; then > ewarn "Warning: A file in ${1} appears to contain blobs." > ewarn "Disabling ${1} for now." > eval "${1}=''" > ewarn "Please report this to http://bugs.gentoo.org/266157" > return 1 > fi > > return 0 >} > >kernel-libre_src_unpack() { > # kernel revision patches are included in tarball > UNIPATCH_LIST_DEFAULT="" > > if [ -n "${UNIPATCH_LIST_GENPATCHES}" ] || [ -n "${UNIPATCH_LIST}" ]; then > echo "Checking all patches are clean of blobs" > check_for_blobs "UNIPATCH_LIST_GENPATCHES" > check_for_blobs "UNIPATCH_LIST" > fi > > kernel-2_src_unpack >}
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 266157
:
191488
|
191489
|
192011
|
192142
|
195056
|
195057
|
195059
|
195060
|
195062
|
195855
|
196628
|
196943
|
197978
|
197980
|
198448
|
199039
|
199764
|
200034
|
201340
|
201770
|
203898
|
203899
|
207206
|
207208
|
208411
|
208412
|
213127
|
215031
|
215033
|
218889
|
218891
|
226395
|
229129
|
229169