Go to:
Gentoo Home
Documentation
Forums
Lists
Bugs
Planet
Store
Wiki
Get Gentoo!
Gentoo's Bugzilla – Attachment 345380 Details for
Bug 457598
kernel-2.eclass: show elog messages only first time the package is installed
Home
|
New
–
[Ex]
|
Browse
|
Search
|
Privacy Policy
|
[?]
|
Reports
|
Requests
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
readme.gentoo.patch
file_457598.txt (text/plain), 2.02 KB, created by
Tom Wijsman (TomWij) (RETIRED)
on 2013-04-12 14:45:07 UTC
(
hide
)
Description:
readme.gentoo.patch
Filename:
MIME Type:
Creator:
Tom Wijsman (TomWij) (RETIRED)
Created:
2013-04-12 14:45:07 UTC
Size:
2.02 KB
patch
obsolete
>diff --git a/kernel-2.eclass b/kernel-2.eclass >index 22be9ed..dc480fb 100644 >--- a/kernel-2.eclass >+++ b/kernel-2.eclass >@@ -73,7 +73,7 @@ > # for additional variables to be added by contacting the current maintainer. > # If you do change them, there is a chance that we will not fix resulting bugs. > >-inherit eutils toolchain-funcs versionator multilib >+inherit eutils toolchain-funcs versionator multilib readme.gentoo > EXPORT_FUNCTIONS pkg_setup src_unpack src_compile src_test src_install pkg_preinst pkg_postinst pkg_postrm > > # Added by Daniel Ostrow <dostrow@gentoo.org> >@@ -100,6 +100,13 @@ RESTRICT="binchecks strip" > # set LINUX_HOSTCFLAGS if not already set > : ${LINUX_HOSTCFLAGS:="-Wall -Wstrict-prototypes -Os -fomit-frame-pointer -I${S}/include"} > >+# Kernel upgrade documentation >+#============================================================== >+DISABLE_AUTOFORMATTING="yes" >+DOC_CONTENTS=" >+When you plan to upgrade the kernel, you may be interested in the Gentoo Linux >+Kernel Upgrade Guide: http://www.gentoo.org/doc/en/kernel-upgrade.xml" >+ > # debugging functions > #============================================================== > # this function exists only to help debug kernel-2.eclass >@@ -781,12 +788,6 @@ postinst_sources() { > # Don't forget to make directory for sysfs > [[ ! -d ${ROOT}sys ]] && kernel_is 2 6 && mkdir ${ROOT}sys > >- echo >- elog "If you are upgrading from a previous kernel, you may be interested" >- elog "in the following document:" >- elog " - General upgrade guide: http://www.gentoo.org/doc/en/kernel-upgrade.xml" >- echo >- > # if K_EXTRAEINFO is set then lets display it now > if [[ -n ${K_EXTRAEINFO} ]]; then > echo ${K_EXTRAEINFO} | fmt | >@@ -1191,10 +1192,12 @@ kernel-2_src_install() { > install_universal > [[ ${ETYPE} == headers ]] && install_headers > [[ ${ETYPE} == sources ]] && install_sources >+ readme.gentoo_create_doc > } > > kernel-2_pkg_postinst() { > [[ ${ETYPE} == sources ]] && postinst_sources >+ readme.gentoo_print_elog > } > > kernel-2_pkg_setup() {
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 457598
: 345380