Skip to content
This repository has been archived by the owner on Aug 25, 2021. It is now read-only.

WIP: Redeploy rootfs #107

Closed
wants to merge 3 commits into from
Closed

Commits on Sep 25, 2019

  1. dracut: Remove stray After=basic.target for ignition-fetch.service

    I had this fix in my WIP ignition-ostree-rootfs stack, and apparently
    missed putting it in the split-out change.
    
    This service runs really really early on, it can't be `After=basic.target`.
    cgwalters committed Sep 25, 2019
    Configuration menu
    Copy the full SHA
    5d8634f View commit details
    Browse the repository at this point in the history
  2. dracut: Add 31ignition-ostree module

    I'm working on supporting reprovisioning the rootfs with Ignition
    on OSTree based systems like Fedora CoreOS, and this will add
    a lot of tricky logic that relates the two.
    
    While we want to support Ignition independent of OSTree and vice
    versa, it will be a lot cleaner if we centralize the dracut
    logic in one place.
    
    This adds a `31ignition-ostree` module that imports the code
    from
    https://github.com/coreos/fedora-coreos-config/tree/092f680a5c75324e3efcd5e50374a2c1b5d4b057/overlay.d/05core/usr/lib/dracut/modules.d/40coreos-var
    
    Most notably, this is:
    
     1) A separate dracut module easily skippable
     2) The units use `ConditionKernelCommandline=ostree` so will be harmless even if included
    
    The units imported here also do this:
    
    ```
    ConditionPathExists=!/usr/sbin/coreos-mount-var
    ```
    
    So this change can be safely merged, built and shipped as an RPM,
    then we can drop the FCOS config bits and enable it later.
    
    Tested both ways (inert and enabled).
    
    And to clarify, the later ignition-ostree-rootfs stuff will land
    in this same dracut module.
    cgwalters committed Sep 25, 2019
    Configuration menu
    Copy the full SHA
    12a492e View commit details
    Browse the repository at this point in the history
  3. wip 31ignition-ostree

    For redeploying the rootfs
    cgwalters committed Sep 25, 2019
    Configuration menu
    Copy the full SHA
    3c5da1f View commit details
    Browse the repository at this point in the history