vyos-1x-vmware: T3681: Fix Python bytecompile exclusion#4525
vyos-1x-vmware: T3681: Fix Python bytecompile exclusion#4525dmbaturin merged 1 commit intovyos:currentfrom
Conversation
|
👍 |
|
CI integration ❌ failed! Details
|
c-po
left a comment
There was a problem hiding this comment.
LGTM, also the change in architecture mimucs Debians support for amd64, i386 and arm64 for the required open-vm-tools package
dmbaturin
left a comment
There was a problem hiding this comment.
The syntax was is incorrect here indeed. I honestly have no idea what's the deal with ppp. I think we can just remove that part later.
Hi dmbaturin, it seems there can be only one This PR didn't actually fix the issue so to say, can we amend this PR by removing With the |
Change summary
VMware resuming was broken again due to a change in the
Makefilein the following commit: 64c9fde. That change added an exclusion to thepython -m compileallregex, however the updated exclusion regex did not work and resulted in byte compiling and creating a__pycache__directory again whichopen-vm-toolstries to execute on resume.Although a fix landed upstream in
open-vm-toolsto prevent executing__pycache__directories here There is no new version in Debian that has this fix yet.This PR fixes the Python byte compile exclusion regex by specifying it as two separate regexes, I'm not sure why the second exclusion was added initially, as there is no
/ppp/directory that python tries to compile but I have left it in there just in case.Types of changes
Related Task(s)
https://vyos.dev/T3681
Related PR(s)
How to test / Smoketest result
Checklist: