[pkg-discuss] Re: Packaging release notes for packages being removed?
- From: Bart Smaalders <
- Subject: [pkg-discuss] Re: Packaging release notes for packages being removed?
- Date: Fri, 31 May 2013 13:23:53 -0700
- Organization: Oracle
On 05/31/13 12:56, Alan Coopersmith wrote:
> 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
> 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:
> file \
> since I can't put it in the package being removed, and it made most sense
> in the
> 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
I'd not played with this particular application. Looking at the code,
it should work.
You may wish to try using
I'll need to construct a test case and dig into this further.
Bart Smaalders Solaris Core OS
"You will contribute more with Mercurial than with Thunderbird."
"Civilization advances by extending the number of important
operations which we can perform without thinking about them."