13 Commits

Author SHA256 Message Date
c1ccd9f09d Accepting request 1325953 from Base:System
OBS-URL: https://build.opensuse.org/request/show/1325953
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/dracut?expand=0&rev=251
2026-01-14 15:19:20 +00:00
1426468f41 - Update to version 059+suse.787.gfb86123e:
* fix(dracut.spec): switch to tmpfiles based file creation (jsc#PED-14786)

OBS-URL: https://build.opensuse.org/package/show/Base:System/dracut?expand=0&rev=578
2026-01-08 11:57:17 +00:00
9a03df7d7d Accepting request 1323644 from Base:System
OBS-URL: https://build.opensuse.org/request/show/1323644
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/dracut?expand=0&rev=250
2025-12-20 20:45:23 +00:00
bdb7ada018 - Update to version 059+suse.785.g17d177bb:
Fix and update testsuite (bsc#1254873):
  * test(FULL-SYSTEMD): ignore errors in systemd-vconsole-setup.service
  * test: move /failed to /run/failed as rootfs might be read-only
  * test(FULL-SYSTEMD): use poweroff to shut down test
  * test(FULL SYSTEMD): no need to include dbus to the target rootfs
  * test: make the size of all test drives 512 MB
  * fix(systemd): move installation of libkmod to udev-rules module
  * test: switch to virtio for the QEMU drive
  * test: switch to virtio for the QEMU drive
  * test: increase test VM memory from 512M to 1024M to avoid OOM killer
  * test: move more common test code to test-functions
  * test: upgrade to ext4

  Other:
  * fix(systemd-networkd): install and enable systemd-networkd-resolve-hook.socket
  * fix(nfs): do not execute logic in nfs hooks if netroot is not nfs (bsc#1253960)

OBS-URL: https://build.opensuse.org/package/show/Base:System/dracut?expand=0&rev=577
2025-12-19 09:56:12 +00:00
4d66bbaf48 Revert to SUSE/059
OBS-URL: https://build.opensuse.org/package/show/Base:System/dracut?expand=0&rev=576
2025-12-19 09:25:58 +00:00
cc97350a49 - Update to version 109+suse.23.g0ac0b875:
* feat(network-manager): add systemd generator if available

OBS-URL: https://build.opensuse.org/package/show/Base:System/dracut?expand=0&rev=575
2025-11-28 14:41:08 +00:00
b359d1212a - Update to version 109+suse.21.g41bfebaa:
Switch from https://github.com/dracutdevs/dracut to https://github.com/dracut-ng/dracut-ng

  Full list of changes:
  * https://github.com/dracut-ng/dracut-ng/releases/tag/109
  * https://github.com/dracut-ng/dracut-ng/releases/tag/108
  * https://github.com/dracut-ng/dracut-ng/releases/tag/107
  * https://github.com/dracut-ng/dracut-ng/releases/tag/106
  * https://github.com/dracut-ng/dracut-ng/releases/tag/105
  * https://github.com/dracut-ng/dracut-ng/releases/tag/104
  * https://github.com/dracut-ng/dracut-ng/releases/tag/103
  * https://github.com/dracut-ng/dracut-ng/releases/tag/102
  * https://github.com/dracut-ng/dracut-ng/releases/tag/101
  * https://github.com/dracut-ng/dracut-ng/releases/tag/100
  * https://github.com/dracut-ng/dracut-ng/releases/tag/060

  The most important ones had already been backported to 059, see:
  * https://github.com/openSUSE/dracut/blob/SUSE/059/suse/README.susemaint

  Additional openSUSE-specific changes and post-release fixes:
  * fix(nfs): set the default group of the rpcbind user to the state dir
  * perf(nfs): remove references to old rpcbind state dir
  * fix(dracut-systemd): use expected PS1 in the emergency shell
  * feat(dracut-systemd): add back and fix printing fs help in the emergency shell
  * fix(qemu-net): in hostonly mode, only install if network is needed
  * feat(resume): add openSUSE-specific sanity check
  * perf(resume): do not search cmdline options in /etc/cmdline{,.d}
  * perf(resume): do not attempt to install systemd-hibernate-resume@.service
  * fix(rngd): revert changes that removed the custom systemd service
  * chore(suse): add openSUSE-specific spec, conf and doc
  * fix(systemd-pcrphase): revert changes related to inclusion and dependencies
  * fix(plymouth): avoid warning if /etc/plymouth/plymouthd.conf is not present
  * fix(lsinitrd, dracut-initramfs-restore): detect initrd for BLS Type #1 entries
  * ci: change openSUSE code owners
  * fix(dracut.sh): improve detection of installed kernel versions
  * feat: add openSUSE-specific code related to networking
  * feat(tpm2-tss): add openSUSE support
  * feat(pcsc): add openSUSE support
  * feat(convertfs): add openSUSE-specific code
  * feat(fips): add openSUSE-specific code
  * chore(suse): add openSUSE-specific modules

OBS-URL: https://build.opensuse.org/package/show/Base:System/dracut?expand=0&rev=574
2025-11-13 07:45:14 +00:00
9d449a5c58 Accepting request 1314931 from Base:System
OBS-URL: https://build.opensuse.org/request/show/1314931
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/dracut?expand=0&rev=249
2025-11-03 17:54:37 +00:00
a31803dec5 - Update to version 059+suse.769.g693ea004:
* fix(multipath): add udev rule 99-z-dm-mpath-late.rules
  * fix(dmsquash-live): install required stat binary
  * fix(systemd): install new dlopened libraries

OBS-URL: https://build.opensuse.org/package/show/Base:System/dracut?expand=0&rev=573
2025-10-31 16:25:09 +00:00
40c3c55a75 Accepting request 1306006 from Base:System
OBS-URL: https://build.opensuse.org/request/show/1306006
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/dracut?expand=0&rev=248
2025-09-20 20:03:54 +00:00
4f30b8a0e5 - Update to version 059+suse.762.g8903c5e2:
* fix(dracut.sh): check that custom fw search path exists before reading it
  * fix(fs-lib): include modules for charsets for working vfat support
  * fix(lsinitrd, dracut-initramfs-restore): detect initrd for BLS Type #1 entries (bsc#1248271)

OBS-URL: https://build.opensuse.org/package/show/Base:System/dracut?expand=0&rev=572
2025-09-19 12:52:54 +00:00
73adcb5924 Accepting request 1304089 from Base:System
OBS-URL: https://build.opensuse.org/request/show/1304089
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/dracut?expand=0&rev=247
2025-09-12 19:09:12 +00:00
951b8309af - Update to version 059+suse.757.g0d1d426d:
Additional fixes for PXE boot with filled-in NBFT (bsc#1238848):
  * fix(74nvmf): make sure autoconnect script is run at least once
  * fix(74nvmf): only set netroot if it's yet empty
  Other:
  * fix(dracut): library directory creation in --kernel-only
  * improvement(74nvmf): lookup required NIC kernel modules for NBFT interfaces
  * fix(kernel-modules-extra): remove stray \ before /
  * fix(dracut): use "-name" to avoid find matching temporary directory
  * feat(dracut.sh): output error message for --regenerate-all

OBS-URL: https://build.opensuse.org/package/show/Base:System/dracut?expand=0&rev=571
2025-09-11 13:25:20 +00:00
9 changed files with 104 additions and 21 deletions

View File

@@ -14,6 +14,7 @@ branch. Currently, these active maintenance branches are:
- SLE-15-SP7_Update -> SLE 15 SP7
- SL-Micro-6.0_Update -> SL Micro 6.0
- SL-Micro-6.1_Update -> SL Micro 6.1
- SLES-16.0_Update -> SLES 16.0 and SL Micro 6.2 (both share the same code)
- SLFO_Main -> SUSE Linux Framework One
- SUSE/059 -> Tumbleweed
@@ -136,7 +137,7 @@ MERGED b2c6b584 fix(dracut.sh): exit if resolving executable dependencies fails
d55fa823 ci: migrate from systemd-boot to systemd-utils in Gentoo container
403f4e8e ci: do not run test container generation on forked repos by default
MERGED 16855765 refactor(install): log about missing firmware only once
c46513fb test: increase test VM memory from 512M to 1024M to avoid OOM killer
MERGED c46513fb test: increase test VM memory from 512M to 1024M to avoid OOM killer
MERGED a804945f fix(integrity): do not require ls
e278a965 ci: match comment with code
9e1e9245 ci: automate release generation
@@ -201,7 +202,7 @@ MERGED afb5717e fix(kernel-modules): add interconnect drivers
d244b316 test(LVM-THIN): avoid thin pool size warning
739b9e1b ci: cleanup containers
ae7cd94b test: add empty default test_cleanup implementation
f1346763 test: move more common test code to test-functions
MERGED f1346763 test: move more common test code to test-functions
5ac581ef fix(resolve-deps): check the existing file—not the source
MERGED 07af8d58 fix(dracut-lib.sh): remove successful finished initqueue scripts
MERGED 7310a641 fix(udev-rules): remove firmware.rules
@@ -212,7 +213,7 @@ MERGED 07b49a3e fix(virtiofs): add virtio_pci kernel module to virtiofs
c08ae406 ci: install multipath-tools into openSuse container
d1187543 test: remove references of dhcpd3 from tests
1843c16c test: move test condition to test_check
006890a2 test: upgrade to ext4
MERGED 006890a2 test: upgrade to ext4
MERGED 86c8a5a7 fix(dracut-systemd): rootfs-generator cannot write outside of generator dir
MERGED acfa793b fix(dracut-systemd): check and create generator dir outside of inner function
MERGED a7c04716 fix(dracut-systemd): do not hardcode the systemd generator directory
@@ -429,3 +430,23 @@ b117013b fix: let check_vol_slaves_all return 1 when checks on all slaves fail
950475e8 fix(dmsquash-live): erofs collision with latest util-linux
fa17b6fb fix(systemd-udevd): handle root=gpt-auto for systemd-v258
4f6ca33d fix(dracut-util): crash if CMDLINE ends with quotation mark
3d58272e feat(dracut.sh): output error message for --regenerate-all
5c53a810 fix(dracut): use "-name" to avoid find matching temporary directory
614e9d34 fix(kernel-modules-extra): remove stray \ before /
82f7f7df improvement(74nvmf): lookup required NIC kernel modules for NBFT interfaces
52155dde fix(dracut): library directory creation in --kernel-only
1b11affd fix(74nvmf): only set netroot if it's yet empty
f879b04d fix(74nvmf): make sure autoconnect script is run at least once
51bd1331 fix(fs-lib): include modules for charsets for working vfat support
89dcdd91 fix(dracut.sh): check that custom fw search patch exists before reading it
46369b3b fix(dmsquash-live): install required stat binary
de8b63f5 fix(multipath): add udev rule 99-z-dm-mpath-late.rules
d464dcb8 test: switch to virtio for the QEMU drive
2df41817 test: switch to virtio for the QEMU drive
ef0972fe fix(systemd): move installation of libkmod to udev-rules module
a6df84b7 test: make the size of all test drives 512 MB
49a971b6 test(FULL SYSTEMD): no need to include dbus to the target rootfs
412807b6 test(FULL-SYSTEMD): use poweroff to shut down test
43648f08 test: move /failed to /run/failed as rootfs might be read-only
bf29f4b7 fix(nfs): do not execute logic in nfs hooks if netroot is not nfs
84c05fc6 fix(systemd-networkd): install and enable systemd-networkd-resolve-hook.socket

View File

@@ -6,6 +6,7 @@
<param name="versionformat">@PARENT_TAG@+suse.@TAG_OFFSET@.g%h</param>
<param name="extract">suse/dracut.spec</param>
<param name="extract">suse/README.susemaint</param>
<param name="extract">suse/dracut-rpm-tmpfiles.conf</param>
<param name="changesgenerate">enable</param>
</service>
<service name="set_version" mode="manual" />

View File

@@ -1,4 +1,4 @@
<servicedata>
<service name="tar_scm">
<param name="url">https://github.com/opensuse/dracut.git</param>
<param name="changesrevision">4d02131d01bf38b2b9615b3aa922c480e412178d</param></service></servicedata>
<param name="changesrevision">fb86123e85f21ae85ee799911ce64d5c6830004c</param></service></servicedata>

View File

@@ -1,3 +0,0 @@
version https://git-lfs.github.com/spec/v1
oid sha256:28a59773ef04fd259dce93009a51c1c9cf9e0b86964aa46c04c244cfb50e3427
size 2139660

View File

@@ -0,0 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:72849960b623738760756127e4c72e160e349e8f2bffde6dcec35302740f2421
size 2141196

3
dracut-rpm-tmpfiles.conf Normal file
View File

@@ -0,0 +1,3 @@
D /boot/dracut - - - -
D /var/lib/dracut - - - -
D /var/lib/dracut/overlay - - - -

View File

@@ -1,3 +1,63 @@
-------------------------------------------------------------------
Thu Jan 08 11:48:38 UTC 2026 - antonio.feijoo@suse.com
- Update to version 059+suse.787.gfb86123e:
* fix(dracut.spec): switch to tmpfiles based file creation (jsc#PED-14786)
-------------------------------------------------------------------
Fri Dec 19 09:30:07 UTC 2025 - antonio.feijoo@suse.com
- Update to version 059+suse.785.g17d177bb:
Fix and update testsuite (bsc#1254873):
* test(FULL-SYSTEMD): ignore errors in systemd-vconsole-setup.service
* test: move /failed to /run/failed as rootfs might be read-only
* test(FULL-SYSTEMD): use poweroff to shut down test
* test(FULL SYSTEMD): no need to include dbus to the target rootfs
* test: make the size of all test drives 512 MB
* fix(systemd): move installation of libkmod to udev-rules module
* test: switch to virtio for the QEMU drive
* test: switch to virtio for the QEMU drive
* test: increase test VM memory from 512M to 1024M to avoid OOM killer
* test: move more common test code to test-functions
* test: upgrade to ext4
Other:
* fix(systemd-networkd): install and enable systemd-networkd-resolve-hook.socket
* fix(nfs): do not execute logic in nfs hooks if netroot is not nfs (bsc#1253960)
-------------------------------------------------------------------
Fri Oct 31 16:19:43 UTC 2025 - antonio.feijoo@suse.com
- Update to version 059+suse.769.g693ea004:
* fix(multipath): add udev rule 99-z-dm-mpath-late.rules
* fix(dmsquash-live): install required stat binary
* fix(systemd): install new dlopened libraries
-------------------------------------------------------------------
Fri Sep 19 12:45:53 UTC 2025 - antonio.feijoo@suse.com
- Update to version 059+suse.762.g8903c5e2:
* fix(dracut.sh): check that custom fw search path exists before reading it
* fix(fs-lib): include modules for charsets for working vfat support
* fix(lsinitrd, dracut-initramfs-restore): detect initrd for BLS Type #1 entries (bsc#1248271)
-------------------------------------------------------------------
Thu Sep 11 12:54:38 UTC 2025 - antonio.feijoo@suse.com
- Update to version 059+suse.757.g0d1d426d:
Additional fixes for PXE boot with filled-in NBFT (bsc#1238848):
* fix(74nvmf): make sure autoconnect script is run at least once
* fix(74nvmf): only set netroot if it's yet empty
Other:
* fix(dracut): library directory creation in --kernel-only
* improvement(74nvmf): lookup required NIC kernel modules for NBFT interfaces
* fix(kernel-modules-extra): remove stray \ before /
* fix(dracut): use "-name" to avoid find matching temporary directory
* feat(dracut.sh): output error message for --regenerate-all
-------------------------------------------------------------------
Mon Aug 11 12:37:40 UTC 2025 - antonio.feijoo@suse.com

View File

@@ -1,4 +1,4 @@
name: dracut
version: 059+suse.749.g280c842e
mtime: 1754915762
commit: 280c842e6a84426b64f89be1af382f52723af58c
version: 059+suse.787.gfb86123e
mtime: 1767872468
commit: fb86123e85f21ae85ee799911ce64d5c6830004c

View File

@@ -1,7 +1,7 @@
#
# spec file for package dracut
#
# Copyright (c) 2025 SUSE LLC
# Copyright (c) 2026 SUSE LLC
#
# All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed
@@ -26,7 +26,7 @@
%endif
Name: dracut
Version: 059+suse.749.g280c842e
Version: 059+suse.787.gfb86123e
Release: 0
Summary: Event driven initramfs infrastructure
License: GPL-2.0-only AND GPL-2.0-or-later AND LGPL-2.1-or-later
@@ -35,6 +35,7 @@ URL: https://github.com/dracutdevs/dracut/wiki
Source0: dracut-%{version}.tar.xz
Source1: dracut-rpmlintrc
Source2: README.susemaint
Source3: dracut-rpm-tmpfiles.conf
BuildRequires: asciidoc
BuildRequires: bash
BuildRequires: cargo
@@ -70,7 +71,7 @@ Conflicts: btrfsprogs < 3.18
# suse-module-tools >= 15.4.7 is prepared for the removal of mkinitrd-suse.sh
Conflicts: suse-module-tools < 15.4.7
%{?systemd_requires}
Requires: (jq if nvme-cli)
Requires: (jq if (nvme-cli or systemd-boot or grub2-x86_64-efi-bls))
%description
Dracut contains tools to create a bootable initramfs for Linux kernels >= 2.6.
@@ -156,11 +157,6 @@ rm -rf %{buildroot}%{dracutlibdir}/modules.d/95znet
rm -rf %{buildroot}%{dracutlibdir}/modules.d/00warpclock
%endif
mkdir -p %{buildroot}/boot/dracut
mkdir -p %{buildroot}%{_localstatedir}/lib/dracut/overlay
mkdir -p %{buildroot}%{_localstatedir}/log
touch %{buildroot}%{_localstatedir}/log/dracut.log
install -D -m 0644 dracut.conf.d/suse.conf.example %{buildroot}%{dracutlibdir}/dracut.conf.d/01-dist.conf
install -m 0644 suse/99-debug.conf %{buildroot}%{_sysconfdir}/dracut.conf.d/99-debug.conf
%ifnarch %ix86
@@ -185,6 +181,10 @@ ln -s %{dracutlibdir}/modules.d/45ifcfg/write-ifcfg-redhat.sh %{buildroot}%{drac
# create a link to dracut-util to be able to parse kernel command line arguments at generation time
ln -s %{dracutlibdir}/dracut-util %{buildroot}%{dracutlibdir}/dracut-getarg
#switch to tmpfiles config
mkdir -p %{buildroot}%{_tmpfilesdir}
install -m 644 %{SOURCE3} %{buildroot}%{_tmpfilesdir}/dracut.conf
%post
# check whether /var/run has been converted to a symlink
if [ ! -L /var/run ]; then
@@ -265,9 +265,7 @@ rm -f /var/adm/fillup-templates/sysconfig.kernel-mkinitrd
%files tools
%{_bindir}/dracut-catimages
%{_mandir}/man8/dracut-catimages.8*
%dir /boot/dracut
%dir %{_localstatedir}/lib/dracut
%dir %{_localstatedir}/lib/dracut/overlay
%{_tmpfilesdir}/dracut.conf
%files extra
%license COPYING