From 1730cf07b17738fa82fc9477a9a49d71f83025e1 Mon Sep 17 00:00:00 2001 From: Daniel Barlow Date: Tue, 23 Jan 2024 12:00:19 +0000 Subject: [PATCH] bug workaround If we set squashfs rootfsType, the image doesn't rebuild when the kernel config is changed. Need to figure out why --- examples/recovery.nix | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/examples/recovery.nix b/examples/recovery.nix index bc6f90b..535306e 100644 --- a/examples/recovery.nix +++ b/examples/recovery.nix @@ -68,7 +68,7 @@ in rec { }; mnt = dir {}; }; - rootfsType = "squashfs"; + rootfsType = "ext4"; # sda is most likely correct for the boot-from-USB case. For tftp # it's overridden by the boot.scr anyway, so maybe it all works out hardware.rootDevice = "/dev/sda1";