2
2
NEWS for system-image updater
3
3
=============================
7
* Support a built-in PyCURL-based downloader in addition to the traditional
8
ubuntu-download-manager (over D-BUS) downloader. Auto-detects which
9
downloader to use based on whether udm is available on the system bus,
10
pycurl is importable, and the setting of the SYSTEMIMAGE_PYCURL environment
11
variable. Initial contribution by Michael Vogt. (LP: #1374459)
12
* Support alternative machine-id files as fall backs if the D-Bus file does
13
not exist. Specifically, add systemd's /etc/machine-id to the list.
14
Initial contribution by Michael Vogt. (LP: #1384859)
15
* Support multiple configuration files, as in a `config.d` directory. Now,
16
configuration files are named `NN_whatever.ini` where "NN" must be a
17
numeric prefix. Files are loaded in sorted numeric order, with later files
18
overriding newer files. Support for both the `client.ini` and
19
`channel.ini` files has been removed. (LP: #1373467)
20
* The `[system]build_file` variable has been removed. Build number
21
information now must come from the `.ini` files, and last update date
22
comes from the newest `.ini` file loaded.
23
* The `-C` command line option now takes a path to the configuration
25
* Reworked the checking and downloading locks/flags to so that they will work
26
better with configuration reloading. (LP: #1412698)
27
* Support for the `/etc/ubuntu-build` file has been removed. The build
28
number now comes from the configuration files. (LP: #1377312)
29
* Move the `archive-master.tar.xz` file to `/usr/share/system-image` for
30
better FHS compliance. (LP: #1377184)
31
* Since devices do not always reboot to apply changes, the `[hooks]update`
32
variable has been renamed to `[hooks]apply`. (LP: #1381538)
33
* For testing purposes only, `system-image-cli` now supports an
34
undocumented command line switch `--skip-gpg-verification`. Originally
35
given by Jani Monoses. (LP: #1333414)
36
* A new D-Bus signal `Applied(bool)` is added, which is returned in
37
response to the `ApplyUpdate()` asynchronous method call. For devices
38
which do not need to reboot in order to apply the update, this is the only
39
signal you will get. If your device needs to reboot you will also receive
40
the `Rebooting(bool)` command as with earlier versions. The semantics of
41
the flag argument are the same in both cases, as are the race timing issues
42
inherent in these signals. See the `system-image-dbus(8)` manpage for
43
details. (LP: #1417176)
44
* As part of LP: #1417176, the `--no-reboot` switch for
45
`system-image-cli(1)` has been deprecated. Use `--no-apply` instead
46
(`-g` is still the shortcut).
47
* Support production factory resets. `system-image-cli --production-reset`
48
and a new D-Bus API method `ProductionReset()` are added. Given by Ricardo
49
Salveti. (LP: #1419027)
50
* A new key, `target_version_detail` has been added to the dictionary
51
returned by the `.Information()` D-Bus method. (LP: #1399687)
52
* The `User-Agent` HTTP header now also includes device and channel names.
54
* Added `--progress` flag to `system-image-cli` for specifying methods for
55
reporting progress. Current available values are: `dots` (compatible with
56
system-image 2.5), `logfile` (compatible with system-image 2.5's
57
`--verbose` flag), and `json` for JSON records on stdout. (LP: #1423622)
58
* Support for the `SYSTEMIMAGE_DBUS_DAEMON_HUP_SLEEP_SECONDS` environment
59
variable has been removed.
60
* Fix `system-image-cli --list-channels`. (LP: #1448153)
64
* Make phased upgrade percentage calculation idempotent for each tuple of
65
(channel, target-build-number, machine-id). Also, modify the candidate
66
upgrade path selection process such that if the lowest scored candidate
67
path has a phased percentage greater than the device's percentage, the
68
candidate will be ignored, and the next lowest scored candidate will be
69
checked until either a winner is found or no candidates are left, in which
70
case the device is deemed to be up-to-date. (LP: #1383539)
71
* `system-image-cli -p/--percentage` is added to allow command line override
72
of the device's phased percentage.
73
* `system-image-cli --dry-run` now also displays the phase percentage of the
74
winning candidate upgrade path.
7
78
* Remove the previously deprecated `system-image-cli --dbus` command line
8
79
switch. (LP: #1369717)