1 |
On Thu, 2005-09-01 at 14:23 -0400, Mike B wrote: |
2 |
|
3 |
> livecd/packages: |
4 |
> livecd-tools |
5 |
|
6 |
> kudzu |
7 |
|
8 |
> !!! Error: the sys-libs/libkudzu package conflicts with another |
9 |
> package. |
10 |
> !!! both can't be installed on the same system together. |
11 |
> !!! Please use 'emerge --pretend' to determine blockers. |
12 |
|
13 |
Here's your problem. By the way, using the -V command line option to |
14 |
catalyst when building would have shown you where the problem package |
15 |
lies. Also, the spec file you're basing this off of is *very* old if it |
16 |
still has kudzu in there. I would suggest finding something a little |
17 |
less dated. Try USE="doc examples" emerge catalyst. |
18 |
|
19 |
> However, there are some problems, for one the resolution is 800x600. |
20 |
|
21 |
Without USE="X" then livecd-tools does not install mkxf86config (or |
22 |
x-setup, for that matter). |
23 |
|
24 |
If you want proper X support, you are *required* to use USE="X", unless |
25 |
you come up with your own method of X auto-detection. |
26 |
|
27 |
> Also I want to load gdm instead of xdm. I think for gdm I am |
28 |
> supposed to create a "livecd/root_overlay:" with my own /etc/rc.conf |
29 |
> file that specifies: |
30 |
> DISPLAYMANAGER="gdm" |
31 |
|
32 |
I'd use a fsscript to sed the gdm.conf file and rc.conf. At least, |
33 |
that's what I did for the 2005.1 Installer LiveCD. |
34 |
|
35 |
> is "livecd/root_overlay:" supposed to have a path to a directory as a |
36 |
> value? |
37 |
|
38 |
Yes. |
39 |
|
40 |
This is documented in the example specs installed when using USE="doc". |
41 |
The specs installed when using USE="examples" are the specs used to |
42 |
build 2005.0's release. |
43 |
|
44 |
> and if yes, the contents of that directory are copied onto "/" |
45 |
> correct? |
46 |
|
47 |
Yes. |
48 |
> |
49 |
> In regards to 800x600 resolution, I would prefer this be 1024x768, one |
50 |
> solution I am considering would be to include a "livecd/fsscript:" |
51 |
> that contains some code to edit /etc/X11/xorg.conf. Is this a |
52 |
> workable solution? does this script get executed after X is |
53 |
> configured? are there any better options? |
54 |
|
55 |
The solution above is the best solution. |
56 |
|
57 |
The script gets executed when building your CD, not after X is |
58 |
configured. There is nothing that is executed at boot, rather than at |
59 |
build-time configured via catalyst. |
60 |
|
61 |
> Some other random things... |
62 |
> I would like the root password preset instead of scrambled... |
63 |
> "livecd/fsscript:"? |
64 |
|
65 |
livecd/rcdel: pwgen *and* fsscript |
66 |
|
67 |
You could also remove pwgen from yout livecd-stage1 spec file. |
68 |
|
69 |
> I want to be able to use some masked packages, specifically vnc for |
70 |
> now, but more in the future. I noticed "portage_confdir:", and I am |
71 |
> thinking that info should go into a package.keywords file in that |
72 |
> directory. It seems the stage 2 live cd config file takes this |
73 |
> variable, but does stage 1? |
74 |
|
75 |
Yes. |
76 |
|
77 |
The preferred method is to just edit the ebuild itself in your portage |
78 |
directory before making your snapshot, though. Be sure to run ebuild |
79 |
<ebuildname> digest from the ebuild's directory, though! |
80 |
|
81 |
> The functionality I am trying to achieve with vnc is to use the |
82 |
> "+server" USE flag when i build it so that i can load the X module, |
83 |
> which i will also need to edit xorg.conf for, so hopefully i can do |
84 |
> that that with "livecd/fsscript:". |
85 |
|
86 |
No. You could try using a root_overlay with your |
87 |
own /etc/conf.d/local.start, but I recommend that you copy the one that |
88 |
ships with catalyst as a basis, and append to it, rather than making |
89 |
your own. You can find it under /usr/lib/catalyst/livecd/files as |
90 |
livecd-local.start. |
91 |
|
92 |
Good luck. |
93 |
|
94 |
-- |
95 |
Chris Gianelloni |
96 |
Release Engineering - Strategic Lead/QA Manager |
97 |
Games - Developer |
98 |
Gentoo Linux |