Skip to content

Blobs in self-tests #477

@jas4711

Description

@jas4711

Hi! This came up during debian copyright review of files in sbctl, see https://salsa.debian.org/newgateway-team/reviews/-/issues/30

At least the following binaries are stored in the git repository:

  • tests/bzImage
  • tests/binaries/test.pecoff
  • tests/ovmf/OVMF_VARS.fd
  • tests/ovmf/keys/initramfs.cpio

How where they created? What's the licensing terms? Pointers to source code?

I understand this is a boring request, but given xz I think feedback like this have some weight.

Some simple ways to resolve this:

  1. Remove the binaries from git, downloading them during self-check phase. Then at least the source repository isn't tainted by these blobs.

  2. Move binaries to a separate e.g. sbctl-test repository, and run self-tests there. May be combined with 1).

  3. Provide build instructions and source code for re-building those binaries (sounds like work).

  4. The debian package shouldn't use upstream source code without filtering these blobs. I suppose this is the simple approach for us, but it just hides the concern which IMHO warrant some upstream consideration.

Thanks,
Simon

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions