Commit Graph

435 Commits

Author SHA1 Message Date
Brian C. Lane
7891fed73e copy kickstarts into sysroot (#743135)
The installer no longer has access to the initrd's root. We need to
copy any needed files over to /sysroot before switching root. This
copies *.cfg and *.ks files.

It also adds the ability to add dracut hook scripts to the initramfs
from /usr/share/lorax/dracut_hooks/
2011-10-05 09:59:33 -07:00
Martin Gracik
837fecf15f New version 2011-10-03 12:25:00 +02:00
Martin Gracik
1ee327e0f7 Ignore remove errors
On some nfs mounts the shutil.rmtree may traceback
when removing some files. This is not such a problem
so we can ignore these errors and continue.
2011-10-03 12:21:20 +02:00
Martin Gracik
21bbbe70e1 Check if /proc is mounted (#741722)
Needed for proper functionality in chroot,
so if it is not there, exit before doing anything.
2011-10-03 12:21:07 +02:00
Martin Gracik
f8f6a56ccd Add xen-kbdfront package to initrd (#740378) 2011-09-23 13:02:55 +02:00
Martin Gracik
a89ee2824e Don't use mk-s390-cdboot (dhorak)
Anaconda dropped the mk-s390-cdboot tool, so we can't call it in lorax.
2011-09-22 10:24:37 +02:00
Martin Gracik
4448e59f6e 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:24:29 +02:00
Martin Gracik
8e0d377992 New version 2011-09-19 15:22:48 +02:00
Martin Gracik
8f54d7c437 syslinux-vesa-splash changed filename (#739345) 2011-09-19 10:35:26 +02:00
Martin Gracik
89b838b71d New version 2011-09-16 13:43:00 +02:00
Martin Gracik
4bc95df854 Do not create the sysconfig/network file (#733425) 2011-09-09 15:54:29 +02:00
Martin Gracik
6ab2db09a4 New syslinux theme (#734170) 2011-09-09 12:27:29 +02:00
Martin Gracik
91b4c242b1 New version 2011-08-25 10:44:24 +02:00
Martin Gracik
1115512453 Do not remove ModemManager files (#727946) 2011-08-25 10:43:40 +02:00
Martin Gracik
33d0a7d9fc Raise an exception if isohybrid cannot be run on x86 2011-08-25 10:43:40 +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
bd64a8a8b2 Do not remove the fedora-release packages 2011-08-25 10:43:40 +02:00
David Lehman
cfb04926db Remove fedora-storage-init so it can't start raid/lvm. (#729640) 2011-08-24 20:27:01 -05:00
Martin Gracik
92efe1b536 New version 2011-08-15 09:25:25 +02:00
Martin Gracik
a0837f58b6 Do not remove nss certificates (#730438)
libreport needs them to be able to file bugreports.
2011-08-15 09:19:17 +02:00
Martin Gracik
d9fe5b3b48 Remove dogtail from the image, as it's blocking tree composition. (clumens)
Related: rhbz#726743
2011-08-15 09:16:33 +02:00
Martin Gracik
b82b6d1867 Add libreport required packages (#729537) 2011-08-12 09:28:29 +02:00
Martin Gracik
12e61f4503 New version 2011-07-26 14:15:51 +02:00
Ales Kozumplik
03c317a829 Add nss libraries to the image.
Related: rhbz#696696
2011-07-26 14:10:54 +02:00
Martin Gracik
1484b568b5 New version 2011-07-26 13:13:01 +02:00
Martin Gracik
fb15fbd4bb Remove the sysvinit-tools removals from the template
sysvinit-tools should not be installed at all.
Not needed for systemd.
2011-07-26 10:07:51 +02:00
Martin Gracik
ba245b1e11 Do not remove vmmouse binaries (#723831) 2011-07-26 10:04:50 +02:00
Martin Gracik
6e891f7893 New version 2011-07-26 09:41:01 +02:00
Martin Gracik
d0fc111ac4 Change IsBeta to IsFinal 2011-07-25 10:38:10 +02:00
Martin Gracik
010bedbbb7 New version 2011-07-21 16:46:43 +02:00
Martin Gracik
df849d3419 Default to isBeta 2011-07-21 16:19:17 +02:00
Martin Gracik
351e5cbae8 New version
Change versioning
2011-07-19 14:03:38 +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
01c026e237 Don't change the installroot (#722481) 2011-07-19 09:15:19 +02:00
Martin Gracik
43801291ef Do not remove ntfsprogs (#722711) 2011-07-18 16:45:35 +02:00
Martin Gracik
d9e9b0e57c Create dracut initramfs for each kernel (#722466) 2011-07-18 13:48:56 +02:00
Martin Gracik
23f9879b0e Change cjkuni-uming fonts for wgy-microhei (#709962) 2011-06-27 13:07:37 +02:00
Martin Gracik
4f57d574a8 Remove check for required commands
Not all architectures need all the commands, so the check
does not work very well.
2011-06-27 12:47:10 +02:00
Martin Gracik
00302d9434 Remove outputtree.py 2011-06-27 12:42:57 +02:00
Martin Gracik
be1178f4c5 Remove unused code 2011-06-27 12:31:46 +02:00
Martin Gracik
19637aa986 New version 2011-06-24 13:25:19 +02:00
Will Woods
7bf9ee4fce Use bcj filter for compressing squashfs ramdisk
Using the BCJ filter can shave a few MB off the filesize of our ramdisk
at the expense of added CPU time. Worth it.
2011-06-15 17:38:42 -04: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
41dd493274 Install all firmware packages (#705392) 2011-05-19 10:05:38 +02:00
Martin Gracik
fe898c07e6 Use initrd.addrsize, not initrd_addrsize (#703862) 2011-05-12 11:23:45 +02:00
Martin Gracik
f375dc8507 Do not remove libmodman (#701622) 2011-05-10 14:46:18 +02:00
Martin Gracik
65ca1ce185 Add firmware for Intel Wireless WiFi Link 6030 Adapters (#703291) 2011-05-10 12:38:46 +02:00
Martin Gracik
21642aac16 Do not remove libproxy (#701622) 2011-05-10 12:33:23 +02:00