public inbox for gentoo-dev@lists.gentoo.org
 help / color / mirror / Atom feed
From: Donnie Berkholz <spyderous@gentoo.org>
To: gentoo-dev@gentoo.org
Subject: Re: [gentoo-dev] Patches and the 2.4->2.6 move
Date: Mon, 20 Oct 2003 00:59:48 -0400	[thread overview]
Message-ID: <1066625988.5592.31.camel@sfa237013.richmond.edu> (raw)
In-Reply-To: <3F9365A5.5000509@gentoo.org>

[-- Attachment #1: Type: text/plain, Size: 1605 bytes --]

On Mon, 2003-10-20 at 00:33, Kumba wrote:
> Donnie Berkholz wrote:
<snip>
> > Currently I'm applying this patch if /usr/src/linux is linked to a 2.4
> > kernel at compile-time.
<snip>
> Here's an idea.  Bit demented, though.
> 
> First, why check /usr/src/linux?  IMHO, that link may or may not always 
> be there or be correct.  I recommend instead using the get_KV and 
> KV_to_int functions defined in /sbin/functions.sh to determine what the 
> machine is currently running.

Because everything in Gentoo that needs a kernel should compile against
/usr/src/linux. pcmcia-cs does so, xfree-drm does so, nvidia-kernel does
so, ati-drivers does so ...

> 
> The second part is where to apply the patch, and how.  This is the 
> difficult part.  I'd first say to apply it from the kernel.eclass file, 
> but this likely goes against some odd policy somewheres, which means 
> most modern 2.4 ebuilds would need updating to use this patch.  Alot of 
> work is involved in tweaking all the 2.4 sources ebuilds.

Hm, I think you may be misunderstanding here. The patch is against
xfree, but based on which kernel is there, so applying from a kernel
eclass doesn't really make sense.

> 
> The third part is How to know when to apply the patch?  In pseudo-codish 
> form, here is what I can come up with.
<snip code on applying patch>
> That should go into pkg_postinst, and probably include a sleep delay 
> timer + bell dinging like on portage and baselayout ebuilds to get the 
> attention of users.

I've already got code prepared to take advantage of /usr/src/linux.

[-- Attachment #2: This is a digitally signed message part --]
[-- Type: application/pgp-signature, Size: 189 bytes --]

  reply	other threads:[~2003-10-20  5:00 UTC|newest]

Thread overview: 20+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2003-10-20  2:34 [gentoo-dev] Patches and the 2.4->2.6 move Donnie Berkholz
2003-10-20  3:05 ` Luke-Jr
2003-10-20  3:18   ` Donnie Berkholz
2003-10-20  3:22   ` Donnie Berkholz
2003-10-20  4:04     ` Luke-Jr
2003-10-20  4:30       ` Donnie Berkholz
2003-10-20  3:20 ` Brandon Hale
2003-10-20  3:25   ` Donnie Berkholz
2003-10-20  4:32     ` Luke-Jr
2003-10-20  4:16   ` Luke-Jr
2003-10-20  3:38     ` Jason Stubbs
2003-10-20  4:25     ` Jon Portnoy
2003-10-20  4:33 ` Kumba
2003-10-20  4:59   ` Donnie Berkholz [this message]
2003-10-19 23:48     ` C. Brewer
2003-10-20  7:13       ` Luke-Jr
2003-10-20  0:30         ` C. Brewer
2003-10-20  5:15     ` Luke-Jr
2003-10-20  5:23       ` Donnie Berkholz
2003-10-20 13:47 ` Alexander Gretencord

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=1066625988.5592.31.camel@sfa237013.richmond.edu \
    --to=spyderous@gentoo.org \
    --cc=gentoo-dev@gentoo.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox