Commit Graph

596 Commits

Author SHA1 Message Date
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 76a7c2008a rb.postinstall(): don't allow configdir override
Since the templates need to match the contents of the configdir, it
doesn't really make sense to allow configdir to be different from
templatedir.
2011-08-08 19:03:53 -04:00
Will Woods 916402b023 handle templatedir more cleanly in ltmpl/treebuilder
make sure that runner.templatedir gets set to a useful default if
initialized with None, and and make sure we pass templatedir to
LoraxTemplateRunner.__init__ (so it'll get initialized properly)
2011-08-08 19:01:38 -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 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