]>
git.ipfire.org Git - thirdparty/dracut.git/log
Harald Hoyer [Wed, 31 Mar 2021 09:15:46 +0000 (11:15 +0200)]
fix(nbd): shellcheck regression
`$opts`, `$preopts` and `$nbdport` shouldn't have been quoted as they
can expand to multiple options.
Fixes: https://github.com/dracutdevs/dracut/issues/1270
Harald Hoyer [Wed, 31 Mar 2021 14:09:55 +0000 (16:09 +0200)]
docs: clarify `netroot=dhcp`
`root=dhcp` does not work with systemd, so `netroot=dhcp` should be
used.
Harald Hoyer [Wed, 31 Mar 2021 14:14:02 +0000 (16:14 +0200)]
fix(dracut-systemd): regression on root=block:
Commit
3532978de04c7 introduced a regression, where the `root` could be
`root=block:block:/dev/foo`.
Harald Hoyer [Wed, 31 Mar 2021 14:16:52 +0000 (16:16 +0200)]
fix(base): source hooks without exec
Patch
2fabaaa62dcfd31e593ca changed the behaviour for `dash`
under the assumption, that dash does not take parameters for `.` aka
`source`. Although this is true, the original positional parameters of
the `source_all` function are still in place, so everything is
fine with the old way of sourcing.
Harald Hoyer [Wed, 31 Mar 2021 14:21:44 +0000 (16:21 +0200)]
fix(network): correct regression in iface_has_carrier
Commit
e25c536c70bab4a4d6 introduced a regression in iface_has_carrier
due to unclear variable naming.
Harald Hoyer [Wed, 31 Mar 2021 14:11:41 +0000 (16:11 +0200)]
fix(network-manager): no default deps for nm-run.service
Otherwise nm-run.service will run only in basic.target, which is too
late in the initramfs.
Harald Hoyer [Wed, 31 Mar 2021 09:11:00 +0000 (11:11 +0200)]
fix(lunmask): shellcheck regression
`parse-lunmask.sh` is not a bash script
and dash doesn't understand `read -a`.
Revert to the initial code.
Fixes: https://github.com/dracutdevs/dracut/issues/1271
Harald Hoyer [Wed, 31 Mar 2021 07:01:58 +0000 (09:01 +0200)]
fix(lvmmerge): depend on bash
Harald Hoyer [Wed, 31 Mar 2021 07:09:52 +0000 (09:09 +0200)]
fix(livenet): fetch-liveupdate.sh does not require bash
Harald Hoyer [Wed, 31 Mar 2021 07:12:19 +0000 (09:12 +0200)]
fix(cms): require bash
Harald Hoyer [Wed, 31 Mar 2021 07:14:44 +0000 (09:14 +0200)]
fix(network-manager): nm-lib.sh does not require bash
Harald Hoyer [Wed, 31 Mar 2021 07:21:49 +0000 (09:21 +0200)]
fix(zipl): don't depend on grub2
There is no grub2 dracut module.
Harald Hoyer [Wed, 31 Mar 2021 07:35:08 +0000 (09:35 +0200)]
ci: enable shellcheck for everything
Harald Hoyer [Wed, 31 Mar 2021 08:01:18 +0000 (10:01 +0200)]
fix(kernel-modules): shellcheck regression
`$_hostonly_drvs` contained multiple arguments and was quoted.
This patch converts `_hostonly_drvs` into an associative array, which
enables easy deduplication and proper quoting in bash.
Fixes: https://github.com/dracutdevs/dracut/issues/1276
Harald Hoyer [Wed, 31 Mar 2021 08:18:27 +0000 (10:18 +0200)]
fix(multipath): revise multipathd-stop
A shellcheck regression quoted `HARD` in
```shell
kill "$HARD" "$pid" > /dev/null 2>&1
```
which would error on an empty "HARD".
Instead of fixing this, use `pkill` instead and also add it to the
non-optional list of binaries to install, which was revised also.
Fixes: https://github.com/dracutdevs/dracut/issues/1275
Harald Hoyer [Wed, 31 Mar 2021 08:41:00 +0000 (10:41 +0200)]
fix(multipath): shellcheck regression
`$_allow` should not have been quoted, because it can be multiple options.
Instead of unquoting it, convert it to an associative array with easy
deduplication and prefix every device with the `--allow` option.
Fixes: https://github.com/dracutdevs/dracut/issues/1274
Harald Hoyer [Wed, 31 Mar 2021 08:59:19 +0000 (10:59 +0200)]
fix(nvdimm): shellcheck regression
`_provider_dirs` should not have been quoted, because it should expand
to multiple arguments.
Just remove the whole variable and add those arguments.
Fixes: https://github.com/dracutdevs/dracut/issues/1273
Harald Hoyer [Wed, 31 Mar 2021 07:16:53 +0000 (09:16 +0200)]
fix(convertfs): require bash
Harald Hoyer [Wed, 31 Mar 2021 07:18:28 +0000 (09:18 +0200)]
fix(caps): require bash
Harald Hoyer [Wed, 31 Mar 2021 07:07:09 +0000 (09:07 +0200)]
test: mark the whole test subdir as shellcheck'ed
Harald Hoyer [Tue, 30 Mar 2021 08:40:12 +0000 (10:40 +0200)]
fix(dracut-initramfs-restore.sh): shellcheck for dracut-initramfs-restore.sh
Harald Hoyer [Wed, 31 Mar 2021 07:31:34 +0000 (09:31 +0200)]
fix(examples/yocto): shellcheck again
Harald Hoyer [Tue, 30 Mar 2021 14:48:57 +0000 (16:48 +0200)]
fix(dasd_rules): add bash dependency
Harald Hoyer [Tue, 30 Mar 2021 14:48:10 +0000 (16:48 +0200)]
fix(fcoe-uefi): add bash dependency
Harald Hoyer [Tue, 30 Mar 2021 10:19:56 +0000 (12:19 +0200)]
fix(TEST MULTINIC): shellcheck
Harald Hoyer [Tue, 30 Mar 2021 14:46:55 +0000 (16:46 +0200)]
fix(fcoe): remove needless bash dependency
Harald Hoyer [Tue, 30 Mar 2021 14:44:19 +0000 (16:44 +0200)]
fix(lunmask): remove needless bash dependency
Jóhann B. Guðmundsson [Tue, 30 Mar 2021 14:38:00 +0000 (14:38 +0000)]
fix(crypt): include cryptsetups tmpfile
Harald Hoyer [Tue, 30 Mar 2021 10:16:54 +0000 (12:16 +0200)]
fix(TEST BASIC): shellcheck
Harald Hoyer [Tue, 30 Mar 2021 10:17:01 +0000 (12:17 +0200)]
fix(TEST SYSTEMD): shellcheck
Harald Hoyer [Tue, 30 Mar 2021 10:17:06 +0000 (12:17 +0200)]
fix(TEST USR-MOUNT): shellcheck
Harald Hoyer [Tue, 30 Mar 2021 10:17:10 +0000 (12:17 +0200)]
fix(TEST FULL-SYSTEMD): shellcheck
Harald Hoyer [Tue, 30 Mar 2021 10:17:14 +0000 (12:17 +0200)]
fix(TEST RAID): shellcheck
Harald Hoyer [Tue, 30 Mar 2021 10:17:19 +0000 (12:17 +0200)]
fix(TEST LVM): shellcheck
Harald Hoyer [Tue, 30 Mar 2021 10:17:23 +0000 (12:17 +0200)]
fix(TEST RAID-DEG): shellcheck
Harald Hoyer [Tue, 30 Mar 2021 10:17:31 +0000 (12:17 +0200)]
fix(TEST IMSM): shellcheck
Harald Hoyer [Tue, 30 Mar 2021 10:17:38 +0000 (12:17 +0200)]
fix(TEST DMSQUASH): shellcheck
Harald Hoyer [Tue, 30 Mar 2021 10:17:42 +0000 (12:17 +0200)]
fix(TEST LVM-THIN): shellcheck
Harald Hoyer [Tue, 30 Mar 2021 10:17:46 +0000 (12:17 +0200)]
fix(TEST NFS): shellcheck
Harald Hoyer [Tue, 30 Mar 2021 10:17:54 +0000 (12:17 +0200)]
fix(TEST ISCSI): shellcheck
Harald Hoyer [Tue, 30 Mar 2021 13:27:50 +0000 (15:27 +0200)]
fix(zfcp_rules): require bash
Harald Hoyer [Tue, 30 Mar 2021 13:02:31 +0000 (15:02 +0200)]
fix(memstrack): correct dependencies
memstrack does not need to depend on `bash` but does on `systemd`.
Harald Hoyer [Tue, 30 Mar 2021 12:18:19 +0000 (14:18 +0200)]
ci: disable fedora-eln for now
Seems like there is a missing glib2 build in the pipeline, so
fedora-eln only fails, and therefore is of no use for us.
Harald Hoyer [Fri, 26 Mar 2021 09:29:33 +0000 (10:29 +0100)]
fix(usrmount): shellcheck for modules.d/98usrmount
Harald Hoyer [Tue, 30 Mar 2021 10:17:27 +0000 (12:17 +0200)]
fix(TEST ENC-RAID-LVM): shellcheck
Harald Hoyer [Tue, 30 Mar 2021 10:17:35 +0000 (12:17 +0200)]
fix(TEST BTRFSRAID): shellcheck
Harald Hoyer [Tue, 30 Mar 2021 10:19:48 +0000 (12:19 +0200)]
fix(TEST ISCSI-MULTI): shellcheck
Harald Hoyer [Tue, 30 Mar 2021 10:19:52 +0000 (12:19 +0200)]
fix(TEST NBD): shellcheck
Harald Hoyer [Tue, 30 Mar 2021 10:19:59 +0000 (12:19 +0200)]
fix(TEST BONDBRIDGEVLANIFCFG): shellcheck
Harald Hoyer [Tue, 30 Mar 2021 10:20:03 +0000 (12:20 +0200)]
fix(TEST GETARG): shellcheck
Harald Hoyer [Tue, 30 Mar 2021 10:20:08 +0000 (12:20 +0200)]
fix(TEST RPM): shellcheck
Beniamino Galvani [Mon, 29 Mar 2021 16:27:38 +0000 (18:27 +0200)]
fix(dbus-broker): enable the service
dbus-broker.service has a 'dbus.service' alias which is installed when the
service gets enabled.
If the alias is not present in the initrd image, services requiring D-Bus in
the initrd fail to start because they depend on dbus.service, which doesn't
exist.
Therefore, enable the service to create the alias.
Harald Hoyer [Tue, 30 Mar 2021 08:57:56 +0000 (10:57 +0200)]
fix(examples/yocto): shellcheck
Harald Hoyer [Tue, 30 Mar 2021 08:40:13 +0000 (10:40 +0200)]
fix(lsinitrd.sh): shellcheck for lsinitrd.sh
Harald Hoyer [Tue, 30 Mar 2021 08:23:26 +0000 (10:23 +0200)]
feat(mkinitrd): remove mkinitrd
It was not working anyway, so nobody used it for years.
If it is not used, just remove it.
mkinitrd-suse.sh will be maintained by SUSE as it is SUSE specific
anyway.
Harald Hoyer [Tue, 30 Mar 2021 08:40:13 +0000 (10:40 +0200)]
fix(test/test-functions): shellcheck for test/test-functions
Harald Hoyer [Tue, 30 Mar 2021 08:40:13 +0000 (10:40 +0200)]
fix(test/run-qemu): shellcheck for test/run-qemu
Harald Hoyer [Tue, 30 Mar 2021 08:40:12 +0000 (10:40 +0200)]
fix(fedora-test.sh): shellcheck for fedora-test.sh
Harald Hoyer [Fri, 26 Mar 2021 09:29:19 +0000 (10:29 +0100)]
fix(dm): shellcheck for modules.d/90dm
Harald Hoyer [Fri, 19 Mar 2021 09:59:21 +0000 (10:59 +0100)]
fix(install): handle builtin modules
If a `kmod_module` is missing the `path`, it is `builtin`.
Harald Hoyer [Fri, 26 Mar 2021 09:29:14 +0000 (10:29 +0100)]
fix(network-legacy): shellcheck for modules.d/35network-legacy
Harald Hoyer [Fri, 26 Mar 2021 09:29:07 +0000 (10:29 +0100)]
fix(systemd-modules-load): shellcheck for modules.d/01systemd-modules-load
Harald Hoyer [Fri, 26 Mar 2021 09:29:11 +0000 (10:29 +0100)]
fix(busybox): shellcheck for modules.d/05busybox
Harald Hoyer [Fri, 26 Mar 2021 09:29:31 +0000 (10:29 +0100)]
fix(securityfs): shellcheck for modules.d/96securityfs
Harald Hoyer [Fri, 26 Mar 2021 09:29:27 +0000 (10:29 +0100)]
fix(iscsi): shellcheck for modules.d/95iscsi
Harald Hoyer [Fri, 26 Mar 2021 09:29:22 +0000 (10:29 +0100)]
fix(mdraid): shellcheck for modules.d/90mdraid
Harald Hoyer [Mon, 29 Mar 2021 13:24:50 +0000 (15:24 +0200)]
fix(TEST-30-ISCSI): add sync to client root creation
Harald Hoyer [Fri, 26 Mar 2021 09:29:24 +0000 (10:29 +0100)]
fix(cifs): shellcheck for modules.d/95cifs
Harald Hoyer [Fri, 26 Mar 2021 14:17:58 +0000 (15:17 +0100)]
test(FULL-SYSTEMD): add fuse kernel module in test root
systemd wants to use it
Harald Hoyer [Fri, 26 Mar 2021 09:29:19 +0000 (10:29 +0100)]
fix(dmsquash-live): shellcheck for modules.d/90dmsquash-live
Harald Hoyer [Fri, 26 Mar 2021 09:29:23 +0000 (10:29 +0100)]
fix(crypt-gpg): shellcheck for modules.d/91crypt-gpg
Harald Hoyer [Fri, 26 Mar 2021 09:29:26 +0000 (10:29 +0100)]
fix(fcoe-uefi): shellcheck for modules.d/95fcoe-uefi
Harald Hoyer [Fri, 26 Mar 2021 09:29:27 +0000 (10:29 +0100)]
fix(fstab-sys): shellcheck for modules.d/95fstab-sys
Harald Hoyer [Fri, 26 Mar 2021 09:29:27 +0000 (10:29 +0100)]
fix(lunmask): shellcheck for modules.d/95lunmask
Harald Hoyer [Fri, 26 Mar 2021 09:29:27 +0000 (10:29 +0100)]
fix(nbd): shellcheck for modules.d/95nbd
Harald Hoyer [Fri, 26 Mar 2021 09:29:26 +0000 (10:29 +0100)]
fix(fcoe): shellcheck for modules.d/95fcoe
Harald Hoyer [Fri, 26 Mar 2021 09:29:28 +0000 (10:29 +0100)]
fix(nfs): shellcheck for modules.d/95nfs
Harald Hoyer [Fri, 26 Mar 2021 09:29:28 +0000 (10:29 +0100)]
fix(nvmf): shellcheck for modules.d/95nvmf
Harald Hoyer [Fri, 26 Mar 2021 09:29:28 +0000 (10:29 +0100)]
fix(qeth_rules): shellcheck for modules.d/95qeth_rules
Harald Hoyer [Fri, 26 Mar 2021 09:29:29 +0000 (10:29 +0100)]
fix(resume): shellcheck for modules.d/95resume
Harald Hoyer [Fri, 26 Mar 2021 09:29:29 +0000 (10:29 +0100)]
fix(rootfs-block): shellcheck for modules.d/95rootfs-block
Harald Hoyer [Fri, 26 Mar 2021 09:29:29 +0000 (10:29 +0100)]
fix(ssh-client): shellcheck for modules.d/95ssh-client
Harald Hoyer [Fri, 26 Mar 2021 09:29:30 +0000 (10:29 +0100)]
fix(udev-rules): shellcheck for modules.d/95udev-rules
Harald Hoyer [Fri, 26 Mar 2021 09:29:30 +0000 (10:29 +0100)]
fix(virtfs): shellcheck for modules.d/95virtfs
Harald Hoyer [Fri, 26 Mar 2021 09:29:30 +0000 (10:29 +0100)]
fix(zfcp): shellcheck for modules.d/95zfcp
Harald Hoyer [Fri, 26 Mar 2021 09:29:30 +0000 (10:29 +0100)]
fix(zfcp_rules): shellcheck for modules.d/95zfcp_rules
Harald Hoyer [Fri, 26 Mar 2021 09:29:31 +0000 (10:29 +0100)]
fix(znet): shellcheck for modules.d/95znet
Harald Hoyer [Fri, 26 Mar 2021 09:29:31 +0000 (10:29 +0100)]
fix(masterkey): shellcheck for modules.d/97masterkey
Harald Hoyer [Fri, 26 Mar 2021 09:29:32 +0000 (10:29 +0100)]
fix(dracut-systemd): shellcheck for modules.d/98dracut-systemd
Harald Hoyer [Fri, 26 Mar 2021 09:29:32 +0000 (10:29 +0100)]
fix(ecryptfs): shellcheck for modules.d/98ecryptfs
Harald Hoyer [Fri, 26 Mar 2021 09:29:32 +0000 (10:29 +0100)]
fix(integrity): shellcheck for modules.d/98integrity
Harald Hoyer [Fri, 26 Mar 2021 09:29:33 +0000 (10:29 +0100)]
fix(pollcdrom): shellcheck for modules.d/98pollcdrom
Harald Hoyer [Fri, 26 Mar 2021 09:29:33 +0000 (10:29 +0100)]
fix(selinux): shellcheck for modules.d/98selinux
Harald Hoyer [Fri, 26 Mar 2021 09:29:34 +0000 (10:29 +0100)]
fix(img-lib): shellcheck for modules.d/99img-lib
Harald Hoyer [Fri, 26 Mar 2021 09:29:34 +0000 (10:29 +0100)]
fix(memstrack): shellcheck for modules.d/99memstrack
Harald Hoyer [Fri, 26 Mar 2021 09:29:35 +0000 (10:29 +0100)]
fix(shutdown): shellcheck for modules.d/99shutdown
Harald Hoyer [Fri, 26 Mar 2021 09:29:33 +0000 (10:29 +0100)]
fix(syslog): shellcheck for modules.d/98syslog
Harald Hoyer [Fri, 26 Mar 2021 09:29:34 +0000 (10:29 +0100)]
fix(fs-lib): shellcheck for modules.d/99fs-lib
Harald Hoyer [Fri, 26 Mar 2021 09:29:35 +0000 (10:29 +0100)]
fix(uefi-lib): shellcheck for modules.d/99uefi-lib
Harald Hoyer [Fri, 26 Mar 2021 09:29:25 +0000 (10:29 +0100)]
fix(dcssblk): shellcheck for modules.d/95dcssblk