]>
git.ipfire.org Git - thirdparty/dracut-ng.git/log
Jo Zzsi [Tue, 5 Nov 2024 12:16:57 +0000 (07:16 -0500)]
docs: remove unused file
Jo Zzsi [Tue, 5 Nov 2024 01:42:02 +0000 (20:42 -0500)]
test(BASIC): add support for zfs TEST_FSTYPE
Basic tests now installs the upstream version of
dracut modules on top of the dracut modules that comes with
the downstream distribution or other dowstream out of tree
dracut modules.
Jo Zzsi [Tue, 5 Nov 2024 02:56:54 +0000 (21:56 -0500)]
ci(void): set zfs as preferred fstype for testing
Use this as an opportunity to also install ncurses-base package
to get rid of terminfo dracut module warnings.
Jo Zzsi [Mon, 4 Nov 2024 02:56:46 +0000 (21:56 -0500)]
ci: revert label C files and only lint C files
Jo Zzsi [Mon, 4 Nov 2024 02:30:58 +0000 (21:30 -0500)]
ci: remove branch name that triggered a workflow_run
branch name is not populated for workflow_runs.
Jo Zzsi [Mon, 4 Nov 2024 02:04:06 +0000 (21:04 -0500)]
ci: fix labeler permission
Jo Zzsi [Mon, 4 Nov 2024 01:57:41 +0000 (20:57 -0500)]
ci: improve CI containers
Add pciutils for those containers that have the rdma out of tree dracut module
installed (pulled in by tgt package).
Add zfs and zfs out of tree dracut module as a preparation for zfs testing.
Ian Wienand [Wed, 16 Oct 2024 23:15:09 +0000 (10:15 +1100)]
docs: link man pages in doc site
Currently the man pages in the generated doc site don't link to each other. A
standard link: approach doesn't work that well when the target is both a groff
man page and the HTML site, as you don't want the links in the man page.
This is something other projects have faced, git in particular uses adoc for
man pages and the approach here is styled on its "gitlink:" macro. The .js
version is for Antora which uses the asciidoctorjs internally and there is an
asciidoc plugin for the man page generation. The ruby version is included just
in case we want to geneate man pages from asciidoctor directly one day.
For the HTML output it is a link to the page (or, can be marked for external
looukup for other tools). For the man pages, it's just a usual "strong" text.
I've been through the existing references to convert them to the new macro.
Jo Zzsi [Mon, 4 Nov 2024 00:40:15 +0000 (19:40 -0500)]
ci: label C files and only lint C files
Jo Zzsi [Mon, 4 Nov 2024 00:05:45 +0000 (19:05 -0500)]
chore: maintain inst_fsck_help for compatibility as an empty function
Jo Zzsi [Sun, 3 Nov 2024 23:17:50 +0000 (18:17 -0500)]
test: manual test runs now test make install cleaninstall as well
Jo Zzsi [Sun, 3 Nov 2024 22:39:36 +0000 (17:39 -0500)]
ci: run publish after labeler
Jo Zzsi [Sun, 3 Nov 2024 13:26:12 +0000 (08:26 -0500)]
ci: test building documentation as a separate job
Jo Zzsi [Sun, 3 Nov 2024 15:03:00 +0000 (10:03 -0500)]
docs: promote modules as its own page
Module development is relevant for users of dracut as well for
writing third party out of tree dracut modules.
Jo Zzsi [Sun, 3 Nov 2024 12:05:55 +0000 (07:05 -0500)]
ci: run syncheck job only after basic test passed
Prioritize running basic tests over syncheck.
Jo Zzsi [Fri, 13 Sep 2024 03:33:32 +0000 (23:33 -0400)]
chore: remove inst_fsck_help
Jo Zzsi [Sat, 2 Nov 2024 20:09:17 +0000 (16:09 -0400)]
ci: extended integration tests
Allow the test to run manually. It also scheduled to runs once a day.
Jo Zzsi [Sat, 2 Nov 2024 18:17:24 +0000 (14:17 -0400)]
feat(configure): let's build dracut-cpio if cargo is installed
dracut-cpio is now enabled on many distributions (openSUSE, Arch, Fedora),
so let's make it the default.
Jo Zzsi [Sat, 2 Nov 2024 15:30:31 +0000 (11:30 -0400)]
docs: update information on test containers
This information made more sense on the wiki, and more accurate
information is now available as a comment in the Dockerfiles.
Jo Zzsi [Sat, 2 Nov 2024 16:10:59 +0000 (12:10 -0400)]
ci: enable compression during test run for coverage
Jo Zzsi [Sat, 2 Nov 2024 13:12:01 +0000 (09:12 -0400)]
ci: resolve regression with void container
Jo Zzsi [Sat, 2 Nov 2024 04:35:34 +0000 (00:35 -0400)]
ci: optimize test containers
Make containers more intentional and optimized without
loosing test coverage.
Add documentation for each container.
Jo Zzsi [Fri, 1 Nov 2024 15:32:11 +0000 (11:32 -0400)]
fix(qemu-net): align check logic between qemu modules
Jo Zzsi [Mon, 28 Oct 2024 12:18:37 +0000 (08:18 -0400)]
fix(plymouth): do not depend on dpkg-architecture
Jo Zzsi [Fri, 1 Nov 2024 15:27:39 +0000 (11:27 -0400)]
ci: make sure systemd-sysv is installed in Debian/Ubuntu containers
Jo Zzsi [Fri, 1 Nov 2024 12:51:58 +0000 (08:51 -0400)]
ci: make the Debian and Ubuntu CI containers more similar
The goal is to help with ongoing maintenance, by keeping them as similar
as possible.
Jo Zzsi [Fri, 1 Nov 2024 12:23:48 +0000 (08:23 -0400)]
ci: remove git from CI containers
git is not required to build dracut or run the tests.
remove some other packages that are not used during the CI run anyways.
Ian Wienand [Mon, 28 Oct 2024 02:11:11 +0000 (13:11 +1100)]
docs(bash): remove section on optional args
It's unclear under what circumstances these examples are appropriate and they
are somewhat conflicting with standard use of :+/+ in parameter expansions (see
the issue).
Rather than trying to be overally perscriptive about this, just remove it. We
should make sure to add more explicit reasoning if we add things back in here.
Closes: https://github.com/dracut-ng/dracut-ng/issues/701
Andrew Ammerlaan [Thu, 31 Oct 2024 10:28:37 +0000 (11:28 +0100)]
fix(dracut.sh): ensure abs path for objcopy args
Closes: https://github.com/dracut-ng/dracut-ng/issues/833
Signed-off-by: Andrew Ammerlaan <andrewammerlaan@gentoo.org>
Jo Zzsi [Thu, 31 Oct 2024 21:00:09 +0000 (17:00 -0400)]
docs: revert installing asciidoctor in CI container
Jo Zzsi [Thu, 31 Oct 2024 22:31:39 +0000 (18:31 -0400)]
fix(kernel-network-modules): if running inside vm, include qemu-net
This change also allows to make the network meta module simply just
make a decision on which netowkring module to use.
Jo Zzsi [Thu, 31 Oct 2024 16:31:51 +0000 (12:31 -0400)]
test: check for mkfs.btrfs when test depends on it
Jo Zzsi [Thu, 31 Oct 2024 16:10:02 +0000 (12:10 -0400)]
ci: add erofs-utils to the centos stream container
Remove some filesystem-util packages that currently not used by the CI
to minimize the difference between fedora and centos stream containers
Jo Zzsi [Wed, 30 Oct 2024 23:43:58 +0000 (19:43 -0400)]
fix(systemd-networkd): depend on net-lib
Jo Zzsi [Thu, 31 Oct 2024 13:35:33 +0000 (09:35 -0400)]
test: check for dhclient for server networking
Manuel Fombuena [Thu, 31 Oct 2024 12:01:46 +0000 (12:01 +0000)]
fix(pcsc): add libpcsclite_real.so.*
systemd-cryptsetup requires libpcsclite_real.so.1
Without it you get the following error:
systemd-cryptsetup[697]: loading "libpcsclite_real.so.1" failed: libpcsclite_real.so.1: cannot open shared object file: No such file or directory
Signed-off-by: Manuel Fombuena <fombuena@outlook.com>
Jo Zzsi [Thu, 31 Oct 2024 13:19:28 +0000 (09:19 -0400)]
ci: upgrade centos stream to 10
Martin Wilck [Wed, 30 Oct 2024 20:51:40 +0000 (21:51 +0100)]
fix(dm): remove 59-persistent-storage-dm.rules
59-persistent-storage-dm.rules has been obsolete for a long time.
The blkid builtin is run from 13-dm.rules. The "dmsetup info" call
in this file is actually harmful, because it overrides properties
that have already been set in 10-dm.rules, in particular DM_SUSPENDED,
to which it assigns a string like "Active" or "Suspended", whereas
the stock DM rules and systemd rules expect the property to have
the value "0", or "1", respectively.
Signed-off-by: Martin Wilck <mwilck@suse.com>
Jo Zzsi [Thu, 31 Oct 2024 04:14:38 +0000 (00:14 -0400)]
ci: only install part of qemu that is needed to run the CI
Jo Zzsi [Thu, 31 Oct 2024 03:49:26 +0000 (23:49 -0400)]
ci: test dash only on Debian/Ubuntu CI
dash is default on Debian/Ubuntu and no testcase requires dash anymore.
Removed astyle as well as it is was never needed to run the CI.
Jo Zzsi [Thu, 31 Oct 2024 03:22:40 +0000 (23:22 -0400)]
ci: remove rpm-build
Jo Zzsi [Wed, 30 Oct 2024 23:40:08 +0000 (19:40 -0400)]
ci: centos stream container
Jo Zzsi [Tue, 29 Oct 2024 22:41:11 +0000 (18:41 -0400)]
docs: typos
Jo Zzsi [Tue, 29 Oct 2024 13:31:44 +0000 (09:31 -0400)]
ci: add enviroment variable for make target
Jo Zzsi [Tue, 29 Oct 2024 16:37:11 +0000 (12:37 -0400)]
chore: remove remaining references to test img files
Jo Zzsi [Tue, 29 Oct 2024 19:23:26 +0000 (15:23 -0400)]
chore: do not require syncheck as part of check target
Jo Zzsi [Tue, 29 Oct 2024 16:29:21 +0000 (12:29 -0400)]
fix(Makefile): path for make clean
Jo Zzsi [Tue, 29 Oct 2024 00:02:00 +0000 (20:02 -0400)]
test: set rd.timeout for the test runs
The goal is to make sure test do not get stuck forever and instead
they timeout (and fail).
Jo Zzsi [Sun, 27 Oct 2024 17:10:29 +0000 (13:10 -0400)]
test: only enable tracing if V(erbose) is set to 2
Jo Zzsi [Sun, 27 Oct 2024 22:02:23 +0000 (18:02 -0400)]
test: add docker as a fallback in addition to podman
Jo Zzsi [Sun, 27 Oct 2024 20:56:13 +0000 (16:56 -0400)]
ci: remove cargo from alpine to test packaging without cargo
Jo Zzsi [Sun, 27 Oct 2024 14:24:55 +0000 (10:24 -0400)]
test: remove obsolete workarounds
Jo Zzsi [Sun, 27 Oct 2024 14:03:05 +0000 (10:03 -0400)]
ci: when test stuck, fail faster
Jo Zzsi [Sun, 27 Oct 2024 00:06:38 +0000 (20:06 -0400)]
fix(lvmthinpool-monitor): make sure systemd is included
Jo Zzsi [Sat, 26 Oct 2024 11:42:01 +0000 (07:42 -0400)]
perf(systemd): remove crypto API kernel modules
See https://github.com/systemd/systemd/commit/
2c3794f4228162c9bfd9e10886590d9f5b1920d7
This change was made in systemd v252.
Jo Zzsi [Sun, 6 Oct 2024 23:43:16 +0000 (19:43 -0400)]
fix(systemd): include dmi-sysfs
See https://github.com/systemd/systemd/blob/main/src/core/kmod-setup.c#L145
Improve test case to make sure it is tested.
Jo Zzsi [Fri, 25 Oct 2024 05:07:16 +0000 (01:07 -0400)]
ci: resolve regression on configure arguments
Regression introduced in
8d895dec726d665d152f1e2fba575e958cebb778
Jo Zzsi [Fri, 25 Oct 2024 04:55:57 +0000 (00:55 -0400)]
test(IMSM): improve dependency checking for the test
Jo Zzsi [Fri, 25 Oct 2024 04:10:39 +0000 (00:10 -0400)]
ci: remove packages from alpine container that does not add value
Remove ntfs-3g and erofs-utils as the corresponding kernel
modules are not enabled with linux-virt.
Remove multipath-tools as it does not work well.
Jo Zzsi [Sat, 19 Oct 2024 13:48:55 +0000 (09:48 -0400)]
test(RAID-DEG): reenable systemd for this test
Ian Wienand [Fri, 25 Oct 2024 02:42:25 +0000 (13:42 +1100)]
docs: document --force-add precedence over --omit
Following-on from the dependent PR, this adds some documentation for
--force-add and it's relationship to --omit.
Depends-On: https://github.com/dracut-ng/dracut-ng/pull/584
Ian Wienand [Fri, 25 Oct 2024 02:33:13 +0000 (13:33 +1100)]
docs: add console tag to usage
This adds the "console" tag to console-type examples for
highlighting/copy-paste-ability in the generated site.
Pavel Valena [Fri, 16 Aug 2024 23:43:50 +0000 (01:43 +0200)]
feat(dracut-init.sh): give --force-add precedence over --omit
This gives precedence of force_add_dracutmodules to omit_dracutmodules,
as there is not other way to override omit_dracutmodules list, and users
would expect it to be overriden from command line.
Ref: https://github.com/dracut-ng/dracut-ng/pull/569
This way, `--add` retains it behaviour, and `--force-add` gains additional
functionality in non-hostonly mode. The module may still be skipped
if the module check returns 1, but it should throw error (as I'd expect
for `--force-add`).
Ref: https://issues.redhat.com/browse/RHEL-26114
Jo Zzsi [Thu, 24 Oct 2024 13:39:03 +0000 (09:39 -0400)]
fix(dracut-systemd): unquote variable in udev conf
Pavel Valena [Fri, 16 Aug 2024 18:40:15 +0000 (20:40 +0200)]
feat(lsinitrd.sh): look for initrd in /usr/lib/modules/
Introduce new path for lsinitrd.sh to look into:
/usr/lib/modules/$kver/initramfs.img
Which is valid on all ostree-based systems, and also other image based
systems with pre-generated initramfs.
Ref: https://issues.redhat.com/browse/RHEL-35890
Jo Zzsi [Thu, 24 Oct 2024 23:08:00 +0000 (19:08 -0400)]
ci: release process no longer needs to generate dracut.html
Jo Zzsi [Thu, 24 Oct 2024 23:17:26 +0000 (19:17 -0400)]
chore: remove remaining old test infrastructure
Jo Zzsi [Thu, 24 Oct 2024 22:47:53 +0000 (18:47 -0400)]
ci: optimize Void container
Take advantage of recent change at
https://github.com/void-linux/void-packages/pull/51814/ .
Jo Zzsi [Thu, 24 Oct 2024 22:39:14 +0000 (18:39 -0400)]
ci: use apt-get instead of apt for
This resolves a warning from apt and provides greater compatibility.
Jo Zzsi [Thu, 24 Oct 2024 16:01:31 +0000 (12:01 -0400)]
chore: remove unused function
Jo Zzsi [Thu, 24 Oct 2024 16:09:48 +0000 (12:09 -0400)]
ci: only run syncheck once
This change also allows to simplify and unify test containers.
Jo Zzsi [Thu, 24 Oct 2024 12:37:36 +0000 (08:37 -0400)]
chore(systemd-cryptsetup): improve warning message
Jo Zzsi [Thu, 24 Oct 2024 13:10:43 +0000 (09:10 -0400)]
ci: exclude flaky test
Jo Zzsi [Thu, 24 Oct 2024 12:25:08 +0000 (08:25 -0400)]
ci: add alpine:edge to the container selection dropdown
Jo Zzsi [Thu, 24 Oct 2024 12:21:32 +0000 (08:21 -0400)]
ci: remove dash from alpine container to increase test coverage
Jo Zzsi [Thu, 24 Oct 2024 01:09:05 +0000 (21:09 -0400)]
ci: add systemd-repart to Debian/Ubuntu rolling
Jo Zzsi [Wed, 23 Oct 2024 21:49:06 +0000 (17:49 -0400)]
ci: install newly created systemd-cryptsetup into Debian/Ubuntu containers
Jo Zzsi [Wed, 23 Oct 2024 00:35:27 +0000 (20:35 -0400)]
feat(Makefile): cleaninstall target
Jo Zzsi [Wed, 23 Oct 2024 15:44:20 +0000 (11:44 -0400)]
ci: add alpine:edge to increase coverage
Ian Wienand [Tue, 22 Oct 2024 23:55:38 +0000 (10:55 +1100)]
docs: also install asciidoctor in container
This is a pre-requirement change to enable building man pages with an
asciidoctor toolchain in CI.
Jo Zzsi [Mon, 21 Oct 2024 15:32:53 +0000 (11:32 -0400)]
test: make documentation as part of test runs
Jo Zzsi [Tue, 22 Oct 2024 02:44:53 +0000 (22:44 -0400)]
ci: re-trigger container generation
This is only required this one time due to recent container changes.
Jo Zzsi [Tue, 22 Oct 2024 01:28:43 +0000 (21:28 -0400)]
ci: integration tests for arm64
Ian Wienand [Mon, 21 Oct 2024 23:59:38 +0000 (10:59 +1100)]
docs: index page rework
This reworks the index page, which currently has a couple of missing words and
doesn't flow that well.
I've tried to update the references a bit and rework it so that someone with a
basic Linux knowledge but not specifically dracut boot experience could get a
sense of what is going on reading top-to-bottom.
Ian Wienand [Mon, 21 Oct 2024 22:36:54 +0000 (09:36 +1100)]
docs: update footer
Reduce the footer that appears on every page; keep a vanity link to Antora and
add a small aphorism to make the flexbox justify out the content :)
Jo Zzsi [Mon, 21 Oct 2024 23:01:59 +0000 (19:01 -0400)]
ci: make sure containers are tagged
Jo Zzsi [Mon, 21 Oct 2024 16:37:24 +0000 (12:37 -0400)]
ci: install asciidoc into Gentoo container
All other CI containers have asciidoc installed.
This enable testing document generation upstream.
Jo Zzsi [Mon, 21 Oct 2024 20:12:54 +0000 (16:12 -0400)]
ci: move long to build containers to extra
Jo Zzsi [Mon, 21 Oct 2024 19:31:23 +0000 (15:31 -0400)]
ci: fix tags for dev containers
Jo Zzsi [Mon, 21 Oct 2024 19:42:48 +0000 (15:42 -0400)]
ci: do not build amd64 bit images with qemu
This significantly improves performance.
Only build arm64 images after amd64 finished successfully..
Benjamin Drung [Mon, 21 Oct 2024 18:51:49 +0000 (20:51 +0200)]
fix(01fips-crypto-policies): use /bin in shebang
lintian complaints on Debian/Ubuntu:
```
E: dracut-core: wrong-path-for-interpreter /usr/bin/bash != /bin/bash [usr/lib/dracut/modules.d/01fips-crypto-policies/module-setup.sh]
E: dracut-core: wrong-path-for-interpreter /usr/bin/sh != /bin/sh [usr/lib/dracut/modules.d/01fips-crypto-policies/fips-crypto-policies.sh]
```
Even for usr-merged setup, the shells should be found in `/bin`.
Jo Zzsi [Sun, 20 Oct 2024 18:32:51 +0000 (14:32 -0400)]
chore: no need to export UDEVRULESD
Jo Zzsi [Mon, 21 Oct 2024 12:52:51 +0000 (08:52 -0400)]
chore: inst_rules_wildcard is no longer used
Jo Zzsi [Mon, 21 Oct 2024 12:39:28 +0000 (08:39 -0400)]
ci: limit when Publish to GitHub Pages needs to run
Do not run the action if all changes are below the following directories:
- 'modules.d/**'
- 'test/**'
- 'src/**'
Jo Zzsi [Mon, 21 Oct 2024 03:03:03 +0000 (23:03 -0400)]
ci: add latest distribution images
Build the following containers and add them as manual testing options.
- fedora:rawhide
- debian:sid
- ubuntu:rolling
Jo Zzsi [Mon, 21 Oct 2024 11:55:40 +0000 (07:55 -0400)]
fix: set initrd-release in the base module
This resolves a regression introduced by
5bf724fa217ccd6011be4341d30eca05427b3415 .
Jo Zzsi [Sun, 20 Oct 2024 14:01:40 +0000 (10:01 -0400)]
ci: remove gawk dependency from alpine container
This change switches awk to the busybox implementation.
Jo Zzsi [Sun, 20 Oct 2024 00:37:03 +0000 (20:37 -0400)]
ci: only run other jobs after basic tests passed
Jo Zzsi [Sun, 20 Oct 2024 02:02:12 +0000 (22:02 -0400)]
ci: re-enable one workaround to handle enable-split-usr
See https://gitlab.alpinelinux.org/alpine/aports/-/issues/14610
Jo Zzsi [Sun, 20 Oct 2024 00:18:48 +0000 (20:18 -0400)]
ci: install plymouth theme into alpine container
This PR resolves the following error
dracut[I]: *** Including module: plymouth ***
grep: /usr/share/plymouth/themes/text/text.plymouth: No such file or directory
grep: /usr/share/plymouth/themes/text/text.plymouth: No such file or directory
grep: /usr/share/plymouth/themes/text/text.plymouth: No such file or directory
grep: /usr/share/plymouth/themes/text/text.plymouth: No such file or directory
grep: /usr/share/plymouth/themes/text/text.plymouth: No such file or directory
The default plymouth plugin () doesn't exist