From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from lists.gentoo.org (pigeon.gentoo.org [208.92.234.80]) by finch.gentoo.org (Postfix) with ESMTP id D588B13877A for ; Sat, 2 Aug 2014 09:18:09 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id E5CB0E0AFF; Sat, 2 Aug 2014 09:18:03 +0000 (UTC) Received: from mail-wg0-f41.google.com (mail-wg0-f41.google.com [74.125.82.41]) (using TLSv1 with cipher ECDHE-RSA-RC4-SHA (128/128 bits)) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id A69C9E08A1 for ; Sat, 2 Aug 2014 09:18:02 +0000 (UTC) Received: by mail-wg0-f41.google.com with SMTP id z12so5317618wgg.12 for ; Sat, 02 Aug 2014 02:18:01 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=message-id:date:from:user-agent:mime-version:to:subject:references :in-reply-to:content-type:content-transfer-encoding; bh=vfn9NPvbxiDAMG5c+ix9XxIV1fEtscCKr6RFFhJ5ZOU=; b=TSpzjFXui5zYAgN3iC+ja5Ok4lCimiepNVmf+RkVISCUBJqgXkXj1PefRGMZO7YDWM t72gP2YAW8r6ly0WAdCU5+gF1jIbhSyq3Rze/YiBjMCaUrO6nhXRopJVd/hZU143WSQg wimMlQfV1RDamhNeGqHUXcQ7wqqKRop+eEXZ8XYaBb8X3xjbrQEcEd0yHfOV8dyeauLf SwF2otd81xBX36n/OX8PSZoFXj1QYY8Kh4V9uSj9YP1RRVqFjN+s4PVl5E/9dh1dWN3n QUUrGR3U06nOVWDaKYCGleg1Hba/8vMEOVbXiQ66mRxUMYNvVBYYz3sy2GV5kVy8Kjie 6pvQ== X-Received: by 10.194.222.230 with SMTP id qp6mr16104306wjc.23.1406971081305; Sat, 02 Aug 2014 02:18:01 -0700 (PDT) Received: from [172.20.0.41] (105-237-190-183.access.mtnbusiness.co.za. [105.237.190.183]) by mx.google.com with ESMTPSA id kr5sm26973103wjc.27.2014.08.02.02.18.00 for (version=TLSv1 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Sat, 02 Aug 2014 02:18:00 -0700 (PDT) Message-ID: <53DCAC94.9020902@gmail.com> Date: Sat, 02 Aug 2014 11:17:08 +0200 From: Alan McKinnon User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:24.0) Gecko/20100101 Thunderbird/24.7.0 Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-user@lists.gentoo.org Reply-to: gentoo-user@lists.gentoo.org MIME-Version: 1.0 To: gentoo-user@lists.gentoo.org Subject: Re: [gentoo-user] --exclude gentoo-sources References: In-Reply-To: Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit X-Archives-Salt: 506edc4e-4bf1-4de9-a8f9-8669c256544f X-Archives-Hash: a27cb5065433c279a2b83c34494efee8 On 01/08/2014 22:19, behrouz khosravi wrote: > On Fri, Aug 1, 2014 at 12:58 PM, James 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/ 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