Commit Graph

1928 Commits

Author SHA1 Message Date
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
Martin Gracik
4271e0fc02 Write the lorax verion in the .buildstamp (#689697) 2011-07-29 14:08:03 +02: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
Martin Gracik
12e61f4503 New version 2011-07-26 14:15:51 +02:00
Ales Kozumplik
03c317a829 Add nss libraries to the image.
Related: rhbz#696696
2011-07-26 14:10:54 +02:00
Martin Gracik
1484b568b5 New version 2011-07-26 13:13:01 +02:00
Martin Gracik
fb15fbd4bb Remove the sysvinit-tools removals from the template
sysvinit-tools should not be installed at all.
Not needed for systemd.
2011-07-26 10:07:51 +02:00
Martin Gracik
ba245b1e11 Do not remove vmmouse binaries (#723831) 2011-07-26 10:04:50 +02:00
Martin Gracik
6e891f7893 New version 2011-07-26 09:41:01 +02: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
Martin Gracik
d0fc111ac4 Change IsBeta to IsFinal 2011-07-25 10:38:10 +02:00
Will Woods
52f7c5d37f fixup for bcj NameError 2011-07-22 16:59:56 -04:00
Martin Gracik
010bedbbb7 New version 2011-07-21 16:46:43 +02:00
Martin Gracik
df849d3419 Default to isBeta 2011-07-21 16:19:17 +02: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
Martin Gracik
351e5cbae8 New version
Change versioning
2011-07-19 14:03:38 +02:00
Martin Gracik
b0ff70a877 Prepend dracut to the temporary initramfs directory (#722999)
Temporary directory with just the kernel version interferes
with the modules temporary directory.
2011-07-19 09:18:41 +02:00