systemconfig: /boot needs to go inside /persist
This commit is contained in:
parent
f19a937eda
commit
83ee488e4c
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue