Commit Graph

164 Commits

Author SHA1 Message Date
Brian C. Lane 4312ddf1a6 paste is needed by os-prober (#1275105)
Resolves: rhbz#1275105
2015-11-09 17:04:04 -08:00
Brian C. Lane 0b8b74edda Keep libthread so that gdb will work correctly (#1269055)
Related: rhbz#1269055
2015-10-08 16:43:39 -07:00
Jiri Konecny 094ad38310 Add findmnt command
This is nice way how to show existing mounts.
2015-10-05 15:00:15 -07:00
David Shea fb19d7f509 Include gdb in the boot.iso
This way anaconda can generate a core file from itself when it crashes.
2015-09-24 16:52:20 -04:00
David Shea 88869fff66 Add enough of shadow-utils to create new user accounts.
Yes user accounts, some account management
2015-08-27 10:12:58 -04:00
Radek Vykydal 8ab53eb3b1 Add lldptool (#1085325)
Related: rhbz#1085325
(cherry picked from commit c124d8277d)
2015-08-12 09:36:28 -07:00
Peter Robinson dc9bae9b68 some of the PowerPC utilities (powerpc-utils and fbset) need perl too
(cherry picked from commit 4794ba6a8e)
2015-08-07 16:52:00 -07:00
David Shea 89441cd675 Add back libraries needed by spice-vdagent
spice-vdagent, half of the thing that lets copy/paste work across a
spice connection, added sound support, I guess, so now we need
alsa-libs.
2015-07-20 16:18:20 -04:00
David Shea 1fa622e77c Remove some junk that didn't work anyway
systemd-nspawn is some kind of container thing, and cairo-sphinx, as far
as I can tell (go ahead, try to google it) is a cairo debugging tool.
Neither of these are particularly useful on installer media and both use
libraries that are removed during cleanup.
2015-07-20 16:18:20 -04:00
Brian C. Lane d6584e1d77 Create an empty selinux config file (#1243168)
In order for selinux to properly label the system it needs to see that
the config file exists.

Also remove the old code trying to copy in a selinux config file, it
never worked -- the removepkg would remove it.
2015-07-20 11:32:31 -07:00
Brian C. Lane 4342b8f40b Keep hyperv_fb driver in the image (#834791)
Hyper-V needs this.

Resolves: rhbz#834791
(cherry picked from commit b51ff60875)
2015-06-29 11:04:07 -07:00
David Shea bbd1592f43 Remove some stale entires from runtime-install
iscsi-initator-utils and gobject-introspection actually are required via
anaconda rpm deps, so they aren't needed in runtime-install.tmpl.

Nothing seems to actually use python-imaging (i.e., python-pillow).

The executables for polkit, gnome-keyring and python-ethtool are removed
in runtime-cleanup, so if anything needs the libraries in these
packages, they can be pulled in through rpm dependencies. Among them,
only polkit is required.

For LUKS escrow stuff, keep the packages that provide the command-line
executables (volume_key, nss-tools), and remove the libraries. The
python2 libraries are no longer needed by blivet, and libblockdev will
install the C libraries it needs.

Install the dnf langpacks plugin instead of the yum one.

python-epdb is less useful now that anaconda is Python 3.
2015-06-10 16:32:29 -04:00
Brian C. Lane f130efdbc2 Include ld.so.conf (#1204031)
ldconfig runs at boot time, and some libraries apparently aren't setup
properly, so the config is needed to point to their directories.
2015-03-20 17:27:33 -07:00
Brian C. Lane 90dfe0cf81 Keep logitech hid drivers (#1199770)
Some logitech mice need a driver.
2015-03-17 16:45:18 -07:00
Stephen Gallagher 9ed9268cfa Don't erase /usr/lib/os.release.d
This directory now contains the standard and productized
/etc/os-release feeder files.
2015-03-16 13:12:03 -07:00
Brian C. Lane 11c9e0e8ee Add removekmod template command
removekmod GLOB [GLOB...] --allbut KEEPGLOB [KEEPGLOB...]

This can be used to remove kernel modules from under
/lib/modules/*/kernel/ while keeping specific items. This should be
easier than constructing find arguments to select the right things to
save.
2015-03-06 11:26:14 -08:00
Brian C. Lane c97f3fb6e8 os-release moved to /usr/lib (#1191713)
Don't remove it or the symlink to it.
2015-02-11 11:46:36 -08:00
Radek Vykydal c1d38a9c48 network: add support for bridge (#1075195)
Related: rhbz#1075195
2015-01-30 15:09:13 +01:00
David Shea e9c1b5f200 Remove fedora-icon-theme
This package no longer contains anything that we actually use. Removing
it also removes gnome-themes, which we needed for the metacity theme but
which is now handled by anaconda, and gtk2-engines.
2015-01-15 10:36:16 -05:00
David Shea 22017af48a Remove fedora-gnome-theme
fedora-gnome-theme provides gnome-themes-standard, from which we remove
everything except a metacity theme file that metacity doesn't actually
use. Remove fedora-gnome-theme entirely and manually add the font
dependency that it was pulling in.
2015-01-15 10:36:16 -05:00
David Shea ba489f71ff Remove gnome-python2-gconf
There's nothing in here we can use and we already remove everything
that's in it, and having it pulls in gtk2 dependencies that we no longer
need.
2015-01-15 10:35:32 -05:00
Laszlo Ersek bd501cccef runtime-cleanup.tmpl: keep virtio-rng (#1179000)
Virtual machines easily get starved for randomness, and Anaconda insists
on sufficient amounts of entropy when the user requests LUKS disk
encryption. As a result, such installations can hang until Anaconda gives
up (after 10 minutes) and makes do with whatever entropy is available.

The virtualization host can feed randomness to the guest, unblocking the
installation. However, the guest can only consume that randomness through
the virtio-rng module. Let's not remove that module.

Signed-off-by: Laszlo Ersek <lersek@redhat.com>
Signed-off-by: Brian C. Lane <bcl@redhat.com>

Resolves: rhbz#1179000
2015-01-06 10:52:14 -08:00
Chris Lumens 850010b5eb Include /usr/bin/bugzilla in the installation environment.
Seems like this would be pretty handy for uploading attachments to bugs.
2014-10-09 15:31:42 -04:00
Martin Kolman 952c329a4f Libgailutil is required yelp, don't remove it (#1072033)
Related: rhbz#1072033
2014-10-07 19:26:41 +02:00
Martin Kolman 75f419273f Revert "Don't remove /usr/share/doc/anaconda." (#1072033)
The help content path has been changed to /usr/share/anaconda/help,
so this Lorax change is no longer needed.

This reverts commit 2bd4637336 and commit 05ebf4ffcd.
2014-10-07 18:48:03 +02:00
Chris Lumens 05ebf4ffcd Rework how including /usr/share/doc/anaconda works.
A string passed to runcmd cannot contain a pipe character.  So instead
of further find magic, I'm just going to move the directory out of the
way, take care of the deletion, and then move it back.
2014-09-24 12:51:08 -04:00
Chris Lumens 2bd4637336 Don't remove /usr/share/doc/anaconda.
That's where the help is stored.
2014-09-23 16:39:17 -04:00
Chris Lumens 953611646c Stop removing libXt from the installation media.
It's needed by yelp, which is how anaconda displays help.
2014-09-23 16:39:17 -04:00
David Shea 7e66ceb9b6 Remove at-spi
at-spi is the old accessibility library, deprecated in these gtk3 times
by at-spi2-atk. at-spi-corba has been replaced with atk-bridge.
at-spi2-atk is a dependency of gtk3, so there's no need to explicitly
add it.
2014-09-22 17:16:49 -04:00
Brian C. Lane 8a804d10e5 Add more tools for rescue mode (#1109785)
This adds od, hexdump, hexedit, gdisk, and binaries from sg3_utils

Resolves: rhbz#1109785
2014-09-09 11:25:55 -07:00
David Lehman f035057ef0 Include /sbin/ldconfig from glibc.
python-pyudev needs it.
2014-08-19 11:24:10 -05:00
Brian C. Lane 0126945e92 Add ipmitool and drivers (#1126009)
Add the ipmi tools and keep the impi drivers in the image.

Resolves: rhbz#1126009
2014-08-12 14:29:23 -07:00
Vratislav Podzimek 668fe3aa4b Keep seq and getconf utilities in the image
They are needed by the zram.service.
2014-07-16 10:55:10 +02:00
Brian C. Lane e1741763a9 Don't remove usr/lib/rpm/platform/ (#1116450)
This appears to cause the rpm-plugin-selinux to fail and some of the
selinux lebels aren't applied correctly.
2014-07-11 17:09:51 -07:00
Brian C. Lane cf2407b618 Add xfsdump and remove extra files from xfsprogs (#1118654)
Resolves: rhbz#1118654
2014-07-11 10:07:00 -07:00
Brian C. Lane f91881e1d6 Stop removing libcanberra-gtk3 libraries (#1111724)
metacity needs the library, leave it in the image.
2014-06-24 16:16:13 -07:00
David Shea 5f9cb25baf Keep virtio_console harder.
Kernel modules in F21 are compressed, so sometimes the file we want to
keep is virtio_console.ko.xz
2014-06-19 17:20:41 -04:00
Colin Walters 17eee3ab1a runtime-cleanup: Do install GPG
OSTree actually does check gpg keys.  All we'll have to do is install
the package into the boot.iso environment with them.
2014-04-14 17:50:39 -07:00
Brian C. Lane 88e6c49bd5 Stop removing curl after adding it
curl is useful for things like kickstart %pre and %post
2014-04-01 10:45:57 -07:00
Brian C. Lane e172803d4a createrepo is needed by driver disks (#1016004)
deltarpm is needed by createrepo.

Related: rhbz#1016004
2014-02-26 10:13:20 -08:00
David Shea 0bbd00a807 Don't remove libraries from bind-libs-lite
dhclient links to libirs-export and libisccfg-export now.
2014-02-06 14:55:47 +01:00
Brian C. Lane 96e5925cf8 Include mesa-dri-drivers (#1053940)
Radeon cards need these.

Resolves: rhbz#1053940
2014-01-28 15:09:34 -08:00
Brian C. Lane 2184b1c2cb Include partx (#1022899)
Used by lvm on multipath.

Resolves: rhbz#1022899
2013-11-14 13:47:42 -08:00
Vratislav Podzimek 0b741d714b Do not remove libdaemon from the runtime environment (#1028938)
It is needed by the new NetworkManager.
2013-11-11 13:01:10 +01:00
Brian C. Lane 5efe03f3e8 Keep virtio_console module (#1019564)
If virtio_console is a module we need to leave it in place when cleaning
the image. It will be loaded automatically when needed.
2013-10-16 14:32:58 -07:00
Vratislav Podzimek c80d48e7aa Firstboot is not an anaconda dependency
Moreover, it doesn't even exist in the F20 tree.
2013-09-05 08:59:51 +02:00
Brian C. Lane 1a47e68c44 remove firewalld from installroot (#1002195) 2013-09-03 10:14:13 -07:00
David Shea d001ff409a Keep liblzo2.* (#997643)
/usr/lib*/realmd/realmd needs liblzo2.
2013-08-16 10:40:35 -04:00
Harald Hoyer 2402b6a85f dracut-nohostonly and dracut-norescue got renamed for dracut >= 030 2013-08-01 09:04:29 -07:00
David Shea f3cd910c11 Don't remove xkeyboard-config message files (#972236)
The xkeybard-config .mo files are needed to translate the layout
switching options. The xklavier calls in anaconda will automatically
translate the option strings as long as the translations are present.
2013-07-29 16:23:11 -04:00