1 |
On Wed, 2005-05-11 at 12:39 -0400, Paul Smith wrote: |
2 |
> %% Chris Gianelloni <wolf31o2@g.o> writes: |
3 |
> |
4 |
> cg> We don't do any shortcuts simply because we *are* the catalyst |
5 |
> cg> developers. When we find shortcomings in catalyst, we fix them. ;] |
6 |
> |
7 |
> >> If there are no fancy tricks that I'm missing I'm sure I can come up |
8 |
> >> with some myself :-). |
9 |
> |
10 |
> cg> Like I said before, I'm not sure I really follow what you're |
11 |
> cg> trying to do. |
12 |
> |
13 |
> Hi Chris; thanks for taking the time to reply! |
14 |
> |
15 |
> I completely see your viewpoint here. My situation is that I'm trying |
16 |
> to add somewhat more esoteric software to my livecd than comes on a |
17 |
> "typical" livecd. Some of it doesn't even have any Gentoo ebuilds, so |
18 |
> I'm writing them myself. For ebuilds that are in Gentoo, I need to run |
19 |
> emerge -p to see what would be pulled in, investigate the USE flags in |
20 |
> the ebuilds to see if I can turn off features I don't like, then see |
21 |
> what would be pulled in, etc. Also, to find out what I can unmerge and |
22 |
> still have the thing work properly. |
23 |
|
24 |
OK. This makes sense to me now. |
25 |
|
26 |
> In a situation like this it's very time consuming to have to rebuild |
27 |
> livecd1 and then livecd2 every time I need to tweak an ebuild or add or |
28 |
> remove a package, so I was looking for a "development mode" where things |
29 |
> were maybe not as clean, but were "good enough" to allow development |
30 |
> work to proceed quickly. Then obviously there's polishing at the end |
31 |
> that would have to be done more cleanly. |
32 |
|
33 |
Your best bet here is then to chroot into your livecd-stage1 and start |
34 |
playing. Remember that catalyst just uses "emerge" for most of its |
35 |
work, so you can easily duplicate the steps. |
36 |
|
37 |
You might also want to look into the tinderbox target. It will allow |
38 |
you to determine just what is required above and beyond a stage3 tarball |
39 |
to get your packages working. |
40 |
|
41 |
Personally, I prefer the USE="-*" approach, rather than deciding what |
42 |
you don't need, try to figure out what you want. Turn everything off, |
43 |
then only turn on what you really need. |
44 |
|
45 |
> I quite understand your position: you are using ostensibly stable Gentoo |
46 |
> packages and your work is focused on making sure Catalyst works. I'm |
47 |
> using unstable/development packages and assuming that Catalyst is stable. |
48 |
|
49 |
Catalyst is anything but stable. It works quite well for building a |
50 |
*Gentoo* release, but is not well suited for other things (yet) simply |
51 |
due to that being the only focus of catalyst until recently. |
52 |
|
53 |
> Anyway, I think I have enough now to work with for the moment; adding in |
54 |
> libstdc++ works (I did this last night but forgot to send email), and I |
55 |
> can bind-mount the snapshot and chroot and that works as well. |
56 |
|
57 |
Cool. |
58 |
|
59 |
> My current project is understanding where the kernel boot parameters |
60 |
> come from (my bootline has "nodhcp" which I don't want). My other |
61 |
> problem is that the hardware detection stuff is running too late in the |
62 |
> "default" boot process; it brings up eth0, then sshd, then apache, |
63 |
> _THEN_ runs the hardware detection. So, I can't quite figure out how it |
64 |
> brings up eth0 without detecting the hardware... maybe it runs twice? |
65 |
|
66 |
All of the boot parameters come from the archscript. Normally, |
67 |
autoconfig is started first due to it being first alphabetically. The |
68 |
"hwsetup" portion you see on the Gentoo releases is done by autoconfig, |
69 |
and runs before coldplug. |
70 |
|
71 |
Just curious, but what arch are you building? x86? amd64? ppc? |
72 |
|
73 |
-- |
74 |
Chris Gianelloni |
75 |
Release Engineering - Strategic Lead/QA Manager |
76 |
Games - Developer |
77 |
Gentoo Linux |