Martin Gracik
60c444c0c9
Use own addrsize implementation (dhorak)
...
Anaconda doesn't built the addrsize tool used to create the file
containing size and load address for initrd.img. So we implement
its function directly in lorax.
2011-09-22 10:07:11 +02:00
Martin Gracik
05fc838ce2
syslinux-vesa-splash changed filename ( #739345 )
2011-09-19 10:37:43 +02:00
Martin Gracik
b3301595bc
New syslinux theme ( #734170 )
2011-09-19 10:37:18 +02:00
Ales Kozumplik
c3e3004c47
Log how we run mkisofs.
...
It's very useful to know when trying to rebuild the iso manually.
2011-09-13 10:43:25 +02:00
Martin Gracik
43be129a48
Raise an exception if isohybrid cannot be run on x86
2011-08-25 10:02:56 +02:00
Will Woods
6b8fa8447a
refactor: rename "compression speed" -> "compression args"
...
This makes the compression code slightly more generic:
- [compression] "speed" config item renamed to "args"
- default changed from "9" to "-9"
- "cspeed" variables renamed "cargs"
- pass "args.split()" on compress cmdline instead of "-%s" % speed
2011-06-09 13:00:20 -04:00
Martin Gracik
fe898c07e6
Use initrd.addrsize, not initrd_addrsize ( #703862 )
2011-05-12 11:23:45 +02:00
Martin Gracik
421e4c3a00
Allow compression type be specified in lorax.conf
2011-04-22 10:57:51 +02:00
Martin Gracik
19f60aebc8
use reqs not regs for files to backup (dgilmore)
2011-04-15 15:46:06 +02:00
Martin Gracik
4c25044020
workdir is a local variable, not a class attribute
2011-04-15 09:42:44 +02:00
Martin Gracik
031e6bab10
Change the location of *.b files on sparc
2011-04-13 16:14:21 +02:00
Martin Gracik
c8a52d628a
Change location of addrsize and mk-s390-cdboot
2011-03-23 14:07:58 +01:00
Martin Gracik
05fd600885
Wait for subprocess to finish
2011-03-23 09:22:39 +01:00
Martin Gracik
1de4bb132c
Have to call os.makedirs
2011-03-22 17:36:46 +01:00
Martin Gracik
69214fd47a
The biarch is a function not an attribute
2011-03-17 13:26:24 +01:00
Martin Gracik
dc7b2e28dc
Use gzip on ppc initrd
2011-03-17 11:03:22 +01:00
Martin Gracik
70cfd01f00
Replace variables in yaboot.conf
2011-03-15 16:38:08 +01:00
Martin Gracik
4d1795a091
Add support for sparc
2011-03-15 14:14:51 +01:00
Martin Gracik
5878db3e81
Use factory to get the image classes
2011-03-15 13:51:43 +01:00
Martin Gracik
c922ae64a9
treeinfo has to be addressed as self.treeinfo
2011-03-15 10:54:25 +01:00
Martin Gracik
3c8ccf997a
Add support for s390
2011-03-15 10:53:52 +01:00
Martin Gracik
566c992653
Add the xen section to treeinfo on x86_64
2011-03-14 14:07:32 +01:00
Martin Gracik
55fd24ea86
Fix magic and mapping paths
2011-03-14 14:01:01 +01:00
Martin Gracik
fdbf53227e
Fix passing of prepboot and macboot arguments
2011-03-14 14:01:01 +01:00
Martin Gracik
ab515eff64
Small ppc fixes
2011-03-14 14:01:01 +01:00
Martin Gracik
b7912a22b3
Change the location of zImage.lds
2011-03-14 14:01:00 +01:00
Martin Gracik
3e965f5a30
memtest and efika.forth are in /boot
2011-03-14 14:01:00 +01: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
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