howto package kernel-like

Matthew Miller mattdm at mattdm.org
Thu Nov 16 20:49:43 UTC 2006


On Thu, Nov 16, 2006 at 09:40:38PM +0100, Mihamina Rakotomandimby wrote:
> I would like to make a package behaving like the kernel:
> When a new version is available, it installs near the old version, but
> it does not replace the old version.
> Has that kind of package a special name? What keyword or special
> mentions have I got to place in the spec file to get this behaviour?
> Of course, the install name/directory will be different as of the
> versions.

Only one thing is special about the package -- the as you note, new version
must contain nothing that conflicts with the old version. (To avoid such
conflicts, any shared files must be exactly identical.)

Other than that, the magic is done via a yum configuration option.
-- 
Matthew Miller           mattdm at mattdm.org          <http://mattdm.org/>
Boston University Linux      ------>              <http://linux.bu.edu/>




More information about the fedora-devel-list mailing list