Permalink
Browse files

Increase md size for firmware upgrade

2g is not enough since image size increase.

ticket:	#2294
  • Loading branch information...
1 parent dba1194 commit ca8b0107823ad064a516119a5c9bc3754855fda2 @william-gr william-gr committed Jun 20, 2013
Showing with 1 addition and 1 deletion.
  1. +1 −1 gui/middleware/notifier.py
@@ -2182,7 +2182,7 @@ def create_upload_location(self):
"provider[name = 'ufs/%s']/../consumer/provider/@ref" % (label, ))
#prov = doc.xpathEval("//provider[@id = '%s']" % pref[0].content)
if not pref:
- proc = self.__pipeopen("mdconfig -a -t swap -s 2g")
+ proc = self.__pipeopen("/sbin/mdconfig -a -t swap -s 2500m -o reserve")
mddev, err = proc.communicate()
if proc.returncode != 0:
raise MiddlewareError("Could not create memory device: %s" % err)

0 comments on commit ca8b010

Please sign in to comment.