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 1QmSBS-0008St-4s for garchives@archives.gentoo.org; Thu, 28 Jul 2011 15:07:34 +0000 Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 9010F21C2C4; Thu, 28 Jul 2011 15:07:20 +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 B418521C0CD for ; Thu, 28 Jul 2011 15:06:25 +0000 (UTC) Received: by wyh22 with SMTP id 22so131676wyh.40 for ; Thu, 28 Jul 2011 08:06:25 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=from:to:subject:date:message-id:user-agent:in-reply-to:references :mime-version:content-transfer-encoding:content-type; bh=q6hLYdGMedef6H1I9nYaTt4Z+ieEf7SCLy4J1R0nrd8=; b=OntlgrfH0y5HlCNhV6vMCXtdZEi7Mcy6lOAX2HcqtNh7omAKXym7+Z/ravfi8v1GrC SBb4gStDjVO5v3qDig6CjQ/fLXiNxk2DQyDlH/Y/ZLhwRAZNhsxWB1tUfb6dx7+OHj6S 0mVsc5uF/i28KC3oldNPP+yvuI9PFm4qvkxT0= Received: by 10.227.142.141 with SMTP id q13mr103953wbu.114.1311865584907; Thu, 28 Jul 2011 08:06:24 -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 p49sm760514weq.7.2011.07.28.08.06.22 (version=TLSv1/SSLv3 cipher=OTHER); Thu, 28 Jul 2011 08:06:24 -0700 (PDT) From: Alan McKinnon To: gentoo-user@lists.gentoo.org Subject: Re: [gentoo-user] kernel make files disappear Date: Thu, 28 Jul 2011 17:05:45 +0200 Message-ID: <1428483.41BuF8nsCn@nazgul> User-Agent: KMail/4.6.1 (Linux/2.6.39-ck-r1; KDE/4.6.5; x86_64; ; ) In-Reply-To: <4E3177D0.1000001@gmail.com> References: <4E3177D0.1000001@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: 73f68de9145a4c01ef0b9c3eaf0505e8 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 -- alan dot mckinnon at gmail dot com