Skip to content

v2018.2

@jlebon jlebon tagged this 16 Feb 20:35
This release introduces experimental support for automatic updates. The
initial code drop is only currently able to check for updates, not apply
them. Available updates, as well as any open security advisories, are
displayed in `status`. This paves the way for better integration into
cluster-level tools for smarter update strategies. Regardless, this is
still a welcome feature as-is for single host systems like Atomic
Workstations.
PRs: #1147 #1249

The current policy for auto-update processing is `none`, i.e. disabled.
To turn it on, the `AutomaticUpdatePolicy` setting must be changed in
`rpm-ostreed.conf` and the systemd timer enabled. See
`rpm-ostreed.conf(5)` for details. If you would like to participate in
the design discussions, see:
https://github.com/projectatomic/rpm-ostree/issues/247

A number of improvements to the
[rpm-ostree jigdo](https://github.com/projectatomic/rpm-ostree/issues/1081)
mode have landed; it is still experimental, but we're making progress
quickly. If you want to try it out, see: https://pagure.io/fedora-atomic-host-continuous
You may have noticed in the previous release that we started displaying
`ostree://` in front of refspecs. To make things fully symmetric, we
also now support specifying it where refspecs are expected, in e.g. the
`rebase` command. This support is necessary in order to allow rebasing
between `ostree://` and `rojig://` (jigdo) modes.
PRs: #1210 #1232

We now finally support overriding the kernel via
`rpm-ostree override replace ./kernel-4.x.yz.x86_64.rpm`.  This is a
long-overdue feature as the core libostree model was intended to support
things like this easily, but we had to work through a few details in
integrating with the RPM side.
PRs: #1228 #1226

We have a high level goal to have rpm-ostree be the entrypoint, not
`/usr/bin/ostree`.  As part of that, we added `rpm-ostree usroverlay`
which has exactly the same functionality as `ostree admin unlock`. The
plan is to update documentation slowly.
PR: #1233

Package-layering also got some improvements. The client is now capable
of handling multilib packages, which is required by some third-party
packages. Related to this, overrides are now smarter about handling
shared files between packages.
PR: #1227

Colin Walters (25 PRs, 32 commits)
  core,status: Add API to parse refspecs, use in status (#1208)
  rebase: Add support for providing ostree:// prefix (#1210)
  scripts: Ignore %verifyscript (#1218)
  Fix "releasever" option, test it by default (#1220)
  client: Don't output progress bars on non-ttys (#1225)
  core: Fix override-remove from UsrMove compat paths /lib,/bin etc (#1226)
  core: Set installonly to ensure we only have one kernel (#1228)
  postprocess: Special case NFS state files (#1229)
  Add support for `deploy <version>` in `rojig://` mode (#1232)
  Add `rpm-ostree usroverlay` (#1233)
  scripts: Buffer output in non-journal case, prefix print with id (#1235)
  upgrader: In jigdo mode, don't check rpm-md repos twice for layers (#1241)
  tests/compose: `f` is valid in a hex checksum (#1243)
  jigdo: Clean up client update output a bit (#1244)
  README.md: Add arch diagram, tweak wording, add talk links (#1245)
  util: Initialize sack pointer to NULL (#1246)
  tests: Add RPMOSTREE_TEST_NO_OVERLAY to skip overlay (#1251)
  daemon: Add an origin_is_rojig() helper (#1252)
  PR: #1114
    Switch libdnf to projectatomic branch
    (and 1 commits from other authors)
  PR: #1166
    Add support for `rebase rojig://`
    tests/basic: set -x after setup
    sysroot: LOG_ERR failure to read state, not g_critical()
  PR: #1170
    daemon: Pass GVariant deployment modifier down another level
    daemon: Add an internal typedef for GVariant modifiers
  PR: #1213
    jigdo: V4: Use archful provides for jigdoRPM Requires
    build-sys: Fix trailing comma causing syntax error
  PR: #1238
    jigdo: Use separate rpmostree/jigdo/... refs
    util: Don't do libsolv cache for temporary sacks
  PR: #1240
    origin: Rename jigdo-version key to jigdo-override-version
    status: Render jigdo mode using package NEVRA
  PR: #1256
    jigdo V5: Use number of objects as cache invalidation trigger
    tests/jigdo-e2e: Strictly require npkgs to import

Jonathan Lebon (16 PRs, 36 commits)
  tree: nuke TODO file (#1222)
  lib/package: fix package diffs for multilib (#1230)
  Check and display pending security advisories (#1249)
  daemon/api: fix legacy D-Bus API and add coverage (#1253)
  app/override: allow removing and replacing atomically (#1257)
  Release 2018.2 (#1258)
  PR: #1114
    ci/build-check: add -Wno-error=deprecated-declarations
    (and 1 commits from other authors)
  PR: #1147
    libpriv: add new rpmostree-types.h
    Initial support for automatic updates
  PR: #1204
    daemon/config: add new IdleExitTimeout config
    daemon/config: add new rpm-ostreed.conf
    daemon/sysroot: minor indentation fix
  PR: #1205
    vmcheck/overlay: use --keep-metadata for source-title
    vmcheck/overlay: add version and timestamp in source title
    vmcheck/overlay: drop temporary hacks
  PR: #1212
    vmcheck: always use base config file
    tests/libvm: write rpm build logs to file
    libpriv/util: add function to get deployment root
    daemon: tweak transaction titles for deploy and refresh_md
    libpriv/rpm-util: add path param for pkglist creation
    app/status: no longer print pending info
    app/status: separate state from deployments printing
  PR: #1215
    vmcheck/overlay: always use --consume --no-bindings
    daemon: print warning only if val couldn't be parsed
    Revert "tests/libvm: write rpm build logs to file"
    ci: explicitly pass --sysconfdir=/etc to configure
  PR: #1227
    core: handle shared files and multilib
    libpriv/importer: factor out pathname translator
    core: move utility function higher up
  PR: #1242
    app/status: also check for timer state
    daemon: fix automatic update service switch
    daemon/dbus: remove reboot mode from comments
  PR: #1247
    ci: expand rootfs on CentOS
    core/commit: clean up rpmdb leftover files
  PR: #1248
    tests/libtest: Fix bash syntax error
    daemon/autoupdates: Don't insert rpm-diff if empty

Kalev Lember (1 PR, 1 commit)
  lib: Fix the library name to link to in the pkg-config file (#1221)

Git-EVTag-v0-SHA512: df59daae27c3661be0285c6f27a4f942a3fed80e26af01e69133a0c6819592890ffec30751039adfe7b86ff8517d44dbd07df80bc7b35f22f5b9e6918ad3d667
Assets 2
Loading