Skip to content

pkg_tar with "include_runfiles = True" includes _main/app.exe in tarfile (exe is included twice) #1037

@fredowski

Description

@fredowski

I have the following pkt_tar in BUILD.bazel

pkg_tar(
    name = "tarfile",
    srcs = [
        ":openroad",
    ],
    include_runfiles = True,
    package_file_name = "openroad.tar",
)

The generated tarfile contains the binary "openroad" at root (as expected) plus the binary again at openroad.runfiles/_main/openroad.

The tarfile should only contain the binary at the root level.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions