From 61d746a7d30e509f5081955cdb51f32024ed3294 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Dominik=20Xaver=20H=C3=B6rl?= Date: Thu, 18 Feb 2021 09:40:14 +0100 Subject: [PATCH] nixos: don't set systemConfig for stage-2 Since c4f910f55015b150bebe3d3ecdea76c1aa8bbcca, this is no longer needed, because stage-2 is already generated with the path hard wired anyway. --- .../system/boot/loader/init-script/init-script-builder.sh | 1 - 1 file changed, 1 deletion(-) diff --git a/nixos/modules/system/boot/loader/init-script/init-script-builder.sh b/nixos/modules/system/boot/loader/init-script/init-script-builder.sh index 2a1ec479fea..bd3fc64999d 100644 --- a/nixos/modules/system/boot/loader/init-script/init-script-builder.sh +++ b/nixos/modules/system/boot/loader/init-script/init-script-builder.sh @@ -49,7 +49,6 @@ addEntry() { echo "#!/bin/sh" echo "# $name" echo "# created by init-script-builder.sh" - echo "export systemConfig=$(readlink -f $path)" echo "exec $stage2" )"