logo       
Google Custom Search
    AddThis Social Bookmark Button
-->

Re: Overwriting linuxrc: msg#00044

Subject: Re: Overwriting linuxrc
%% David Bryson <mutex-aBrp7R+bbdUdnm+yROfE0A@xxxxxxxxxxxxxxxx> writes:

  db> naw, much better to put something in spec file like
  db> livecd/linuxrc: <path to my linuxrc>

Yeah, that's exactly what I meant by "Catalyst option".  Oh, I see, you
thought I meant command line option.  My bad: I meant a spec file option
(in my first message I think I also used that name, actually :-))

  >> What's "the embedded build type" and where would I set about looking for

  db> As andrew already mentioned it's a 'module' inside catalyst that
  db> describes how to build a certain type of system from a spec file.

  db> I actually implemented it as part of the 'kernel' arguments to the
  db> spec file.  My files look something like this:

  db> boot/kernel: vanilla
  db> boot/kernel/runscript: /usr/lib/catalyst-devel/targets/embedded/kmerge.sh
  db> boot/kernel/vanilla/sources: =sys-kernel/vanilla-sources-2.4.26
  db> boot/kernel/vanilla/config: /root/kernel-config
  db> boot/kernel/vanilla/gk_kernargs: --arch-override=x86 
  db> --linuxrc=/tmp/mergeroot/linuxrc
  db> boot/kernel/vanilla/gk_action: all

  db> help at all ?

Hm.  Which one of these do you modify to install your linuxrc into
/tmp/mergeroot?  It seems like boot/kernel/runscript (which isn't
documented in the 1.x release notes AFAICT) runs when you're already in
the chroot, so that's too late... no?

-- 
-------------------------------------------------------------------------------
 Paul D. Smith <psmith-ZIRUuHA3oDzQT0dZR+AlfA@xxxxxxxxxxxxxxxx>           
HASMAT--HA Software Mthds & Tools
 "Please remain calm...I may be mad, but I am a professional." --Mad Scientist
-------------------------------------------------------------------------------
   These are my opinions---Nortel Networks takes no responsibility for them.
-- 
gentoo-catalyst-aBrp7R+bbdUdnm+yROfE0A@xxxxxxxxxxxxxxxx mailing list




<Prev in Thread] Current Thread [Next in Thread>