You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
While working around omniosorg/omnios-build#3770, I mounted the backup boot environment created as part of pkg update -v pkg so that I could get the previous copy of the libraries there. In order to convince it to work, I ended up having to copy the pkg entrypoint script itself into /tmp and edit it:
I had to comment out the call to pkg.site_paths.init()
I had to remove the -E argument in the interpreter line
Once I did that, I was able to set PYTHONPATH in the environment and use the program:
It seems like it would be relatively easy to augment the site_paths module to be able to recognise when it's running inside a boot environment and enable the operator to use it without modification?
The text was updated successfully, but these errors were encountered:
While working around omniosorg/omnios-build#3770, I mounted the backup boot environment created as part of
pkg update -v pkg
so that I could get the previous copy of the libraries there. In order to convince it to work, I ended up having to copy thepkg
entrypoint script itself into/tmp
and edit it:pkg.site_paths.init()
-E
argument in the interpreter lineOnce I did that, I was able to set
PYTHONPATH
in the environment and use the program:It seems like it would be relatively easy to augment the site_paths module to be able to recognise when it's running inside a boot environment and enable the operator to use it without modification?
The text was updated successfully, but these errors were encountered: