Tian He wrote:
> I have been reading lots of articles on building and installing ON, and 
> with the help of many people online successfully performed an 
> installation. However, there are some questions which I couldn't find 
> answers to:
> 
>    1. Is it necessary to add the extra repository in order to build ON?
>       I checked the packages contained in the extra repository, none of
>       which seems to be related to buidling ON.

Yes, it is neccessary to install packages from the extras repo.
This is because there are some parts of the ON build which depend
on files and libraries which we have to deliver separately due to
licensing or other reasons.

>    2. Is it necessary to install gcc-dev and java-dev in order to build ON?

You'll need gcc-dev if you want to do a build with the shadow compiler,
or if you do not want to build with Sun Studio.

You will need the SUNWj6dev and SUNWmercurial packages which are included
with java-dev, but I don't believe you will need the other packages in that
metapackage.

Note that you will also need to install the wbem packages, and postgres8.3.

>    3. Is it necessary to add the name of our new kernel directory to the
>       file /boot/solaris/filelist.ramdisk ?

No, because each of the entries in that file are rooted at / (or
at /mountpoint for a -R operation) when bootadm update-archive is run.

> what does this file do? I
>       couldn't find its description online. In fact I just installed the
>       new kernel and rebooted without adding the kernel name to
>       /boot/solaris/filelist.ramdisk. It didn't cause any error message.

The file /boot/solaris/filelist.ramdisk is a sort of a seed file for
bootadm to look at for instructions on which files and directories it
should include in a newly generated boot archive.

The file /boot/solaris/filelist.safe is a file that lists exceptions
to the filelist.ramdisk contents - these files are allowed to change
without being incorporated into a new boot archive.




James C. McPherson
--
Senior Kernel Software Engineer, Solaris
Sun Microsystems
http://blogs.sun.com/jmcp       http://www.jmcp.homeunix.com/blog

Reply via email to