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 > Gentoo > Gentoo Development

 
 
LinkBack Thread Tools
 
Old 05-12-2012, 12:40 AM
"Brian C. Lane"
 
Default livemedia-creator: start using /var/tmp instead of /tmp

From: "Brian C. Lane" <bcl@redhat.com>

---
src/sbin/livemedia-creator | 4 +++-
1 files changed, 3 insertions(+), 1 deletions(-)

diff --git a/src/sbin/livemedia-creator b/src/sbin/livemedia-creator
index 3f3e4c2..f04e567 100755
--- a/src/sbin/livemedia-creator
+++ b/src/sbin/livemedia-creator
@@ -554,7 +554,7 @@ if __name__ == '__main__':
parser.add_argument( "--lorax-templates", default="/usr/share/lorax/",
type=os.path.abspath,
help="Path to mako templates for lorax" )
- parser.add_argument( "--tmp", default="/tmp", type=os.path.abspath,
+ parser.add_argument( "--tmp", default="/var/tmp", type=os.path.abspath,
help="Top level temporary directory" )
parser.add_argument( "--resultdir", default=None, dest="result_dir",
type=os.path.abspath,
@@ -659,6 +659,8 @@ if __name__ == '__main__':
log.error("virt-install requires libvirt to be installed.")
sys.exit(1)

+ tempfile.tempdir = opts.tmp
+
# Make the disk image
if not opts.disk_image:
# Parse the kickstart to get the partition sizes
--
1.7.7.6

_______________________________________________
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 10:01 PM.

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