Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 264997 - sys-kernel/genkernel-9999 (commit 109770b7) always clears the temporary build files
Summary: sys-kernel/genkernel-9999 (commit 109770b7) always clears the temporary build...
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Hosted Projects
Classification: Unclassified
Component: genkernel (show other bugs)
Hardware: All Linux
: High normal (vote)
Assignee: Gentoo Genkernel Maintainers
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2009-04-05 18:16 UTC by Mike Auty (RETIRED)
Modified: 2011-06-25 22:25 UTC (History)
0 users

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Mike Auty (RETIRED) gentoo-dev 2009-04-05 18:16:36 UTC
Hiya,

Just a quick bug to note that there's no way of disabling the deletion of /var/tmp/genkernel/<random> which is where busybox-and-the-utils (great name for a band) are built.  As such, if there's an error during compilation, there's no way to access the build environment to debug it.

One choice was to use POSTCLEAR, however that seems to be for wiping out the cache as well, so it's probably best to separate keeping the cache and keeping the temporary builds...
Comment 1 Mike Auty (RETIRED) gentoo-dev 2009-04-05 18:17:45 UTC
Just a quick note, agaffney mentioned this code seems to be the first few lines in the cleanup function in the main genkernel script...
Comment 2 Mike Auty (RETIRED) gentoo-dev 2009-04-05 18:18:47 UTC
Changing the product to change the component
Comment 3 Sebastian Pipping gentoo-dev 2011-06-07 14:00:34 UTC
(In reply to comment #1)
> Just a quick note, agaffney mentioned this code seems to be the first few lines
> in the cleanup function in the main genkernel script...

Sounds like he is referring to parameter --no-install: with that given /var/tmp/genkernel is not cleared:

  clear_tmpdir()
  {
  if ! isTrue ${CMD_NOINSTALL}
  then
    [..]
  fi
  }	

Is that sufficient already or do you want a new option?


If I do not hear anything within the next two weeks, I may close this bug.
Comment 4 Sebastian Pipping gentoo-dev 2011-06-25 22:25:35 UTC
(In reply to comment #3)
> If I do not hear anything within the next two weeks, I may close this bug.

Closing.