Different layers have different policies for keeping versions of software around. OE-Core for example is fairly agressive about having one, good, recent version of the software than many older versions. Other layers may have different policies.

Different layers have different policies for keeping versions of software around. OE-Core for example is fairly agressive about having one, good, recent version of the software than many older versions. Other layers may have different policies.

* If it is present, remove any line setting PR on upgrades (when PV changes).

+

* Generally we try to avoid pre-release versions; however sometimes upstream doesn't give us a choice. See [[Versioning policy]] for how to deal with pre-release versions.

+

* If LIC_FILES_CHKSUM needs to be changed as part of the upgrade, you '''must''' explain exactly why in the commit message. It's fine if it is just a copyright year, formatting or other minor change; however if the license text has changed in more substantially than that it may be that the license is now materially different.

[[Category:Policy]]

[[Category:Policy]]

Revision as of 13:23, 5 June 2014

Contents

General upgrading procedures

Different layers have different policies for keeping versions of software around. OE-Core for example is fairly agressive about having one, good, recent version of the software than many older versions. Other layers may have different policies.

There are two cases we need to consider:

You do want to keep the version of the bb file that is in OE now (somebody else needs this particular version)

If you do want to keep the last version of the package

Guidelines

If it is present, remove any line setting PR on upgrades (when PV changes).

Generally we try to avoid pre-release versions; however sometimes upstream doesn't give us a choice. See Versioning policy for how to deal with pre-release versions.

If LIC_FILES_CHKSUM needs to be changed as part of the upgrade, you must explain exactly why in the commit message. It's fine if it is just a copyright year, formatting or other minor change; however if the license text has changed in more substantially than that it may be that the license is now materially different.