So fire up package-manager and install it - or use the groovy install link from the repo directly.
:wq
Skip to content, navigation.
04 November 2009
- FMA - OpenSolaris - Oracle - Personal - Sun -
So fire up package-manager and install it - or use the groovy install link from the repo directly.
:wq
Intel® QuickPath Architecture Performance
...
- Hot plug capability to support hot plugging of nodes, such as processor cards.
As Intel's engagement in the OpenSolaris community has continued, the first step toward readying Solaris for the hot-add capabilities of Nehalem hits build 123. This first round of changes lay down the ACPI infrastructure future phases of support will rely upon. Kudos out to Gerry Liu at Intel for getting the code into OpenSolaris. Places to get more details:
And of course me in my FMA world will get more excited as Solaris continues to be able to fault manage newly added resources. More to come on that I'm sure...
:wq
One of the comments I'd gotten was to tighten up the permissions on the binaries and man pages. In the initial port, the spec file did this for the packaging:
%files %defattr (-, root, bin) %doc AUTHORS CHANGELOG README %dir %attr(0755, root, bin) %{_sbindir} %{_sbindir}/* %dir %attr(0755, root, bin) %{_mandir} %{_mandir}/*/*
While the directory attributes were explicitly set, the file attributes weren't. So I tried this:%files %defattr (-, root, bin) %doc AUTHORS CHANGELOG README %dir %attr(0755, root, bin) %{_sbindir} %attr(0555, root, bin) %{_sbindir}/* %{_sbindir}/* %dir %attr(0755, root, bin) %{_mandir} %attr(0444, root, bin) %{_mandir}/*/* %{_mandir}/*/*
Wonderful. Now the permissions are tighter on the binaries and man pages. However, the SJ build was quite unhappy.pkgbuild: Creating packages... pkgbuild: pkgbuild: File listed twice: usr/sbin/biosdecode pkgbuild: pkgbuild: File listed twice: usr/sbin/dmidecode pkgbuild: pkgbuild: File listed twice: usr/sbin/ownership pkgbuild: pkgbuild: File listed twice: usr/sbin/vpddecode pkgbuild: pkgbuild: File listed twice: usr/share/man/man8/biosdecode.8 pkgbuild: pkgbuild: File listed twice: usr/share/man/man8/dmidecode.8 pkgbuild: pkgbuild: File listed twice: usr/share/man/man8/ownership.8 pkgbuild: pkgbuild: File listed twice: usr/share/man/man8/vpddecode.8
After quite a bit of trial and error, I realized that when the %attr directive is used for a file or set of files, the files the directive references are included in the package. So the final %files section is:
%files %defattr (-, root, bin) %doc AUTHORS CHANGELOG README %dir %attr(0755, root, bin) %{_sbindir} %attr(0555, root, bin) %{_sbindir}/* %dir %attr(0755, root, bin) %{_mandir} %attr(0444, root, bin) %{_mandir}/man8/*
The moral of the story is that when using %attr you don't need (and don't want :) individual lines listing the sames files for inclusion in the package.:wq
This blog copyright 2009 by Scott Davenport