Go to:
Gentoo Home
Documentation
Forums
Lists
Bugs
Planet
Store
Wiki
Get Gentoo!
Gentoo's Bugzilla – Attachment 345402 Details for
Bug 301478
Add README/CHANGES to kernel package docs
Home
|
New
–
[Ex]
|
Browse
|
Search
|
Privacy Policy
|
[?]
|
Reports
|
Requests
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
unipatch_docs.patch
file_301478.txt (text/plain), 1.55 KB, created by
Tom Wijsman (TomWij) (RETIRED)
on 2013-04-12 18:01:44 UTC
(
hide
)
Description:
unipatch_docs.patch
Filename:
MIME Type:
Creator:
Tom Wijsman (TomWij) (RETIRED)
Created:
2013-04-12 18:01:44 UTC
Size:
1.55 KB
patch
obsolete
>--- a/kernel-2.eclass >+++ b/kernel-2.eclass >@@ -747,6 +747,10 @@ install_sources() { > fi > > mv ${WORKDIR}/linux* "${D}"/usr/src >+ >+ if [[ -z ${UNIPATCH_DOCS} ]] ; then >+ dodoc ${UNIPATCH_DOCS} >+ fi > } > > # pkg_preinst functions >@@ -1023,13 +1027,23 @@ unipatch() { > done > done > >- # This is a quick, and kind of nasty hack to deal with UNIPATCH_DOCS which >- # sit in KPATCH_DIR's. This is handled properly in the unipatch rewrite, >- # which is why I'm not taking too much time over this. >+ # When genpatches is used, we want to install 0000_README which documents >+ # the patches that were used; such that the user can see them, bug #301478. >+ if [[ ! -z ${K_WANT_GENPATCHES} ]] ; then >+ UNIPATCH_DOCS="${UNIPATCH_DOCS} 0000_README" >+ fi >+ >+ # When files listed in UNIPATCH_DOCS are found in KPATCH_DIR's, we copy it >+ # to the temporary directory and remember them in UNIPATCH_DOCS to install >+ # them during the install phase. > local tmp >- for i in ${UNIPATCH_DOCS}; do >- tmp="${tmp} ${i//*\/}" >- cp -f ${i} "${T}"/ >+ for x in ${KPATCH_DIR}; do >+ for i in ${UNIPATCH_DOCS}; do >+ if [[ -f "${x}/${i}" ]] ; then >+ tmp="${tmp} \"${T}/${i}\"" >+ cp -f "${x}/${i}" "${T}"/ >+ fi >+ done > done > UNIPATCH_DOCS="${tmp}" >
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 301478
: 345402