From 28d39cd66d70b85aaad89ca582a62f8e8e5d7f28 Mon Sep 17 00:00:00 2001 From: Daniel Barlow Date: Wed, 1 Jan 2025 11:55:33 +0000 Subject: [PATCH] provide etc/kconfig in updater output this is for debugging/documentation purposes and isn't copied to the device --- modules/outputs/updater/default.nix | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/modules/outputs/updater/default.nix b/modules/outputs/updater/default.nix index e7bb279..7ce91a3 100644 --- a/modules/outputs/updater/default.nix +++ b/modules/outputs/updater/default.nix @@ -27,7 +27,8 @@ in config.system.outputs.updater = runCommand "buildUpdater" { } '' - mkdir -p $out/bin + mkdir -p $out/bin $out/etc + cp ${o.kernel.config} $out/etc/kconfig substitute ${./update.sh} $out/bin/update.sh \ --subst-var-by toplevel ${o.systemConfiguration} \ --subst-var-by min_copy_closure ${min-copy-closure}