summaryrefslogtreecommitdiffstats
path: root/config/chroot_local-includes/usr/lib/python3/dist-packages/tailslib/additionalsoftware.py
diff options
context:
space:
mode:
Diffstat (limited to 'config/chroot_local-includes/usr/lib/python3/dist-packages/tailslib/additionalsoftware.py')
-rw-r--r--config/chroot_local-includes/usr/lib/python3/dist-packages/tailslib/additionalsoftware.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/config/chroot_local-includes/usr/lib/python3/dist-packages/tailslib/additionalsoftware.py b/config/chroot_local-includes/usr/lib/python3/dist-packages/tailslib/additionalsoftware.py
index ab6eaf1..89e4ca6 100644
--- a/config/chroot_local-includes/usr/lib/python3/dist-packages/tailslib/additionalsoftware.py
+++ b/config/chroot_local-includes/usr/lib/python3/dist-packages/tailslib/additionalsoftware.py
@@ -36,7 +36,7 @@ def _write_config(packages, search_new_persistence=False):
with atomicwrites.atomic_write(packages_list_path,
overwrite=True) as f:
for package in sorted(packages):
- f.write(package + '\n')
+ f.apply_to_upcoming_session(package + '\n')
os.chmod(packages_list_path, 0o0644)
finally:
os.seteuid(0)