]>
git.ipfire.org Git - thirdparty/dracut-ng.git/log
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
Jo Zzsi [Sat, 19 Oct 2024 23:42:03 +0000 (19:42 -0400)]
ci: remove remaining workarounds from the alpine container
Reorganize VMLINUZ detection to make the test pass again
on alpine after the container change.
Jo Zzsi [Sat, 14 Sep 2024 01:39:14 +0000 (21:39 -0400)]
chore(systemd): move steps into more specific dracut modules
Jo Zzsi [Fri, 18 Oct 2024 12:19:12 +0000 (08:19 -0400)]
ci: improve VMLINUZ and KVERSION detection
Pavel Valena [Wed, 16 Aug 2023 12:02:51 +0000 (14:02 +0200)]
feat(fips): include openssl's fips.so and openssl.cnf
Jochen Sprickerhof [Fri, 18 Oct 2024 17:33:56 +0000 (19:33 +0200)]
fix: remove extra bracket
Thanks: keentux
Jochen Sprickerhof [Thu, 17 Oct 2024 13:39:12 +0000 (15:39 +0200)]
improvement: allow other awk implementations
Jo Zzsi [Fri, 18 Oct 2024 10:43:11 +0000 (06:43 -0400)]
docs: move a section from the README to the generated docs
Jo Zzsi [Fri, 18 Oct 2024 11:29:34 +0000 (07:29 -0400)]
test: call lvm lvcreate with --yes
Avoid interactivity in CI. This change should prevent the following
prompt waiting for interactions
WARNING: ext4 signature detected on /dev/dracut/root at offset 1080. Wipe it? [y/n]:
Jo Zzsi [Fri, 18 Oct 2024 11:03:56 +0000 (07:03 -0400)]
chore: fix type in the labeler
Jo Zzsi [Fri, 18 Oct 2024 10:29:54 +0000 (06:29 -0400)]
chore: add recently introduced dracut modules
- squash-erofs
- squash-lib
- squash-squashfs
- hwdb
- fips-crypto-policies
Jo Zzsi [Fri, 18 Oct 2024 03:13:13 +0000 (23:13 -0400)]
docs: split guide.adoc into separate documents
Jo Zzsi [Fri, 18 Oct 2024 03:36:59 +0000 (23:36 -0400)]
chore: fix docs GitHub label rule
Jo Zzsi [Fri, 18 Oct 2024 01:15:21 +0000 (21:15 -0400)]
chore: remove dracut modules that are no longer supported
Ian Wienand [Fri, 18 Oct 2024 00:35:16 +0000 (11:35 +1100)]
docs: import modules guide from wiki
This is a import of the modules guide that is in the wiki to the generated
documentation site. Other than a couple of edits for layout this doesn't have
any content changes.
Ian Wienand [Fri, 18 Oct 2024 00:25:56 +0000 (11:25 +1100)]
docs: import developer info from wiki
This imports most of the unique developer information that is in the wiki into
the generated documentation site. Mostly this is around compatability and
reviews. I've not really reviewed the content, but just tried to find it a
logical home.
Ian Wienand [Thu, 17 Oct 2024 23:55:05 +0000 (10:55 +1100)]
docs: add origin story
Add the interesting origin story and some older presentation links to the main
documentation site
Jo Zzsi [Thu, 17 Oct 2024 23:43:28 +0000 (19:43 -0400)]
ci: upgrade GitHub actions to newer versions
Jo Zzsi [Fri, 18 Oct 2024 00:08:44 +0000 (20:08 -0400)]
ci: fix linting GitHub Action
Jo Zzsi [Thu, 17 Oct 2024 23:35:25 +0000 (19:35 -0400)]
ci: only run linting when it is useful
Ian Wienand [Thu, 17 Oct 2024 23:11:20 +0000 (10:11 +1100)]
docs: developer/bash formatting updates
Small formatting updates. Use "bash" as source type so it syntax highlights.
Ian Wienand [Thu, 17 Oct 2024 23:02:42 +0000 (10:02 +1100)]
docs: formatting for hacking package
This is a formatting update for the hacking package. The headers are nested
correctly, we've used some defintion lists where appropriate and fixed up a few
translation errors from the md->asciidoc conversion.
Ian Wienand [Thu, 17 Oct 2024 22:11:06 +0000 (09:11 +1100)]
docs: fix list in contributing
Make this a list to separate the items