Go to file
Jonathan Lebon 80267a423a status: handle errors from json-glib
The API for json_generator_to_stream() says:

    Return value: %TRUE if the write operation was successful, and
    %FALSE on failure. In case of error, the #GError will be filled
    accordingly

When in fact, because it just gives back what g_output_stream_write(),

    1. it doesn't strictly return TRUE/FALSE, but a full-range uint, and
    2. it will return -1 (which is as good as anything > 0 for success
       checks) when an error occurs.

Although a simple <= 0 would fix it, let's just be extra strict and also
check for an error.

Closes: #468

Closes: #469
Approved by: miabbott
2016-09-26 14:49:51 +00:00
api-doc build: Use git.mk, make git status clean 2016-03-10 14:36:44 -05:00
buildutil build: Import attributes.m4 copy from systemd, update warnings 2016-08-08 14:26:28 +00:00
design design/package-layering: New file 2014-06-18 08:48:03 -04:00
docs docs: update link to sample and link to some dists 2016-09-22 21:47:26 +00:00
libdnf@b69552b3b3 Update to latest libdnf 2016-08-11 19:26:06 +00:00
libglnx@4ae5e3beaa compose: Port bits of postprocessing to fd-relative 2016-08-08 18:11:42 +00:00
man Rename pkg-add -> install, move out of preview 2016-09-07 22:11:33 +00:00
packaging packaging: Add a cccp.yml and tweak Dockerfile 2016-09-13 13:35:12 +00:00
scripts compose: Add check-passwd/group JSON options, fails compose if uids/gids change 2014-12-18 16:59:33 -05:00
src status: handle errors from json-glib 2016-09-26 14:49:51 +00:00
tests vmcheck: add a test for RPM scripts 2016-08-17 21:28:01 +00:00
tests-container tests-container: New experimental testing code path 2016-03-11 08:38:06 -05:00
vagrant vagrant/Makefile: drop sudo and depend on buildimg 2016-07-15 19:14:19 +00:00
.gitmodules gitmodules: Update for rename 2016-08-04 22:10:59 +00:00
.travis.yml Add a stub travis file to enable Homu 2016-03-15 19:34:19 +00:00
autogen.sh autogen.sh: tweak program checking logic 2015-09-11 10:24:44 -04:00
configure.ac Release 2016.9 2016-09-09 00:10:10 +00:00
CONTRIBUTING.md docs: fix ostree and CONTRIBUTING.md links 2016-07-12 15:46:53 +00:00
COPYING COPYING: Update to latest LGPLv2+ 2014-03-10 16:40:16 -04:00
git.mk build: Use git.mk, make git status clean 2016-03-10 14:36:44 -05:00
HACKING.md Switch to using libhif as a git submodule 2016-06-30 14:27:55 +00:00
LICENSE Add a LICENSE symlink 2016-04-28 13:09:22 +00:00
Makefile-daemon.am Switch to using libhif as a git submodule 2016-06-30 14:27:55 +00:00
Makefile-decls.am Switch to using libhif as a git submodule 2016-06-30 14:27:55 +00:00
Makefile-lib-defines.am lib: Add RpmOstreePackage 2015-04-16 13:26:58 -04:00
Makefile-lib.am Update for libhif -> libdnf 2016-08-04 01:10:08 +00:00
Makefile-libdnf.am Update for libhif -> libdnf 2016-08-04 01:10:08 +00:00
Makefile-libpriv.am lib: Extract bwrap-executing internal API 2016-08-12 23:34:33 +00:00
Makefile-man.am build: Use git.mk, make git status clean 2016-03-10 14:36:44 -05:00
Makefile-rpm-ostree.am Switch to using libhif as a git submodule 2016-06-30 14:27:55 +00:00
Makefile-tests.am vmcheck: add a test for RPM scripts 2016-08-17 21:28:01 +00:00
Makefile.am Update for libhif -> libdnf 2016-08-04 01:10:08 +00:00
mkdocs.yml docs: Start using mkdocs 2016-03-09 11:10:58 -05:00
README.md docs: Separate README.md and docs index, elaborate more 2016-07-16 02:16:09 +00:00
TODO upgrader: Prune pkgcache repo 2016-08-30 19:53:24 +00:00
Vagrantfile libvm.sh: add vm_setup and vm_rsync 2016-07-15 19:14:19 +00:00

rpm-ostree Overview

rpm-ostree is a hybrid image/package system. It uses OSTree as a base image format, and supports RPM on both the client and server side using libhif.

For more information, see the online manual: Read The Docs (rpm-ostree)

Features:

  • Atomic upgrades and rollback for host system updates
  • A server side tool to consume RPMs and commit them to an OSTree repository
  • A system daemon to consume OSTree commits as updates

Projects using rpm-ostree

Project Atomic uses rpm-ostree to provide a minimal host for Docker formatted Linux containers. Replicating a base immutable OS, then using Docker for applications.

Manual

For more information, see the online manual: Read The Docs (rpm-ostree)