Hello.
First off, I'm sorry for the undescriptive title.
My question deals with the livecd-creator tool. I want to create a custom live CD. Well, a DVD actually. I think I understand the .ks file format well enough to make that happen. However, the disk space on my root filesystem is scarce, so I think I might run into problems during the live CD creation, as the tool creates the filesystem of the live CD under /tmp during the process. I have plenty of free space on other filesystems though.
So my question is that how do I tell to livecd-creator to create the temporary filesystem structure somewhere else than under /tmp? livecd-creator --help doesn't seem to indicate any options for that. The livecd-creator tool seems to be a python program, so if everything else fails, I'm ready to try and hack it to do what I want (thank <insert your favorite deity here> for open source!).
Thanks in advance.
EDIT: OOPS! The directory structure seems to get created under /var/tmp and not /tmp.
EDIT2: Ok, I found this code:
Code:
# setup temporary build dirs
try:
self.build_dir = tempfile.mkdtemp(dir="/var/tmp", prefix="livecd-creator-")
at the line 379 of the livecd-creator. This seems to be the place where the directory of the temporary file structure is specified. I'm going to try and change that later today, or tomorrow. Oh, and I'm talking about the F7 version of the livecd-creator, should there be differences between F8 and F7 versions.
EDIT3: The piece of code I posted indeed seems to be the place to specify the root directory of the temporary directory structure. Unfortunately I'm not able to test the modifications to that piece of code because I only have FAT32 filesystems that have enough space for the temporary directory structure and FAT32 filesystem seems to cause problems when livecd-creator is operating on files (the program crashes on os.lseek() function with exit code 22 -- invalid argument; it was able to create the file in question, but seeking on it seems to cause trouble).
Oh well... seems like I have to remove a
a lot of programs to make room on my root filesystem (which is the only ext3 filesystem I have) for the livecd creation process.