I used this dirty patch to build a test package:
--- a/DistUpgrade/DistUpgradeFetcherCore.py +++ b/DistUpgrade/DistUpgradeFetcherCore.py @@ -106,6 +106,8 @@ class DistUpgradeFetcherCore(object): except tarfile.ReadError as e: logging.error("failed to open tarfile (%s)" % e) return False + print("fix screen usage") + subprocess.call(["cp","/usr/lib/python3/dist-packages/DistUpgrade/DistUpgradeMain.py",self.tmpdir]) return True
def verifyDistUprader(self):
« Back to merge proposal
I used this dirty patch to build a test package:
--- a/DistUpgrade/ DistUpgradeFetc herCore. py DistUpgradeFetc herCore. py herCore( object) :
logging. error(" failed to open tarfile (%s)" % e) call([" cp","/usr/ lib/python3/ dist-packages/ DistUpgrade/ DistUpgradeMain .py",self. tmpdir] )
+++ b/DistUpgrade/
@@ -106,6 +106,8 @@ class DistUpgradeFetc
except tarfile.ReadError as e:
return False
+ print("fix screen usage")
+ subprocess.
return True
def verifyDistUprad er(self) :