View previous topic :: View next topic |
Author |
Message |
Cuardin l33t
Joined: 06 Feb 2003 Posts: 713 Location: vasastaden.stockholm.se
|
Posted: Fri Feb 21, 2003 7:12 am Post subject: Updating system after change to make.conf |
|
|
I think I have read all the appropriate manuals, and it sees there is no way to get portage to recompile any and all ebuilds that were compiled before a certain event, like editing make.conf. I am thiking something along the simple idea of make. If a dependency is newer, recompile, and one can see make.conf as a dependency of all packages.
I ran across the problem when I decided on a change of compiler options, and I would like to recompile most of my system using the new settings. Unfortunately, letting my comp stand for more than a week compiling is not an option, which is what would happen If I told it to recopile everything. Doing it in pieces will mean I have to manually remember what packages that have been recompiled and not.
My simple question is: Does portage keep compile-dates on packages that can be used, or is this as yet an unimplemented feature?
--Daniel Armyr |
|
Back to top |
|
|
crimson Guru
Joined: 27 Apr 2002 Posts: 430 Location: Cedar Rapids, IA
|
Posted: Fri Feb 21, 2003 8:38 am Post subject: |
|
|
Well, sorry this won't be much help, but I believe that in your tree when you download a package it stores what flags you used to compile it with. What you could do is write a script that parses for the different flags and have it output a list of what you have and haven't updated.
Just an idea. If it wasn't so late I'd do some more research, but maybe tomorrow if no one else has helped, I'll look more into that. You could try looking at /usr/portage subdirs, or possibly wherever portage stores the files for world. |
|
Back to top |
|
|
Cuardin l33t
Joined: 06 Feb 2003 Posts: 713 Location: vasastaden.stockholm.se
|
Posted: Sun Mar 02, 2003 11:21 am Post subject: |
|
|
If portage stores the flags used, it would be a definate help. Do you know where it stores them? I think tis could be a definately useful feature. Perhaps not as part of the ebuild program, but I think a little standalone app could be quite informative. If I can find the compilation info of a package then writing such a programn is an evenings work......
--Daniel Armyr |
|
Back to top |
|
|
Cuardin l33t
Joined: 06 Feb 2003 Posts: 713 Location: vasastaden.stockholm.se
|
Posted: Sun Mar 02, 2003 3:15 pm Post subject: |
|
|
Yep, I found it. In /var/db/pkg there is a shadow of the portagetree with a catalogue for all installed packages including the settings used when emerging the package. I'll be back when I have a working program to visualise this stuff. C'ya.
--Daniel Armyr |
|
Back to top |
|
|
crimson Guru
Joined: 27 Apr 2002 Posts: 430 Location: Cedar Rapids, IA
|
Posted: Sun Mar 02, 2003 11:31 pm Post subject: |
|
|
Great . Sorry I wasn't more help, I kinda forgot about the post. |
|
Back to top |
|
|
Cuardin l33t
Joined: 06 Feb 2003 Posts: 713 Location: vasastaden.stockholm.se
|
Posted: Mon Mar 03, 2003 2:05 am Post subject: |
|
|
No sweat. Finding the info once I knew it was available was a small matter. |
|
Back to top |
|
|
|