On Fri, 25 Feb 2005, Maxim Vexler wrote:

> How does it do it if I may ask ?

Under /var/db/pkg you will what looks like a Portage tree but really its
just the tree where each package you have installed has its own folder,
organized into the same categories, where each folder has files detailing
how a package was installed. (The list of files is in the CONTENTS file
for example).

> I have a kinda wild idea, please tell me if it's even possible :
> From the days of learning c I've became very familiar with the wonders
> of the debugger, is there something similar in bash ?
> What I intend to do is to launch an [emerge foo] & then see what it
> actually doing, a "step by step tour" into the gentoo portage/ebuilds
> world if you like, using a debugger.

You could open another window/terminal/session and do tail -f
/var/log/emerge.log to watch the main steps in an emerge. You could even
do the steps yourself by using the ebuild command.

> So is there any tool that can allow me to do this?  or maybe there's
> even more efficient way to learn gentoo's internal's that I am unaware
> of ?

The official docs are pretty good ;-)

http://www.gentoo.org/doc/en/handbook/2004.2/handbook-x86.xml?part=3&chap=6

Also see:
man ebuild
man 5 ebuild
man emerge

etc etc.


--
A.
--
[email protected] mailing list

Reply via email to