Commit Graph

70 Commits

Author SHA1 Message Date
Brian C. Lane
cf7ec41ef0 keep convertfs.sh script in image (#787893)
This is needed by anaconda in order to upgrade to F17
2012-02-08 14:55:52 -08:00
Tim Flink
e9d34e3cbf fix templates to work with F17 usrmove
Signed-off-by: Will Woods <wwoods@redhat.com>
2012-02-08 14:07:43 -05:00
Chris Lumens
4758a2aa80 Add packages required for gtk3 and the new anaconda UI.
This doesn't get rid of the gtk2 stuff yet, though.  The intention here is
that you can use this lorax to generate an image containing either the old
anaconda or the newui branch, simply by including a different repo in your
tree composition kickstart file.

Also, it appears that some things in the tree still require gtk2 so we may
be stuck with both for the forseeable future.
2012-01-18 13:17:33 -05:00
Brian C. Lane
31c60b119b lorax: Don't touch /etc/mtab in cleanup 2012-01-09 12:11:02 -08:00
Brian C. Lane
3c02a01a81 dracut needs kbd directories (#769932) 2012-01-03 17:24:41 -08:00
Chris Lumens
1ff9b2377b Add console fonts to the runtime.
We need these around for systemd to load.
2011-10-31 12:11:02 -04:00
Will Woods
d0a4364396 runtime-cleanup: clarify & improve gtk/gnome theme cleanups
Actual content changes:
- {High,Low}Contrast themes moved to gnome-themes-standard, so remove
  them from there. Also remove HighContrastInverse theme.
- Removed metacity 'Atlanta' theme - 'Adwaita' is the default metacity
  theme these days.
2011-10-26 15:47:14 -04:00
Will Woods
ac347c364a runtime-cleanup: drop some useless lines
neither avahi nor dmz-cursor-themes gets installed anymore.
2011-10-26 15:46:37 -04:00
Will Woods
e14c0e51a7 runtime-cleanup: clarify dejavu font cleanups 2011-10-26 14:48:55 -04:00
Will Woods
8cdef602d5 make sure ntfsresize gets installed
ntfsresize is currently living in the ntfsprogs package, which (for
whatever reason) isn't getting automatically pulled into the runtime
environment anymore.

So: install ntfsprogs in runtime-install, and remove everything but
ntfsresize in runtime-cleanup.
2011-10-26 14:47:28 -04:00
Will Woods
8db7604a06 don't remove fs/nls kernel modules (we need them for some mounts) 2011-10-25 16:24:17 -04:00
Will Woods
601fef6874 fix /modules symlink problem (lorax deleting modules on host!)
symlinking /modules to '/lib/modules' inside the runtime image is fine,
but since we're operating outside the runtime image, the absolute
symlink will point to the host's /lib/modules, which can cause us to
delete kernel modules. Yikes.

Instead:
1) use /lib/modules rather than the symlink, and
2) use a relative symlink, just to be safe.
2011-10-25 16:12:09 -04:00
Will Woods
1ed5d99473 move from grub to grub2. YEE-HAW. 2011-10-17 18:53:06 -04:00
Will Woods
1fa956a756 add /usr/bin/env (fpaste needs it) 2011-09-22 17:11:03 -04:00
Will Woods
faafd04dcb add '--allbut' flag to 'removefrom'
This lets us easily do whitelisting instead of blacklisting during
runtime cleanup. For example:
 removefrom xfsprogs --allbut /sbin/* /usr/sbin/xfs_admin
would remove everything from the xfsprogs package except files in /sbin
and /usr/sbin/xfs_admin.

A few things in runtime-cleanup have been converted to use --allbut. The
only difference in the created runtime image is that we're deleting
/usr/share/kde4 from fedora-logos.
2011-08-31 19:40:20 -04:00
Will Woods
3f709325ef Revert "remove firstboot from runtime build"
It turns out we actually do need the firstboot module in anaconda.

This reverts commit d341587814.
2011-08-30 11:22:19 -04:00
Will Woods
5cefea05d0 xauth and libXmu are needed for ssh -X (#731046) 2011-08-29 20:26:54 -04:00
Will Woods
219911f37c cleanup: don't bother removing network-manager-netbook 2011-08-29 15:46:15 -04:00
Will Woods
eb7bc9c9be various runtime-cleanup cleanups
- use libdir in GConf2
- delete redundant removals of /usr/share/gnome/*
- remove systemd units for nfs-utils
- remove all of notification-daemon rather than piece-by-piece
- don't try to delete non-existent libldif from openldap
- /usr/sbin/xfs_bmapd is actually /usr/sbin/xfs_bmap
- remove /etc/* from yum rather than etc/*
2011-08-29 15:04:43 -04:00
Will Woods
1e8e8002b4 add libreport plugins (#729537), clean up libreport
report got renamed to libreport, so we need to fix those lines in
cleanup.
2011-08-29 14:17:07 -04:00
Will Woods
49ae7d875c Keep nss certs for libreport (#730438)
libreport uses nss (and its certificate store) to connect to https
servers, so we need to keep the certificates etc.
2011-08-29 14:16:32 -04:00
Will Woods
adbd396314 Don't remove ModemManager (#727946) 2011-08-29 13:18:31 -04: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
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
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
905b8f0dd7 runtime cleanup: clean out /tmp 2011-08-08 20:13:47 -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
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
ace169c28d fix some gtk2 removals (/usr/lib -> /usr/${libdir}) 2011-08-01 17:17:44 -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
132b0492ba remove unnecessary use of 'arch.buildarch' in runtime-cleanup 2011-07-25 19:45:02 -04:00
Will Woods
f1b5c77e50 Add <%page args="..."/> to templates 2011-07-25 19:39:48 -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
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
9dde406193 Copy lang-table into etc, and remove it during cleanup 2011-07-06 19:33:38 -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
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