Martin Gracik
6ab2db09a4
New syslinux theme ( #734170 )
2011-09-09 12:27:29 +02:00
Martin Gracik
faca7dd166
Use --noprefix when calling dracut
...
Do not prefix initramfs files with /run/initramfs
when creating the dracut initramfs.
2011-08-25 10:43:40 +02:00
Martin Gracik
b0ff70a877
Prepend dracut to the temporary initramfs directory ( #722999 )
...
Temporary directory with just the kernel version interferes
with the modules temporary directory.
2011-07-19 09:18:41 +02:00
Martin Gracik
d9e9b0e57c
Create dracut initramfs for each kernel ( #722466 )
2011-07-18 13:48:56 +02:00
Will Woods
d0960bba14
Add 'squashfs' compression type
...
This adds the 'squashfs' compression type, which builds runtime images
that stay compressed in RAM. It accomplishes this by building the images
almost exactly like the Live images are built:
1) Create an empty ext4 filesystem on a large sparse file
2) Copy the runtime files into the ext4 filesystem
3) Place the ext4 image at "LiveOS/rootfs.img"
4) Create a squashfs.img which contains LiveOS/rootfs.img
To make this bootable, we need dracut's startup scripts. So before
creating the runtime image, we make a dracut initramfs.img by chrooting
into the runtime and running dracut.
Finally, we add squashfs.img to initramfs.img, along with an extra file
(/etc/cmdline) which directs dracut to use /squashfs.img as its root
device. And there we go! Easy, right?!
2011-06-15 17:37:57 -04:00
Will Woods
fc000a51e1
refactor: split make_initramfs_runtime out of compress()
...
No code changes here.
2011-06-09 15:51:36 -04: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
d154f56855
Use crc32 check when compressing with xz
2011-04-27 13:56:47 +02:00
Martin Gracik
421e4c3a00
Allow compression type be specified in lorax.conf
2011-04-22 10:57:51 +02:00
Martin Gracik
79b6e5bfa1
Use xz and gzip commands instead of libraries
...
We're already using find and cpio subprocesses, so using
one more subprocess is not a problem. With this approach
we can pipe cpio to the xz/gzip command, which should
help with the memory issues.
2011-04-22 10:57:51 +02:00
Martin Gracik
713d6f94e7
getkeymaps resides in /usr/libexec/anaconda
2011-04-15 09:47:53 +02:00
Chris Lumens
706ac6a55c
Add a /bin/login shim for use only in the installation environment.
2011-04-12 10:36:16 -04:00
Chris Lumens
b58190d660
Add systemd and agetty to the installation environment.
...
Also, set up anaconda.target to be the default systemd unit.
2011-04-12 10:36:04 -04:00
Chris Lumens
51addbb7b4
Specify "cpio -H newc" instead of "cpio -c".
...
The latter does not always work with every version of cpio, so it's too
unreliable to use.
2011-04-12 10:35:02 -04:00
Martin Gracik
1009ef9df0
Provide shutdown on s390x ( #694518 )
2011-04-12 12:31:32 +02:00
Martin Gracik
872d0d6ffa
Generate ssh keys on s390
2011-03-28 13:14:37 +02:00
Martin Gracik
b50f1cb802
Shutdown is in another location
2011-03-23 14:07:26 +01:00
Ales Kozumplik
f851fc4636
Get rid of create_gconf().
...
We do what create_gconf is trying to achieve in get_config_files(). What's
more, the files in crete_gconf() end up in the root directory where
nothing can possibly use them because the root user's home is now /root.
2011-03-16 09:14:31 +01:00
Ales Kozumplik
8565998511
gconf/metacity: have only one workspace.
...
Related: rhbz#683548
2011-03-16 09:06:21 +01:00
Martin Gracik
4af2c865c9
Skip keymap creation on s390
2011-03-15 14:29:29 +01:00
Martin Gracik
a21be14937
Copy shutdown and linuxrc.s390 on s390
2011-03-15 14:27:31 +01:00
Martin Gracik
8e9f96c12a
The check option in options causes ValueError
...
The crc32 check we want is the default anyway,
so we don't need to specify it.
2011-02-22 18:20:13 +01:00
Ales Kozumplik
0ce2dc14e4
Disable all ctrl-alt-arrow metacity shortcuts.
...
No need for desktop switching, just makes the users confused.
Resolves: rhbz#678892
2011-02-21 15:26:30 +01:00
Martin Gracik
a9e52a70f4
Use xz when compressing the initrd
...
This makes the image a lot smaller.
2011-02-18 10:25:53 +01:00
Martin Sivak
ee955f3ad1
Keep the source files for locales and get rid of the binary form.
...
Anaconda prepares locale as needed during runtime. This saves space.
2011-02-14 20:11:43 +01:00
Martin Gracik
d264eb3ed8
Don't create mtab symlink, already exists
...
Resolves : #671155
2011-01-21 11:18:47 +01:00
Martin Gracik
f5ac972e92
Exit with error if we have no lang-table
2011-01-20 09:00:00 +01:00
Martin Gracik
47cf65df19
Overwrite the /etc/shadow file
2011-01-19 13:54:50 +01:00
Martin Gracik
a7bcc9188d
Use losetup from util-linux-ng
...
losetup-stub was removed from anaconda runtime,
we want to use the one from util-linux-ng
2010-12-13 09:03:15 +01:00
Martin Gracik
bdb9b700f4
Split initrd for multiple kernels
2010-12-06 15:05:47 +01:00
Martin Gracik
98fab0f389
Fix pylint errors in installtree.py
2010-12-02 13:16:11 +01:00
Martin Gracik
bde6e5c516
Enable at-spi-corba in gconf
2010-11-24 13:48:59 +01:00
Martin Gracik
3ce70b9e49
Move kernel constants to constants.py
2010-11-23 14:25:39 +01:00
Martin Gracik
0224cdf660
Use DataHolder instead of namedtuple for holding kernel info
2010-11-23 13:27:07 +01:00
Martin Gracik
33286629b5
Remove unneeded imports from installtree.py
2010-11-23 13:17:05 +01:00
Martin Gracik
555dacacc3
Enable at-spi-corba in gconf
2010-11-23 11:15:33 +01:00
Martin Gracik
3413733661
Break up __init__.py into more modules
2010-11-23 11:14:25 +01:00