Fix HSTS and update changelog

This commit is contained in:
VirtuBox
2019-08-14 13:56:37 +02:00
parent 26806a292b
commit 937e61305a
8 changed files with 46 additions and 18 deletions

View File

@@ -397,12 +397,12 @@ class WOStackController(CementBaseController):
Log.debug(self, "Calling pre_pref")
pre_pref(self, apt_packages)
if (apt_packages):
meminfo = (os.popen('/bin/cat /proc/meminfo '
'| grep MemTotal').read()).split(":")
memsplit = re.split(" kB", meminfo[1])
wo_mem = int(memsplit[0])
if (wo_mem < 4000000):
WOSwap.add(self)
# meminfo = (os.popen('/bin/cat /proc/meminfo '
# '| grep MemTotal').read()).split(":")
# memsplit = re.split(" kB", meminfo[1])
# wo_mem = int(memsplit[0])
# if (wo_mem < 4000000):
# WOSwap.add(self)
Log.info(self, "Updating apt-cache, please wait...")
WOAptGet.update(self)
Log.info(self, "Installing packages, please wait...")