fix: rootfs now with verity and A/B prep

This commit is contained in:
Lars Sjöström 2025-03-07 15:18:51 +01:00
parent 3f443a9e9b
commit e907d0d3d3
No known key found for this signature in database
3 changed files with 100 additions and 17 deletions
pkgs/image

View file

@ -19,6 +19,7 @@ stdenvNoCC.mkDerivation (finalAttrs: {
dosfstools
mtools
e2fsprogs
jq
];
env = {
@ -32,8 +33,7 @@ stdenvNoCC.mkDerivation (finalAttrs: {
initrd = patosPkgs.initrd.out;
rootfs = patosPkgs.rootfs.out;
#FIXME: use roothash instead of device.
kernelCmdLine = "root=/dev/sda2 console=ttyS0";
kernelCmdLine = "console=ttyS0";
builder = ./mkimage.sh;
})