Please take our Survey
logo       

Choosing A Webhost:
A web hosting service is a type of Internet hosting service that allows individuals and organizations to provide their own website accessible via the World Wide Web. Web hosts are companies that provide space on a server they own for use by their clients as well as providing Internet connectivity, typically in a data center. Web hosts can also provide data center space and connectivity to the Internet for servers they do not own to be located in their data center, called colocation. more...

Re: Overwriting linuxrc: msg#00040

Subject: Re: Overwriting linuxrc
On Wed, May 25, 2005 at 01:18:34PM -0400 or thereabouts, Paul Smith wrote:
> 
>   db> I was the one who implemented that patch for genkernel, and I
>   db> specifically implemented it for use with catalyst.
> 
>   db> You just need to have some process for introducing the linuxrc into
>   db> the catalyst chroot during the build process(which is what I did).
> 
> OK.  I think it's good that genkernel has that option, definitely.
> 
> But it seems to me like it would be much cleaner from a Catalyst
> perspective (and certainly simpler for the user) if there were a
> Catalyst option that took a filename, then Catalyst would handle putting
> that file into the chroot and adding --linuxrc to the argument list of
> genkernel pointing to that file.
> 
> No?
> 

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

>   db> The code for doing this is in the embedded build type(which I also
>   db> wrote), so you just need to add those bits to the livecd_stageX
>   db> module.
> 
> Hm, sorry for my noobie brain, but I didn't grok that sentence :-)
> 
> What's "the embedded build type" and where would I set about looking for

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

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

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

help at all ?

Attachment: pgpQicJnGyPRF.pgp
Description: PGP signature

<Prev in Thread] Current Thread [Next in Thread>
Google Custom Search

Recently Viewed:
drivers.mtd/200...    security.firewa...    java.openamf.cv...    rpm.yum/2003-08...    telephony.sipp....    file-systems.oc...    qnx.openqnx.dev...    voip.linphone.u...    hardware.sony/2...    network.simulat...    boot-loaders.gr...    ietf.usenet.for...    culture.languag...    emacs.latex.pre...    music.jamiroqua...    xfree86.neomagi...    user-groups.lin...    ltp/2006-08/msg...    kde.kst/2005-08...    programming.too...    os.freebsd.deve...    window-managers...    audio.cd-record...    gnu.fiasco.bugs...   
Home | advertise | OSDir is an inevitable website. super tiny logo

Free Magazines

Cisco News
Receive a free quarterly e-newsletter with exclusive articles on how Cisco IT uses its own products and solutions to enable the business.
subscribe

Systems Management News, the newspaper for IT systems administration and data center managers! Each issue of Systems Management News is chock-full of news and analysis to help you understand what's happening in your field.
subscribe

The Enterprise Newsweekly eWeek is the essential technology information source for builders of e-business.
subscribe

Oracle Magazine Oracle Magazine contains technology strategy articles, sample code, tips, Oracle and partner news, how to articles for developers and DBAs, and more. Oracle (NASDAQ: ORCL) is the world's largest enterprise software company.
subscribe

Total Telecom Total Telecom is "The Economist of the communications industry".
subscribe

Navigation