Commit Graph

432 Commits

Author SHA1 Message Date
Martin Gracik
049d73874c Check if /proc is mounted (#741722)
Needed for proper functionality in chroot,
so if it is not there, exit before doing anything.
2011-10-11 14:14:44 +02:00
Brian C. Lane
af6d4e2c50 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:07:54 -07:00
Martin Gracik
ee436805ef Add xen-kbdfront package to initrd (#740378) 2011-09-23 16:26:41 +02:00
Martin Gracik
b30b07ca79 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:09:12 +02:00
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
91f7908031 Do not create the sysconfig/network file (#733425) 2011-09-19 10:37:29 +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
57845e7525 Do not remove xorg-x11-xauth and libXmu (#731046)
These packages are needed when installing over ssh -X
on s390
2011-08-26 10:22:11 +02:00
David Lehman
171497fdaa Remove fedora-storage-init so it can't start raid/lvm. (#729640) 2011-08-25 10:47:01 +02:00
Martin Gracik
536c6a0755 Do not remove ModemManager files (#727946) 2011-08-25 10:12:40 +02:00
Martin Gracik
43be129a48 Raise an exception if isohybrid cannot be run on x86 2011-08-25 10:02:56 +02:00
Martin Gracik
888f33c9d1 Use --noprefix when calling dracut
Do not prefix initramfs files with /run/initramfs
when creating the dracut initramfs.
2011-08-17 09:58:49 +02:00
Martin Gracik
7d4cc255b9 Do not remove the fedora-release packages 2011-08-16 10:16:55 +02:00
Martin Gracik
5d74abb726 Do not remove nss certificates (#730438)
libreport needs them to be able to file bugreports.
2011-08-15 09:20:48 +02:00
Martin Gracik
31c6f40c7b Remove dogtail from the image, as it's blocking tree composition. (clumens)
Related: rhbz#726743
2011-08-15 09:17:30 +02:00
Martin Gracik
9a431dbbe8 Add libreport required packages (#729537) 2011-08-12 15:52:00 +02:00
Martin Gracik
4271e0fc02 Write the lorax verion in the .buildstamp (#689697) 2011-07-29 14:08:03 +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
Peter Jones
59d298712d Use process-specific name for dm devices.
If you're doing e.g. an i386 build an an x86_64 build at the same time,
you wind up deadlocking the dmsetup processes in sys_semtimedop()
because they have the same name between the two codepaths. This is
probbaly a dmsetup bug, but even if it weren't, you'd still have two
composes trying to use the same dm devices, and that's bad.  Instead,
stick the pid in the names.
2011-05-04 10:40:05 -04:00
Martin Gracik
09a3d7a0e8 New release - added changelog 2011-05-03 11:15:36 +02:00
Martin Gracik
83d35dad32 New release 2011-05-03 11:11:28 +02:00