summaryrefslogtreecommitdiff
path: root/hosts/vidhar
diff options
context:
space:
mode:
Diffstat (limited to 'hosts/vidhar')
-rwxr-xr-xhosts/vidhar/borg/copy.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/hosts/vidhar/borg/copy.py b/hosts/vidhar/borg/copy.py
index 71d9fe55..3cf5f968 100755
--- a/hosts/vidhar/borg/copy.py
+++ b/hosts/vidhar/borg/copy.py
@@ -117,7 +117,7 @@ def copy_archive(src_repo_path, dst_repo_path, entry):
117 path.mkdir() 117 path.mkdir()
118 print(f'euid={os.getuid()}', file=stderr) 118 print(f'euid={os.getuid()}', file=stderr)
119 subprocess.run(['stat', '/', lower, upper, work, chroot], check=True) 119 subprocess.run(['stat', '/', lower, upper, work, chroot], check=True)
120 subprocess.run(['mount', '-t', 'shifts', '/', lower], check=True) 120 subprocess.run(['mount', '-t', 'shiftfs', '/', lower], check=True)
121 subprocess.run(['stat', lower], check=True) 121 subprocess.run(['stat', lower], check=True)
122 subprocess.run(['mount', '-t', 'overlay', 'overlay', '-o', f'lowerdir={lower},upperdir={upper},workdir={work}', chroot], check=True) 122 subprocess.run(['mount', '-t', 'overlay', 'overlay', '-o', f'lowerdir={lower},upperdir={upper},workdir={work}', chroot], check=True)
123 bindMounts = ['nix', 'run', 'proc', 'dev', 'sys', pathlib.Path(os.path.expanduser('~')).relative_to('/')] 123 bindMounts = ['nix', 'run', 'proc', 'dev', 'sys', pathlib.Path(os.path.expanduser('~')).relative_to('/')]