rpm-ostree/src/libpriv
Colin Walters f113fc5e27 Rework treecompose kernel processing
Prep for changing `boot_location: new` to use `/usr/lib/ostree-boot`
and `/usr/lib/modules`.  Rework our kernel postprocessing
so that we unify the `boot_location` handling with initramfs generation.

Instead of doing the initramfs first in postprocessing, we do it nearly last,
after e.g. `etc` is renamed to `usr/etc`. This has some consequences, such as
the fact that `run_bwrap_mutably()` is now called in both situations. In
general, our handling of `etc` is inconsistent, although understandably so.

As part of this, I finally got around to implementing the bit from
https://github.com/systemd/systemd/pull/4174 however suboptimal it is; need the
unified core so we can cleanly ignore the posttrans like we do others.  We
intentionally keep the file around in the generated tree so that installing a
kernel RPM per client doesn't try to do any of this either.

This all gets folded together so that the logic for handling the bootloader gets
simpler - in the Fedora case, we now know to find kernels in `/usr/lib/modules`
and can ignore `/boot`.

Closes: #959
Approved by: jlebon
2017-09-12 14:26:44 +00:00
..
libsd-locale-util.c Remove all tabs ⭾ in *.[ch] and add a CI check for them 2017-06-22 01:20:55 +00:00
libsd-locale-util.h status: Import systemd bits to use UTF-8 circle 2016-06-09 19:33:19 +00:00
rpmostree-bwrap.c lib/bwrap: Use --die-with-parent 2017-08-22 18:58:58 +00:00
rpmostree-bwrap.h libpriv: Enhance internal bwrap API 2017-01-11 18:39:26 +00:00
rpmostree-core.c core: Use fd-relative access to rpmdb 2017-09-07 22:54:40 +00:00
rpmostree-core.h tree-wide: Fully purge the rest of "noscripts" support 2017-08-23 16:31:27 +00:00
rpmostree-json-parsing.c libpriv: Some style porting 2017-07-06 14:29:38 +00:00
rpmostree-json-parsing.h build: Split up src into app/ and libpriv/ 2015-04-08 16:17:06 -04:00
rpmostree-kernel.c Rework treecompose kernel processing 2017-09-12 14:26:44 +00:00
rpmostree-kernel.h Rework treecompose kernel processing 2017-09-12 14:26:44 +00:00
rpmostree-origin.c app: support ex override replace for local RPMs 2017-07-05 20:59:35 +00:00
rpmostree-origin.h app: support ex override replace for local RPMs 2017-07-05 20:59:35 +00:00
rpmostree-output.c output: add support for messages 2017-08-16 16:05:06 +00:00
rpmostree-output.h output: add support for messages 2017-08-16 16:05:06 +00:00
rpmostree-passwd-util.c Update libglnx, do some fstatat-noent porting 2017-09-07 22:30:34 +00:00
rpmostree-passwd-util.h libpriv/passwd: Fully complete fd-relative porting 2017-08-28 13:46:44 +00:00
rpmostree-postprocess.c Rework treecompose kernel processing 2017-09-12 14:26:44 +00:00
rpmostree-postprocess.h libpriv/postprocess: Port add-files to fd-relative 2017-08-28 13:46:44 +00:00
rpmostree-refsack.c tree-wide: Port to new libglnx tmpdir API 2017-08-22 17:21:37 +00:00
rpmostree-refsack.h tree-wide: Port to new libglnx tmpdir API 2017-08-22 17:21:37 +00:00
rpmostree-refts.c tree-wide: Port to new libglnx tmpdir API 2017-08-22 17:21:37 +00:00
rpmostree-refts.h tree-wide: Port to new libglnx tmpdir API 2017-08-22 17:21:37 +00:00
rpmostree-rpm-util.c tree-wide: Port to new libglnx tmpdir API 2017-08-22 17:21:37 +00:00
rpmostree-rpm-util.h tree-wide: Port to new libglnx tmpdir API 2017-08-22 17:21:37 +00:00
rpmostree-script-gperf.gperf libpriv/scripts: Use gperf comments, not C comments 2017-09-01 17:58:51 +00:00
rpmostree-scripts.c scripts: Support overriding lua, use for glibc-all-langpacks 2017-09-08 18:02:22 +00:00
rpmostree-scripts.h core: Run %post before %posttrans 2017-08-30 15:50:09 +00:00
rpmostree-unpacker.c libpriv+daemon: Use autocleanup to abort ostree txn 2017-09-07 13:50:19 +00:00
rpmostree-unpacker.h lib/unpacker: Add a SKIP_EXTRANEOUS flag, use it for filesystem+rootfiles 2017-08-25 19:25:29 +00:00
rpmostree-util.c tree-wide: Port to new libglnx tmpdir API 2017-08-22 17:21:37 +00:00
rpmostree-util.h libpriv+daemon: Use autocleanup to abort ostree txn 2017-09-07 13:50:19 +00:00