Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
ebuild epiam-sources 2.6.12-r10 test
View unanswered posts
View posts from last 24 hours
View posts from last 7 days

 
Reply to topic    Gentoo Forums Forum Index Forum italiano (Italian)
View previous topic :: View next topic  
Author Message
Ciccio Bueo
l33t
l33t


Joined: 19 Oct 2004
Posts: 834
Location: Treviso

PostPosted: Fri Aug 26, 2005 8:15 am    Post subject: ebuild epiam-sources 2.6.12-r10 test Reply with quote

EDIT:aggiornato l'ebuild

dopo aver letto questo:

http://www.epiawiki.org/wiki/tiki-index.php?page=Gentoo2005.0epiamKernel

ho cercato di patchare il kernel, ma c'erano dei problemi sull'ebuild, perchè cercave delle patch che non sono più in portage, allora ho provato a modificare l'ebuild in questo modo:

Code:
# Copyright 1999-2005 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: $

ETYPE="sources"
IUSE=""
inherit eutils
inherit kernel-2
detect_version
detect_arch

DESCRIPTION="Builds the gentoo-dev-sources ${KV_MAJOR}.${KV_MINOR} kernel with EPIA Nehemiah-specific patches"
HOMEPAGE="http://www.epiawiki.org/wiki/tiki-index?page=XXX"

LICENSE="GPL-2"
SLOT="1"
KEYWORDS="~x86"
DEPEND=""

GPV="12-10"
GPV_SRC="mirror://gentoo/genpatches-${KV_MAJOR}.${KV_MINOR}.${GPV}.base.tar.bz2 mirror://gentoo/genpatches-${KV_MAJOR}.${KV_MINOR}.${GPV}.extras.tar.bz2"

UNIPATCH_LIST="${DISTDIR}/genpatches-${KV_MAJOR}.${KV_MINOR}.${GPV}.base.tar.bz2 ${DISTDIR}/genpatches-${KV_MAJOR}.${KV_MINOR}.${GPV}.extras.tar.bz2"
UNIPATCH_DOCS="${WORKDIR}/patches/genpatches-${KV_MAJOR}.${KV_MINOR}.${GPV}/0000_README"

SRC_URI="${KERNEL_URI} ${GPV_SRC} ${ARCH_URI}"

# vt1211 module
# HOMEPAGE="http://hem.bredband.net/ekmlar/vt1211.html"
VT1211_URI="http://hem.bredband.net/ekmlar/vt1211-2.6.11.4.patch.txt"
SRC_URI="${SRC_URI} ${VT1211_URI}"

src_unpack() {
   kernel-2_src_unpack
   ewarn "Applying EPIA VT1211 patches..."
   cd ${S} || die
   epatch ${DISTDIR}/vt1211-2.6.11.4.patch.txt || die
}

#src_install() {
#   einstall || die
#   insinto /etc
#   doins ${FILESDIR}/make.conf.epiam_example
#}

# Epia patch
# HOMEPAGE="http://www.epialinux.org/"
EPIA_PATCH_URI="http://www.epialinux.org/files/patch-2.6.12.3-epia.bz2"
SRC_URI="${SRC_URI} ${EPIA_PATCH_URI}"

src_unpack() {
   kernel-2_src_unpack
   ewarn "Applying EPIA Kernel patches..."
   cd ${S} || die
   epatch ${DISTDIR}/patch-2.6.12.3-epia.bz2 || die
}

#src_install() {
#   einstall || die
#   insinto /etc
#   doins ${FILESDIR}/make.conf.epiam_example
#}

pkg_postinst() {
   postinst_sources

   ewarn "IMPORANT:"
   ewarn "This patch set it is still experimental.  Use at your own risk."
   ewarn "Always keep the official gentoo kernel installed and available in your boot manager."
}




e sembrerebbe funzionare... anche se le patch sarebbero per il 2.6.11.4, spero possa essere utile a qualcuno.

ho aggiunto l'altra patch per il kernel che si può scaricare su www.epialinux.org.... però mi sa che è un casino, perchè le patch sono per kernel diversi.. mah.. vedremo

Ciao


Last edited by Ciccio Bueo on Fri Aug 26, 2005 12:10 pm; edited 2 times in total
Back to top
View user's profile Send private message
power83
l33t
l33t


Joined: 28 Nov 2004
Posts: 638

PostPosted: Fri Aug 26, 2005 11:24 am    Post subject: Reply with quote

mmm...ma non hai messo la patch che ti ho detto nell'altro topic x il DRI
Back to top
View user's profile Send private message
Ciccio Bueo
l33t
l33t


Joined: 19 Oct 2004
Posts: 834
Location: Treviso

PostPosted: Fri Aug 26, 2005 11:43 am    Post subject: Reply with quote

scusa, non avevo visto che avevi risposto all'altro post.. ora vedo cosa riesco a fare! :D
Back to top
View user's profile Send private message
Ciccio Bueo
l33t
l33t


Joined: 19 Oct 2004
Posts: 834
Location: Treviso

PostPosted: Fri Aug 26, 2005 12:18 pm    Post subject: Reply with quote

ovviamnete non và... sto leggendo questo:

http://www.gentoo.org/proj/it/devrel/handbook/handbook.xml?part=2&chap=1

questo è l'errore:

Code:
 * Failed Patch: patch-2.6.12.3-epia.bz2 !
 *  ( /var/tmp/portage/epiam-sources-2.6.12-r10/temp/4134.patch )
 *
 * Include in your bugreport the contents of:
 *
 *   /var/tmp/portage/epiam-sources-2.6.12-r10/temp/patch-2.6.12.3-epia.bz2-4134.out


immagino che sia perchè la patch non ha estensione... mentre emerge si aspetta un file di testo...
Back to top
View user's profile Send private message
power83
l33t
l33t


Joined: 28 Nov 2004
Posts: 638

PostPosted: Fri Aug 26, 2005 6:14 pm    Post subject: Reply with quote

probabile.

Io ho fattoa mano.
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Forum italiano (Italian) All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum