1 |
The handbook steps for setting up genkernel are [1]: |
2 |
|
3 |
# emerge gentoo-sources genkernel |
4 |
# genkernel --menuconfig all # optional |
5 |
# genkernel all |
6 |
|
7 |
If you stay conservative (e.g. ext2/3 boot partition), there's no need |
8 |
for the menuconfig step. However, when I try and build a stage4 |
9 |
using: |
10 |
|
11 |
# cat default-stage4-i686-2013.1.spec |
12 |
… |
13 |
boot/kernel: gentoo |
14 |
boot/kernel/gentoo/sources: gentoo-sources |
15 |
# catalyst -f spec/default-stage4-i686-2013.1.spec |
16 |
|
17 |
I get: |
18 |
|
19 |
/proc is still mounted; performing auto-bind-umount... Auto-unbind successful... |
20 |
Traceback (most recent call last): |
21 |
File "/usr/lib/catalyst/catalyst", line 214, in build_target |
22 |
mytarget.run() |
23 |
File "modules/generic_stage_target.py", line 1290, in run |
24 |
apply(getattr(self,x)) |
25 |
File "modules/generic_stage_target.py", line 1420, in build_kernel |
26 |
if not os.path.exists(self.settings["boot/kernel/"+kname+"/config"]): |
27 |
KeyError: 'boot/kernel/gentoo/config' |
28 |
!!! catalyst: Error encountered during run of target stage4 |
29 |
|
30 |
What's changed? Why do I need to seed catalyst with a config file, |
31 |
when I don't need to from the handbook instructions? Maybe this usage |
32 |
is just unimplemented because nobody has needed it yet? |
33 |
|
34 |
Thanks, |
35 |
Trevor |
36 |
|
37 |
[1]: http://www.gentoo.org/doc/en/handbook/handbook-x86.xml?part=1&chap=7#doc_chap4 |
38 |
|
39 |
-- |
40 |
This email may be signed or encrypted with GnuPG (http://www.gnupg.org). |
41 |
For more information, see http://en.wikipedia.org/wiki/Pretty_Good_Privacy |