Skip to content

to-disk: Handle signatures #126

@cgwalters

Description

@cgwalters
bcvk to-disk registry.redhat.io/rhel9/rhel-bootc:9.6 target/disk.img
Connected (8 seconds elapsed), beginning installation...
Setting up temporary filesystems...
virtiofs mount not found at /run/virtiofs-mnt-hoststorage/, mounting manually...
Starting bootc installation...
Source image: containers-storage:registry.redhat.io/rhel9/rhel-bootc:9.6
Additional args: 
Getting image source signatures
Checking if image destination supports signatures
Error: Copying this image would require changing layer representation, which we cannot do: "Would invalidate signatures"
Connection to 127.0.0.1 closed.
Error: 
   0: SSH installation command failed with exit code: Some(125)

Location:
   crates/kit/src/to_disk.rs:461

Backtrace omitted. Run with RUST_BACKTRACE=1 environment variable to display it.
Run with RUST_BACKTRACE=full to include source snippets.

So this previously came up in bootc-dev/bootc#812

However what I think is going on here is that with additional image stores it's always operating in the equivalent of --preserve-digests mode.

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions