Commit Graph

416 Commits

Author SHA1 Message Date
fce63db25a
Allow riscv64 for UEFI executables
Fixes kernel build issues with UKI enabled:

dracut: Architecture 'riscv64' not supported to create a UEFI executable

Signed-off-by: David Abdurachmanov <davidlt@rivosinc.com>
2024-06-14 07:23:06 +03:00
Adam Williamson
438b5c8d8e Update to dracut 101
From-source-git-commit: a24e1272faba2875f9b78fcf42109028af0869bc

 * switch to dracut-ng upstream fork

The original dracut repository is no longer maintained, new initiative was started:
https://github.com/dracut-ng/dracut-ng/

 * applied additional fixes

9df3cb58a19f38157a615c311356cfd6ae55d2d7 fix(rngd): install system service file
0b65ac224d831cc96da940cce510523c7276a5ec feat(hwdb): add hwdb module to install hwdb.bin on demand
10b86edba3ffe0ce13c5f43ff0193cdf04661358 fix(nvmf): move /etc/nvme/host{nqn,id} requirement to hostonly
bad2bc80cdcfac8915374497cc47ce9d5670d015 fix(systemd): explicitly install some libs that will not be statically included
55a56c546bde71fb42c99aadd96e98fca2199823 fix(dracut): move hooks directory from /usr/lib to /var/lib
110fec3e41faf47277447f1c56635c5a876c1f96 feat(ifcfg): minimize s390-specific network configuration aspects
b6913f66b6c9e9ea81fd0832405c170876bc993a refactor(ifcfg): delete code duplication using iface_get_subchannels()
cbc5eece88b8f6d0e69fdfbb8f34eabb45425c86 fix(znet): append to udev rules so each rd.znet_ifname is effective
7ad6fef8fe110093939c422b5c3b381ebe47e4e9 feat(qeth_rules): remove qeth handling consolidated in 95znet
addb383b375fd0db07eacf8a9f5d9b4e23343855 docs(dracut.cmdline): generalize description of rd.znet
86b6e2979999cf5ecce8c76c6230d1f085b3a333 feat(znet): use zdev for consolidated device configuration
1ff6be8aef787513b8143df444a1dd2d696b0944 feat(dasd): minimize dasd handling consolidated in s390-tools
a82045ef34bc8c913502eba37b6b9c60709d6997 feat(dasd_mod): minimize dasd handling consolidated in s390-tools
7294e45b5204e47bb8ee2108e2c38c5843e64fac feat(dasd_rules): remove dasd handling consolidated in s390-tools
8d6098969aa9dc34edfd1bc96e6aa0384ae2fb99 feat(zfcp): minimize zfcp handling consolidated in s390-tools
71876ea8c73090741bdf26abb89c28fb260ed575 feat(zfcp_rules): remove zfcp handling consolidated in s390-tools
a2c1fc530d8bcbdeaf1806f4a22019052715fc98 refactor(cms): remove now unnecessary inclusion of full s390utils-base
cc14fe218861f2855ca88ad03220ecb78d4aa31a refactor(cms): use consolidated network config with zdev from s390-tools
74edb9758da26ef063e4686a595f1d34f07f86f7 refactor(cms): use consolidated dasd config with zdev from s390-tools
3a9b9a5cf507a868f8b3ec33cf686b3a552286c2 refactor(cms): use consolidated zfcp config with zdev from s390-tools
38412977daad049b12273966300d07211674834e refactor(cms): use zdev to simplify handling CMSDASD=... boot option

 * remove tests/

