Skip to content
This repository has been archived by the owner on Nov 7, 2024. It is now read-only.

Commit

Permalink
Merge pull request #531 from cgwalters/fix-panic-on-updated
Browse files Browse the repository at this point in the history
chunking: Ignore ostree commit layer
  • Loading branch information
cgwalters authored Sep 8, 2023
2 parents 8b04520 + 5730f9f commit f237597
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions lib/src/chunking.rs
Original file line number Diff line number Diff line change
Expand Up @@ -606,6 +606,10 @@ fn basic_packing_with_prior_build<'a>(
for bin in curr_build {
let mut mod_bin = Vec::new();
for pkg in bin {
// An empty component set can happen for the ostree commit layer; ignore that.
if pkg.is_empty() {
continue;
}
mod_bin.push(name_to_component[&pkg]);
}
modified_build.push(mod_bin);
Expand Down

0 comments on commit f237597

Please sign in to comment.