Skip to content

Expose linux_image_repository - #90

Merged
fionera merged 1 commit into
hermeticbuild:mainfrom
a-khabarov:main
Oct 6, 2026
Merged

fionera merged 1 commit into
hermeticbuild:mainfrom
a-khabarov:main

Conversation

@a-khabarov

Copy link
Copy Markdown
Contributor

The extension currently forbids image and overlay declarations from dependency modules, see internal/linux_image_extension.bzl:154:

if not module.is_root and (module.tags.image or module.tags.overlay):
    fail("linux_images tags are root-module application choices")

This is a small workaround to allow transitive usage by exposing linux_image_repository.

The extension currently forbids image and overlay declarations
from dependency modules, see `internal/linux_image_extension.bzl:154`:

```
if not module.is_root and (module.tags.image or module.tags.overlay):
    fail("linux_images tags are root-module application choices")
```

This is a small workaround to allow transitive usage by exposing
`linux_image_repository`.

Signed-off-by: Alexander Khabarov <alexander.khabarov@arm.com>
@fionera
fionera merged commit e360bd4 into hermeticbuild:main Oct 6, 2026
21 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants