This allows experiments to be run with reducing the size of the
initramfs by having fewer bulky shared libraries in it, and also makes
it easier for downstream distributions to make different configuration
choices.
We keep the defaults the same, building *with* all of these in order to
not change what is practically being built in Fedora.
Signed-off-by: Stewart Smith <trawets@amazon.com>
- README was removed in order to keep only README.md. Update the spec.
- Resolves: rhbz#2102796
Signed-off-by: Yauheni Kaliuta <ykaliuta@fedoraproject.org>
The debug messages pretty often are useful to find configuration
problems on customers systems. They are seen only with extra verbose
command line switches so should not affect performance a lot.
Signed-off-by: Yauheni Kaliuta <ykaliuta@fedoraproject.org>
External modules packaging depends on the search order provided by
RHEL default config which is missing now from CentOS Stream.
Add and install the file.
Signed-off-by: Yauheni Kaliuta <ykaliuta@fedoraproject.org>
Generally speaking, weak-modules is going to be of no use to anyone,
since the stabilized kABI is a unique property that only exists
with the Red Hat Enterprise Linux distribution kernel.
To avoid issues with downstreams, flip the conditional so that it
is explicit that this is only useful for RHEL.
This conditional impacts the whole spec, and generally these things
are at the top of the spec to make it clear and avoid random scoping
issues at spec parse time.
Fedora does not support CONFIG_MODVERSIONS, as we have no guarantee of
KABI. With this in mind, the weak-modules script adds no benefit to
Fedora, but it can cause serious issues with update times on major
kernel rebases, and with dkms. This patch removes the script from
Fedora, but leaves it in place for ELN/CentOS/RHEL, etc.
Signed-off-by: Justin M. Forbes <jforbes@fedoraproject.org>
- Updated URL to current (shorter URL and HTTPS)
- Removed superfluous slash for %{_mandir} path
- Removed superfluous /sbin (only %{_sbindir} is used)
- Preserve timestamp when installing weak-modules(1)
None of currently supported distributions need that.
It was needed last for EL5 which is EOL now
Signed-off-by: Igor Gnatenko <ignatenkobrain@fedoraproject.org>
The main kmod package requires kmod-libs, via the "Requires:
%{name}-libs%{?_isa} = %{version}-%{release}" line in
kmod.spec. This is not actually necessary: /bin/kmod statically
links to libkmod (which is all that's in kmod-libs), and besides,
if it was dynamically linked rpm would generate the dependency
automatically.
kmod-devel, on the other hand, should require kmod-libs instead
of the main kmod package.
(credits for the text to David Shea)
Resolves: rhbz#1208554.
Signed-off-by: Yauheni Kaliuta <yauheni.kaliuta@redhat.com>