data.0 not deployment
This commit is contained in:
parent
12c3b620a6
commit
8dd560aea0
1 changed files with 3 additions and 3 deletions
|
@ -320,14 +320,14 @@ deploy () {
|
|||
|
||||
# Unlock root if required
|
||||
if [[ $overlay_unlock_root -eq 1 ]]; then
|
||||
btrfs property set -f -ts $(readlink -m $arkanium_dir/deployments/$deployment) ro false
|
||||
btrfs property set -f -ts $(readlink -m $arkanium_dir/deployments/${data[0]}) ro false
|
||||
fi
|
||||
|
||||
cp -rv $(readlink -m $arkanium_dir/overlay/*) $(readlink -m /$arkanium_dir/deployments/$deployment/rootfs/)
|
||||
cp -rv $(readlink -m $arkanium_dir/overlay/*) $(readlink -m /$arkanium_dir/deployments/${data[0]}/rootfs/)
|
||||
|
||||
# Lock root again if required
|
||||
if [[ $overlay_unlock_root -eq 1 ]]; then
|
||||
btrfs property set -f -ts $(readlink -m $arkanium_dir/deployments/$deployment) ro true
|
||||
btrfs property set -f -ts $(readlink -m $arkanium_dir/deployments/${data[0]}) ro true
|
||||
fi
|
||||
fi
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue