Shawn Walker wrote:
Chris Gerhard wrote:
When virtualbox packages are released they will install on a running system without requiring a reboot.

However since pkg image-update creates a new BE I get a bonus reboot. Would it be possible for packages that can be installed in the live system to install there. By all means create a new BE just in case but just install in the live BE thus saving a reboot?

This has been discussed, but be aware that you don't have to image-update to update specific packages on your system.

If you want to update a specific package just do something like:

pfexec pkg install pkg1 pkg2 pkg3 ...

That will "install" the newest version that can be installed for your current system of the indicated packages.

Cheers,

I have a draft proposal to make the creation of a new boot environment
a flexible aspect of all image-modifying operations:

Currently, the pkg command deals rather simplistically with boot
environments; it always creates a new boot environent when doing an
image update or change-variant, and never does one on pkg install.  We
recently enhanced pkg install and uninstall to prevent operation on
the live image if doing so would modify files tagged with
reboot-needed=true.  However, it would be nice if pkg(1) could be a
little more malleable.

We can add the following option to install, uninstall, image-update
and change-variant and change-facet:

--new-be=[always, if-needed, never]

which would do as the names suggest: always create a new BE, create
one only if a file tagged w/ reboot-needed is being modified or
removed, or never create one respectively.  In the latter case, the
operation will fail if such a file tagged w/ reboot-needed would be
affected.

I suggest that the default for all command be made "if-needed".  This
would allow for a maximum of operational flexibility.  This means that
if the only update available in your current set of repositories
impacts OpenOffice, you would not get a new boot environment during an
image-update.  Likewise, changing facets to add or remove locale
support would not require a reboot, but modifying facets that cause
drivers to be removed would require a reboot since that has the
potential of preventing said reboot.


Alternatively, we can leave install and uninstall the way they are today, with the default being --new-be=never. I would like
to make the rest of the commands if-needed, since this will
improve usability significantly for common operations.


- Bart


--
Bart Smaalders                  Solaris Kernel Performance
[email protected]         http://blogs.sun.com/barts
"You will contribute more with mercurial than with thunderbird."
_______________________________________________
pkg-discuss mailing list
[email protected]
http://mail.opensolaris.org/mailman/listinfo/pkg-discuss

Reply via email to