Hi,

For the first solution
I'm not sure about what you mean by appropriate directories. I was trying to 
search for a package named kernel or something but didn't found any on my 
machine from pkg list command. I'm a newbie so I'll require a bit more help.

For the second solution, now since the online repo is timing out, what I tried 
was to create a repo of my own, with a dummy package. (Only 1). Now when I 
tried to build my image, obviously no programs would be there, I got errors , 
I've turned off errors just to see exactly what goes on with the scripts.

Now the scripts require that pkg_img contains the required directories. I'm 
assuming that this happens while installing the packages that they unpack and 
create the required directories? But if that's the case, the scripts themselves 
don't contain the kernel image that needs to go in this live iso image (or does 
it?). Now where is this being specified? The manifest for distro_const? I 
didn't saw any entry for ai_x86_image.xml that specifies the kernel image.

I hope you understand what I'm trying to do here... Thanks very much for the 
response.



-----Original Message-----
From: Keith Mitchell [mailto:keith.mitch...@oracle.com]
Sent: Thursday, June 17, 2010 8:10 PM
To: Pranay Kumar Shrivastava
Cc: opensolaris-discuss@opensolaris.org; caiman-discuss
Subject: Re: [osol-discuss] Specifying the kernel in my image.

(Cross-posting to caiman-discuss)

If you've compiled the kernel sources, you have 2 options:

1) Publish them as the appropriate IPS package to a (local) repository,
and use that as the preferred publisher / authority for the distro_const
(DC) build.
2) Add a finalizer script, immediately after the "im-pop" finalizer,
that copies the binary into the correct location in the proto/pkg_image
area of the build*.

* See: http://dlc.sun.com/osol/docs/content/dev/DistroConst/scripts.html

On 06/17/10 04:26 AM, Pranay Srivastava wrote:
> Hi,
> I've been experimenting with [u][b]distro_const[/b][/u], the manifest file ( 
> Mostly same i actually copied from AI installer for x86).
>
> The question is if say i've compiled a the kernel sources and they reside in 
> the platform/build-18..... some directory. So how and where do i specify that 
> this kernel binary should be used instead? I've seen the 
> [u][b]boot_root[/b][/u] section and in there i see two entries...
>
> [i][u][b]<base_include type="dir">kernel</base_include>
> <base_include type="dir">platform</base_include>[/b][/u][/i]
>
> I'm guessing that these are supposed to tell which kernel should go in the 
> iso right? however actually which one is it?  The the /kernel is the current 
> current not the one i compiled.
>
> So which one of these is to be used?
>
> Thanks for ur help
>

DISCLAIMER:
-----------------------------------------------------------------------------------------------------------------------

The contents of this e-mail and any attachment(s) are confidential and intended 
for the named recipient(s) only. 
It shall not attach any liability on the originator or HCL or its affiliates. 
Any views or opinions presented in 
this email are solely those of the author and may not necessarily reflect the 
opinions of HCL or its affiliates. 
Any form of reproduction, dissemination, copying, disclosure, modification, 
distribution and / or publication of 
this message without the prior written consent of the author of this e-mail is 
strictly prohibited. If you have 
received this email in error please delete it and notify the sender 
immediately. Before opening any mail and 
attachments please check them for viruses and defect.

-----------------------------------------------------------------------------------------------------------------------

_______________________________________________
opensolaris-discuss mailing list
opensolaris-discuss@opensolaris.org

Reply via email to