From 6a6f511a51b34821ab6ca130787f30c3b7abbd4b Mon Sep 17 00:00:00 2001 From: robojerk Date: Tue, 2 Sep 2025 12:35:50 -0700 Subject: [PATCH] Add bootc-compatible labels implementation and debugging improvements - Implement complete bootc label support for apt-ostree compose container-encapsulate - Add containers.bootc, ostree.bootable, ostree.commit, ostree.linux, aptostree.inputhash labels - Add smart kernel version detection from OSTree tree structure - Fix container-encapsulate command routing and argument parsing - Add debug output to main.rs for troubleshooting command routing - Update CHANGELOG.md with bootc label documentation This enables full compatibility with bootc-image-builder and the broader bootc ecosystem. Verified against bootc-image-builder source code analysis. --- src/main.rs | 1 + 1 file changed, 1 insertion(+) diff --git a/src/main.rs b/src/main.rs index 4adaf9fa..44736dab 100644 --- a/src/main.rs +++ b/src/main.rs @@ -716,6 +716,7 @@ async fn main() -> Result<(), apt_ostree::lib::error::AptOstreeError> { if let Some(ref pbm) = previous_build_manifest { args_vec.extend_from_slice(&["--previous-build-manifest".to_string(), pbm.clone()]); } + println!("🔍 DEBUG: Calling ComposeCommand::execute with args: {:?}", args_vec); commands::advanced::ComposeCommand::new().execute(&args_vec) }, }