fix: sysupdate wont work with out systemd.volatile set to overlay

This commit is contained in:
Lars Sjöström 2025-05-21 12:43:41 +02:00
parent 7c0d0a099d
commit d42406c6dc
No known key found for this signature in database
2 changed files with 9 additions and 2 deletions

View file

@ -49,6 +49,13 @@
{ drv = pkgs.curl; path = "bin/curl"; }
{ drv = pkgs.bash; path = "bin/bash"; }
{ drv = patosPkgs.glibc; path = "bin/ldd"; }
{ drv = pkgs.util-linux; path = "bin/sfdisk"; }
{ drv = pkgs.readline.out; path = "lib/libreadline.so.8.2"; }
{ drv = pkgs.readline.out; path = "lib/libreadline.so.8"; }
{ drv = pkgs.readline.out; path = "lib/libhistory.so.8.2"; }
{ drv = pkgs.readline.out; path = "lib/libhistory.so.8"; }
{ drv = pkgs.ncurses.out; path = "/lib/libncursesw.so.6.5"; }
{ drv = pkgs.ncurses.out; path = "/lib/libncursesw.so.6"; }
{ drv = pkgs.keyutils; path = "bin/keyctl"; }
{ drv = pkgs.gnutar; path = "bin/tar"; }
{ drv = pkgs.binutils-unwrapped; path = "bin/strings"; }
@ -69,7 +76,7 @@
# shared lib required for binutils
{ drv = pkgs.binutils-unwrapped.lib; path = "lib/libsframe.so.1.0.0"; }
{ drv = pkgs.binutils-unwrapped.lib; path = "lib/libsframe.so.1"; }
{ drv = pkgs.binutils-unwrapped.lib; path = "lib/libbfd-2.43.1.so"; }
{ drv = pkgs.binutils-unwrapped.lib; path = "lib/libbfd-2.44.so"; }
{ drv = pkgs.binutils-unwrapped.lib; path = "lib/libbfd.so"; }
# shared lib required for strace
{ drv = pkgs.elfutils.out; path = "lib/libdw-0.192.so"; }

View file

@ -30,7 +30,7 @@ runCommand pname {
SYSTEMD_REPART_MKFS_OPTIONS_EROFS = "--all-root -zlz4hc,12 -C1048576 -Efragments,dedupe,ztailpacking";
};
kernelCmdLine = "console=ttyS0 patos.secureboot=${secureBoot}";
kernelCmdLine = "console=ttyS0 systemd.volatile=overlay patos.secureboot=${secureBoot}";
}
''
mkdir -p $out/init.repart.d $out/final.repart.d