snapcraft: save env vars
This commit is contained in:
parent
a44939e402
commit
74e118d735
|
@ -31,8 +31,15 @@ apps:
|
|||
daemon: simple
|
||||
restart-condition: always
|
||||
environment:
|
||||
# Save original values of environment variables, we want to restore them
|
||||
# for the debug shell (LP: #1975629).
|
||||
PYTHONPATH_ORIG: $PYTHONPATH
|
||||
PATH_ORIG: $PATH
|
||||
PYTHONIOENCODING_ORIG: $PYTHONIOENCODING
|
||||
PYTHONIOENCODING: utf-8
|
||||
SUBIQUITY_ROOT_ORIG: $SUBIQUITY_ROOT
|
||||
SUBIQUITY_ROOT: $SNAP
|
||||
PYTHON_ORIG: $PYTHON
|
||||
PYTHON: $SNAP/usr/bin/python3.8
|
||||
os-prober:
|
||||
command: usr/bin/os-prober
|
||||
|
|
Loading…
Reference in New Issue