travier / fedora-coreos-uki

MIT License
0 stars 0 forks source link

error: Writing content object: Not allowed due to repo mode #3

Closed travier closed 6 days ago

travier commented 2 weeks ago
[2/2] STEP 7/8: RUN --mount=type=secret,id=ostree \
    ostree container commit && \
    ostree commit \
        --repo=/ostree/repo \
        --branch "fedora/x86_64/coreos/stable" \
        --subject "UKI" \
        --sign-type ed25519 \
        --sign-from-file="/run/secrets/ostree" \
        --bootable \
        /usr/lib/modules/uki
error: Writing content object: Not allowed due to repo mode
travier commented 2 weeks ago

https://github.com/travier/fedora-coreos-uki/actions/runs/9791877543/job/27036547688

jbtrystram commented 2 weeks ago

https://ostreedev.github.io/ostree/repo/#xattrs-objects

https://github.com/ostreedev/ostree/blob/d7eb9a10403eda27e0a84f10e27b0a47a194e3a2/src/libostree/ostree-repo-commit.c#L869

travier commented 6 days ago

I got it working. Now we need to look at the rpm-ostree side of things.