Skip to content

Large binaries in the dev output of the linux kernel #240765

@Tom-Hubrecht

Description

@Tom-Hubrecht

Describe the bug

When building the linux kernel, a dev output is automatically created, which contains a very large binary vmlinux (around 450MB in my case).
It seems that it is intentionally kept (see https://github.com/NixOS/nixpkgs/blob/nixos-23.05/pkgs/os-specific/linux/kernel/manual-config.nix#L333 )
Is there any reason to keep such a large file in the closure ?

Steps To Reproduce

Build a linux kernel

Expected behavior

To ship only necessary kernel features and headers, without a 450MB file in the closure.

Notify maintainers

@RaitoBezarius

Metadata

Metadata

Assignees

No one assigned

    Labels

    0.kind: bugSomething is broken2.status: stalehttps://github.com/NixOS/nixpkgs/blob/master/.github/STALE-BOT.md
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions