Bug 9322 - [meta-swupd] algorithm for determining previous version
Summary: [meta-swupd] algorithm for determining previous version
Status: RESOLVED OBSOLETE
Alias: None
Product: Other YP Layers
Classification: Build System, Metadata & Runtime
Component: meta-swupd (show other bugs)
Version: 2.2
Hardware: x86 Multiple
: Undecided enhancement
Target Milestone: Future
Assignee: Patrick Ohly
QA Contact:
URL:
Whiteboard:
Depends on:
Blocks:
 
Reported: 2016-03-22 12:29 UTC by Joshua Lock
Modified: 2018-10-11 15:23 UTC (History)
4 users (show)

See Also:
OS type for building Yocto: ---
Type of Regression: ---
Verified:
Documentation change: Yes (doc changes required)


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Joshua Lock 2016-03-22 12:29:02 UTC
The expected algorithm below, based on the shell script pack_maker.sh from swupd-server, is:
1. parse the latest Manifest.MoM,
2. extract "previous",
3. parse the "previous" Manifest.MoM
4. repeat the steps 2-4 $SWUPD_N_DELTAPACK - 1 times.

This enhancement is useful because there might be correcting releases whose version id is not a multiple of 10.
Comment 1 Patrick Ohly 2017-09-21 07:07:06 UTC
Right now there is no algorithm at all anymore, the versions against which deltas are to be calculated have to be set in SWUPD_DELTAPACK_VERSIONS.

Not sure whether this is really required at the moment.
Comment 2 Richard Purdie 2018-10-11 15:23:58 UTC
Upstream swupd has changed a lot and integration with the Yocto Project would be tricky and need rework to the layer. Closing this as obsolete since any new integration would need rework and have its own issues.