1
1
mirror of https://github.com/NixOS/mobile-nixos.git synced 2024-12-15 02:43:24 +03:00

system/u-boot: Use boot.kernelParams

This commit is contained in:
Samuel Dionne-Riel 2020-05-23 18:18:48 -04:00
parent 2d0d5810cc
commit 8a5df088b9

View File

@ -6,7 +6,7 @@ let
cfg = config.mobile.quirks.u-boot;
inherit (cfg) soc;
inherit (config) system;
inherit (device_info) kernel dtb kernel_cmdline;
inherit (device_info) kernel dtb;
deviceName = config.mobile.device.name;
device_info = config.mobile.device.info;
kernel_file = if device_info ? kernel_file then device_info.kernel_file else "${kernel}/${kernel.file}";
@ -40,7 +40,7 @@ let
echo Built for ${deviceName}
echo
setenv bootargs ${kernel_cmdline}
setenv bootargs ${config.boot.kernelParams}
${cfg.additionalCommands}