Commit Graph

122 Commits

Author SHA1 Message Date
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