Unverified Commit 22256375 authored by K900's avatar K900 Committed by GitHub
Browse files

[Backport release-25.05] unbreak linux v5.10 on x86_64 by disabling OF_OVERLAY (#409847)

parents 70d0752c 10d58f8a
Loading
Loading
Loading
Loading
+4 −1
Original line number Diff line number Diff line
@@ -1102,7 +1102,10 @@ let

        # enable support for device trees and overlays
        OF = option yes;
        OF_OVERLAY = option yes;
        # OF_OVERLAY breaks v5.10 on x86_64, see https://github.com/NixOS/nixpkgs/issues/403985
        OF_OVERLAY = lib.mkIf (!(lib.versionOlder version "5.15" && stdenv.hostPlatform.isx86_64)) (
          option yes
        );

        # Enable initrd support.
        BLK_DEV_INITRD = yes;