* [gentoo-user] kernel make files disappear
@ 2011-07-28 14:53 Daniel Hilst Selli
2011-07-28 15:05 ` Alan McKinnon
0 siblings, 1 reply; 6+ messages in thread
From: Daniel Hilst Selli @ 2011-07-28 14:53 UTC (permalink / raw
To: gentoo-user
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??
--
"Do or do not... there is no try" Yoda Master
^ permalink raw reply [flat|nested] 6+ messages in thread
* Re: [gentoo-user] kernel make files disappear
2011-07-28 14:53 [gentoo-user] kernel make files disappear Daniel Hilst Selli
@ 2011-07-28 15:05 ` Alan McKinnon
2011-07-29 10:58 ` Daniel Hilst Selli
0 siblings, 1 reply; 6+ messages in thread
From: Alan McKinnon @ 2011-07-28 15:05 UTC (permalink / raw
To: gentoo-user
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
^ permalink raw reply [flat|nested] 6+ messages in thread
* Re: [gentoo-user] kernel make files disappear
2011-07-28 15:05 ` Alan McKinnon
@ 2011-07-29 10:58 ` Daniel Hilst Selli
2011-07-29 11:31 ` Alan McKinnon
0 siblings, 1 reply; 6+ messages in thread
From: Daniel Hilst Selli @ 2011-07-29 10:58 UTC (permalink / raw
To: gentoo-user
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
Can this be done after a emerge --depclean, while booted on some newly
emerged kernel?
--
"Do or do not... there is no try" Yoda Master
^ permalink raw reply [flat|nested] 6+ messages in thread
* Re: [gentoo-user] kernel make files disappear
2011-07-29 10:58 ` Daniel Hilst Selli
@ 2011-07-29 11:31 ` Alan McKinnon
2011-07-29 11:38 ` Michael Mol
2011-07-29 12:09 ` Joost Roeleveld
0 siblings, 2 replies; 6+ messages in thread
From: Alan McKinnon @ 2011-07-29 11:31 UTC (permalink / raw
To: gentoo-user; +Cc: Daniel Hilst Selli
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
^ permalink raw reply [flat|nested] 6+ messages in thread
* Re: [gentoo-user] kernel make files disappear
2011-07-29 11:31 ` Alan McKinnon
@ 2011-07-29 11:38 ` Michael Mol
2011-07-29 12:09 ` Joost Roeleveld
1 sibling, 0 replies; 6+ messages in thread
From: Michael Mol @ 2011-07-29 11:38 UTC (permalink / raw
To: gentoo-user
On Fri, Jul 29, 2011 at 7:31 AM, Alan McKinnon <alan.mckinnon@gmail.com> wrote:
> On Friday, 29 July 2011 07:58:13 Daniel Hilst Selli did opine thusly:
>> 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.
I was curious, and I looked at it...that's not an image bin, that's a
post-from-terminal pastebin. But, yeah, something like that is
better-done inline in an email.
--
:wq
^ permalink raw reply [flat|nested] 6+ messages in thread
* Re: [gentoo-user] kernel make files disappear
2011-07-29 11:31 ` Alan McKinnon
2011-07-29 11:38 ` Michael Mol
@ 2011-07-29 12:09 ` Joost Roeleveld
1 sibling, 0 replies; 6+ messages in thread
From: Joost Roeleveld @ 2011-07-29 12:09 UTC (permalink / raw
To: gentoo-user
On Friday 29 July 2011 13:31:39 Alan McKinnon wrote:
> > 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
Actually, emerge --depclean will remove old kernels. At least, it does that on
my machine.
I do, however, install with:
" emerge gentoo-sources "
This leads to "sys-kernel/gentoo-sources" to be entered into the world-file.
Older versions will, as there is no version specified, be selected for removal
by " emerge --depclean "
To avoid this, the used versions need to be seperately specified.
--
Joost
^ permalink raw reply [flat|nested] 6+ messages in thread
end of thread, other threads:[~2011-07-29 12:16 UTC | newest]
Thread overview: 6+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2011-07-28 14:53 [gentoo-user] kernel make files disappear Daniel Hilst Selli
2011-07-28 15:05 ` Alan McKinnon
2011-07-29 10:58 ` Daniel Hilst Selli
2011-07-29 11:31 ` Alan McKinnon
2011-07-29 11:38 ` Michael Mol
2011-07-29 12:09 ` Joost Roeleveld
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox