Commit Graph

589 Commits

Author SHA1 Message Date
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 297a572069 copy config_dir into root, rather than linking
workdir might be on a different device, and then hardlinks fail
2011-08-05 17:25:08 -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 9f6393c58e better logging for removepkg/removefrom
emit a useful log message if we attempt to removepkg something that
isn't installed, or if a glob used in a removefrom line matches no
files.

this will help us keep the templates cleaner.
2011-08-01 17:24:20 -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 52f7c5d37f fixup for bcj NameError 2011-07-22 16:59:56 -04:00
Will Woods 7206937210 handle ppc64 like ppc 2011-07-20 16:51:27 -04:00
Will Woods 3099c0a44d Configurable compression type/speed/bcj use
* add bcj arch dict to ArchData
* add "compression" settings back to __init__.py
* pass them to treebuilder.create_runtime
* pass them through to imgutils.mksquashfs
2011-07-20 16:51:27 -04:00
Will Woods 7f087ead73 imgutils: allow mksquashfs to use its default compression 2011-07-20 16:42:06 -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 8f9f9944fe Use pungi's installroot rather than making our own (#722481)
Apparently messing with the installroot causes some serious problems
with yum, so.. don't do that.
2011-07-19 12:26:13 -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 6c7709e592 Don't install/start plymouth in the initramfs 2011-07-07 19:10:12 -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
Martin Gracik 2c80e5b773 Disable debuginfo package 2011-07-07 17:31:02 -04:00
Will Woods abaab765cb Fix f15 crash with missing /var/run/dbus 2011-07-07 10:57:55 -04:00
Will Woods 497f63a041 debugging: write out dirnames as well as filenames in pkglist/ 2011-07-06 19:36:42 -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 f5164d6460 ltmpl: do brace expansion on the entire template
Handle brace expansion while parsing the template rather than
individually per-command. This is closer to how bash does things anyway.
2011-07-06 18:02:20 -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 51060f07f6 hacklet to hush dracut warnings about /proc/modules
We just touch ${inroot}/proc/modules before the chroot, and remove it
afterward.
2011-07-06 12:22:49 -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