Go to:
Gentoo Home
Documentation
Forums
Lists
Bugs
Planet
Store
Wiki
Get Gentoo!
Gentoo's Bugzilla – Attachment 218889 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]
[patch]
Patch of kernel-2 eclass adding a deblob use flag
kernel-2.eclass.patch (text/plain), 1.56 KB, created by
Nick White
on 2010-02-08 09:06:30 UTC
(
hide
)
Description:
Patch of kernel-2 eclass adding a deblob use flag
Filename:
MIME Type:
Creator:
Nick White
Created:
2010-02-08 09:06:30 UTC
Size:
1.56 KB
patch
obsolete
>--- /var/paludis/repositories/gentoo/eclass/kernel-2.eclass 2009-12-13 19:06:54.000000000 +0000 >+++ src/njw-gentoo-local/kernel-2.eclass 2010-02-08 09:02:05.705969670 +0000 >@@ -242,6 +242,11 @@ detect_version() { > debug-print-kernel2-variables > > handle_genpatches >+ >+ DEBLOB_SCRIPT="deblob-${KV_MAJOR}.${KV_MINOR}.${KV_PATCH}" >+ KERNEL_URI="${KERNEL_URI} >+ deblob? ( >+ http://www.linux-libre.fsfla.org/pub/linux-libre/releases/LATEST-${KV_MAJOR}.${KV_MINOR}.${KV_PATCH}.N/${DEBLOB_SCRIPT} )" > } > > kernel_is() { >@@ -297,7 +302,7 @@ if [[ ${ETYPE} == sources ]]; then > > SLOT="${PVR}" > DESCRIPTION="Sources for the ${KV_MAJOR}.${KV_MINOR} linux kernel" >- IUSE="symlink build" >+ IUSE="symlink build deblob" > elif [[ ${ETYPE} == headers ]]; then > DESCRIPTION="Linux system headers" > >@@ -624,6 +629,9 @@ postinst_sources() { > # if we have USE=symlink, then force K_SYMLINK=1 > use symlink && K_SYMLINK=1 > >+ # if we're using a deblobbed kernel, it's not supported >+ use deblob && K_SECURITY_UNSUPPORTED=1 >+ > # if we are to forcably symlink, delete it if it already exists first. > if [[ ${K_SYMLINK} > 0 ]]; then > [[ -h ${ROOT}usr/src/linux ]] && rm ${ROOT}usr/src/linux >@@ -1064,11 +1072,20 @@ kernel-2_src_unpack() { > kernel_is 2 4 && unpack_2_4 > kernel_is 2 6 && unpack_2_6 > fi >+ >+ if use deblob ; then >+ chmod +x "${DISTDIR}/${DEBLOB_SCRIPT}" >+ fi > } > > kernel-2_src_compile() { > cd "${S}" > [[ ${ETYPE} == headers ]] && compile_headers >+ >+ if use deblob ; then >+ echo ">>> Running deblob script ..." >+ sh "${DISTDIR}/${DEBLOB_SCRIPT}" --force >+ fi > } > > kernel-2_pkg_preinst() {
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 Diff
View Attachment As Raw
Actions:
View
|
Diff
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