Go to:
Gentoo Home
Documentation
Forums
Lists
Bugs
Planet
Store
Wiki
Get Gentoo!
Gentoo's Bugzilla – Attachment 45947 Details for
Bug 74336
Redhat enterprise 3ES kernel
Home
|
New
–
[Ex]
|
Browse
|
Search
|
Privacy Policy
|
[?]
|
Reports
|
Requests
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
Redhat kernel 2.4.21-9.0.3
redhat-enterprise-sources-9.0.3.ebuild (text/plain), 1.82 KB, created by
Baz (RETIRED)
on 2004-12-13 19:11:21 UTC
(
hide
)
Description:
Redhat kernel 2.4.21-9.0.3
Filename:
MIME Type:
Creator:
Baz (RETIRED)
Created:
2004-12-13 19:11:21 UTC
Size:
1.82 KB
patch
obsolete
># ># Default ebuild file ># > >inherit rpm > >DESCRIPTION="Redhat Enterprise 3ES Kernel" >HOMEPAGE="http://www.redhat.com/software/rhel/es/" >SRC_URI="ftp://updates.redhat.com/enterprise/3ES/en/os/SRPMS/kernel-2.4.21-${PV}.EL.src.rpm" >LICENSE="GPL-2" >SLOT="0" >RESTRICT="nomirror" > >KEYWORDS="~x86" > >DEPEND="sys-apps/module-init-tools > >=sys-devel/patch-2.5.4 > >=app-shells/bash-2.05b-r9 > >=sys-apps/sh-utils-2.0.15 > app-arch/tar > app-arch/bzip2 > app-arch/gzip > sys-apps/findutils > sys-devel/m4 > dev-lang/perl > app-arch/rpm > sys-libs/lib-compat" > >SLOT=${PV} > ># Globals >RPMBUILD="/usr/bin/rpmbuild" >SPEC_FILE="kernel-2.4.spec" >PATCH="/usr/bin/patch -p1" >PATCH_LOG="${WORKDIR}/patch.log" >KERNEL_DIR="/usr/src/redhat-linux-2.4.21-${PV}.EL" >KERNEL_CONFIG="${KERNEL_DIR}/configs" > >src_unpack() { > rpm_src_unpack > if [ -f ${PATCH_LOG} ]; then > rm ${PATCH_LOG} > fi > einfo "Patching kernel..." > PATCHES=`egrep ^Patch ${WORKDIR}/${SPEC_FILE} | cut -d' ' -f2` > cd ${WORKDIR}/linux-2.4.21 > for ii in ${PATCHES}; do ${PATCH} < ../${ii} >> ${PATCH_LOG} 2>&1; done > ERRORS=`grep failed ${PATCH_LOG}` > if [ x"" != x${ERRORS} ];then > eerror "Error patching kernel, see ${PATCH_LOG} for details" > exit 1 > fi > >} > >src_install() { > mkdir -p ${D}/${KERNEL_DIR} > mkdir ${D}/${KERNEL_CONFIG} > /usr/bin/rsync -a ${WORKDIR}/linux-2.4.21/ ${D}/${KERNEL_DIR}/ > cp ${WORKDIR}/*.config ${D}/${KERNEL_CONFIG} >} > >pkg_postinst() { > einfo > einfo "The Redhat 3ES kernel sources have been unpacked into ${KERNEL_DIR}," > einfo "now you must configure as per usual. The default Redhat configs can" > einfo "be found in ${KERNEL_CONFIG}". > einfo >}
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 74336
: 45947 |
45948
|
48365
|
48366