Commit Graph

423 Commits

Author SHA1 Message Date
Pavel Valena
a3b408b277 Upgrade to dracut 103
- enable dracut-cpio binary
- feat(fips-crypto-policies): make c-p follow FIPS mode automatically
- fix(fips-crypto-policies): make it depend on fips dracut module

Resolves: RHEL-59678,RHEL-65204

From-source-git-commit: ff3186be9d5871c6ec216019463199bb78cc1b32
2024-11-01 18:42:50 +01:00
Troy Dawson
bcb0f045c0 Bump release for October 2024 mass rebuild:
Resolves: RHEL-64018
2024-10-29 08:21:58 -07:00
Lukáš Zaoral
84573b7f14
tests: fix url to internal test-git
Fixes:
```
$ tmt run discover
/var/tmp/tmt/run-035
Found 1 plan.

/plans/tier1-internal
    discover
        how: fmf
        url: https://gitlab.com/redhat/rhel/tests/dracut.git
        fail: Command 'git clone https://gitlab.com/redhat/rhel/tests/dracut.git /var/tmp/tmt/run-035/plans/tier1-internal/discover/default-0/tests' returned 128.
```
2024-09-23 13:49:55 +02:00
Pavel Valena
d6c4ca2157 Resolves: RHEL-43460
Additional fix to avoid regression:
https://github.com/dracut-ng/dracut-ng/pull/590#issuecomment-2301382666

From-source-git-commit: fa245cea3b5f03d24777e9cbf6f295977541565c
2024-08-28 19:43:59 +02:00
Pavel Valena
5857b7d190 Resolves: RHEL-39404,RHEL-47145,RHEL-53350,RHEL-53361,RHEL-53431,RHEL-53791,RHEL-54650
From-source-git-commit: e3d7b6907c414bbe25a93a3fcd2de2205316c13f

Changes added using `packit source-git update-dist-git`, which has different
patch definition format than `centpkg import` (this will be used from now on).

Also, fixup previous entry wrong date in %changelog.
2024-08-19 13:34:50 +02:00
Pavel Valena
52fb8f6eda Rebase to dracut-102, and additional fixes.
From-source-git-commit: 56bf1917de004cd3f9032a68a6cd09d5bd972b04

Additional fixes:

 - support for erofs in squash modules
 - always include the resume module
 - include systemd config files from /usr/lib/systemd
 - only return block devices from get_persistent_dev
 - allow for \ in get_maj_min file path
 - install blk modules using symbol blk_alloc_disk

Resolves: RHEL-32237,RHEL-32506,RHEL-43460,RHEL-47145,RHEL-49744,RHEL-53350
2024-08-08 04:43:00 +02:00
Frantisek Sumsal
7dcc0ffb01 Add gating configuration for C10S/RHEL10
Also, drop the STI test inherited from Fedora since it:
  1) doesn't work
  2) messes up gating, since the STI tests take precedence over TMT ones
2024-07-04 09:37:46 +00:00
Troy Dawson
44966d95e8 Bump release for June 2024 mass rebuild 2024-06-24 08:40:53 -07:00
Pavel Valena
618c73c43b CI: Enable gating tests. 2024-05-16 23:57:20 +02:00
Pavel Valena
e4f609fba2 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

(Possibly also resolves other open issues.)

Resolves: RHEL-26887 RHEL-34954 RHEL-35521
2024-05-16 19:11:40 +02: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