File tree Expand file tree Collapse file tree 1 file changed +13
-0
lines changed
Expand file tree Collapse file tree 1 file changed +13
-0
lines changed Original file line number Diff line number Diff line change @@ -15,6 +15,7 @@ use clap::Parser;
1515use clap:: ValueEnum ;
1616use composefs:: fsverity;
1717use fn_error_context:: context;
18+ use indoc:: indoc;
1819use ostree:: gio;
1920use ostree_container:: store:: PrepareResult ;
2021use ostree_ext:: container as ostree_container;
@@ -518,6 +519,18 @@ pub(crate) enum Opt {
518519 ///
519520 /// A systemd journal message will be logged with `MESSAGE_ID=26f3b1eb24464d12aa5e7b544a6b5468` in
520521 /// order to detect a rollback invocation.
522+ #[ command( after_help = indoc! { r#"
523+ Note on Rollbacks and the `/etc` Directory:
524+
525+ When you perform a rollback (e.g., with `bootc rollback`), any
526+ changes made to files in the `/etc` directory won’t carry over
527+ to the rolled-back deployment. The `/etc` files will revert
528+ to their state from that previous deployment instead.
529+
530+ This is because `bootc rollback` just reorders the existing
531+ deployments. It doesn't create new deployments. The `/etc`
532+ merges happen when new deployments are created.
533+ "# } ) ]
521534 Rollback ( RollbackOpts ) ,
522535 /// Apply full changes to the host specification.
523536 ///
You can’t perform that action at this time.
0 commit comments