systemconfig: /boot needs to go inside /persist

This commit is contained in:
Daniel Barlow 2024-01-09 13:10:02 +00:00
parent f19a937eda
commit 83ee488e4c

View file

@ -95,7 +95,7 @@ in attrset:
if test -d $dest/persist; then dest=$dest/persist; fi
cp -v -fP \$src/bin/* \$src/etc/* \$dest
${if attrset ? boot then ''
(cd \$prefix && rm ./boot && ln -sf ${lib.strings.removePrefix "/" attrset.boot.target} ./boot)
(cd \$dest && rm ./boot && ln -sf ${lib.strings.removePrefix "/" attrset.boot.target} ./boot)
'' else ""}
EOF
chmod +x $out/bin/install