From a97e8fc272782d69d94053bc434b9b6fef399a7b Mon Sep 17 00:00:00 2001 From: Adam Joseph Date: Mon, 14 Aug 2023 01:33:06 -0700 Subject: make-initrd-ng: use hostPlatform.ubootArch for uinitrdArch This allows make-initrd-ng to pick up the few cases where Linux and u-boot disagree. --- pkgs/build-support/kernel/make-initrd-ng.nix | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'pkgs/build-support/kernel') diff --git a/pkgs/build-support/kernel/make-initrd-ng.nix b/pkgs/build-support/kernel/make-initrd-ng.nix index 2418838176ef3..f2f7aaa6d1b6d 100644 --- a/pkgs/build-support/kernel/make-initrd-ng.nix +++ b/pkgs/build-support/kernel/make-initrd-ng.nix @@ -54,7 +54,7 @@ in # guess may not align with u-boot's nomenclature correctly, so it can # be overridden. # See https://gitlab.denx.de/u-boot/u-boot/-/blob/9bfb567e5f1bfe7de8eb41f8c6d00f49d2b9a426/common/image.c#L81-106 for a list. -, uInitrdArch ? stdenvNoCC.hostPlatform.linuxArch +, uInitrdArch ? stdenvNoCC.hostPlatform.ubootArch # The name of the compression, as recognised by u-boot. # See https://gitlab.denx.de/u-boot/u-boot/-/blob/9bfb567e5f1bfe7de8eb41f8c6d00f49d2b9a426/common/image.c#L195-204 for a list. -- cgit 1.4.1