Commit Graph

704 Commits

Author SHA1 Message Date
Will Woods 1350cd028f treebuilder.py: uses templates to create trees/images
TreeBuilder uses templates full of commands (like ramdisk.ltmpl) to
create the output tree and boot images. There are 4 arch-specific
templates, plus a bonus EFI template which can handle EFI image creation
for any arch that implements EFI.
2011-05-09 15:33:54 -04: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 0ee4cc539a Reflect changes made in ntfs-3g and ntfsprogs packages (#696706) 2011-04-15 10:10:40 +02: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
Martin Gracik f8872b78ea Add s390 modules and do some cleanup of the template 2011-03-31 10:39:44 +02:00
Martin Gracik 22f3625fcf Don't remove tr, needed for s390 2011-03-28 10:17:16 +02:00
Martin Gracik bd089cf9fa Don't install network-manager-netbook 2011-03-23 14:06:18 +01:00
Ales Kozumplik eefd77e1b1 Do not remove libassuan.
A python lib we use (python-value_key) depends on this. If it fails to
import the module we see weird problems importing python modules backed up
by .so libraries, for instance:

ImportError: /lib64/libcryptsetup.so.1: undefined symbol: uuid_generate

Related: rhbz#684742
2011-03-18 10:27:05 +01:00
Martin Gracik 73b62e0cf5 Add yum-langpacks yum plugin to anaconda environment (notting)
This allows for installation of package's language packs without needing to
list them explicitly in the <foo>-support comps groups. Those groups (and
the corresponding code in yuminstall.py) are still needed at least in the
short term, due to fonts, input methods, and some internal architecture
issues in the plugin.
2011-03-15 16:39:45 +01:00
Martin Gracik 476c16b383 Add sparc specific packages 2011-03-15 14:33:57 +01:00
Martin Gracik e372574f32 Add packages for s390 2011-03-15 14:23:01 +01:00
Martin Gracik b368672429 Install x86 specific packages only on x86 2011-03-14 14:01:00 +01:00
Martin Gracik d65c36b128 Added ppc specific packages 2011-03-14 14:01:00 +01:00
Martin Gracik 28252ea544 Remove the locale-archive explicitly
The locale-archive file is not in the glibc-common filelist,
so it does not get erased along with the package.
2011-02-21 10:53:55 +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
Ales Kozumplik 7d9a728651 Add /sbin to $PATH (for the tty2 terminal). 2011-02-10 17:08:13 +01:00
Martin Gracik c4368c98ec Create /var/run/dbus directory in installtree 2011-01-31 20:58:04 +01:00
Martin Gracik 8d4be0f87c gpart is present only on i386 arch (#672611)
Don't try to install it on other archs.
2011-01-26 11:29:15 +01:00
Martin Gracik 7a98dc4ca6 util-linux-ng changed to util-linux 2011-01-26 11:15:27 +01:00
Martin Gracik e34318d75f Don't remove libmount package
Resolves: #671168
2011-01-21 11:19:47 +01:00
Martin Gracik d2be76dc70 Fix the gnome themes 2011-01-14 15:50:00 +01:00
Martin Gracik 5397850511 Add biosdevname package 2011-01-11 12:42:08 +01:00
Martin Gracik 62ca5ad3b1 Edit .bash_history file 2011-01-11 12:40:15 +01:00
Martin Gracik 31a9870625 Don't remove the gamin package from installtree 2011-01-04 14:20:44 +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 e63044c562 Add vconfig, wipefs, gpart, rdate, tty, which, ntpdate to initrd 2010-12-10 12:36:32 +01:00
Martin Gracik 3210d023c5 Initrd cleanups 2010-12-08 17:20:46 +01:00
Martin Gracik 402999585d Remove empty config files 2010-12-08 12:40:46 +01:00
Martin Gracik 49d96d4948 Various initrd cleanup 2010-12-06 12:27:04 +01:00
Martin Gracik e1218111b1 Install xorg-x11-drivers instead of specific drivers 2010-12-03 10:33:49 +01:00
Martin Gracik 6e6dd35e46 Added gnome-icon-theme-legacy 2010-12-02 16:17:41 +01:00
Martin Gracik d1653ce89e Add gdb-gdbserver package to initrd 2010-11-24 14:28:06 +01:00
Martin Gracik 8e589fb8b7 Add kernel-PAE package for i386 architecture 2010-11-12 12:59:39 +01:00
Martin Gracik ac3d16d170 Change the way we make the gconf config 2010-11-11 13:51:04 +01:00
Martin Gracik 755f23baad Add needed packages for dogtail 2010-11-10 18:21:24 +01:00
Martin Gracik 23994c79d6 Add the at-spi2-atk package
Neede for dogtail
2010-11-10 18:21:24 +01:00
Martin Gracik 5eb70cb0d6 Don't remove libatk-bridge.so from at-spi package
Needed for dogtail.
2010-11-10 11:01:19 +01:00
Martin Gracik a1d0a53aa1 Initrd tree modifications 2010-11-08 13:52:11 +01:00
Martin Gracik bd476e1d89 Initrd updates 2010-10-29 14:42:28 +02:00
Martin Gracik 1a5a636e24 Remove code for creating stage2 image 2010-10-27 11:23:47 +02:00
Martin Gracik d6998bd841 Initrd image updates 2010-10-22 16:02:53 +02:00
Martin Gracik e22457b09a Various initrd updates 2010-10-19 17:35:50 +02:00
Martin Gracik 6f0f309f84 Initrd cleanup 2010-10-13 11:51:28 +02:00
Martin Gracik bdbc31b797 Remove /var/lib/yum from initrd 2010-10-13 10:30:22 +02:00
Martin Gracik 45c5ef566c Experimental single initrd image 2010-10-12 18:32:35 +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 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
Martin Gracik 87f9575d8f Huge commit; moved a lot of stuff around; added code for install.img 2009-08-19 16:51:32 +02:00
Martin Gracik 8fd23eca0b Added support for including files in templates.
Also added support for breaking lines with \ at the end.
2009-06-11 14:26:54 +02:00
Martin Gracik 032438ddbc Made some code and file cleanup. 2009-06-09 16:11:11 +02:00
David Cantrell fe9f08b13f Add dogtail and selinux config files to /usr/share/lorax. 2008-10-05 14:33:27 -10:00
David Cantrell f088290515 Start populating the share directory.
Static content that we copy in to the initrd.img and install.img
will live in /usr/share/lorax.  It can be maintained/modified
more easily that way.
2008-10-04 19:43:27 -10:00