canonical / canonical/chisel

`essential loop detected` if multiple package-level essentials are given

Open
#271 3 comments 0 reactions 0 assignees View on GitHub
Dominant language
Go
Stars
424
Forks
65
Avg merge
12d 19h
Merged PRs (30d)
1

Description

When chisel consumes an SDF with multiple items defined in the package-level essentials, it errors out upon validation.

Example by modifying `slices/hello.yaml` from the `ubuntu-26.04` branch of chisel-releases:

```
package: hello

essential:
hello_copyright:
hello_bins:

slices:
bins:
essential:
libc6_libs:
contents:
/usr/bin/hello:

copyright:
contents:
/usr/share/doc/hello/copyright:
```

Run a cut command:

```
chisel cut --ignore=unstable --release ./ --root rootfs/ hello_bins
```

Chisel errors out:

```
2026/03/05 10:26:07 Processing ./ release...
error: essential loop detected: hello_bins, hello_copyright
```

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.