Commit Graph

480 Commits

Author SHA1 Message Date
Will Woods
8cdef602d5 make sure ntfsresize gets installed
ntfsresize is currently living in the ntfsprogs package, which (for
whatever reason) isn't getting automatically pulled into the runtime
environment anymore.

So: install ntfsprogs in runtime-install, and remove everything but
ntfsresize in runtime-cleanup.
2011-10-26 14:47:28 -04:00
Will Woods
0e64f08ff8 Add '-cmd' syntax to ignore errors, drop copyif/moveif
Makefile-style "-cmd" syntax lets us run a command and ignore any
resulting errors. This is a more general version of what copyif/moveif
were trying to accomplish, so we can drop those commands.
2011-10-26 13:08:39 -04:00
Will Woods
8db7604a06 don't remove fs/nls kernel modules (we need them for some mounts) 2011-10-25 16:24:17 -04:00
Will Woods
601fef6874 fix /modules symlink problem (lorax deleting modules on host!)
symlinking /modules to '/lib/modules' inside the runtime image is fine,
but since we're operating outside the runtime image, the absolute
symlink will point to the host's /lib/modules, which can cause us to
delete kernel modules. Yikes.

Instead:
1) use /lib/modules rather than the symlink, and
2) use a relative symlink, just to be safe.
2011-10-25 16:12:09 -04:00
Will Woods
0236440581 clean up config_files dir (and fix templates to match)
move arch-specific stuff to arch-specific subdirs and move all the
common stuff to a subdir named 'common'. Also, rename '.profile' and
'.bash_history' so you actually see them when you 'ls' the 'common' dir.

