Commit Graph

152 Commits

Author SHA1 Message Date
Brian C. Lane
abfbd76af2 Keep all of the kernel drivers/target/ modules (#1348381)
The ib_srpt, and ib_isert modules depend on these.

Resolves: rhbz#1348381
(cherry picked from commit 8bf144843a)
2016-06-22 15:33:12 -07:00
Brian C. Lane
4bdfa33958 Keep the pci utilities for use in kickstarts (#1344926)
Resolves: rhbz#1344926
(cherry picked from commit 1a60afc4ff)
2016-06-21 16:25:58 -07:00
Brian C. Lane
73b368de28 Create an empty selinux config file (#1332147)
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.

(cherry picked from commit d6584e1d77)

Resolves: rhbz#1332147
2016-05-03 10:57:10 -07:00
Colin Walters
cc374548e8 templates: Reinstate gpgme-pthread.so for ostree (#1311793)
See https://github.com/GNOME/ostree/pull/190

Without this the installer ISO generation fails.

Resolves: rhbz#1311793
(cherry picked from commit 6fcdac5c88)
2016-02-25 09:37:41 -08:00
Brian C. Lane
a17cecdee2 Keep modules needed for ast video driver support (#1272658)
The ast module depends on:
drm,drm_kms_helper,ttm,syscopyarea,i2c-core,sysfillrect,sysimgblt,i2c-algo-bit

This retains the syscopyarea, sysfillrect, and sysimgblt modules.

Resolves: rhbz#1272658
2016-02-24 07:45:45 -08:00
Brian C. Lane
cc715caaf9 paste is needed by os-prober (#1275105)
Resolves: rhbz#1275105
(cherry picked from commit 4312ddf1a6)
2016-02-19 16:31:06 -08:00
Brian C. Lane
b8bcb063cc Keep libthread so that gdb will work correctly (#1269055)
Resolves: rhbz#1269055
(cherry picked from commit 0b8b74edda)
2016-02-19 16:14:48 -08:00
Radek Vykydal
c124d8277d Add lldptool (#1085325)
Related: rhbz#1085325
2015-08-11 13:40:58 +02:00
Jiri Konecny
b2f6a9f129 Fix chronyd not working in the installation (#1085013)
Service chronyd not working on rhel7 now because it's missing command
flock.

Related: rhbz#1085013
2015-08-05 15:35:27 +02:00
Brian C. Lane
b51ff60875 Keep hyperv_fb driver in the image (#834791)
Hyper-V needs this.

Resolves: rhbz#834791
2015-06-29 11:01:45 -07:00
Jiri Konecny
b7ce8b4b0f Merge pull request #26 from jkonecny12/rhel7-ntp-add
Add ntp configuration file to installation for the main patch part in anaconda.
2015-06-22 15:02:11 +02:00
Jiri Konecny
13ea2c5253 Add ntp configuration file to installation
Add package ntp and remove it except ntp.conf file.
This is required for the main patch part in the anaconda.

Related: rhbz#1085013
2015-06-22 13:33:57 +02:00
Vratislav Podzimek
80fcdb4f91 Install the oscap-anaconda-addon (#1190685)
And keep in the rpm2cpio utility it requires.

Signed-off-by: Vratislav Podzimek <vpodzime@redhat.com>
2015-06-17 09:00:29 -07:00
Brian C. Lane
a37a59b3eb Add removekmod template command (#1230356)
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.

(cherry picked from commit 11c9e0e8ee)

Resolves: rhbz#1230356
2015-06-15 15:04:06 -07:00
Brian C. Lane
9b57050fc6 Keep the zram kernel module
Needed by the zram.service

Related: rhbz#1196721
2015-06-05 08:34:44 -07:00
Vratislav Podzimek
bf8d25fc91 Keep seq and getconf utilities in the image
They are needed by the zram.service.

(cherry picked from commit 668fe3aa4b)

Related: rhbz#1996721
2015-06-05 08:34:35 -07:00
Brian C. Lane
680037372e 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.

(cherry picked from commit e1741763a9)

Related: rhbz#1196721
2015-06-05 08:34:18 -07:00
David Lehman
155750a4c8 Include /sbin/ldconfig from glibc.
python-pyudev needs it.

(cherry picked from commit f035057ef0)

Related: rhbz#1202877
2015-06-05 08:33:09 -07:00
Laszlo Ersek
fa2655f7d4 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
(cherry picked from commit bd501cccef)
2015-01-07 10:31:46 -08:00
Martin Kolman
d646ddb5d6 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 8bd3d8d232.

Related: rhbz#1072033
2014-10-07 18:44:36 +02:00
Martin Kolman
1f56b27082 Libgailutil is required yelp, don't remove it (#1072033)
Related: rhbz#1072033
2014-10-06 18:13:08 +02:00
Chris Lumens
8bd3d8d232 Don't remove /usr/share/doc/anaconda.
That's where the help is stored.

Resolves: rhbz#1147518
2014-09-30 09:59:36 -04:00
Chris Lumens
bc0976b8d6 Stop removing libXt from the installation media.
It's needed by yelp, which is how anaconda displays help.

Related: rhbz#1147518
2014-09-30 09:59:25 -04:00
Radek Vykydal
5b841e69a4 network: add support for bridge (#1075195)
Related: rhbz#1075195
2014-09-26 13:50:17 +02:00
Brian C. Lane
44b6948d1e Add more tools for rescue mode (#1109785)
This adds od, hexdump, hexedit, gdisk, and binaries from sg3_utils

Resolves: rhbz#1109785
(cherry picked from commit 8a804d10e5)
2014-09-09 11:27:04 -07:00
Brian C. Lane
1c936ee984 Add xfsdump and remove extra files from xfsprogs (#1118654)
Resolves: rhbz#1118654
2014-08-12 11:49:39 -07:00
Brian C. Lane
1686a1a159 Add ipmitool and drivers (#1126009)
Add the ipmi tools and keep the impi drivers in the image.

Resolves: rhbz#1126009
2014-08-12 11:28:33 -07:00
Brian C. Lane
c4ea32367d Stop removing curl after adding it (#1083205)
curl is useful for things like kickstart %pre and %post

Resolves: rhbz#1083205
2014-04-03 14:15:24 -07:00
Brian C. Lane
e6015f93c5 createrepo is needed by driver disks (#1016004)
deltarpm is needed by createrepo.

Related: rhbz#1016004
2014-02-26 10:06:55 -08:00
Brian C. Lane
d30390aa9e Remove unneeded images from the product -logos (#1068721)
The background images are not used during install, as well as a number
of other items from redhat-logos. There was also a bug -- product.name
did not expand to 'redhat' so it wasn't removing anything from the -logos
package.

Resolves: rhbz#1068721
2014-02-21 10:41:03 -08:00
Brian C. Lane
d08d8081b6 Include mesa-dri-drivers (#1053940)
Radeon cards need these.

Resolves: rhbz#1053940
2014-02-12 15:34:38 -08:00
Brian C. Lane
0a9bdb2157 Include partx (#1022899)
Used by lvm on multipath.

Resolves: rhbz#1022899
2013-11-14 13:47:20 -08:00
Vratislav Podzimek
123728393d Do not remove libdaemon from the runtime environment (#1028938)
It is needed by the new NetworkManager.
2013-11-11 12:46:37 +01:00
Brian C. Lane
09490877a0 Install subscription-manager (#1026304)
Only use the product-id plugin.

Resolves: rhbz#1026304
2013-11-04 11:29:52 -08:00
Brian C. Lane
dccaa0eeb0 Keep virtio_console module (#750231)
virtio_console is a module in RHEL7, so we need to leave it in place
when cleaning the image. It will be loaded automatically when needed.
2013-10-11 13:34:49 -07:00
David Shea
186999b5da Keep liblzo2.* (#997976)
/usr/lib*/realmd/realmd needs liblzo2.

(cherry picked from commit d001ff409a)
2013-08-16 12:24:57 -04:00
Harald Hoyer
22a36d3a81 dracut-nohostonly and dracut-norescue got renamed for dracut >= 030 (#990305) 2013-08-01 10:05:08 -07:00
David Shea
2ea99b1810 Don't remove xkeyboard-config message files (#989757)
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 17:14:19 -04:00
Brian C. Lane
d0779835b4 Don't remove thbrk.tri (#886250) 2013-06-12 13:22:18 -07:00
Brian C. Lane
2b9f7cf7ab Switch from xorg-x11-fonts-ethiopic to sil-abyssinica-fonts (#875664) 2013-06-12 11:03:13 -07:00
Brian C. Lane
4664095e45 Leave /etc/os-release in the initrd (#956241)
systemd needs /etc/os-release, otherwise switch-root will fail.
2013-04-26 08:56:25 -07:00
David Lehman
577d9cc954 Let devices get detected and started automatically.
Also stop masking fedora-storage-* units as they no longer exist.
2013-04-08 09:54:42 -05:00
Jan Stodola
e3432dcde7 Do not remove files required by tools from the s390utils-base package.
This patch will keep following files in installation images:
/usr/bin/dirname
/usr/bin/getopt
/usr/sbin/ethtool
2013-03-26 16:20:41 -07:00
Brian C. Lane
b7d127946b Don't remove hmac files for ssh and sshd (#882153) 2013-03-13 08:12:36 -07:00
Martin Gracik
da238e18fc Do not remove gtk3 share files
Resolves: rhbz#875846
2012-12-20 12:35:37 +01:00
Brian C. Lane
5fdf15b4ac remove multipath rules (#880263)
This is a temporary fix until multipath can be updated.
2012-12-05 10:39:24 -08:00
Martin Gracik
8d8b4fbb50 Do not remove the fipscheck package (#882153) 2012-11-30 12:41:57 +01:00
Dan Horák
0dcc91177a perl is required by some low-level tools on s390x (#868824)
Don't remove perl on s390x as it is required by some low-level tools.
2012-10-22 18:20:32 +02:00
Martin Gracik
fb69670ea8 There's no lang-table in anaconda anymore (#857925) 2012-09-17 11:41:39 -07:00
Brian C. Lane
2559dc64d8 Revert "X needs the DRI drivers" (#855289)
This reverts commit 74e58adfd2.

Ends up that the dri errors in the Xorg logs are a red herring.
2012-09-12 13:06:27 -07:00