From 8f664049d6e61141e0ea45396481c0c41e09a7a8 Mon Sep 17 00:00:00 2001 From: Florian Agbuya Date: Tue, 16 Jan 2024 13:20:18 +0800 Subject: [PATCH] zynq: remove strace and add wget --- pr-28.patch | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/pr-28.patch b/pr-28.patch index b47b3b3..a17f0e4 100644 --- a/pr-28.patch +++ b/pr-28.patch @@ -62,7 +62,7 @@ index 6cc08e2..0c854c4 100644 + exec runit diff --git a/stage-2.nix b/stage-2.nix -index c61f9d6..46cf260 100644 +index c61f9d6..fbdf0fd 100644 --- a/stage-2.nix +++ b/stage-2.nix @@ -20,6 +20,19 @@ with lib; @@ -74,7 +74,7 @@ index c61f9d6..46cf260 100644 + example = "rm -f /var/log/messages"; + type = types.lines; + description = lib.mdDoc '' -+ Shell commands to be executed just before runnit is started. ++ Shell commands to be executed just before runit is started. + ''; + }; + }; @@ -96,7 +96,7 @@ index c61f9d6..46cf260 100644 }; } diff --git a/zynq_image.nix b/zynq_image.nix -index 3fa23ab..06dd1a5 100644 +index 3fa23ab..b95e7f8 100644 --- a/zynq_image.nix +++ b/zynq_image.nix @@ -1,66 +1,90 @@ @@ -196,7 +196,7 @@ index 3fa23ab..06dd1a5 100644 - environment.etc."service/getty/run".source = pkgs.writeShellScript "getty" '' - agetty ttyPS0 115200 + environment = { -+ systemPackages = with pkgs; [ strace inetutils ]; ++ systemPackages = with pkgs; [ inetutils wget ]; + etc = { + "service/getty/run".source = pkgs.writeShellScript "getty" '' + hostname ${config.networking.hostName} -- 2.44.2