Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 6 additions & 0 deletions crates/ostree-ext/src/tar/write.rs
Original file line number Diff line number Diff line change
Expand Up @@ -400,6 +400,12 @@ pub async fn write_tar(
None
};
let mut c = std::process::Command::new("ostree");
// Unset G_MESSAGES_DEBUG to prevent GLib debug messages from corrupting stdout.
// When G_MESSAGES_DEBUG is set (e.g., "all"), GLib and OSTree emit debug messages
// to stdout instead of stderr, which corrupts the commit hash we parse from
// the subprocess output. This causes derived layer content to be silently lost
// during container imports.
c.env_remove("G_MESSAGES_DEBUG");
Comment thread
jmarrero marked this conversation as resolved.
let repofd = repo.dfd_as_file()?;
let repofd: Arc<io_lifetimes::OwnedFd> = Arc::new(repofd.into());
{
Expand Down
Loading