Commit Graph

447 Commits

Author SHA1 Message Date
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
Martin Gracik
d483a9c5cc Disable debuginfo package 2011-05-03 11:11:08 +02:00
Martin Gracik
9f4d4aac56 New version 2011-05-02 09:26:20 +02:00
Ales Kozumplik
7a77fdc7ab Disable rsyslogd rate limiting on imuxsock.
Unbelievably, a new rsyslogd version turned on this undesirable feature by
default.

Related: rhbz#696943
2011-04-27 15:03:10 +02: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
Chris Lumens
97d7db6780 Add the udf module to the image. 2011-04-21 10:23:21 -04:00
Ales Kozumplik
640820d90c Preserve anaconda's /usr/bin so anaconda-cleanup is in the image.
We depend on the script with restart-anaconda now.
2011-04-19 16:27:11 +02:00
Martin Gracik
f6fdb614bf Use arch macros in the lorax.spec 2011-04-15 16:01:56 +02:00
Martin Gracik
19f60aebc8 use reqs not regs for files to backup (dgilmore) 2011-04-15 15:46:06 +02:00
Martin Gracik
0ee4cc539a Reflect changes made in ntfs-3g and ntfsprogs packages (#696706) 2011-04-15 10:10:40 +02:00
Martin Gracik
713d6f94e7 getkeymaps resides in /usr/libexec/anaconda 2011-04-15 09:47:53 +02:00
Martin Gracik
4c25044020 workdir is a local variable, not a class attribute 2011-04-15 09:42:44 +02:00
Martin Gracik
06ac5762af Add sparcv9 to arch map 2011-04-13 16:14:32 +02:00
Martin Gracik
031e6bab10 Change the location of *.b files on sparc 2011-04-13 16:14:21 +02:00
Martin Gracik
747c393599 Change BuildRequires to python2-devel 2011-04-13 14:03:54 +02:00
Martin Gracik
bbd01f9e9c New version 2011-04-13 13:28:00 +02:00
Martin Gracik
62c3cfdc92 Remove pungi patch 2011-04-13 13:23:51 +02:00
Martin Gracik
0a091838d0 Remove pseudo code 2011-04-13 13:23:25 +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
7abab358a4 Set the hostname from a config file, not programmatically. 2011-04-12 10:36:15 -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
0fa7b20ef2 Fix arch specific requires in spec file 2011-04-12 12:31:32 +02:00
Martin Gracik
f8872b78ea Add s390 modules and do some cleanup of the template 2011-03-31 10:39:44 +02:00
Martin Gracik
872d0d6ffa Generate ssh keys on s390 2011-03-28 13:14:37 +02:00
Martin Gracik
22f3625fcf Don't remove tr, needed for s390 2011-03-28 10:17:16 +02:00
Martin Gracik
c47c9d5520 Do not check if we have all commands 2011-03-23 14:15:15 +01:00
Martin Gracik
c8a52d628a Change location of addrsize and mk-s390-cdboot 2011-03-23 14:07:58 +01:00
Martin Gracik
b50f1cb802 Shutdown is in another location 2011-03-23 14:07:26 +01:00
Martin Gracik
2a0dcf846f Do not skip broken packages 2011-03-23 14:06:33 +01:00
Martin Gracik
bd089cf9fa Don't install network-manager-netbook 2011-03-23 14:06:18 +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