Commit Graph

97 Commits

Author SHA1 Message Date
Martin Gracik
84a4002870 Don't remove chvt from the install image (#838554) 2012-07-23 09:52:44 +02:00
Martin Gracik
8c8a186309 Add llvm-libs (#826351)
vmware driver needs this when installing in virtual machines.
2012-07-23 09:52:44 +02:00
Martin Gracik
4715134502 Don't remove the id tool (#836493) 2012-07-10 09:57:57 +02:00
Chris Lumens
b7fe01db89 newui requires checkisomd5 to run media check. 2012-07-02 11:08:39 -04:00
Will Woods
6d1e637731 Add plymouth to the installer runtime
Now we can have bootsplash if we want. Whee!
2012-06-19 20:00:00 -04:00
Will Woods
8d49fcdc24 add dracut-shutdown.service (and its dependencies)
We need the initramfs around to reboot properly. If it's packed up in
/boot we need this service to unpack it. If it's not there, the service
does nothing, so this patch won't hurt anything.

Also add pigz, which speeds up compression nicely (for use in
anaconda-cleanup-initramfs.service).
2012-06-19 20:00:00 -04:00
Will Woods
f36f775146 leave pregenerated locale files (save RAM)
Now that the runtime contents remain compressed and aren't always stored
in RAM, it generally takes less RAM to keep these around than to run
'localedef' in anaconda.

This switches us back to the old pre-lorax method for setting up the
locale archive - see e.g. anaconda commit ea71816d
2012-06-19 20:00:00 -04:00
Will Woods
7150cad31b runtime-cleanup: log broken symlinks being removed
Print out a message about each broken symlink being removed. Also, no
need to bother looking in /lib since it's just a symlink to /usr/lib.
2012-06-19 19:59:59 -04:00
Will Woods
e16e466a77 clean up net-tools properly
The 'removefrom net-tools' lines were trying to delete a bunch of things
that don't exist anymore, or have changed paths. Fix 'em up.
2012-06-19 19:59:59 -04:00
Will Woods
46b405d40a runtime-cleanup: correctly clean up kbd
The 'removefrom kbd' line wasn't deleting anything because it was
looking in the wrong place. It was also kind of wordy.

This version should keep the needed binaries and remove the stuff we
don't need, as intended.
2012-06-19 19:59:59 -04:00
Will Woods
a6d3b9355b runtime-cleanup: correctly clean up iproute
iproute's binaries moved to /usr/sbin, so they were *all* getting
removed by the '/usr/*' glob. iscsi's NetworkManager dispatcher script
uses 'ip' so this might be needed for proper iscsi support; at the very
least it quiets some error messages from NM. It's also pretty likely
people's kickstart scripts use 'ip' utility, so we'd better make sure
it's still available.
2012-06-19 19:59:59 -04:00
Will Woods
886e0c1557 runtime-cleanup: drop a bunch of do-nothing removals
Remove a bunch of useless 'removefrom' lines that did nothing but cause
"no files to remove!" messages in lorax logs.

- ConsoleKit isn't in the anaconda runtime
- update-gtk-immodules isn't in gtk3
- there's nothing in /usr/share/selinux in selinux-policy-targeted
- zenity doesn't have a /usr/share/omf directory
- libpng moved to libpng15.*; actually removing it breaks the GUI
- pcmciautils' binaries are in /sbin, not /usr/sbin. They're only 7kb,
  so let's just keep 'em.

This should have *no effect* on the contents of the runtime images.
2012-06-19 19:59:59 -04:00
Brian C. Lane
f73545471b Add grub2 so that rescue is more useful 2012-06-04 14:42:57 -07:00
Martin Gracik
3636fd5814 Do not remove shared-mime-info (#825960) 2012-06-04 16:14:38 +02:00
Martin Gracik
98cbc409d1 Don't remove sha256sum from the install image 2012-05-31 16:38:29 +02:00
Will Woods
c03ac93997 Add 'tmux' to runtime image
Having tmux would let us set things up so we can run all our 'terminals'
(shell, log output, etc) inside one terminal. Useful for headless stuff.
2012-04-27 14:26:18 -04:00
Will Woods
42737f0abf keep all filesystem tools
This adds ~700kb to the installer runtime, but it also adds a lot of
useful filesystem tools and reduces complexity a bit. A fair trade!
2012-04-24 14:47:42 -04:00
Martin Gracik
ef214183ec Leave some of the grub2 utilities in the install image (#749323) 2012-04-24 14:47:41 -04:00
Brian C. Lane
60f8c9fabe add gdisk to install image (#811083)
Add gdisk and related tools to the install image.
2012-04-12 08:29:39 -07:00
Martin Gracik
5d026fed46 Don't use --allbut for xfsprogs cleanup (#804779) 2012-04-12 08:29:17 -07:00
Brian C. Lane
159f9eac3d ntfs-3g now uses /usr/lib (#810039) 2012-04-05 07:47:42 -07:00
Will Woods
b856297986 add symlink from /mnt/install -> /run/install
Since noloader mounts stuff under /run/install, but anaconda (and
people's scripts etc.) look under /mnt/install, make a symlink so
everything works as expected.
2012-03-30 13:22:54 -07:00
Will Woods
2d9a56a9ec add anaconda dracut module
Install the anaconda dracut module during 'install', use it when
rebuilding initramfs, and clean it up afterward.

Also install '.buildstamp' into the initramfs (the anconda module wants
it).
2012-03-30 13:22:48 -07:00
Martin Gracik
b84fba40a5 Don't remove btrfs utils (#796511) 2012-02-28 12:50:34 +01:00
Martin Gracik
746811944a Install nhn-nanum-gothic-fonts (#790266)
Replacing un-core-dotum-fonts.
2012-02-28 12:50:34 +01:00
Brian C. Lane
f6876beea6 iputils is small and required by dhclient-script 2012-02-27 13:04:52 -08:00
Brian C. Lane
8c56e9d261 dhclient-script needs cut and arping 2012-02-17 16:31:06 -08:00
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