also added some helpful(?) comments to the templates.
2011-10-21 17:35:52 -04:00
Will Woods
2f4b9c16b6 New syslinux config (#734170)
Adapted from commit b3301595bc.
2011-10-21 13:17:15 -04:00
Will Woods
0c2988f34d symlink /lib/{modules,firmware} to /
Anaconda expects /firmware and /modules because of Ancient Tradition.
Set up the symlinks for compatibility's sake.
2011-10-18 16:31:50 -04:00
Will Woods
1ed5d99473 move from grub to grub2. YEE-HAW. 2011-10-17 18:53:06 -04:00
Will Woods
23c7a029ce rsyslog.conf: hardcode hostname for virtio forwarding (#744544)
Patch by Ales Kozumplik <akozumpl@redhat.com>

The value syslogd provides at this early point when kickstart starts is
"(none)". This makes the receiving syslog unable to parse the incoming
messages.
2011-10-13 10:31:45 -04:00
Will Woods
33d306205e add grub-efi on x86 for EFI boot support 2011-10-12 20:42:52 -04:00
Will Woods
f640a2faab Use a predictable ISO Volume Label (#732298)
New images find their root device by looking at the CDLABEL. Since pungi
is building ISO images separately from lorax, if it uses a different ISO
Volume Label we'll end up with unbootable images.

This changes the volume labels to match what pungi uses, so both should
boot OK.
2011-10-12 20:21:06 -04:00
Will Woods
9df3348a71 Move images/install.img to LiveOS/squashfs.img (#732298)
Since pungi doesn't know that images/install.img needs to be moved to
LiveOS/squashfs.img for images to be "live", they aren't bootable.

This is the simple solution to the problem. Thanks to Karsten Hopp
for the original patch.
2011-10-11 14:58:30 -04:00
Will Woods
b59172a519 sparc.tmpl: cleanups (just use BOOTDIR for everything) 2011-10-11 14:56:39 -04:00
Will Woods
a6dac28781 add some firstaidkit-plugins
yay! rescue mode is more useful!
2011-10-01 16:43:11 +02:00
Will Woods
1fa956a756 add /usr/bin/env (fpaste needs it) 2011-09-22 17:11:03 -04:00
Will Woods
e0e5cccda6 Add fpaste to the runtime image. 2011-09-22 15:00:36 -04:00
Will Woods
d3fcbcfbed remove hack that replaces /bin/login
anaconda should be handling this properly now.
2011-09-21 23:46:48 -04:00
Will Woods
efea74ad12 syslinux-vesa-splash changed filename (#739345) 2011-09-21 23:46:48 -04:00
Will Woods
be4d8160b2 Don't create /etc/sysconfig/network (#733425) 2011-09-14 15:28:33 -04:00
Will Woods
e647a7e18a remove sysinit setup stuff for Fedora 15 and earlier 2011-09-07 20:36:22 -04:00
Will Woods
a0b3343d1e efi.tmpl: create macboot.img
use the new --apple flag for mkefiboot to create Mac-compatible
boot images.
2011-09-06 12:52:46 -04:00
Will Woods
faafd04dcb add '--allbut' flag to 'removefrom'
This lets us easily do whitelisting instead of blacklisting during
runtime cleanup. For example:
 removefrom xfsprogs --allbut /sbin/* /usr/sbin/xfs_admin
would remove everything from the xfsprogs package except files in /sbin
and /usr/sbin/xfs_admin.

A few things in runtime-cleanup have been converted to use --allbut. The
only difference in the created runtime image is that we're deleting
/usr/share/kde4 from fedora-logos.
2011-08-31 19:40:20 -04:00
Will Woods
3f709325ef Revert "remove firstboot from runtime build"
It turns out we actually do need the firstboot module in anaconda.

This reverts commit d341587814.
2011-08-30 11:22:19 -04:00
Will Woods
5cefea05d0 xauth and libXmu are needed for ssh -X (#731046) 2011-08-29 20:26:54 -04:00
Will Woods
bf7ed5aa4e Build EFI hybrid (usb-bootable) images
From: Matthew Garrett <mjg@redhat.com>

If we're producing EFI bootable images then we should also support
making them bootable from USB sticks. This adds support for doing so.
2011-08-29 16:29:43 -04:00
Will Woods
219911f37c cleanup: don't bother removing network-manager-netbook 2011-08-29 15:46:15 -04:00
Will Woods
eb7bc9c9be various runtime-cleanup cleanups
- use libdir in GConf2
- delete redundant removals of /usr/share/gnome/*
- remove systemd units for nfs-utils
- remove all of notification-daemon rather than piece-by-piece
- don't try to delete non-existent libldif from openldap
- /usr/sbin/xfs_bmapd is actually /usr/sbin/xfs_bmap
- remove /etc/* from yum rather than etc/*
2011-08-29 15:04:43 -04:00
Will Woods
1e8e8002b4 add libreport plugins (#729537), clean up libreport
report got renamed to libreport, so we need to fix those lines in
cleanup.
2011-08-29 14:17:07 -04:00
Will Woods
49ae7d875c Keep nss certs for libreport (#730438)
libreport uses nss (and its certificate store) to connect to https
servers, so we need to keep the certificates etc.
2011-08-29 14:16:32 -04:00
Will Woods
adbd396314 Don't remove ModemManager (#727946) 2011-08-29 13:18:31 -04:00
Will Woods
a02ffbb0b9 remove a bunch of unneeded firmware and llvm-libs
firmware saves us ~5MB and llvm-libs saves ~20MB (uncompressed). yay!
2011-08-09 20:55:39 -04:00
Will Woods
6962fe3e80 move systemd cleanup to runtime-postinstall
also make sure we clean a bunch more unneeded services, but don't bother
deleting target files that would just be ignored anyway.

also also, delete everything in /etc/systemd/system/default.target.wants
so that we don't get readahead stuff in anaconda.
2011-08-09 17:39:07 -04:00
Will Woods
0af2f62661 move stuff around in runtime-postinstall, add comments
no actual code changes here.
2011-08-09 17:37:43 -04:00
Will Woods
ebbdcf72c4 rearrange/clarify removepkg lines
Add commentary for a bunch of the removepkg lines, and drop a bunch of
things that were in the list that weren't being installed anyway. Also
drop some redundant removepkg lines about chkconfig.
2011-08-09 17:33:27 -04:00
Will Woods
46a10f68f7 add dracut-network to runtime so it can get into the initramfs
it gets removed again during cleanup for space savings.
2011-08-08 21:14:10 -04:00
Will Woods
f7010454a0 minor ppc.tmpl cleanups 2011-08-08 21:11:28 -04:00
Will Woods
ec097a869e disable unneeded tmp.mount service in anaconda
this is also a workaround for some weirdo problem on ppc. whee!
2011-08-08 20:36:35 -04:00
Will Woods
058fa13a54 rename ANABOOTDIR to configdir 2011-08-08 20:35:35 -04:00
Will Woods
905b8f0dd7 runtime cleanup: clean out /tmp 2011-08-08 20:13:47 -04:00
Will Woods
fbd23c4234 add boot config files from anaconda to configdir
This adds the boot config files from anaconda to lorax's configdir.

They've been edited to include a '@ROOT@' placeholder, so lorax can put
the proper root=... argument in place, and to use the @VAR@ convention
everywhere (instead of some using @VAR@ and some using %VAR%).

This should probably fix EFI booting, since the EFI BOOT*.conf was
missing its root=... arg.

Also some default settings were changed in syslinux.cfg (so we don't
have to rewrite those two lines every time).

One last change - the '-magic' arg and ppc 'magic' file have been
dropped, because that's kind of silly and unnecessary.
2011-08-08 20:09:32 -04:00
Will Woods
96ffbc0122 runtime cleanup: leave nm-tool, nmcli, nm-online 2011-08-08 16:28:13 -04:00
Will Woods
741699b91c runtime cleanup: keep /sbin/sysctl 2011-08-08 16:22:44 -04:00
Will Woods
bc9a61784b runtime cleanup: keep /bin/mountpoint (for /etc/init.d/functions) 2011-08-08 16:08:11 -04:00
Will Woods
14f4e8679f Remove broken symbolic links during cleanup
removing packages sadly doesn't run their %post scripts, so a lot of
broken links are left around for systemd units and/or sysvinit scripts.

So, after other cleanup, remove any broken links in /etc, /usr, or /lib.
2011-08-05 17:25:57 -04:00
Will Woods
e90082e43e add less and eject to runtime image (+300kb) 2011-08-03 18:15:29 -04:00
Will Woods
c92dea11f4 take libibverbs out of the runtime build 2011-08-03 17:27:58 -04:00
Will Woods
d341587814 remove firstboot from runtime build 2011-08-03 17:21:05 -04:00
Will Woods
1b2d7fdb61 remove samba from runtime build 2011-08-03 17:19:55 -04:00
Will Woods
aa403a01cf remove gtk+-1.x, glib-1.x, gdk-pixbuf from runtime 2011-08-03 17:05:35 -04:00
Will Woods
dd77c62eae remove man-db from runtime build 2011-08-03 17:03:41 -04:00
Will Woods
2878de43c5 refactor/clean up runtime-install.tmpl
- don't bother explicitly listing things that get installed as deps
- rearrange packages into functional groups, so we know *why* each
  package gets installed
- add commentary about some dubious package installations

I've done some testing on x86_64 and ppc64 - the installed package set
is unchanged except for the addition of lohit-malayalam-fonts.
2011-08-03 16:56:47 -04:00
Will Woods
002f0ce549 efi.tmpl cleanup 2011-08-02 13:39:06 -04:00
Will Woods
12f948850b EFI boot image should be named BOOTXXX.efi 2011-08-02 12:46:01 -04:00
Will Woods
ed95688d40 Add workaround for keymap/screenfont on ppc64 2011-08-02 11:55:01 -04:00
Will Woods
ace169c28d fix some gtk2 removals (/usr/lib -> /usr/${libdir}) 2011-08-01 17:17:44 -04:00
Will Woods
575edb9efc clean up unneeded 'installpkg' lines for libs
We don't need to explicitly install dependencies anymore; let yum handle
that.
2011-08-01 17:12:41 -04:00
Will Woods
b477708a66 remove dogtail and deps from runtime
dogtail support was removed in F16; remove it and its deps from the
runtime image.
2011-08-01 17:12:41 -04:00
Will Woods
4a68927c19 runtime build: don't install+remove lvm2-cluster and deps
Currently we're installing lvm2-cluster, then removing it and all its
deps. This is silly. Let's just not install it in the first place.
2011-08-01 13:23:44 -04:00
Will Woods
5e121f071e runtime-cleanup: rearrange selinux pkg removals 2011-07-26 17:20:02 -04:00
Will Woods
31fba8fcfb runtime-cleanup: consolidate removepkg for dracut/plymouth 2011-07-26 17:20:02 -04:00
Will Woods
467e5ed1ca runtime-cleanup: consolidate removepkg for sound stuff 2011-07-26 17:20:02 -04:00
Will Woods
3423259610 runtime-cleanup: clean up removepkg lines
Clean a bunch of things that we don't need to removepkg:
- packages with no files (*-filesystem, basesystem)
- packages that only contain files that will be deleted anyway
  (e.g. *-fonts-common - only contains files in /usr/share/doc)
- packages that aren't being installed or no longer exist
  (hal-libs, clutter, mutter, libXv, redhat-menus, etc)
- consolidate perl lines to just: removepkg perl*
2011-07-26 17:20:02 -04:00
Will Woods
5c0fc573e6 fix bin/login for F16 2011-07-26 17:20:02 -04:00
Will Woods
913fffbfa9 Use graft-points in ppc.tmpl 2011-07-25 20:09:54 -04:00
Will Woods
132b0492ba remove unnecessary use of 'arch.buildarch' in runtime-cleanup 2011-07-25 19:45:02 -04:00
Will Woods
de49d1fbd9 prefer "basearch" to "arch.basearch" (also "libdir") 2011-07-25 19:44:14 -04:00
Will Woods
f1b5c77e50 Add <%page args="..."/> to templates 2011-07-25 19:39:48 -04:00
Will Woods
7206937210 handle ppc64 like ppc 2011-07-20 16:51:27 -04:00
Will Woods
baa791ad13 keep ntfsprogs' sbin/* (#722711)
Anaconda 16.12 and higher need ntfsresize.
2011-07-19 12:29:25 -04:00
Will Woods
080a32b273 More hacks to work around weird /var/run vs. /run stuff in F15 2011-07-07 19:26:03 -04:00
Will Woods
e1edc65e62 runtime-{postinstall,cleanup}: more F15 fixes
* don't remove /usr/lib/locale and locale-archive in F15
* make sure /var/run isn't a symlink
2011-07-07 18:38:55 -04:00
Will Woods
abaab765cb Fix f15 crash with missing /var/run/dbus 2011-07-07 10:57:55 -04:00
Will Woods
9dde406193 Copy lang-table into etc, and remove it during cleanup 2011-07-06 19:33:38 -04:00
Will Woods
14cc34e1ee F15 fix: remove /sbin/init before copying over it
If it's a symlink, we'll copy the file into the symlink, and then we'll
likely remove the target of the symlink (../bin/systemd) in cleanup, and
then we have no init. Boo.
2011-07-06 19:10:48 -04:00
Will Woods
d61ae8c1e6 fixup - correctly detect F15 builds
Yeah, for F16 you need to do "version > 15", not ">= 15". Oops.
Also, check product.version before using anaconda_dracut_hack().
2011-07-06 17:17:40 -04:00
Will Woods
23e048d7de remove "mknod" from the anaconda stub list
Apparently this doesn't exist anymore.
2011-07-06 13:55:39 -04:00
Will Woods
ba686350ef Revive code/hacks for building F15 images
To build F15 images we need to remove systemd and set up loader as init
(see runtime-cleanup and runtime-postinstall).

We also need to add a hack to dracut so loader won't freak out when it
gets started by anaconda - see the file we're adding to the initramfs in
treebuilder.py.

(There's also an extra bonus hack for working around a bug in dracut if
/proc/cmdline is empty - SEE IF YOU CAN SPOT IT!!!)
2011-07-06 13:07:21 -04:00
Will Woods
2fcb05883b scads of ppc.tmpl fixes 2011-07-05 19:37:26 -04:00
Will Woods
a2b6b53cf3 ppc.tmpl fix: %endif, not %fi (what is this, bash?) 2011-07-05 14:06:13 -04:00
Will Woods
a8be95a852 Remove obsolete "pdisk" package from runtime-install 2011-07-05 13:49:47 -04:00
Will Woods
3f09a7bcc1 keep /usr/bin/vmmouse_detect 2011-07-01 16:55:16 -04:00
Will Woods
c5bfdf0e71 ppc.tmpl: clean up zimage building
remove deprecated "mkzimage" stuff (gone since F10)
clean up the call to 'wrapper'
assume we'll always build zimages
2011-07-01 13:05:11 -04:00
Will Woods
ebdf223497 add TODO comment 2011-06-30 16:05:43 -04:00
Will Woods
be1dfeeab7 fix incorrect paths in s390.tmpl 2011-06-30 16:05:19 -04:00
Will Woods
fbc8977105 clarify isolinux.cfg twiddling stuff 2011-06-30 16:05:04 -04:00
Will Woods
da2b53d91f Fix x86 "root=..." quoting problem and add udev_escape()
udev_escape gets passed to the arch templates so they can properly
escape the root=live:CDLABEL=... argument.
2011-06-30 13:24:07 -04:00
Will Woods
d1266ff4e9 x86,ppc: add "root=live:CDLABEL=..." boot arg to CD images
The current implementation is hacky and gross; we should at least update
the bootloader files in anaconda to have a %ROOT% param in them.
2011-06-27 19:22:33 -04:00
Will Woods
25ef6b604d runtime-cleanup: remove cjkuni-uming-fonts line 2011-06-27 18:29:53 -04:00
Will Woods
a902bff9e7 runtime-cleanup: remove spurious "removefrom" lines
"fedora-gnome-theme" and "gtk3-engines" don't exist anymore.
2011-06-27 18:28:17 -04:00
Will Woods
9ac7db8cb1 Add TreeBuilder.generate_module_data() for depmod/module-info
generate_module_data() runs depmod for each kernel module in the install
root, then generates the (anaconda-specific) module-info files.
2011-06-27 14:46:47 -04:00
Will Woods
c7200e2aa8 replace cjkuni-uming-fonts with wqy-microhei-fonts (#709962)
wqy-microhei-fonts has better font coverage for Simplified Chinese. As
an added bonus, it's ~16MB smaller.
2011-06-27 13:04:18 -04:00
Will Woods
c0cf2095e4 remove f15 junk from runtime-postinstall 2011-06-24 18:19:34 -04:00
Will Woods
6ebbe2c19c remove f15 junk from runtime-cleanup 2011-06-24 18:09:44 -04:00
Will Woods
8122690ab9 runtime is images/install.img, or LiveOS/squashfs.img on boot.iso
rename the runtime image in the tree and on the ISO.
2011-06-24 17:26:01 -04:00
Will Woods
796e0ee45f runtime-cleanup: fix module cleanup
runtime-cleanup doesn't get a "kernels" arg, so just delete things under
/modules/*/kernel/...
2011-06-24 11:17:48 -04:00
Will Woods
9edadb59fa runtime-cleanup.tmpl: code cleanups
rearrange some things to flow more naturally.
2011-06-23 17:45:12 -04:00
Will Woods
35d532d119 runtime-cleanup: delete unneeded kernel modules
Removing the 'module' whitelist added ~50M of kernel modules. Yuck.
This commit adds a kmod blacklist, removing ~34MB of kernel modules.

Yes, that's a ~16MB increase, but we're also including a whole mess of
stuff that was getting left out before: missing ISDN drivers, wireless
drivers, net bonding drivers, infiniband drivers, etc.
2011-06-23 17:43:16 -04:00
Will Woods
b73132af75 rename "runtime" template arg to "runtime_img"
Mako uses "runtime" internally for things, and if you clobber it stuff
will just break in weird ways. So don't do that.
2011-06-23 10:46:28 -04:00
Will Woods
5eb6c9b12f arch templates: install runtime to /images/, put it on boot.iso
make sure the arch templates (s390 excluded) copy the runtime image in
to the /images/ dir, and make sure it gets grafted/copied into the
boot.iso.
2011-06-22 20:37:09 -04:00
Will Woods
e7e070596e refactor runtime-cleanup to do multiple removals per line 2011-06-22 14:20:02 -04:00
Will Woods
2b993610c1 runtime-cleanup: remove redundant openldap entries 2011-06-22 13:10:11 -04:00
Will Woods
d1d0e63542 runtime-cleanup: remove redundant "removefrom firstboot ..." lines 2011-06-22 13:01:26 -04:00
Ales Kozumplik
16f9a21347 Disable rsyslogd rate limiting on imuxsock.
Unbelievably, a new rsyslogd version turned on this undesirable feature by
default.

Related: rhbz#696943
2011-06-21 19:25:13 -04:00
Will Woods
6ad14ea42b keep libmodman and libproxy (#701622) 2011-06-08 12:53:49 -04:00
Will Woods
5ddad8b3e4 No run_pkg_transaction needed after removepkg 2011-05-31 14:29:41 -04:00
Will Woods
c00a0afd21 fix PYTHONDIR for new _glob 2011-05-31 12:24:17 -04:00
Will Woods
76ecff7bf9 Revert "add --noscripts to run_pkg_transaction, use it in cleanup"
Doesn't help. Less code is better.

This reverts commit c9e23b8941.
2011-05-27 15:24:07 -04:00
Will Woods
c9e23b8941 add --noscripts to run_pkg_transaction, use it in cleanup 2011-05-27 12:57:31 -04:00
Will Woods
66e8d5d1f8 postinstall.tmpl cleanups 2011-05-27 11:03:49 -04:00
Will Woods
9dad023a2f fix PYTHONDIR in runtime-postinstall.tmpl 2011-05-27 11:03:49 -04:00
Will Woods
08c58377cc postinstall fixup - there's no 'shutdown' in anaconda.. 2011-05-27 10:53:38 -04:00
Will Woods
33107bdab1 runtime-postinstall depmod cleanup 2011-05-26 18:36:30 -04:00
Will Woods
51472dee28 template fixup: use product.version instead of conf.systemd 2011-05-26 14:21:13 -04:00
Will Woods
511deeaea9 fix <%page args=""/> syntax error 2011-05-26 13:05:33 -04:00
Will Woods
398b3b0922 Remove module command from treebuilder and templates
Module whitelisting is silly. Let's blacklist the stuff we don't need.
2011-05-17 18:16:06 -04:00
Will Woods
fa80e95ed4 fixup: add module stuff to runtime-postinstall 2011-05-14 03:28:47 -04:00
Will Woods
905e05159d crazytime: replace installtree with runtimebuilder 2011-05-14 03:28:41 -04:00
Will Woods
923d760db4 runtime-cleanup.tmpl: remove quotes, add "removefrom" command 2011-05-13 13:06:03 -04:00
Will Woods
6a32e5fb25 fix systemd-sysvinit package name in runtime-install.tmpl 2011-05-13 13:05:11 -04:00
Will Woods
9be6dd2864 Revert "Add systemd and agetty to the installation environment."
Add setup_init() and setup_s390_init() to installtree.py to handle
init setup, and stop using systemd so we can make F15 images.

This reverts commit b58190d660.
2011-05-13 13:03:54 -04:00
Will Woods
0f474a0e07 runtime*.tmpl tweaks for conf.systemd 2011-05-13 12:25:52 -04:00
Will Woods
cd59bbc1f3 drop efidisk.img from boot.iso on x86 2011-05-12 17:32:03 -04:00
Will Woods
18279ba4c5 fix EFI path 2011-05-12 17:32:03 -04:00
Will Woods
ba8e7e6945 x86.tmpl/efi.tmpl fixups
fix initrd hardlink
splash.xml.gz should be splash.xpm.gz
fix mkisofs args
actually replace vars in isolinux.cfg
2011-05-12 17:31:20 -04:00
Will Woods
c7c01667d6 fixup: add xz to ramdisk.tmpl for treebuilder 2011-05-12 17:28:53 -04:00
Will Woods
984185be0c WIP: port ramdisk.ltmpl and installtree to TemplateRunner 2011-05-12 17:28:52 -04:00
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