From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from pigeon.gentoo.org ([208.92.234.80] helo=lists.gentoo.org) by finch.gentoo.org with esmtp (Exim 4.60) (envelope-from ) id 1QmlK5-0007WT-39 for garchives@archives.gentoo.org; Fri, 29 Jul 2011 11:33:50 +0000 Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 811D521C2AB; Fri, 29 Jul 2011 11:33:30 +0000 (UTC) Received: from mail-wy0-f181.google.com (mail-wy0-f181.google.com [74.125.82.181]) by pigeon.gentoo.org (Postfix) with ESMTP id 5866721C290 for ; Fri, 29 Jul 2011 11:32:21 +0000 (UTC) Received: by wyh22 with SMTP id 22so556977wyh.40 for ; Fri, 29 Jul 2011 04:32:21 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=from:to:cc:subject:date:message-id:user-agent:in-reply-to :references:mime-version:content-transfer-encoding:content-type; bh=O1mllYos0U7JXJiBAMX5j/Caro2u6ZxeFN/4CktfbZw=; b=lvs7pxbPDRaTi1qpCT45mI1JuDF9bXan8yxgzWzXMpxdDCD5oIF4hfZOe5oU3aMvet UoEP2m1U8uuzG/onmsGjjaXHZh9tZEJWjzci92maEtgC3M9DHHnq8vTCDWKk89bFiH8J KMG8GzTsr0I+W6EB1RKzDKlhdQ5+D8naTFdB0= Received: by 10.227.127.82 with SMTP id f18mr1600115wbs.77.1311939141021; Fri, 29 Jul 2011 04:32:21 -0700 (PDT) Received: from nazgul.localnet (196-210-153-55.dynamic.isadsl.co.za [196.210.153.55]) by mx.google.com with ESMTPS id g48sm1363411wee.13.2011.07.29.04.32.17 (version=TLSv1/SSLv3 cipher=OTHER); Fri, 29 Jul 2011 04:32:19 -0700 (PDT) From: Alan McKinnon To: gentoo-user@lists.gentoo.org Cc: Daniel Hilst Selli Subject: Re: [gentoo-user] kernel make files disappear Date: Fri, 29 Jul 2011 13:31:39 +0200 Message-ID: <1505115.94C48hsltI@nazgul> User-Agent: KMail/4.7.0 (Linux/2.6.39-ck-r1; KDE/4.7.0; x86_64; ; ) In-Reply-To: <4E329245.4070304@gmail.com> References: <4E3177D0.1000001@gmail.com> <1428483.41BuF8nsCn@nazgul> <4E329245.4070304@gmail.com> 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 Content-Transfer-Encoding: 7Bit Content-Type: text/plain; charset="utf-8" X-Archives-Salt: X-Archives-Hash: f0061a7434bd20ccf957de1659c3d08b On Friday, 29 July 2011 07:58:13 Daniel Hilst Selli did opine thusly: > Em 28-07-2011 12:05, Alan McKinnon escreveu: > > On Thursday 28 July 2011 11:53:04 Daniel Hilst Selli did opine thusly: > >> I have some old kernel trees here.. But there is no Makefiles > >> for some of them. I did not remove the Makefiles. There is > >> anyone having the same problem? Whats happen? > >> > >> I emerge -NuD periodically, some times I see my kernel > >> being updated.. May portage remove my Makefiles?? > > > > In real life, portage seldom (if ever) *updates* a kernel src > > package. Almost all kernel versions, even ones with teeny-weeny > > -r changes in the version number, are an entirely new package > > which installs into it's own directory in /usr/src/ > > > > So, > > gentoo-sources-2.6.39-r1 > > will touch nothing belonging to > > gentoo-sources-2.6.39 > > > > This is in contrast to how most packages work, where -r versions > > contain gentoo patches or ebuild tweaks but still use exactly > > the same sources. > > > > Perhaps you have unmerged old kernel sources that were > > previously > > built. In this case portage will remove the files it put there > > and leave everything the compiler built. Run this: > > > > du -sh /usr/src/* > > > > Anything with a size of about 300M has probably had this happen. > > Intact trees that were built tend to come out at around 700M > > Thanks for replying, so this might be the case > output -> http://sprunge.us/YMAM Please don't use images on websites like that for command output, rather just copy the text from your console into the body of the mail. > Can this be done after a emerge --depclean, while booted on some > newly emerged kernel? --depclean is unlikely to do that as kernel sources almost always end up in world. It will behave different if you emerge the sources with -1 The running kernel has nothing to do with what portage may or may not do with your installed sources, much like how KDE will still run fine regardless of whether you have the tarballs downloaded or not, or whether you have KDE source trees lying around or not. I don't know what the answer to your question is, your statements are vague and only apply to principles but you want specifics. You are going to have to look inside those directories and see what is there, because I can't. -- alan dot mckinnon at gmail dot com