Skip to content

nixos/release: build iso_minimal_new_kernel for stable - #204773

Closed
SuperSandro2000 wants to merge 1 commit into
NixOS:masterfrom
SuperSandro2000:iso_minimal_new_kernel
Closed

SuperSandro2000 wants to merge 1 commit into
NixOS:masterfrom
SuperSandro2000:iso_minimal_new_kernel

Conversation

@SuperSandro2000

@SuperSandro2000 SuperSandro2000 commented Dec 6, 2022 •

Copy link
Copy Markdown
Member
Description of changes

Right now is iso_minimal_new_kernel missing for https://hydra.nixos.org/eval/1786923?filter=iso_minimal_new_kernel&compare=1786839&full=

Not sure how to test this though.

Things done
  • Built on platform(s)
    • x86_64-linux
    • aarch64-linux
    • x86_64-darwin
    • aarch64-darwin
  • For non-Linux: Is sandbox = true set in nix.conf? (See Nix manual)
  • Tested, as applicable:
  • Tested compilation of all packages that depend on this change using nix-shell -p nixpkgs-review --run "nixpkgs-review rev HEAD". Note: all changes have to be committed, also see nixpkgs-review usage
  • Tested basic functionality of all binary files (usually in ./result/bin/)
  • 23.05 Release Notes (or backporting 22.11 Release notes)
    • (Package updates) Added a release notes entry if the change is major or breaking
    • (Module updates) Added a release notes entry if the change is significant
    • (Module addition) Added a release notes entry if adding a new NixOS module
    • (Release notes changes) Ran nixos/doc/manual/md-to-db.sh to update generated release notes
  • Fits CONTRIBUTING.md.

@github-actions github-actions Bot added the 6.topic: nixos Issues or PRs affecting NixOS modules, or package usability issues specific to NixOS label Dec 6, 2022
@SuperSandro2000 SuperSandro2000 added backport release-22.11 and removed 6.topic: nixos Issues or PRs affecting NixOS modules, or package usability issues specific to NixOS labels Dec 6, 2022
@github-actions github-actions Bot added the 6.topic: nixos Issues or PRs affecting NixOS modules, or package usability issues specific to NixOS label Dec 6, 2022
@SuperSandro2000

SuperSandro2000 commented Dec 6, 2022 •

Copy link
Copy Markdown
Member Author

As noted on matrix by @K900 ZFS is a lot of times broken for the latest kernel, so instead of not having any latest kernel we should remove zfs.

Maybe this is already handled by https://github.com/SuperSandro2000/nixpkgs/blob/iso_minimal_new_kernel/nixos/modules/profiles/base.nix#L60-L62 ?

@ofborg ofborg Bot added 10.rebuild-darwin: 0 This PR does not cause any packages to rebuild on Darwin. 10.rebuild-linux: 1-10 This PR causes between 1 and 10 packages to rebuild on Linux. labels Dec 6, 2022
@samueldr

samueldr commented Dec 7, 2022 •

Copy link
Copy Markdown
Member

See previous discussions (I'm aware of)

Tangentially related

Missing: discussions in chat rooms about how it was deemed undesirable to remove the zfs feature from the new_kernel iso. I have a solution I proposed here, but it seems it is either being unseen, ignored or undesirable.

@RaitoBezarius

Copy link
Copy Markdown
Member

Missing: discussions in chat rooms about how it was deemed undesirable to remove the zfs feature from the new_kernel iso. I have a solution I proposed here, but it seems it is either being unseen, ignored or undesirable.

I would be really in favor of this solution, but I guess it takes some work group focus on it to get it in time.

Meanwhile, we can merge this one before the next release IMHO. I do not know if it's a good idea to backport the new kernel as it can break things on some machines, breaking backward compat.

@samueldr

samueldr commented Dec 17, 2022 •

Copy link
Copy Markdown
Member

If we merge this, the tested jobset will fail every kernel upgrade.

The reason this is missing is because it fails evaluation. Not because it is missing from the tested jobset.

From the evaluation errors tab:

in job ‘nixos.iso_minimal_new_kernel.x86_64-linux’:
error: Package ‘zfs-kernel-2.1.6-6.0.11’ in /nix/store/j5a7i3dvxslg2ychfy53wdhg1m3xfrwm-source/pkgs/os-specific/linux/zfs/default.nix:197 is marked as broken, refusing to evaluate.

       a) To temporarily allow broken packages, you can use an environment variable
          for a single invocation of the nix tools.

            $ export NIXPKGS_ALLOW_BROKEN=1

        Note: For `nix shell`, `nix build`, `nix develop` or any other Nix 2.4+
        (Flake) command, `--impure` must be passed in order to read this
        environment variable.

       b) For `nixos-rebuild` you can set
         { nixpkgs.config.allowBroken = true; }
       in configuration.nix to override this.

       c) For `nix-env`, `nix-build`, `nix-shell` or any other Nix command you can add
         { allowBroken = true; }
       to ~/.config/nixpkgs/config.nix.

Whenever new_kernel starts evaluating successfully again, it will be present in that list again.

So no, we cannot merge this one. Unless you want to break the channels every few months for a few weeks/months.

@samueldr samueldr left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

(Marking this as unapproved to help ensure no one merges this.)

@RaitoBezarius
RaitoBezarius marked this pull request as draft December 17, 2022 08:55
@RaitoBezarius

Copy link
Copy Markdown
Member

(Marking this as unapproved to help ensure no one merges this.)

Converted to draft to disable the merge button.

@SuperSandro2000
SuperSandro2000 deleted the iso_minimal_new_kernel branch April 1, 2023 00:48
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

6.topic: nixos Issues or PRs affecting NixOS modules, or package usability issues specific to NixOS 10.rebuild-darwin: 0 This PR does not cause any packages to rebuild on Darwin. 10.rebuild-linux: 1-10 This PR causes between 1 and 10 packages to rebuild on Linux.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants