Again maybe naive questions, but:
On 11/16/11 14:52, Karen Tung wrote:
Hi Alan,
DC requires the OS version to be the same as the image that's being
built because DC
executes commands during the build process. For example, the svccfg
command is used
for pre-loading the SMF repositories.
Is this assuming the svccfg interface is going to change? I'm assuming
that S11 interfaces are now stable. What exactly is required that cannot
be accessed from elsewhere?
In the past, we tried to execute all commands
from DC's build area, and we also setup the LD_LIBRARY_PATH to point
to the libraries
in DC's build area, since we do have all the latest binaries there.
There's no need to mount another BE like you suggested.
This works most of the time, but it does not cover all cases. For
example, if a command
running from DC's build area relies on a kernel module that's newer
than the one on the system, we can't load and use that module in real
time.
So in order to create a bootable ISO image, the kernel modules that will
be used must also be run from the live system?
Other examples of incompatibility is if the command requires an
updated configuration
file in the OS, we can't point it to that either.
Why does the configuration file have to be on the live OS?
Therefore, we decided that the safest thing to do is to always build
on a machine that is running the same OS as the images being built.
In development, we do build images on systems with older OS versions
than the the image we are building. However, that's absolutely
*unsupported*,
and it's not guaranteed to work.
If one would assume that interfaces are not changing, what would it take
to support running a DC build on the Solaris 11 release in order to
build repo ISOs for an update or SRU build? I'm hoping that based on the
stability of the release this will actually be supported.
-- Alan
For your case, one idea is to maintain the different OS env as
different BE,
and just boot the BE with the "right" OS version when you want to do
DC build.
Thanks,
--Karen
On 11/16/11 10:32 AM, Alan Steinberg wrote:
We are looking at how to share systems, but with the DC requirement
to build on the latest OS, it makes it difficult.
The manpage says:
"And, the operating system release version on your system
must be the same release version as the image that you are building."
Would it be possible to make the tools work by using a mounted BE
rather than the live one? For example, we would mount s11u1_bld02 as
something like /oldbes/s11u1_bld02, then point distro_const at that
BE for any files that need to be referenced.
Is this too naive? If so, it would be useful to know *exactly* what
parts of the build env. are required for building ISO images for a
particular build, and to know if it may be possible to eliminate some
of these dependencies.
-- Alan
_______________________________________________
caiman-discuss mailing list
[email protected]
http://mail.opensolaris.org/mailman/listinfo/caiman-discuss
_______________________________________________
caiman-discuss mailing list
[email protected]
http://mail.opensolaris.org/mailman/listinfo/caiman-discuss