Martin Gracik
5bb6d1e59b
workdir is a local variable, not a class attribute
2011-04-15 09:41:59 +02:00
Martin Gracik
bd3197845a
Change the location of *.b files on sparc
2011-04-13 16:11:58 +02:00
Martin Gracik
507735e127
Change location of addrsize and mk-s390-cdboot
2011-04-12 13:19:39 +02:00
Martin Gracik
80650edb4d
Wait for subprocess to finish
2011-04-12 13:19:38 +02:00
Martin Gracik
fbd8da6d40
Have to call os.makedirs
2011-04-12 13:19:38 +02:00
Martin Gracik
c3e7664448
The biarch is a function not an attribute
2011-04-12 13:19:38 +02:00
Martin Gracik
c41e8a89b8
Replace variables in yaboot.conf
2011-04-12 13:19:38 +02:00
Martin Gracik
662449d0f6
Add support for sparc
2011-04-12 13:19:38 +02:00
Martin Gracik
9b8a8c83d7
Use factory to get the image classes
2011-04-12 13:19:38 +02:00
Martin Gracik
7bfb602ff4
treeinfo has to be addressed as self.treeinfo
2011-04-12 13:19:38 +02:00
Martin Gracik
682515da71
Add support for s390
2011-04-12 13:19:38 +02:00
Martin Gracik
c7f43aaa6b
Add the xen section to treeinfo on x86_64
2011-04-12 13:19:38 +02:00
Martin Gracik
3f64827719
Fix magic and mapping paths
2011-04-12 13:19:38 +02:00
Martin Gracik
d2daafa402
Fix passing of prepboot and macboot arguments
2011-04-12 13:19:38 +02:00
Martin Gracik
073e71ad8b
Small ppc fixes
2011-04-12 13:19:38 +02:00
Martin Gracik
589ae9e600
Change the location of zImage.lds
2011-04-12 13:19:38 +02:00
Martin Gracik
183bcc7065
memtest and efika.forth are in /boot
2011-04-12 13:19:38 +02:00
Martin Gracik
203cc7b15f
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-04-12 13:19:37 +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
15988fd5b2
Allow specifying a mask when removing package files
2010-08-12 16:27:35 +02:00
Martin Gracik
5036ff6bd8
Add support for removing whole packages
...
Remove all files from a package if removepkg <pkg>
is specified in install image template.
2010-07-29 19:04:30 +02:00
Martin Gracik
01a1f80b79
Add the pedantic option
...
By default copy file errors are ignored,
when pedantic is set to True, they result in an exception.
2010-05-21 09:40:30 +02:00
Martin Gracik
1ab4a60bc7
Added some packages and config files
...
Also fixed the modules symlink
2010-04-02 14:20:05 +02:00
Martin Gracik
36104bc143
Fix the modules and firmware symlinks
...
On architectures which have libdir other than lib,
we have to create the lib directory in the initrd
prior to copying modules and firmware
2010-03-31 17:28:29 +02:00
Martin Gracik
dfbedd6f0e
Changed the path where we copy modules and firmware
2010-03-31 14:34:57 +02:00
Martin Gracik
3a914eab34
Changed the modules and firmware symlinks
2010-03-31 09:40:38 +02:00
Martin Gracik
6a4d4a4a56
Don't run modlist on module-info
...
Running modlist is not needed anymore, because the module-info
we create does not contain any modules, that are not scsi or eth,
so modlist does not make any changes to it.
2010-03-30 14:44:19 +02:00
Martin Gracik
a8f4de6070
Fix some incorrect variable names
2010-03-30 14:40:06 +02:00
Martin Gracik
32c7ffd2eb
Sort modules in module-info by modname, not modtype
2010-03-30 13:59:13 +02:00
Martin Gracik
7dbf40fdad
Remove the *map files in modules directory
2010-03-30 13:54:19 +02:00
Martin Gracik
68247d2d77
Removed the print of depmod output
...
Was there only for debugging
2010-03-30 13:15:23 +02:00
Martin Gracik
0645d2ade3
Fixed the generating of modules.dep
...
Also added some missing directories to initrd image
2010-03-30 13:08:32 +02:00
Martin Gracik
bcea8cdcdd
Run the depmod after compressing the modules
...
Also create the etc/modprobe.d directory in the initrd image
2010-03-26 08:49:58 +01:00
Martin Gracik
438d73b51a
Fix an error when creating the lib directory
2010-02-25 20:43:06 +01:00
Martin Gracik
d13f13e92f
Make sure we create the usr/lib directory
2010-02-25 20:26:54 +01:00
Martin Gracik
1a3d76fc5b
Create the libdir in the initrd tree
...
Make sure we have the libdir created before we copy
the files to the initrd tree.
2010-02-25 20:05:13 +01:00
Martin Gracik
d8e07aeac0
Check if the anaconda stub file exists before we try to copy it
2010-02-24 20:48:46 +01:00
Martin Gracik
a4c638f132
New version
2010-02-23 14:20:05 +01:00
Martin Gracik
b672d9936e
New version
...
Added support for Mako templates.
Changed the Lorax class to require an yumbase object as a parameter.
Changed a lot of unnecessary system calls to native python code.
Moved most of the file paths into a separate object.
The output and config objects are now singletons.
Also done a lot of code cleanup.
2009-12-15 15:26:01 +01:00
Martin Gracik
609a57c491
Added code for alpha images
2009-10-13 13:22:44 +02:00
Martin Gracik
56de80c38a
Added code for creating s390 images
2009-09-30 13:02:40 +02:00
Martin Gracik
d58f206122
Added some tree scrubs to the code;
2009-09-29 14:41:39 +02:00
Martin Gracik
272ec190c7
New version
...
I fixed a lot of bugs with copying files to the initrd, and getting the symlinks.
Also I moved some of the code around, to get a clearer flow.
2009-09-23 12:21:33 +02:00
Martin Gracik
7f28c28e6f
Some small fixes
2009-09-09 12:43:00 +02:00
Martin Gracik
44ce6ea3e0
Fixed the including of firmware files in the initrd image
2009-09-08 14:01:27 +02:00
Martin Gracik
b0b61b17a0
Corrected the automatic getting of dynamic libraries
2009-09-08 10:11:06 +02:00
Martin Gracik
14f98446ea
Added the nolink option to the copy command
2009-09-07 13:06:24 +02:00
Martin Gracik
3a013f56c4
Rewrote the copy function to copy also symlinks targets;
2009-09-04 13:34:04 +02:00
Martin Gracik
0301ace495
Added the GPL license to all files
2009-08-27 09:19:49 +02:00