public inbox for gentoo-catalyst@lists.gentoo.org
 help / color / mirror / Atom feed
* [gentoo-catalyst] stage4 kernel config for genkernel?
@ 2013-02-09 12:15 W. Trevor King
  2013-02-09 12:56 ` Chris White
  0 siblings, 1 reply; 12+ messages in thread
From: W. Trevor King @ 2013-02-09 12:15 UTC (permalink / raw
  To: gentoo-catalyst

[-- Attachment #1: Type: text/plain, Size: 1502 bytes --]

The handbook steps for setting up genkernel are [1]:

  # emerge gentoo-sources genkernel
  # genkernel --menuconfig all  # optional
  # genkernel all

If you stay conservative (e.g. ext2/3 boot partition), there's no need
for the menuconfig step.  However, when I try and build a stage4
using:

  # cat default-stage4-i686-2013.1.spec
  …
  boot/kernel: gentoo
  boot/kernel/gentoo/sources: gentoo-sources
  # catalyst -f spec/default-stage4-i686-2013.1.spec

I get:

  /proc is still mounted; performing auto-bind-umount... Auto-unbind successful...
  Traceback (most recent call last):
  File "/usr/lib/catalyst/catalyst", line 214, in build_target
      mytarget.run()
  File "modules/generic_stage_target.py", line 1290, in run
      apply(getattr(self,x))
  File "modules/generic_stage_target.py", line 1420, in build_kernel
      if not os.path.exists(self.settings["boot/kernel/"+kname+"/config"]):
  KeyError: 'boot/kernel/gentoo/config'
  !!! catalyst: Error encountered during run of target stage4

What's changed?  Why do I need to seed catalyst with a config file,
when I don't need to from the handbook instructions?  Maybe this usage
is just unimplemented because nobody has needed it yet?

Thanks,
Trevor

[1]: http://www.gentoo.org/doc/en/handbook/handbook-x86.xml?part=1&chap=7#doc_chap4

-- 
This email may be signed or encrypted with GnuPG (http://www.gnupg.org).
For more information, see http://en.wikipedia.org/wiki/Pretty_Good_Privacy

[-- Attachment #2: OpenPGP digital signature --]
[-- Type: application/pgp-signature, Size: 836 bytes --]

^ permalink raw reply	[flat|nested] 12+ messages in thread

end of thread, other threads:[~2013-03-01  6:07 UTC | newest]

Thread overview: 12+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2013-02-09 12:15 [gentoo-catalyst] stage4 kernel config for genkernel? W. Trevor King
2013-02-09 12:56 ` Chris White
2013-02-09 13:18   ` W. Trevor King
2013-02-09 20:45   ` [gentoo-catalyst] [PATCH 0/6] Make external kernel configs optional W. Trevor King
2013-02-09 20:45     ` [gentoo-catalyst] [PATCH 1/6] generic_stage_target: Split ._build_kernel() out of .build_kernel() W. Trevor King
2013-02-09 20:45     ` [gentoo-catalyst] [PATCH 2/6] generic_stage_target: Split ._copy_kernel_config() from ._build_kernel() W. Trevor King
2013-02-09 20:45     ` [gentoo-catalyst] [PATCH 3/6] generic_stage_target.py: Dedent the bulk of ._build_kernel() W. Trevor King
2013-02-09 20:45     ` [gentoo-catalyst] [PATCH 4/6] generic_stage_target: Split ._copy_initramfs_overlay() from ._build_kernel() W. Trevor King
2013-02-09 20:45     ` [gentoo-catalyst] [PATCH 5/6] generic_stage_target: Handle unspecified boot/kernel/<kname>/config W. Trevor King
2013-02-09 20:45     ` [gentoo-catalyst] [PATCH 6/6] kmerge.sh: Make /var/tmp/${clst_kname}.config optional W. Trevor King
2013-03-01  5:57       ` [gentoo-catalyst] [PATCH] kmerge.sh: Fix line wrapping typo from 9ceebbf W. Trevor King
2013-03-01  6:06         ` Matt Turner

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox