Will Woods
ea31f4f23b
add --noprefix to dracut invocation
...
--noprefix is the default, but fedora ships an /etc/dracut.conf that
changes the prefix. Set --noprefix to override this.
Discussed here:
https://www.redhat.com/archives/anaconda-devel-list/2011-August/msg00234.html
2011-08-29 13:23:20 -04:00
Will Woods
adbd396314
Don't remove ModemManager ( #727946 )
2011-08-29 13:18:31 -04:00
Martin Gracik
57845e7525
Do not remove xorg-x11-xauth and libXmu ( #731046 )
...
These packages are needed when installing over ssh -X
on s390
2011-08-26 10:22:11 +02:00
David Lehman
171497fdaa
Remove fedora-storage-init so it can't start raid/lvm. ( #729640 )
2011-08-25 10:47:01 +02:00
Martin Gracik
536c6a0755
Do not remove ModemManager files ( #727946 )
2011-08-25 10:12:40 +02:00
Martin Gracik
43be129a48
Raise an exception if isohybrid cannot be run on x86
2011-08-25 10:02:56 +02:00
Martin Gracik
888f33c9d1
Use --noprefix when calling dracut
...
Do not prefix initramfs files with /run/initramfs
when creating the dracut initramfs.
2011-08-17 09:58:49 +02:00
Martin Gracik
7d4cc255b9
Do not remove the fedora-release packages
2011-08-16 10:16:55 +02:00
Martin Gracik
5d74abb726
Do not remove nss certificates ( #730438 )
...
libreport needs them to be able to file bugreports.
2011-08-15 09:20:48 +02:00
Martin Gracik
31c6f40c7b
Remove dogtail from the image, as it's blocking tree composition. (clumens)
...
Related: rhbz#726743
2011-08-15 09:17:30 +02:00
Martin Gracik
9a431dbbe8
Add libreport required packages ( #729537 )
2011-08-12 15:52:00 +02: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
a6ea3d3747
add pkgsizes listings, and move debugging data to logdir
2011-08-09 20:01:31 -04:00
Will Woods
4f7584fe09
move pkglists to RuntimeBuilder and disable if not debugging
2011-08-09 17:59:57 -04:00
Will Woods
3153bdfa8a
save debug setting as self.debug
2011-08-09 17:59:04 -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
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