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;
15
15
use clap:: ValueEnum ;
16
16
use composefs:: fsverity;
17
17
use fn_error_context:: context;
18
+ use indoc:: indoc;
18
19
use ostree:: gio;
19
20
use ostree_container:: store:: PrepareResult ;
20
21
use ostree_ext:: container as ostree_container;
@@ -518,6 +519,18 @@ pub(crate) enum Opt {
518
519
///
519
520
/// A systemd journal message will be logged with `MESSAGE_ID=26f3b1eb24464d12aa5e7b544a6b5468` in
520
521
/// 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
+ "# } ) ]
521
534
Rollback ( RollbackOpts ) ,
522
535
/// Apply full changes to the host specification.
523
536
///
You can’t perform that action at this time.
0 commit comments