set _ORIG variables in environment for 'subiquity' app

this so orig_environ works when connecting via SSH
This commit is contained in:
Michael Hudson-Doyle 2022-07-15 12:05:13 +12:00
parent 135a870509
commit 942e5f5f1b
1 changed files with 7 additions and 0 deletions

View File

@ -11,8 +11,15 @@ apps:
subiquity: subiquity:
command: usr/bin/subiquity-cmd command: usr/bin/subiquity-cmd
environment: environment:
# Save original values of environment variables, we want to restore them
# for the debug shell (LP: #1975629) and restart (LP: #1978139)
PYTHONPATH_ORIG: $PYTHONPATH
PATH_ORIG: $PATH
PYTHONIOENCODING_ORIG: $PYTHONIOENCODING
PYTHONIOENCODING: utf-8 PYTHONIOENCODING: utf-8
SUBIQUITY_ROOT_ORIG: $SUBIQUITY_ROOT
SUBIQUITY_ROOT: $SNAP SUBIQUITY_ROOT: $SNAP
PYTHON_ORIG: $PYTHON
PYTHON: $SNAP/usr/bin/python3.8 PYTHON: $SNAP/usr/bin/python3.8
probert: probert:
command: bin/probert command: bin/probert