public inbox for gentoo-user@lists.gentoo.org
 help / color / mirror / Atom feed
From: Alan McKinnon <alan.mckinnon@gmail.com>
To: gentoo-user@lists.gentoo.org
Subject: Re: [gentoo-user] --exclude gentoo-sources
Date: Sat, 02 Aug 2014 11:17:08 +0200	[thread overview]
Message-ID: <53DCAC94.9020902@gmail.com> (raw)
In-Reply-To: <CAO5-k+ogYkUjgFFq7q9OXHZJnNPtJYBVu+NTdETkd5g37Wbb-w@mail.gmail.com>

On 01/08/2014 22:19, behrouz khosravi wrote:
> On Fri, Aug 1, 2014 at 12:58 PM, James <wireless@tampabay.rr.com> wrote:
>> Howdy,
>>
>> I know I can use this option to protect kernel sources I
>> want to keep around, from  removal, via depclean.
>>
> 
> Well I not a proficient user, but I think that depclean wont remove
> packages from distfiles.
> At least what happened to me was that depclean removed the sources
> from /usr/src/ folder but the linux.xxx remained in the disfiles
> folder.

You are confusing the distfile with the installed files.

A distfile is usually a tar.gz - it is the package downloaded from
upstream. The installed files are whatever the ebuild puts onto the live
system.

In the case of a binary package like say bash:
the distfile is bash-4.2.tar.gz
the installed file is /bin/bash

In the case of kernel sources, exactly the same rules apply but the
details differ:
the distfile is linux-3.15.tar.xz (plus patches)
the installed files are /usr/src/<whatever the version is>

kernel sources are a special case - portage does no compiling with them.
Kernel sources install is defined as "unpack the tarball and patches to
/usr/src"
Regular ebuilds define install as "whatever happens after ./configure &&
make && make install"



Here's a tip:
Go back and read the gentoo docs from beginning to end, all of them. Twice.

You are getting confused with gentoo basics and starting to jump the gun
because you haven't fully absorbed all the basics. Now there's nothing
wrong with your keenness and enthusiasm (that's great) but it needs to
be backed up with knowledge. You get that by reading the docs


-- 
Alan McKinnon
alan.mckinnon@gmail.com



  parent reply	other threads:[~2014-08-02  9:18 UTC|newest]

Thread overview: 12+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2014-08-01 16:58 [gentoo-user] --exclude gentoo-sources James
2014-08-01 17:11 ` Alan McKinnon
2014-08-01 17:56   ` [gentoo-user] " James
2014-08-01 17:12 ` [gentoo-user] " Alexander Kapshuk
2014-08-01 17:15   ` Fwd: " Alexander Kapshuk
2014-08-01 21:07     ` Mick
2014-08-01 19:38 ` Neil Bothwick
2014-08-01 20:19 ` behrouz khosravi
2014-08-01 23:35   ` Daniel Frey
2014-08-02  9:17   ` Alan McKinnon [this message]
2014-08-02  9:29     ` behrouz khosravi
2014-08-02 13:29 ` Stroller

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=53DCAC94.9020902@gmail.com \
    --to=alan.mckinnon@gmail.com \
    --cc=gentoo-user@lists.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