Gentoo Logo
Gentoo Spaceship




Note: Due to technical difficulties, the Archives are currently not up to date. GMANE provides an alternative service for most mailing lists.
c.f. bug 424647
List Archive: gentoo-dev
Navigation:
Lists: gentoo-dev: < Prev By Thread Next > < Prev By Date Next >
Headers:
To: gentoo-dev@g.o
From: "Robin H. Johnson" <robbat2@g.o>
Subject: virtual/linux-sources DEPEND non-inclusion reminder
Date: Fri, 17 Sep 2010 09:34:32 +0000
Just since it bit me on some infra boxes this evening, a quick reminder
that you should generally never DEPEND on virtual/linux-sources in your
ebuilds.

It's trivial to build a fully working system, and never have /usr/src
get populated.

1. Never RDEPEND on virtual/linux-sources, it will bring kernel sources
   in during binpkg installs.
2. linux-mod.eclass does correctly bring in virtual/linux-sources as
   needed, so if you are building kernel modules, inherit it rather than
   including your own DEPEND for sources.
3. kernel_is: Version-specific virtual/linux-sources statements are generally
   useless, as you have no idea what kernel version is at /usr/src/linux
   or is pointed to by the various build variables. You should use the
   kernel_is function of linux-info.eclass instead.

-- 
Robin Hugh Johnson
Gentoo Linux: Developer, Trustee & Infrastructure Lead
E-Mail     : robbat2@g.o
GnuPG FP   : 11AC BA4F 4778 E3F6 E4ED  F38E B27B 944E 3488 4E85
Attachment:
pgp1wDRcfDeRb.pgp (PGP signature)
Replies:
Re: virtual/linux-sources DEPEND non-inclusion reminder
-- Mike Frysinger
Navigation:
Lists: gentoo-dev: < Prev By Thread Next > < Prev By Date Next >
Previous by thread:
Re: [gentoo-commits] gentoo-x86 commit in net-zope/zope-dublincore: ChangeLog zope-dublincore-3.8.0.ebuild
Next by thread:
Re: virtual/linux-sources DEPEND non-inclusion reminder
Previous by date:
Re: About wormo's situation?
Next by date:
Re: Paper: Normalized source code repositories


Updated Jun 29, 2012

Summary: Archive of the gentoo-dev mailing list.

Donate to support our development efforts.

Copyright 2001-2013 Gentoo Foundation, Inc. Questions, Comments? Contact us.