Merge ~sylvain-pineau/checkbox-ng:add_env_PERL5LIB into checkbox-ng:master
Status: | Merged |
---|---|
Approved by: | Sylvain Pineau |
Approved revision: | ebc8c6af7dd2ef72a4993e7f275dc8a64f9a1389 |
Merged at revision: | 6e6794d0e4a725dd9a1d8153e7bbe9bb2c36a74a |
Proposed branch: | ~sylvain-pineau/checkbox-ng:add_env_PERL5LIB |
Merge into: | checkbox-ng:master |
Diff against target: |
23 lines (+3/-2) 1 file modified
plainbox/impl/execution.py (+3/-2) |
Related bugs: |
Reviewer | Review Type | Date Requested | Status |
---|---|---|---|
Sylvain Pineau (community) | Approve | ||
Review via email:
|
Description of the change
On interim release, standard perl modules are loaded from host, which fails:
Can't load '/usr/lib/
at /usr/lib/
Compilation failed in require at /tmp/nest-
BEGIN failed--compilation aborted at /tmp/nest-
Inxi related jobs (e.g raw_devices_dmi) running as root cannot load the right perl modules if PERL5LIB set in wrapper_common* is not passed to the target environment. This MR fixes it.
inxi was one example, better to land this little patch to avoid similar import errors even on lts.