Brian C. Lane
134eec24d5
clean up command execution
...
Switch to using execWith* so that the command and its output can be
logged. To capture the output setup a logger named "program"
livemedia-creator captures all of this into program.log
2012-07-30 09:22:10 -07:00
Will Woods
bdb35b7822
fix remove() on symlink-to-dir
2011-05-31 12:24:17 -04:00
Will Woods
7be79ceba2
Add mvfile() to sysutils
...
This adds mvfile(), which works basically like cpfile().
2011-05-26 18:14:10 -04:00
Will Woods
b436479f97
Add linktree(src, dst) to sysutils
2011-05-12 17:28:53 -04:00
Will Woods
cd684d2b3d
fixup: add remove to sysutils.__all__
2011-05-12 17:28:53 -04:00
Will Woods
17c9c8bfaf
Remove dead/commented code from __init__ and outputroot
...
Remove commented-out code, EFI-building code, some redundant comments,
and outputroot.
2011-05-09 15:33:54 -04:00
Will Woods
1e550f8227
Add remove() to sysutils
...
This adds the remove() function, which works a lot like rm -rf - if you
remove() a file, it uses os.unlink, and if you remove() a directory it
uses shutils.rmtree().
2011-05-09 10:29:00 -04:00
Martin Gracik
98d695f9a2
Add support for ppc
...
The way we create the images had to be changed a little.
Some code had to be moved to other places, so we can create
images for other architectures too.
2011-03-14 14:01:00 +01:00
Martin Gracik
ea6139f125
Fixed pylint errors in sysutils.py
2010-12-02 13:29:55 +01:00
Martin Gracik
d888225dd7
Export chown and chmod functions
2010-11-16 12:25:05 +01:00
Martin Gracik
9ec28c1a49
Add chown and chmod functions to sysutils
2010-11-16 09:36:07 +01:00
Martin Gracik
e22457b09a
Various initrd updates
2010-10-19 17:35:50 +02:00
Martin Gracik
45c5ef566c
Experimental single initrd image
2010-10-12 18:32:35 +02:00
Martin Gracik
8034dd06bb
Minor changes
2010-08-17 14:14:36 +02:00
Martin Gracik
aaef55c007
Fix file trees copying
...
Create the directories in advance to copying files,
not later, becase this caused some destination path
problems, like not appending the filename to the
destination directory, because it didn't exist.
2010-07-14 15:57:19 +02:00
Martin Gracik
ad726c68ec
Fix a bug in SmartCopy when printing an error message
2010-02-25 19:36:20 +01:00
Martin Gracik
18ad481067
Improve the error messages in SmartCopy
2010-02-25 19:14:24 +01:00
Martin Gracik
a3d550952a
Fix the regexp for matching the ld_linux executable.
...
Remove the double quotes from the resulting match object,
if there is more than one ld_linux file specified.
2010-02-25 18:09:56 +01:00
Martin Gracik
79222bab6c
Fix searching for ld_linux executable on 64 bit machines
...
On some machines we can have more ld_linux executables specified
in /usr/bin/ldd file. This patch fixes how we search for the file.
2010-02-25 17:59:49 +01:00
Martin Gracik
a4c638f132
New version
2010-02-23 14:20:05 +01:00