zyxel dual image; restore deleted params

This commit is contained in:
Daniel Barlow 2024-06-30 17:50:45 +01:00
parent 3df1ec76ff
commit 8b6aa2134e
1 changed files with 1 additions and 1 deletions

View File

@ -3,7 +3,7 @@
, lib
, zyxel-bootconfig
}:
{ ensureActiveImage, bootConfigurationMtdPartition, kernelCommandLineSource }:
{ ensureActiveImage, primaryMtdPartition, secondaryMtdPartition, bootConfigurationMtdPartition, kernelCommandLineSource }:
let
inherit (liminix.services) oneshot;
activeImageIndex = if ensureActiveImage == "primary" then 0 else 1;