commit 40db175b415280f242c1848e0cee1bf20d29d6e8
parent ab07212a7ebde6f7b66117cc36b11f5298b03b47
Author: Daniel Barlow <dan@telent.net>
Date: Sun, 29 Dec 2024 13:26:45 +0000
complain if user attempting to tftpboot a ubifs
Diffstat:
1 file changed, 2 insertions(+), 0 deletions(-)
diff --git a/modules/outputs/tftpboot.nix b/modules/outputs/tftpboot.nix
@@ -57,6 +57,8 @@ in {
system.outputs = rec {
tftpboot =
+ # no ubifs on an mtd directly, it needs ubi volumes
+ assert config.rootfsType != "ubifs";
let
o = config.system.outputs;
image = let choices = {