From 921b4f24af3930b784a59ef16e09baffee13bd5a Mon Sep 17 00:00:00 2001 From: Daniel Barlow Date: Mon, 1 Jan 2024 20:21:42 +0000 Subject: [PATCH] boot.scr: append ; not \n to lzmadec command this is simply to make copy-paste slightly more convenient --- modules/outputs/tftpboot.nix | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/modules/outputs/tftpboot.nix b/modules/outputs/tftpboot.nix index cd2cd1b..ad6ed63 100644 --- a/modules/outputs/tftpboot.nix +++ b/modules/outputs/tftpboot.nix @@ -116,10 +116,9 @@ in { else "tftpboot $(hex $rootfsStart) result/rootfs" }; tftpboot $(hex $dtbStart) result/dtb ${if cfg.compressRoot - then "lzmadec $(hex $rootfsLzStart) $(hex $rootfsStart)" + then "lzmadec $(hex $rootfsLzStart) $(hex $rootfsStart); " else "" - } - ${bootCommand} $(hex $imageStart) - $(hex $dtbStart) + } ${bootCommand} $(hex $imageStart) - $(hex $dtbStart) EOF '';