]>
git.ipfire.org Git - thirdparty/dracut.git/log
Evgeni Golov [Sat, 13 Feb 2021 20:40:47 +0000 (21:40 +0100)]
fix: skip empty modalias files in drm module setup
on my system (ThinkPad X201s) I have several modalias entries that are
empty:
/sys/bus/platform/devices/dock.0/modalias
/sys/bus/platform/devices/dock.1/modalias
/sys/bus/platform/devices/dock.2/modalias
executing the drm module setup thus results in the following errors
dracut-install: No SOURCE argument given
when calling dracut_instmods and hostonly mode is enabled.
Skip those entries, as there are no modules to load in this case
anyways.
Note: it is not sufficient to use [['s -s test (file size is greater
than zero), as all those files are 4096B if you stat them.
Lukas Nykryn [Thu, 4 Feb 2021 09:15:45 +0000 (10:15 +0100)]
fix(network-manager): run as a service if systemd module is present
In the current state, services that depend on network need to
use dracut hooks, since nothing with pull in the network
targets into the transaction.
In the future, it would be nice to provide developers on systemd-only
systems the possibility to not use dracut hooks at all, but simply put
normal systemd services into the initrd.
Also, some modules even right now depend on systemd ordering, like
cryptsetup, so let's make sure, that the ordering inside systemd work
properly as well.
Lukas Nykryn [Wed, 10 Feb 2021 09:27:27 +0000 (10:27 +0100)]
fix(network-manager): rework how NM is started in debug mode
Instead of running directly NM with --debug, create a drop-in in
nm-config.sh. This will make sure, that we can get the debug output
regardless the way how NM will be started.
Lukas Nykryn [Thu, 18 Feb 2021 10:23:41 +0000 (11:23 +0100)]
fix(fcoe): rename rd.nofcoe to rd.fcoe
The current name of this bool is kinda stupid. Based on the manpage
setting it to 0 turns off fcoe, which means that nofcoe=1 should mean
that it is on.
Let's just do the same thing as with rd.lvm=0, rd.luks=0,....
Lukas Nykryn [Thu, 18 Feb 2021 10:01:31 +0000 (11:01 +0100)]
fix(fcoe): rd.nofcoe=0 should disable fcoe
8446c8f9 Changed the default behavior, but also flipped meaning of 0/1.
Right now rd.nofcoe=0 enables fcoe, which is the opposite what manpage
says.
Andrew J. Hesford [Thu, 18 Feb 2021 23:53:15 +0000 (18:53 -0500)]
fix: proper return code for inst_multiple in dracut-init.sh
A test of the form
if ! command; then
_ret=$?
...
return _ret
fi
does not capture the return code of `command`, but the negation of the
return code, leaving _ret == 0. The test of this form in inst_multiple
has been refactored to capture and return the right value.
Tomasz Paweł Gajc [Wed, 17 Feb 2021 14:55:11 +0000 (15:55 +0100)]
chore: update authors in .mailmap
Harald Hoyer [Tue, 16 Feb 2021 14:16:41 +0000 (15:16 +0100)]
fix(i18n): get rid of `eval` calls
By changing KBDSUBDIRS to a bash array, all kinds of `eval` quirks are
avoided.
Harald Hoyer [Tue, 16 Feb 2021 13:17:50 +0000 (14:17 +0100)]
fix(i18n): create the keyboard symlinks again
Invalid space broke the creation of the keyboard subdirectories,
leading to a symbolic link
usr/share/consolefonts,consoletrans,keymaps,unimaps ->
/usr/lib/kbd/consolefonts,consoletrans,keymaps,unimaps
in the created initramfs.
With this fix the correct symlinks are created again:
usr/share/consolefonts -> /usr/lib/kbd/consolefonts
usr/share/consoletrans -> /usr/lib/kbd/consoletrans
usr/share/keymaps -> /usr/lib/kbd/keymaps
usr/share/unimaps -> /usr/lib/kbd/unimaps
Jóhann B. Guðmundsson [Sun, 14 Feb 2021 20:21:58 +0000 (20:21 +0000)]
fix(github): exempt issues with the label bug
Let's exempt issues with the label bugs being processed by stalebot.
Harald Hoyer [Tue, 16 Feb 2021 07:50:08 +0000 (08:50 +0100)]
docs: update docs/RELEASE.md
Harald Hoyer [Mon, 15 Feb 2021 14:58:57 +0000 (15:58 +0100)]
docs: update NEWS.md and AUTHORS
Harald Hoyer [Mon, 15 Feb 2021 15:18:33 +0000 (16:18 +0100)]
chore: add `CONTRIBUTORS` target to Makefile
Harald Hoyer [Mon, 15 Feb 2021 14:58:38 +0000 (15:58 +0100)]
docs: update docs/RELEASE.md
Harald Hoyer [Mon, 15 Feb 2021 14:18:24 +0000 (15:18 +0100)]
docs: move NEWS to NEWS.md
Harald Hoyer [Mon, 15 Feb 2021 12:02:03 +0000 (13:02 +0100)]
ci: force binary files for grep on disk images
Because some of the CI tests fail randomly while grepping for the
test success marker, let's be specific of the file format grep will
search to eleminate all failure sources.
Jóhann B. Guðmundsson [Wed, 10 Feb 2021 20:18:17 +0000 (20:18 +0000)]
docs: RELEASE.md
Creating the /docs directory which will contain all project related
documentation and will also host the projects github based website
in the future.
Adding RELEASE.md which is a document that outlines the release process.
Harald Hoyer [Fri, 12 Feb 2021 12:53:34 +0000 (13:53 +0100)]
fix: shellcheck for dracut-init.sh
Harald Hoyer [Fri, 12 Feb 2021 12:53:25 +0000 (13:53 +0100)]
fix: shellcheck for dracut-init.sh
Harald Hoyer [Fri, 12 Feb 2021 12:53:15 +0000 (13:53 +0100)]
fix: shellcheck for dracut-init.sh
Harald Hoyer [Fri, 12 Feb 2021 12:53:07 +0000 (13:53 +0100)]
fix: shellcheck for dracut-init.sh
Harald Hoyer [Fri, 12 Feb 2021 12:26:09 +0000 (13:26 +0100)]
fix: shellcheck for dracut-init.sh
Harald Hoyer [Fri, 12 Feb 2021 12:50:47 +0000 (13:50 +0100)]
fix: shellcheck for dracut.sh
Harald Hoyer [Fri, 12 Feb 2021 12:50:44 +0000 (13:50 +0100)]
fix: shellcheck for dracut.sh
Harald Hoyer [Fri, 12 Feb 2021 12:50:35 +0000 (13:50 +0100)]
fix: shellcheck for dracut.sh
Harald Hoyer [Fri, 12 Feb 2021 12:50:25 +0000 (13:50 +0100)]
fix: shellcheck for dracut.sh
Harald Hoyer [Fri, 12 Feb 2021 12:50:16 +0000 (13:50 +0100)]
fix: shellcheck for dracut.sh
Harald Hoyer [Fri, 12 Feb 2021 12:50:05 +0000 (13:50 +0100)]
fix: shellcheck for dracut.sh
Harald Hoyer [Fri, 12 Feb 2021 12:26:09 +0000 (13:26 +0100)]
fix: shellcheck for dracut.sh
Harald Hoyer [Fri, 12 Feb 2021 12:26:09 +0000 (13:26 +0100)]
fix: shellcheck for dracut-functions.sh
Harald Hoyer [Fri, 12 Feb 2021 12:26:09 +0000 (13:26 +0100)]
fix: shellcheck for dracut-logger.sh
Harald Hoyer [Fri, 12 Feb 2021 12:26:14 +0000 (13:26 +0100)]
fix: shellcheck for modules.d/99squash/module-setup.sh
Harald Hoyer [Fri, 12 Feb 2021 12:26:14 +0000 (13:26 +0100)]
fix: shellcheck for modules.d/99squash/clear-squash.sh
Harald Hoyer [Fri, 12 Feb 2021 12:26:14 +0000 (13:26 +0100)]
fix: shellcheck for modules.d/99fs-lib/module-setup.sh
Harald Hoyer [Fri, 12 Feb 2021 12:26:14 +0000 (13:26 +0100)]
fix: shellcheck for modules.d/99base/module-setup.sh
Harald Hoyer [Fri, 12 Feb 2021 12:26:14 +0000 (13:26 +0100)]
fix: shellcheck for modules.d/99base/dracut-lib.sh
Harald Hoyer [Fri, 12 Feb 2021 12:26:13 +0000 (13:26 +0100)]
fix: shellcheck for modules.d/95zfcp_rules/parse-zfcp.sh
Harald Hoyer [Fri, 12 Feb 2021 12:26:13 +0000 (13:26 +0100)]
fix: shellcheck for modules.d/95udev-rules/module-setup.sh
Harald Hoyer [Fri, 12 Feb 2021 12:26:13 +0000 (13:26 +0100)]
fix: shellcheck for modules.d/95terminfo/module-setup.sh
Harald Hoyer [Fri, 12 Feb 2021 12:26:13 +0000 (13:26 +0100)]
fix: shellcheck for modules.d/95ssh-client/module-setup.sh
Harald Hoyer [Fri, 12 Feb 2021 12:26:13 +0000 (13:26 +0100)]
fix: shellcheck for modules.d/95rootfs-block/block-genrules.sh
Harald Hoyer [Fri, 12 Feb 2021 12:26:13 +0000 (13:26 +0100)]
fix: shellcheck for modules.d/95resume/module-setup.sh
Harald Hoyer [Fri, 12 Feb 2021 12:26:13 +0000 (13:26 +0100)]
fix: shellcheck for modules.d/95nfs/module-setup.sh
Harald Hoyer [Fri, 12 Feb 2021 12:26:13 +0000 (13:26 +0100)]
fix: shellcheck for modules.d/95iscsi/cleanup-iscsi.sh
Harald Hoyer [Fri, 12 Feb 2021 12:26:13 +0000 (13:26 +0100)]
fix: shellcheck for modules.d/95fstab-sys/module-setup.sh
Harald Hoyer [Fri, 12 Feb 2021 12:26:13 +0000 (13:26 +0100)]
fix: shellcheck for modules.d/95fcoe/module-setup.sh
Harald Hoyer [Fri, 12 Feb 2021 12:26:13 +0000 (13:26 +0100)]
fix: shellcheck for modules.d/95fcoe/cleanup-fcoe.sh
Harald Hoyer [Fri, 12 Feb 2021 12:26:12 +0000 (13:26 +0100)]
fix: shellcheck for modules.d/95debug/module-setup.sh
Harald Hoyer [Fri, 12 Feb 2021 12:26:12 +0000 (13:26 +0100)]
fix: shellcheck for modules.d/95dcssblk/module-setup.sh
Harald Hoyer [Fri, 12 Feb 2021 12:26:12 +0000 (13:26 +0100)]
fix: shellcheck for modules.d/95dasd_rules/parse-dasd.sh
Harald Hoyer [Fri, 12 Feb 2021 12:26:12 +0000 (13:26 +0100)]
fix: shellcheck for modules.d/95cifs/module-setup.sh
Harald Hoyer [Fri, 12 Feb 2021 12:26:12 +0000 (13:26 +0100)]
fix: shellcheck for modules.d/95cifs/cifsroot.sh
Harald Hoyer [Fri, 12 Feb 2021 12:26:12 +0000 (13:26 +0100)]
fix: shellcheck for modules.d/91crypt-gpg/module-setup.sh
Harald Hoyer [Fri, 12 Feb 2021 12:26:12 +0000 (13:26 +0100)]
fix: shellcheck for modules.d/90mdraid/module-setup.sh
Harald Hoyer [Fri, 12 Feb 2021 12:26:12 +0000 (13:26 +0100)]
fix: shellcheck for modules.d/90mdraid/mdraid_start.sh
Harald Hoyer [Fri, 12 Feb 2021 12:26:12 +0000 (13:26 +0100)]
fix: shellcheck for modules.d/90lvm/module-setup.sh
Harald Hoyer [Fri, 12 Feb 2021 12:26:12 +0000 (13:26 +0100)]
fix: shellcheck for modules.d/90lvm/lvm_scan.sh
Harald Hoyer [Fri, 12 Feb 2021 12:26:12 +0000 (13:26 +0100)]
fix: shellcheck for modules.d/90kernel-network-modules/module-setup.sh
Harald Hoyer [Fri, 12 Feb 2021 12:26:11 +0000 (13:26 +0100)]
fix: shellcheck for modules.d/90kernel-modules-extra/module-setup.sh
Harald Hoyer [Fri, 12 Feb 2021 12:26:11 +0000 (13:26 +0100)]
fix: shellcheck for modules.d/90dmsquash-live/apply-live-updates.sh
Harald Hoyer [Fri, 12 Feb 2021 12:26:11 +0000 (13:26 +0100)]
fix: shellcheck for modules.d/90dm/module-setup.sh
Harald Hoyer [Fri, 12 Feb 2021 12:26:11 +0000 (13:26 +0100)]
fix: shellcheck for modules.d/90crypt/module-setup.sh
Harald Hoyer [Fri, 12 Feb 2021 12:26:11 +0000 (13:26 +0100)]
fix: shellcheck for modules.d/90btrfs/btrfs_finished.sh
Harald Hoyer [Fri, 12 Feb 2021 12:26:11 +0000 (13:26 +0100)]
fix: shellcheck for modules.d/90btrfs/btrfs_device_ready.sh
Harald Hoyer [Fri, 12 Feb 2021 12:26:11 +0000 (13:26 +0100)]
fix: shellcheck for modules.d/50plymouth/plymouth-populate-initrd.sh
Harald Hoyer [Fri, 12 Feb 2021 12:26:11 +0000 (13:26 +0100)]
fix: shellcheck for modules.d/50gensplash/module-setup.sh
Harald Hoyer [Fri, 12 Feb 2021 12:26:11 +0000 (13:26 +0100)]
fix: shellcheck for modules.d/45url-lib/url-lib.sh
Harald Hoyer [Fri, 12 Feb 2021 12:26:11 +0000 (13:26 +0100)]
fix: shellcheck for modules.d/40network/net-lib.sh
Harald Hoyer [Fri, 12 Feb 2021 12:26:10 +0000 (13:26 +0100)]
fix: shellcheck for modules.d/40network/module-setup.sh
Harald Hoyer [Fri, 12 Feb 2021 12:26:10 +0000 (13:26 +0100)]
fix: shellcheck for modules.d/10i18n/parse-i18n.sh
Harald Hoyer [Fri, 12 Feb 2021 12:26:10 +0000 (13:26 +0100)]
fix: shellcheck for modules.d/10i18n/module-setup.sh
Harald Hoyer [Fri, 12 Feb 2021 12:26:10 +0000 (13:26 +0100)]
fix: shellcheck for modules.d/06dbus-daemon/module-setup.sh
Harald Hoyer [Fri, 12 Feb 2021 12:26:10 +0000 (13:26 +0100)]
fix: shellcheck for modules.d/03modsign/module-setup.sh
Harald Hoyer [Fri, 12 Feb 2021 12:26:10 +0000 (13:26 +0100)]
fix: shellcheck for modules.d/02systemd-networkd/module-setup.sh
Harald Hoyer [Fri, 12 Feb 2021 12:26:10 +0000 (13:26 +0100)]
fix: shellcheck for modules.d/02caps/caps.sh
Harald Hoyer [Fri, 12 Feb 2021 12:26:10 +0000 (13:26 +0100)]
fix: shellcheck for modules.d/00systemd/module-setup.sh
Harald Hoyer [Fri, 12 Feb 2021 12:26:10 +0000 (13:26 +0100)]
fix: shellcheck for mkinitrd-suse.sh
Harald Hoyer [Fri, 12 Feb 2021 12:26:10 +0000 (13:26 +0100)]
fix: shellcheck for mkinitrd-dracut.sh
Harald Hoyer [Fri, 12 Feb 2021 12:26:09 +0000 (13:26 +0100)]
fix: shellcheck for lsinitrd-bash-completion.sh
Harald Hoyer [Fri, 12 Feb 2021 12:26:09 +0000 (13:26 +0100)]
fix: shellcheck for fedora-test-github.sh
Harald Hoyer [Fri, 12 Feb 2021 12:26:09 +0000 (13:26 +0100)]
fix: shellcheck for dracut-catimages.sh
Harald Hoyer [Fri, 12 Feb 2021 12:26:09 +0000 (13:26 +0100)]
fix: shellcheck for dracut-bash-completion.sh
Harald Hoyer [Fri, 12 Feb 2021 12:26:09 +0000 (13:26 +0100)]
fix: shellcheck for configure
Harald Hoyer [Fri, 12 Feb 2021 12:26:09 +0000 (13:26 +0100)]
fix: shellcheck for 51-dracut-rescue.install
Harald Hoyer [Fri, 12 Feb 2021 12:26:09 +0000 (13:26 +0100)]
fix: shellcheck for 50-dracut.install
Harald Hoyer [Thu, 11 Feb 2021 08:10:42 +0000 (09:10 +0100)]
fix: shellcheck for modules.d/99squash/setup-squash.sh
Harald Hoyer [Thu, 11 Feb 2021 08:01:54 +0000 (09:01 +0100)]
docs: fix dracut.cmdline.7
```
asciidoc: WARNING: dracut.cmdline.7.asc: line 1115: nested inline passthrough
```
Harald Hoyer [Fri, 12 Feb 2021 13:37:13 +0000 (14:37 +0100)]
ci: wait for udev before doing sfdisk
might be responsible for some flakiness
Harald Hoyer [Fri, 12 Feb 2021 12:53:34 +0000 (13:53 +0100)]
ci: more disk space for test 30 iscsi
```
mke2fs 1.45.6 (20-Mar-2020)
Filesystem too small for a journal
Discarding device blocks: done
Creating filesystem with 1024 1k blocks and 128 inodes
Allocating group tables: 0/1 done
Writing inode tables: 0/1 done
Writing superblocks and filesystem accounting information: 0/1 done
cp: error writing '/sysroot/usr/bin/bash': No space left on device
cp: error writing '/sysroot/usr/bin/grep': No space left on device
cp: error writing '/sysroot/usr/bin/ping': No space left on device
[…]
```
Beniamino Galvani [Fri, 12 Feb 2021 16:44:43 +0000 (17:44 +0100)]
fix: update dbus module directory in spec file
The directory name was changed in
16efdfa25c65c31acc97d91b7baf4f7bb4ea8510 .
Jóhann B. Guðmundsson [Wed, 10 Feb 2021 13:21:04 +0000 (13:21 +0000)]
fix: add sdaskpw and sdsyctl to spec file
Adding systemd-ask-password and systemd-sysctl to the spec file
Alphabeticaly order the newly introduced systemd based module
in the spec file.
Jóhann B. Guðmundsson [Wed, 10 Feb 2021 13:36:28 +0000 (13:36 +0000)]
fix: cosmetic comment fixes
This rephrases a comment in the check() as requested on another PR
and generalizes the install() section comments on par with other recent
module changes.
Jóhann B. Guðmundsson [Mon, 8 Feb 2021 23:22:00 +0000 (23:22 +0000)]
feat(systemd-ask-password): introducing systemd-ask-password module
Introducing systemd-ask-password module which is used to query a
system password or passphrase from the user.
This module can be used standalone ( systemd-ask-password )
( which is without plymouth & wall support )
With plymouth module ( systemd-ask-password + plymouth )
With wall module ( systemd-ask-password + wall ), which is currently
commented out since there is no forceable usecase for it or even exiting
wall module.
This is a standalone systemd module which means it depends on no other module than systemd.
Luiz Angelo Daros de Luca [Thu, 12 Nov 2020 01:19:06 +0000 (22:19 -0300)]
Revert "nbd: use systemd-run to start nbd-client"
systemd-run runs nbd-client in parallel. This introduces a possible
race condition when /dev/nbd0 is not directly used by /sysroot mount
but used by another dracut module as in:
netroot=nbd:ip:port:fstype root=live:/dev/nbd0
Before nbd0 usages are synchronized, it is better to keep it serial.
This reverts commit
9fd0461b7d632c8e30f5241fff8306359b592438 .
Signed-off-by: Luiz Angelo Daros de Luca <luizluca@gmail.com>
Luiz Angelo Daros de Luca [Wed, 11 Nov 2020 03:54:33 +0000 (00:54 -0300)]
dmsquash-live-root: squashfs in bare device
Check if dev in root=live:<dev> might be already the squashfs image.
Signed-off-by: Luiz Angelo Daros de Luca <luizluca@gmail.com>
Jóhann B. Guðmundsson [Tue, 26 Jan 2021 17:28:36 +0000 (17:28 +0000)]
feat(systemd-sysctl): introducing systemd-sysctl module
Introducing systemd-sysctl module which is an early boot
service that configures sysctl.
The systemd-sysctl module has dependency's on systemd and
systemd-modules-load module.
Jóhann B. Guðmundsson [Thu, 28 Jan 2021 14:15:07 +0000 (14:15 +0000)]
fix: adding missing efi paths
Harald Hoyer [Wed, 27 Jan 2021 16:01:33 +0000 (17:01 +0100)]
docs: fix CI badges in README
Harald Hoyer [Tue, 9 Feb 2021 15:34:35 +0000 (16:34 +0100)]
fix: correct the squash quirk
Previously with `no_kernel` the `for` loop errored on the modules
wildcard. By checking, if the file exists, this is mitigated.
"mv" asked interactively, if aliased in the user session, so a "--force"
was added.
Jóhann B. Guðmundsson [Thu, 21 Jan 2021 22:54:01 +0000 (22:54 +0000)]
feat(systemd-modules-load): introducing systemd-modules-load module
Introducing systemd-modules-load which is an early boot service
that loads kernel modules from a static list, which is required for
kernel modules that do for example not support automatic module loading
( like key type parsers ).