├── .devcontainer ├── Dockerfile └── devcontainer.json ├── .fmf └── version ├── .github ├── commitlint.config.js ├── dependabot.yml ├── spellcheck-ignore └── workflows │ ├── analysis.yml │ ├── ci.yml │ ├── comment-ci.yaml │ └── greenboot-ci.yaml ├── .gitignore ├── .packit.yaml ├── Cargo.toml ├── LICENSE ├── Makefile ├── README.md ├── bundled-provides.jq ├── etc └── greenboot │ └── greenboot.conf ├── greenboot-rs.spec ├── grub2 └── 08_greenboot.cfg ├── src ├── lib │ ├── greenboot.rs │ ├── grub.rs │ ├── handler.rs │ ├── mod.rs │ └── mount.rs └── main.rs ├── testing_assets ├── failing_binary ├── failing_script.sh ├── grubenv ├── mounts ├── passing_binary └── passing_script.sh ├── tests ├── ansible.cfg ├── files │ └── centos-stream-9.json ├── greenboot-bootc-anaconda-iso.sh ├── greenboot-bootc-qcow2.sh ├── greenboot-bootc.yaml ├── greenboot-ostree.sh ├── greenboot-ostree.yaml └── key │ ├── ostree_key │ └── ostree_key.pub ├── tmt ├── plans │ └── greenboot-test.fmf └── tests │ ├── greenboot-test.fmf │ └── test.sh └── usr └── lib ├── greenboot └── check │ ├── required.d │ ├── 01_repository_dns_check.sh │ └── 02_watchdog.sh │ └── wanted.d │ └── 01_update_platforms_check.sh └── systemd └── system ├── greenboot-healthcheck.service ├── greenboot-healthcheck.service.d └── 10-network-online.conf ├── greenboot-set-rollback-trigger.service └── greenboot-success.target /.devcontainer/Dockerfile: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/fedora-iot/greenboot-rs/HEAD/.devcontainer/Dockerfile -------------------------------------------------------------------------------- /.devcontainer/devcontainer.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/fedora-iot/greenboot-rs/HEAD/.devcontainer/devcontainer.json -------------------------------------------------------------------------------- /.fmf/version: -------------------------------------------------------------------------------- 1 | 1 2 | -------------------------------------------------------------------------------- /.github/commitlint.config.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/fedora-iot/greenboot-rs/HEAD/.github/commitlint.config.js -------------------------------------------------------------------------------- /.github/dependabot.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/fedora-iot/greenboot-rs/HEAD/.github/dependabot.yml -------------------------------------------------------------------------------- /.github/spellcheck-ignore: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/fedora-iot/greenboot-rs/HEAD/.github/spellcheck-ignore -------------------------------------------------------------------------------- /.github/workflows/analysis.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/fedora-iot/greenboot-rs/HEAD/.github/workflows/analysis.yml -------------------------------------------------------------------------------- /.github/workflows/ci.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/fedora-iot/greenboot-rs/HEAD/.github/workflows/ci.yml -------------------------------------------------------------------------------- /.github/workflows/comment-ci.yaml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/fedora-iot/greenboot-rs/HEAD/.github/workflows/comment-ci.yaml -------------------------------------------------------------------------------- /.github/workflows/greenboot-ci.yaml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/fedora-iot/greenboot-rs/HEAD/.github/workflows/greenboot-ci.yaml -------------------------------------------------------------------------------- /.gitignore: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/fedora-iot/greenboot-rs/HEAD/.gitignore -------------------------------------------------------------------------------- /.packit.yaml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/fedora-iot/greenboot-rs/HEAD/.packit.yaml -------------------------------------------------------------------------------- /Cargo.toml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/fedora-iot/greenboot-rs/HEAD/Cargo.toml -------------------------------------------------------------------------------- /LICENSE: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/fedora-iot/greenboot-rs/HEAD/LICENSE -------------------------------------------------------------------------------- /Makefile: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/fedora-iot/greenboot-rs/HEAD/Makefile -------------------------------------------------------------------------------- /README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/fedora-iot/greenboot-rs/HEAD/README.md -------------------------------------------------------------------------------- /bundled-provides.jq: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/fedora-iot/greenboot-rs/HEAD/bundled-provides.jq -------------------------------------------------------------------------------- /etc/greenboot/greenboot.conf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/fedora-iot/greenboot-rs/HEAD/etc/greenboot/greenboot.conf -------------------------------------------------------------------------------- /greenboot-rs.spec: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/fedora-iot/greenboot-rs/HEAD/greenboot-rs.spec -------------------------------------------------------------------------------- /grub2/08_greenboot.cfg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/fedora-iot/greenboot-rs/HEAD/grub2/08_greenboot.cfg -------------------------------------------------------------------------------- /src/lib/greenboot.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/fedora-iot/greenboot-rs/HEAD/src/lib/greenboot.rs -------------------------------------------------------------------------------- /src/lib/grub.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/fedora-iot/greenboot-rs/HEAD/src/lib/grub.rs -------------------------------------------------------------------------------- /src/lib/handler.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/fedora-iot/greenboot-rs/HEAD/src/lib/handler.rs -------------------------------------------------------------------------------- /src/lib/mod.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/fedora-iot/greenboot-rs/HEAD/src/lib/mod.rs -------------------------------------------------------------------------------- /src/lib/mount.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/fedora-iot/greenboot-rs/HEAD/src/lib/mount.rs -------------------------------------------------------------------------------- /src/main.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/fedora-iot/greenboot-rs/HEAD/src/main.rs -------------------------------------------------------------------------------- /testing_assets/failing_binary: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/fedora-iot/greenboot-rs/HEAD/testing_assets/failing_binary -------------------------------------------------------------------------------- /testing_assets/failing_script.sh: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/fedora-iot/greenboot-rs/HEAD/testing_assets/failing_script.sh -------------------------------------------------------------------------------- /testing_assets/grubenv: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/fedora-iot/greenboot-rs/HEAD/testing_assets/grubenv -------------------------------------------------------------------------------- /testing_assets/mounts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/fedora-iot/greenboot-rs/HEAD/testing_assets/mounts -------------------------------------------------------------------------------- /testing_assets/passing_binary: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/fedora-iot/greenboot-rs/HEAD/testing_assets/passing_binary -------------------------------------------------------------------------------- /testing_assets/passing_script.sh: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/fedora-iot/greenboot-rs/HEAD/testing_assets/passing_script.sh -------------------------------------------------------------------------------- /tests/ansible.cfg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/fedora-iot/greenboot-rs/HEAD/tests/ansible.cfg -------------------------------------------------------------------------------- /tests/files/centos-stream-9.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/fedora-iot/greenboot-rs/HEAD/tests/files/centos-stream-9.json -------------------------------------------------------------------------------- /tests/greenboot-bootc-anaconda-iso.sh: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/fedora-iot/greenboot-rs/HEAD/tests/greenboot-bootc-anaconda-iso.sh -------------------------------------------------------------------------------- /tests/greenboot-bootc-qcow2.sh: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/fedora-iot/greenboot-rs/HEAD/tests/greenboot-bootc-qcow2.sh -------------------------------------------------------------------------------- /tests/greenboot-bootc.yaml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/fedora-iot/greenboot-rs/HEAD/tests/greenboot-bootc.yaml -------------------------------------------------------------------------------- /tests/greenboot-ostree.sh: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/fedora-iot/greenboot-rs/HEAD/tests/greenboot-ostree.sh -------------------------------------------------------------------------------- /tests/greenboot-ostree.yaml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/fedora-iot/greenboot-rs/HEAD/tests/greenboot-ostree.yaml -------------------------------------------------------------------------------- /tests/key/ostree_key: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/fedora-iot/greenboot-rs/HEAD/tests/key/ostree_key -------------------------------------------------------------------------------- /tests/key/ostree_key.pub: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/fedora-iot/greenboot-rs/HEAD/tests/key/ostree_key.pub -------------------------------------------------------------------------------- /tmt/plans/greenboot-test.fmf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/fedora-iot/greenboot-rs/HEAD/tmt/plans/greenboot-test.fmf -------------------------------------------------------------------------------- /tmt/tests/greenboot-test.fmf: -------------------------------------------------------------------------------- 1 | test: ./test.sh 2 | duration: 90m 3 | -------------------------------------------------------------------------------- /tmt/tests/test.sh: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/fedora-iot/greenboot-rs/HEAD/tmt/tests/test.sh -------------------------------------------------------------------------------- /usr/lib/greenboot/check/required.d/01_repository_dns_check.sh: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/fedora-iot/greenboot-rs/HEAD/usr/lib/greenboot/check/required.d/01_repository_dns_check.sh -------------------------------------------------------------------------------- /usr/lib/greenboot/check/required.d/02_watchdog.sh: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/fedora-iot/greenboot-rs/HEAD/usr/lib/greenboot/check/required.d/02_watchdog.sh -------------------------------------------------------------------------------- /usr/lib/greenboot/check/wanted.d/01_update_platforms_check.sh: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/fedora-iot/greenboot-rs/HEAD/usr/lib/greenboot/check/wanted.d/01_update_platforms_check.sh -------------------------------------------------------------------------------- /usr/lib/systemd/system/greenboot-healthcheck.service: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/fedora-iot/greenboot-rs/HEAD/usr/lib/systemd/system/greenboot-healthcheck.service -------------------------------------------------------------------------------- /usr/lib/systemd/system/greenboot-healthcheck.service.d/10-network-online.conf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/fedora-iot/greenboot-rs/HEAD/usr/lib/systemd/system/greenboot-healthcheck.service.d/10-network-online.conf -------------------------------------------------------------------------------- /usr/lib/systemd/system/greenboot-set-rollback-trigger.service: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/fedora-iot/greenboot-rs/HEAD/usr/lib/systemd/system/greenboot-set-rollback-trigger.service -------------------------------------------------------------------------------- /usr/lib/systemd/system/greenboot-success.target: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/fedora-iot/greenboot-rs/HEAD/usr/lib/systemd/system/greenboot-success.target --------------------------------------------------------------------------------