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 '';