Tests should be in the tests/* namespace instead:
https://src.fedoraproject.org/tests/dracut/
2024-05-16 18:00:39 +02:00
Pavel Valena
ff27f8c57a Update to dracut 060.
also remove redundant script newdracut.sh.

From-source-git-commit: 8069d40c0e180cd74d4e897c007096523ecce459
2024-03-20 13:28:22 +01:00
Pavel Valena
a1ebaf27b6 Remove network-legacy module. 2024-02-12 21:59:21 +01:00
Manuel Fombuena
2d7bee74f8 Fix pkcs11 and pcsc modules
pkcs11 and pcsc don't seem to have ever worked.

In the case of pkcs11, the following install line is incorrect (note the dot before *):

{"tls/$_arch/",tls/,"$_arch/",}"/cryptsetup/libcryptsetup-token-systemd-pkcs11.so.*"

And it should be:

{"tls/$_arch/",tls/,"$_arch/",}"/cryptsetup/libcryptsetup-token-systemd-pkcs11.so*"

I opened a PR and it was merged a while ago: https://github.com/dracutdevs/dracut/pull/2540

In the case of pcsc there are two problems.

One, the installation file is missing /usr/share/p11-kit/modules/opensc.module and without that, you can't really do anything.

Two, dracut doesn't include polkit and pcsc is compiled with it enabled by default. The option --disable-polkit was added to pcscd in 2.0, precisely to address this issue. It needs to be added to pcscd.service in the module for it to work on initramfs.

I opened another PR which has been approved by 2 reviewers and merged into openSUSE: https://github.com/dracutdevs/dracut/pull/2547

Signed-off-by: Manuel Fombuena <fombuena@outlook.com>
2024-02-12 21:34:12 +01:00
Fedora Release Engineering
8f3935cd2b Rebuilt for https://fedoraproject.org/wiki/Fedora_40_Mass_Rebuild 2024-01-24 09:47:50 +00:00
Fedora Release Engineering
a3b9456f39 Rebuilt for https://fedoraproject.org/wiki/Fedora_40_Mass_Rebuild 2024-01-19 17:31:16 +00:00
Dennis Gilmore
cd723abe02 Add Qualcomm IPC router to enable USB(Lenovo x13s)
Signed-off-by: Dennis Gilmore <dennis@ausil.us>
2023-12-08 10:36:32 -06:00
Pavel Valena
1f5e24a402 fix(dracut.sh): remove microcode check based on 2023-11-16 16:24:17 +01:00
Zbigniew Jędrzejewski-Szmek
6fb02070d3 Backport patches to unbreak systemd v255 2023-11-08 15:29:43 +01:00
Adam Williamson
81c46b8ffb Backport PR #2545 to fix media check failure visibility
Fixes https://bugzilla.redhat.com/show_bug.cgi?id=2246410
for live images.
2023-10-30 16:03:46 -07:00
Adam Williamson
e2193523c3 Backport PR #2196 to fix boot with iso-scan feature 2023-10-05 09:11:19 -07:00
Pavel Valena
7e84f1c282 fix(dracut.spec): add jq dependency to network subpackage
and also move nvmf module to network subpackage.
2023-09-20 15:59:00 +02:00
Yaakov Selkowitz
45c2055fbe Disable fuse and ntfs-3g in RHEL builds
This is the one practical difference between Fedora and RHEL from before
the cleanup of (otherwise) unnecessary conditionals.
2023-08-09 18:17:32 +02:00
Peter Robinson
c4cce844cc Include modules for IMA 2023-08-02 13:25:07 +01:00
Lukas Nykryn
7341377917 fix(dracut.sh): use dynamically uefi's sections offset 2023-08-02 12:28:18 +02:00
Pavel Valena
6aee126537 feat(nvmf): NVMeoF support 2023-07-24 18:18:47 +02:00
Fedora Release Engineering
a01cc0971f Rebuilt for https://fedoraproject.org/wiki/Fedora_39_Mass_Rebuild
Signed-off-by: Fedora Release Engineering <releng@fedoraproject.org>
2023-07-19 17:51:40 +00:00
Brian Masney
50be768533 backport fix to add the interconnect drivers
This is needed in order to boot Fedora on the Lenovo Thinkpad x13s
laptop (aarch64). This is also needed in order to boot Fedora on other
Qualcomm-based SoCs.

Signed-off-by: Brian Masney <bmasney@redhat.com>
2023-06-08 15:00:02 -04:00
Pavel Valena
c403756579 Fixup spec bump. 2023-05-04 17:54:39 +02:00
Lukáš Zaoral
c2ebca52a0 migrate to SPDX license format 2023-05-03 13:44:01 +02:00
Laszlo Gombos
9de6fc3e7f Update wiki link.
See 3adbcc0b71
for reference.
2023-05-03 13:28:10 +02:00
Michael Hofmann
a2c4179cac Backport fix to remove dependency on multipathd.socket
Fixes boot hangs on s390x/multipath.

- https://github.com/dracutdevs/dracut/issues/2175
- https://github.com/dracutdevs/dracut/issues/2289
- https://github.com/dracutdevs/dracut/issues/2318
2023-04-27 10:38:17 +02:00
Dusty Mabe
173829537c Support MACAddressPolicy=none for bond/bridge/team devices
In Fedora Linux there was a new 98-default-mac-none.link file added
to set the MACAddressPolicy=none for bond/bridge/team devices. We'd
like for this policy to apply in the initramfs as well. See

- https://fedoraproject.org/wiki/Changes/MAC_Address_Policy_none
- https://src.fedoraproject.org/rpms/systemd/pull-request/100#
2023-03-20 13:34:42 +01:00
Pavel Valena
7a74f7ccec revert(network-manager): avoid restarting NetworkManager
https://github.com/dracutdevs/dracut/pull/2134
2023-03-16 09:02:54 +01:00
Pavel Valena
dc707d41cc fix(dmsquash-live): restore compatibility with earlier releases
as current revert breaks NFS. Also re-add overlayfs module.

https://github.com/dracutdevs/dracut/pull/2233

rhbz#2172269
2023-03-16 09:02:54 +01:00
Pavel Valena
61fb1e8e40 fix(dracut.sh): handle --kmoddir with trailing /
https://github.com/dracutdevs/dracut/pull/2237

Resolves: #2173100
2023-02-24 19:52:25 +01:00
Pavel Valena
05988c6a16 Revert PR#1934
https://bugzilla.redhat.com/show_bug.cgi?id=2172269#c3
2023-02-21 22:03:22 +01:00
Pavel Valena
6ccd6ab537 Fixup .gitignore file. 2023-02-21 10:26:11 +01:00
Pavel Valena
6de3d96c7b feat(kernel-modules): add driver needed for macbook keyboards 2023-02-21 02:11:18 +01:00
Pavel Valena
ec3ccd4eec Skip creating initrd when initrd already provided,
or different generator is configured.

https://github.com/dracutdevs/dracut/pull/1825/
2023-02-20 23:39:19 +01:00
Pavel Valena
ac8a9b0f0b Update to 059 2023-02-20 23:36:58 +01:00
Fedora Release Engineering
a4900f1415 Rebuilt for https://fedoraproject.org/wiki/Fedora_38_Mass_Rebuild
Signed-off-by: Fedora Release Engineering <releng@fedoraproject.org>
2023-01-19 01:45:55 +00:00
Davide Cavalca
54940adbaf Backport fix to add sysctl to initramfs to handle modprobe files 2022-11-13 21:57:33 -05:00
Neal Gompa
e2800e6fc3 Backport dmsquash-live-autooverlay module 2022-10-15 15:25:19 -04:00
Pavel Valena
646eadf53c fix(dracut.spec): tpm2-tools is required for crypt module to work
tpm2-tools dependency can be can be pulled in case tmp2-tss package
is installed, using a soft conditional dependency.

Resolves: #2077697
2022-09-13 16:14:40 +02:00
Pavel Valena
52e9ef90a6 Re-add patch Never-enable-the-bluetooth-module-by-default
Keep until this gets fixed properly in upstream.

Resolves: #1964879
2022-09-13 16:14:40 +02:00
Pavel Valena
adc42dfa9f dmsquash-live-root: Run checkisomd5 on correct device
Resolves: #2107858
2022-08-16 16:15:45 +02:00
Fedora Release Engineering
f071cde08c Rebuilt for https://fedoraproject.org/wiki/Fedora_37_Mass_Rebuild
Signed-off-by: Fedora Release Engineering <releng@fedoraproject.org>
2022-07-21 00:53:56 +00:00
Pavel Valena
913cfc7268 Clean up and ehnance .spec file
- removed unnecessary conditionals
 - removed unused dracut.log file
2022-07-18 12:36:19 +02:00
Pavel Valena
868aaf1655 Upgrade to dracut 057
also sync up .spec file with upstream.
2022-07-18 12:36:19 +02:00
Pavel Valena
4fe40ec0ad Enhance newdracut.sh 2022-07-18 11:31:10 +02:00
Kevin Fenzi
ce8caeca15 Add already upstream patch to change dracut-initramfs-restore to hopefully not break oz/composes 2022-04-19 16:12:23 -07:00
Peter Robinson
937971c7d1 Update to 056 2022-03-04 15:37:43 +00:00
Fedora Release Engineering
21d7df40dc - Rebuilt for https://fedoraproject.org/wiki/Fedora_36_Mass_Rebuild
Signed-off-by: Fedora Release Engineering <releng@fedoraproject.org>
2022-01-20 01:00:48 +00:00
Hans de Goede
76eb28fc2e Backport upstream changes for drm-privacy screen support in kernel >= 5.17 2021-12-20 14:46:50 +01:00
Jeremy Linton
6333f807a7 Add isp1760 patch from upstream.
Some Arm devices (corestone) use the isp1760 as their boot
device. This patch is upstream, but needs to be added here
until the next release.

Signed-off-by: Jeremy Linton <jeremy.linton@arm.com>
2021-11-04 15:12:50 -05:00
Olivier Lemasle
59c2556942 Backport PR #1611 to fix network manager when console is not usable 2021-10-26 21:06:17 +02:00
Adam Williamson
56d90eedfb Backport PR #1584 to fix missing block drivers, boot in EC2 (#2010058) 2021-10-18 16:11:20 -07:00
Peter Robinson
d1ee2ba016 Add USB Type-C to fix display/input/storage attached via it (rhbz #1964218) 2021-10-06 12:08:11 +01:00