Gentoo Archives: gentoo-kernel

From: Daniel Drake <dsd@g.o>
To: gentoo-kernel@l.g.o
Subject: [gentoo-kernel] kernel-2.eclass: Easier way to use genpatches in ebuilds
Date: Wed, 22 Jun 2005 12:52:32
Message-Id: 42B95F0D.1040408@gentoo.org
This provides an easier way for kernel-2 users to apply genpatches.

In the attached ebuild example, ck-sources-2.6.12_p2.ebuild, all that is
needed is:

K_WANT_GENPATCHES="base"
K_GENPATCHES_VER="1"

The above will translate to genpatches-2.6.12-1.base.tar.bz2
The only other thing you need to do is add $GENPATCHES_URI to SRC_URI and then
you will get genpatches applied with unipatch.

Any comments?

Attachments

File name MIME type
k2.patch text/x-patch
ck-sources-2.6.12_p2.ebuild text/plain

Replies