FAQ Search Today's Posts Mark Forums Read
» Video Reviews

» Linux Archive

Linux-archive is a website aiming to archive linux email lists and to make them easily accessible for linux users/developers.


» Sponsor

» Partners

» Sponsor

Go Back   Linux Archive > Debian > Debian Java

 
 
LinkBack Thread Tools
 
Old 03-16-2010, 09:32 AM
Radek Vykydal
 
Default Set cache base directory for repos added/edited in UI.

Without the setting, directories are created in rootfs of / which can cause
running out of memory (e.g. for CD/DVD install in 512 MB virtual machine
after installing of 800 packages).
---
iw/task_gui.py | 3 +++
1 files changed, 3 insertions(+), 0 deletions(-)

diff --git a/iw/task_gui.py b/iw/task_gui.py
index 2fa916e..90faa30 100644
--- a/iw/task_gui.py
+++ b/iw/task_gui.py
@@ -363,6 +363,9 @@ class RepoEditor:
newRepoObj = AnacondaYumRepo(reponame.replace(" ", ""))
removeOld = False

+ # corresponds to self.repos.setCacheDir in AnacondaYum.doConfigSetup
+ newRepoObj.basecachedir = self.anaconda.backend.ayum.conf.cachedir
+
type = self.typeComboBox.get_active()
if not applyFuncs[type](newRepoObj) or not self._addAndEnableRepo(newRepoObj) or not
setupRepo(self.anaconda, newRepoObj):
--
1.6.0.6

_______________________________________________
Anaconda-devel-list mailing list
Anaconda-devel-list@redhat.com
https://www.redhat.com/mailman/listinfo/anaconda-devel-list
 
Old 03-16-2010, 10:39 AM
Hans de Goede
 
Default Set cache base directory for repos added/edited in UI.

Ack.

On 03/16/2010 11:32 AM, Radek Vykydal wrote:

Without the setting, directories are created in rootfs of / which can cause
running out of memory (e.g. for CD/DVD install in 512 MB virtual machine
after installing of 800 packages).
---
iw/task_gui.py | 3 +++
1 files changed, 3 insertions(+), 0 deletions(-)

diff --git a/iw/task_gui.py b/iw/task_gui.py
index 2fa916e..90faa30 100644
--- a/iw/task_gui.py
+++ b/iw/task_gui.py
@@ -363,6 +363,9 @@ class RepoEditor:
newRepoObj = AnacondaYumRepo(reponame.replace(" ", ""))
removeOld = False

+ # corresponds to self.repos.setCacheDir in AnacondaYum.doConfigSetup
+ newRepoObj.basecachedir = self.anaconda.backend.ayum.conf.cachedir
+
type = self.typeComboBox.get_active()
if not applyFuncs[type](newRepoObj) or not self._addAndEnableRepo(newRepoObj) or not
setupRepo(self.anaconda, newRepoObj):


_______________________________________________
Anaconda-devel-list mailing list
Anaconda-devel-list@redhat.com
https://www.redhat.com/mailman/listinfo/anaconda-devel-list
 

Thread Tools




All times are GMT. The time now is 03:31 AM.

VBulletin, Copyright ©2000 - 2014, Jelsoft Enterprises Ltd.
Content Relevant URLs by vBSEO ©2007, Crawlability, Inc.
Copyright 2007 - 2008, www.linux-archive.org