Bug 9322

Summary: [meta-swupd] algorithm for determining previous version
Product: [Build System, Metadata & Runtime] Other YP Layers Reporter: Joshua Lock <joshuagloe>
Component: meta-swupdAssignee: Patrick Ohly <patrick.ohly>
Status: RESOLVED OBSOLETE QA Contact:
Severity: enhancement    
Priority: Undecided CC: patrick.ohly, poky.bs.watcher, poky.watcher, richard.purdie
Version: 2.2   
Target Milestone: Future   
Hardware: x86   
OS: Multiple   
Whiteboard:
OS type for building Yocto: --- Type of Regression: ---
Verified: Documentation change: Yes (doc changes required)

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.