diff --git a/Cargo.lock b/Cargo.lock index 10106952c..e0d37ae66 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -250,7 +250,7 @@ dependencies = [ [[package]] name = "bootc-lib" -version = "1.7.1" +version = "1.8.0" dependencies = [ "anstream", "anstyle", diff --git a/crates/cli/Cargo.toml b/crates/cli/Cargo.toml index c06b1a4ec..b7bd258a9 100644 --- a/crates/cli/Cargo.toml +++ b/crates/cli/Cargo.toml @@ -15,7 +15,7 @@ platforms = ["*-unknown-linux-gnu"] [dependencies] # Internal crates -bootc-lib = { version = "1.7", path = "../lib" } +bootc-lib = { version = "1.8", path = "../lib" } bootc-utils = { package = "bootc-internal-utils", path = "../utils", version = "0.0.0" } # Workspace dependencies diff --git a/crates/lib/Cargo.toml b/crates/lib/Cargo.toml index 8934c18c8..998ea0e6a 100644 --- a/crates/lib/Cargo.toml +++ b/crates/lib/Cargo.toml @@ -6,7 +6,7 @@ name = "bootc-lib" repository = "https://github.com/bootc-dev/bootc" # The intention is we'll follow semver here, even though this # project isn't actually published as a crate. -version = "1.7.1" +version = "1.8.0" # In general we try to keep this pinned to what's in the latest RHEL9. # However right now, we bumped to 1.82 as that's what composefs-rs uses. rust-version = "1.82.0" diff --git a/docs/src/man/bootc-container-lint.md b/docs/src/man/bootc-container-lint.md index 964ead74a..a6f5d7962 100644 --- a/docs/src/man/bootc-container-lint.md +++ b/docs/src/man/bootc-container-lint.md @@ -53,4 +53,4 @@ part of a build process; it will error if any problems are detected. # VERSION -v1.7.1 +v1.8.0 diff --git a/docs/src/man/bootc-container.md b/docs/src/man/bootc-container.md index d8738cc7d..0541e8d2f 100644 --- a/docs/src/man/bootc-container.md +++ b/docs/src/man/bootc-container.md @@ -30,4 +30,4 @@ bootc-container-help(8) # VERSION -v1.7.1 +v1.8.0 diff --git a/docs/src/man/bootc-edit.md b/docs/src/man/bootc-edit.md index bcf22ee91..79e1b08e6 100644 --- a/docs/src/man/bootc-edit.md +++ b/docs/src/man/bootc-edit.md @@ -36,4 +36,4 @@ Only changes to the \`spec\` section are honored. # VERSION -v1.7.1 +v1.8.0 diff --git a/docs/src/man/bootc-install-ensure-completion.md b/docs/src/man/bootc-install-ensure-completion.md index a7131896a..f0be20d0e 100644 --- a/docs/src/man/bootc-install-ensure-completion.md +++ b/docs/src/man/bootc-install-ensure-completion.md @@ -27,4 +27,4 @@ your code is using \`bootc install to-filesystem\` from the start. # VERSION -v1.7.1 +v1.8.0 diff --git a/docs/src/man/bootc-install-finalize.md b/docs/src/man/bootc-install-finalize.md index ef50c52cf..099a7e38d 100644 --- a/docs/src/man/bootc-install-finalize.md +++ b/docs/src/man/bootc-install-finalize.md @@ -24,4 +24,4 @@ to-filesystem\` # VERSION -v1.7.1 +v1.8.0 diff --git a/docs/src/man/bootc-install-print-configuration.md b/docs/src/man/bootc-install-print-configuration.md index 4ce86a8d0..14666d4a6 100644 --- a/docs/src/man/bootc-install-print-configuration.md +++ b/docs/src/man/bootc-install-print-configuration.md @@ -27,4 +27,4 @@ string-valued filesystem name suitable for passing to \`mkfs.\$type\`. # VERSION -v1.7.1 +v1.8.0 diff --git a/docs/src/man/bootc-install-to-disk.md b/docs/src/man/bootc-install-to-disk.md index fc4a4f622..f3d45dd2b 100644 --- a/docs/src/man/bootc-install-to-disk.md +++ b/docs/src/man/bootc-install-to-disk.md @@ -160,4 +160,4 @@ more complex such as RAID, LVM, LUKS etc. # VERSION -v1.7.1 +v1.8.0 diff --git a/docs/src/man/bootc-install-to-existing-root.md b/docs/src/man/bootc-install-to-existing-root.md index c03ca45b8..81596bdc4 100644 --- a/docs/src/man/bootc-install-to-existing-root.md +++ b/docs/src/man/bootc-install-to-existing-root.md @@ -152,4 +152,4 @@ to be cleaned up if desired when rebooted into the new root. # VERSION -v1.7.1 +v1.8.0 diff --git a/docs/src/man/bootc-install-to-filesystem.md b/docs/src/man/bootc-install-to-filesystem.md index 55a03038c..8c918da69 100644 --- a/docs/src/man/bootc-install-to-filesystem.md +++ b/docs/src/man/bootc-install-to-filesystem.md @@ -173,4 +173,4 @@ is currently expected to be empty by default. # VERSION -v1.7.1 +v1.8.0 diff --git a/docs/src/man/bootc-install.md b/docs/src/man/bootc-install.md index b706c5689..47bc6d230 100644 --- a/docs/src/man/bootc-install.md +++ b/docs/src/man/bootc-install.md @@ -71,4 +71,4 @@ bootc-install-help(8) # VERSION -v1.7.1 +v1.8.0 diff --git a/docs/src/man/bootc-rollback.md b/docs/src/man/bootc-rollback.md index 3670e3bf0..7ec395c68 100644 --- a/docs/src/man/bootc-rollback.md +++ b/docs/src/man/bootc-rollback.md @@ -7,7 +7,8 @@ queued upgrade) then it will be discarded # SYNOPSIS -**bootc rollback** \[**\--apply**\] \[**-h**\|**\--help**\] +**bootc rollback** \[**\--apply**\] \[**\--soft-reboot**\] +\[**-h**\|**\--help**\] # DESCRIPTION @@ -36,6 +37,22 @@ rollback invocation. will detect the case where no kernel changes are queued, and perform a userspace-only restart. +**\--soft-reboot** *\* + +: Configure soft reboot behavior. + + \'required\' will fail if soft reboot is not available. \'auto\' + will use soft reboot if available, otherwise fall back to regular + reboot.\ + + \ + *Possible values:* + + - required: Require a soft reboot; fail if not possible + + - auto: Automatically use soft reboot if possible, otherwise use + regular reboot + **-h**, **\--help** : Print help (see a summary with \'-h\') @@ -55,4 +72,4 @@ happen when new deployments are created. # VERSION -v1.7.1 +v1.8.0 diff --git a/docs/src/man/bootc-status.md b/docs/src/man/bootc-status.md index 251c8cb0a..e001afb3a 100644 --- a/docs/src/man/bootc-status.md +++ b/docs/src/man/bootc-status.md @@ -63,4 +63,4 @@ not \`null\`. # VERSION -v1.7.1 +v1.8.0 diff --git a/docs/src/man/bootc-switch.md b/docs/src/man/bootc-switch.md index 911eb1d46..183607c78 100644 --- a/docs/src/man/bootc-switch.md +++ b/docs/src/man/bootc-switch.md @@ -4,7 +4,8 @@ bootc-switch - Target a new container image reference to boot # SYNOPSIS -**bootc switch** \[**\--quiet**\] \[**\--apply**\] \[**\--transport**\] +**bootc switch** \[**\--quiet**\] \[**\--apply**\] +\[**\--soft-reboot**\] \[**\--transport**\] \[**\--enforce-container-sigpolicy**\] \[**\--retain**\] \[**-h**\|**\--help**\] \<*TARGET*\> @@ -38,6 +39,22 @@ updates via container image tags; for example, will detect the case where no kernel changes are queued, and perform a userspace-only restart. +**\--soft-reboot** *\* + +: Configure soft reboot behavior. + + \'required\' will fail if soft reboot is not available. \'auto\' + will use soft reboot if available, otherwise fall back to regular + reboot.\ + + \ + *Possible values:* + + - required: Require a soft reboot; fail if not possible + + - auto: Automatically use soft reboot if possible, otherwise use + regular reboot + **\--transport** *\* \[default: registry\] : The transport; e.g. oci, oci-archive, containers-storage. Defaults @@ -65,4 +82,4 @@ updates via container image tags; for example, # VERSION -v1.7.1 +v1.8.0 diff --git a/docs/src/man/bootc-upgrade.md b/docs/src/man/bootc-upgrade.md index fd214e107..492350685 100644 --- a/docs/src/man/bootc-upgrade.md +++ b/docs/src/man/bootc-upgrade.md @@ -5,7 +5,7 @@ bootc-upgrade - Download and queue an updated container image to apply # SYNOPSIS **bootc upgrade** \[**\--quiet**\] \[**\--check**\] \[**\--apply**\] -\[**-h**\|**\--help**\] +\[**\--soft-reboot**\] \[**-h**\|**\--help**\] # DESCRIPTION @@ -47,10 +47,26 @@ the update in addition. will detect the case where no kernel changes are queued, and perform a userspace-only restart. +**\--soft-reboot** *\* + +: Configure soft reboot behavior. + + \'required\' will fail if soft reboot is not available. \'auto\' + will use soft reboot if available, otherwise fall back to regular + reboot.\ + + \ + *Possible values:* + + - required: Require a soft reboot; fail if not possible + + - auto: Automatically use soft reboot if possible, otherwise use + regular reboot + **-h**, **\--help** : Print help (see a summary with \'-h\') # VERSION -v1.7.1 +v1.8.0 diff --git a/docs/src/man/bootc-usr-overlay.md b/docs/src/man/bootc-usr-overlay.md index d83a7a2b0..1718eafca 100644 --- a/docs/src/man/bootc-usr-overlay.md +++ b/docs/src/man/bootc-usr-overlay.md @@ -39,4 +39,4 @@ unmount\". # VERSION -v1.7.1 +v1.8.0 diff --git a/docs/src/man/bootc.md b/docs/src/man/bootc.md index bd7a673ba..076ecaf59 100644 --- a/docs/src/man/bootc.md +++ b/docs/src/man/bootc.md @@ -72,4 +72,4 @@ bootc-help(8) # VERSION -v1.7.1 +v1.8.0