refactor!: Rename template to generate and move rebase/upgrade under switch (#116)
This updates the `template` subcommand to be `generate`. The `template` usage will continue to work as an alias to `generate`. A new `switch` command is added that will manage both `rpm-ostree rebase` and `rpm-ostree upgrade` and is fully replacing the respective subcommands as a breaking change. The new `switch` command is under the feature flag `switch` and will currently only build for the `main` branch builds until it is moved as a default feature (`v0.9.0`). Closes #159
This commit is contained in:
parent
968cf3db97
commit
02b2fe5434
21 changed files with 672 additions and 62 deletions
12
README.md
12
README.md
|
|
@ -191,6 +191,18 @@ sudo bluebuild upgrade recipes/recipe.yml
|
|||
|
||||
The `--reboot` argument can be used with this command as well.
|
||||
|
||||
##### Switch
|
||||
|
||||
> NOTE: This is an unstable feature and can only be used when installing from the `main` image or with the `switch` feature flag when compiling.
|
||||
|
||||
With the switch command, you can build and boot an image locally using an `oci-archive` tarball. The `switch` command can be run as a normal user and will only ask for `sudo` permissions when moving the archive into `/etc/bluebuild`.
|
||||
|
||||
```bash
|
||||
bluebuild switch recipes/recipe.yml
|
||||
```
|
||||
|
||||
You can initiate an immediate restart by adding the `--reboot/-r` option.
|
||||
|
||||
#### CI Builds
|
||||
|
||||
##### GitHub
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue