[pkg-discuss] Packaging release notes for packages being removed?
- From: Alan Coopersmith <
- Subject: [pkg-discuss] Packaging release notes for packages being removed?
- Date: Fri, 31 May 2013 12:56:13 -0700
I'm working on the removal of some Xorg driver packages and thought I'd
use the release note mechanism in IPS to provide a heads up on upgrade.
I created a file named x11:server:xorg:driver:xorg-video-nv-1.txt which
contained the message I wanted to display:
The nv open source driver for Xorg for Nvidia graphics is no longer provided.
If you have an xorg.conf file which specifies this device driver, you will
need to change it to use the "nvidia" or "vesa" drivers instead.
I then changed the xorg-video-nv package to be marked obsolete:
set name=pkg.fmri \
set name=pkg.obsolete value=true
and added the release note to the x11-server-xorg.p5m manifest:
since I can't put it in the package being removed, and it made most sense in
package providing the Xorg server (since if you don't have that, you don't
about xorg.conf or Xorg driver modules).
Upon upgrading to my test repo with these changes it looked like it was
Packages to remove: 2
Packages to update: 176
Services to change: 2
Release notes can be viewed with 'pkg history -n 1 -N'
DOWNLOAD PKGS FILES XFER (MB)
Completed 178/178 428/428 35.8/35.8
But that command doesn't work - even extending the number to -n 10 simply
2013-05-30T13:16:43: Release notes: None
for all the entries (though with various dates).
Do release notes not work for obsoleting packages? Or have I missed
Oracle Solaris Engineering - http://blogs.oracle.com/alanc