systemconfig: /boot needs to go inside /persist

pull/3/head
Daniel Barlow 2024-01-09 13:10:02 +00:00
parent f19a937eda
commit 83ee488e4c
1 changed files with 1 additions and 1 deletions

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