]> git.ipfire.org Git - thirdparty/dracut.git/log
thirdparty/dracut.git
4 years agoci: use /dev/disk/by-id
Harald Hoyer [Tue, 20 Apr 2021 14:16:14 +0000 (16:16 +0200)] 
ci: use /dev/disk/by-id

Due to parallel probing of the linux kernel `/dev/sd*` can't be used to
reliably address a hard disk. This can be seen by the many spurious
failures of the dracut CI, where `mdadm` failed with error 524 or tests
failed due to the success marker message written to the wrong disk.

* don't rely on `/dev/sd*` but use disk ids and `/dev/disk/by-id/ata-disk_<name>`

* specify the exact qemu machine architecture `-M q35` needed for the
  disk ids. A later patch will move this to `run-qemu`, when all tests are converted

* due to `-M q35` the interface names have changed from
  `ens2` -> `enp0s1` and `ens3` -> `enp0s2`

4 years agofix(systemd): include hosts and nsswitch.conf in hostonly mode
Jóhann B. Guðmundsson [Wed, 21 Apr 2021 11:57:32 +0000 (11:57 +0000)] 
fix(systemd): include hosts and nsswitch.conf in hostonly mode

Adding /etc/hosts and /etc/nsswitch.conf to the hostonly install section.

4 years agofix(90kernel-modules): add watchdog drivers for generic initrd
Peter Robinson [Wed, 21 Apr 2021 11:50:41 +0000 (12:50 +0100)] 
fix(90kernel-modules): add watchdog drivers for generic initrd

The watchdog module pulls in the device specific watchdog if that
module is enabled, but in the case where we need a generic initrd
we don't get all watchdog drivers which means if we have a watchdog
enabled for that usecase it may get kicked too late in the boot
process so we need the drivers in the initrd for the generic case too.

Signed-off-by: Peter Robinson <pbrobinson@gmail.com>
4 years agofix(examples): remove the examples directory and reference to it
Jóhann B. Guðmundsson [Tue, 20 Apr 2021 04:54:45 +0000 (04:54 +0000)] 
fix(examples): remove the examples directory and reference to it

Let's leave it up to the yocto community to keep and maintain their own
examples.

4 years agofix(dracut.sh): add global vars for modules-load
Jóhann B. Guðmundsson [Tue, 20 Apr 2021 13:56:48 +0000 (13:56 +0000)] 
fix(dracut.sh): add global vars for modules-load

Adding modulesload modulesloadconfdir global variables

4 years agofix(systemd-sysctl): sysctl global variables
Jóhann B. Guðmundsson [Tue, 20 Apr 2021 05:57:59 +0000 (05:57 +0000)] 
fix(systemd-sysctl): sysctl global variables

4 years agofix(dracut): sysctl global variables
Jóhann B. Guðmundsson [Tue, 20 Apr 2021 05:46:50 +0000 (05:46 +0000)] 
fix(dracut): sysctl global variables

4 years agofix(nbd): remove old udev version requirements
Jóhann B. Guðmundsson [Mon, 19 Apr 2021 19:37:44 +0000 (19:37 +0000)] 
fix(nbd): remove old udev version requirements

4 years agofix(fips): remove old udev version requirements
Jóhann B. Guðmundsson [Mon, 19 Apr 2021 19:34:24 +0000 (19:34 +0000)] 
fix(fips): remove old udev version requirements

4 years agofix(systemd): remove old systemd version requirements
Jóhann B. Guðmundsson [Mon, 19 Apr 2021 19:19:39 +0000 (19:19 +0000)] 
fix(systemd): remove old systemd version requirements

4 years agofix(nbd): make nbd work again with systemd
Harald Hoyer [Wed, 31 Mar 2021 14:29:31 +0000 (16:29 +0200)] 
fix(nbd): make nbd work again with systemd

* Correct the systemd generated sysroot.mount unit with the options
received by the DHCP request and do a `daemon-reload`.

* Inject the `nbd-client -check /dev/nbd0` in the finished initqueue.

* Reactivate the NBD tests and prepare them for NetworkManager tests.

4 years agoci: use disk ids for TEST 35 ISCSI MULTI
Harald Hoyer [Mon, 19 Apr 2021 14:34:05 +0000 (16:34 +0200)] 
ci: use disk ids for TEST 35 ISCSI MULTI

Due to parallel probing of the linux kernel `/dev/sd*` can't be used to
reliably address a hard disk. This can be seen by the many spurious
failures of the dracut CI, where `mdadm` failed with error 524 or tests
failed due to the success marker message written to the wrong disk.

* don't rely on `/dev/sd*` but use disk ids and `/dev/disk/by-id/ata-disk_<name>`

* specify the exact qemu machine architecture `-M q35` needed for the
  disk ids. A later patch will move this to `run-qemu`, when all tests are converted

* due to `-M q35` the interface names have changed from
  `ens2` -> `enp0s1` and `ens3` -> `enp0s2`

4 years agoci: add function to generate qemu disk arguments
Harald Hoyer [Mon, 19 Apr 2021 14:30:50 +0000 (16:30 +0200)] 
ci: add function to generate qemu disk arguments

`qemu_add_drive_args` can be used to generate arguments to specify disks
for a qemu machine (`-M q35`).

This is mostly useful to address those raw disks via `/dev/disk/by-id`,
because due to parallel probing in the kernel `/dev/sd*` can point to
anything.

4 years agofix(bluetooth): shellcheck and hostonly corrections
Harald Hoyer [Sat, 17 Apr 2021 11:23:22 +0000 (13:23 +0200)] 
fix(bluetooth): shellcheck and hostonly corrections

Don't install files from `/var` in the non-hostonly case.

Use fileglobs, instead of `find`.

4 years agofix(dbus-daemon): only error out in install()
Harald Hoyer [Sat, 17 Apr 2021 11:20:56 +0000 (13:20 +0200)] 
fix(dbus-daemon): only error out in install()

Don't hard exit in `check()`. The transaction logic only checks if it
should/can include the module. Just return `255` and the `dbus` meta
module will pick its dependency.

4 years agofeat(bluetooth): implement bluetooth support in initrd
Adam Alves [Fri, 22 Feb 2019 02:35:39 +0000 (23:35 -0300)] 
feat(bluetooth): implement bluetooth support in initrd

- Included a bluetooth module that installs modules, firmware, udev rules and bluetoothd.
- systemd and dbus are required by bluetoothd
- Include bluetooth by default if BT keyboard or combo found

4 years agofix(TEST ISCSI): try to debug md error 524
Harald Hoyer [Mon, 12 Apr 2021 09:13:21 +0000 (11:13 +0200)] 
fix(TEST ISCSI): try to debug md error 524

While creating the striped md raid0 sometimes this error occures:

```
mdadm: Defaulting to version 1.2 metadata
mdadm: RUN_ARRAY failed: Unknown error 524
  Failed to clear hint file.
  Device /dev/md0 not found.
Powering off.
```

Add debug output with the size of the disks.

Also create disks with multiple of 4096.

4 years agoci: remove packit config causing errors
Harald Hoyer [Fri, 16 Apr 2021 14:17:01 +0000 (16:17 +0200)] 
ci: remove packit config causing errors

remove the offending parameters, which cause errors described in
https://github.com/dracutdevs/dracut/issues/1346

until we found the correct config to be used.

4 years agofeat(network-manager): run as daemon with D-Bus
Beniamino Galvani [Fri, 26 Mar 2021 10:31:03 +0000 (11:31 +0100)] 
feat(network-manager): run as daemon with D-Bus

This commit changes how NM is started inside the initrd. Instead of running NM
in the special --configure-and-quit=initrd mode, which sets up network and
quits, start it as a daemon.

This has multiple advantages. First, we no longer need to run NM in a special
mode that requires additional code and maintenance. NetworkManager works
exactly as in the real root.

One problem of the current configure-and-quit approach is that once NM has
quit, dynamic addresses can expire if the initrd setup takes longer than the
DHCP lease interval or than the IPv6 address lifetime. Running NM as a service
solves this problem.

Now NM runs with D-Bus support and therefore its API can be used by other
modules. This open the possibility, for example, to integrate nm-cloud-setup to
automatically configure networking based on cloud metadata.

Use the NetworkManager-wait-online.service, ordered before
dracut-initqueue.service, to delay the initqueue until NM has terminated its
configuration.

4 years agofix(network-manager): use /run/NetworkManager/initrd/neednet in initqueue
Dusty Mabe [Tue, 13 Apr 2021 15:45:35 +0000 (11:45 -0400)] 
fix(network-manager): use /run/NetworkManager/initrd/neednet in initqueue

We don't want to start NetworkManager if networking is not needed.
Right now nm-config.sh lays down /usr/lib/dracut/hooks/initqueue/finished/nm.sh
which will cause the initqueue to run. If nothing exists in
/usr/lib/dracut/hooks/initqueue/finished/ then it will short circuit and
the initqueue won't run anything. But what if something else needed
something to run in the initqueue? nm-run.sh would still get started,
even though /usr/lib/dracut/hooks/initqueue/finished/nm.sh didn't exist.
In this case let's just trigger off of /run/NetworkManager/initrd/neednet
like we are doing in the systemd unit (nm-run.service).

4 years agofix(network-manager): only run NetworkManager if rd.neednet=1
Dusty Mabe [Tue, 13 Apr 2021 15:36:21 +0000 (11:36 -0400)] 
fix(network-manager): only run NetworkManager if rd.neednet=1

Don't run the new systemd unit (nm-run.service) if rd.neednet=1
isn't set. nm-initrd-generator will generate configuration even
without rd.neednet=1 so determining if we should start based on
just if connection profiles exist isn't enough. We need some other
indicator. In this case we lay down a /run/NetworkManager/initrd/neednet
if rd.neednet=1, which is used by nm-run.service to determine the
need to run.

4 years agofix(network-manager): nm-run.service: don't kill forked processes
Dusty Mabe [Wed, 14 Apr 2021 14:46:12 +0000 (10:46 -0400)] 
fix(network-manager): nm-run.service: don't kill forked processes

If teaming is set up via NetworkManager we don't want systemd to take
down the userspace teamd process when NetworkManager quits. `KillMode=process`
will allow it to leave those processes behind.

This is fallout from the change to run NetworkManager via systemd (c17c5b7).

With `KillMode=process` we get something like:

```
sh-5.1# journalctl -u nm-run -o cat | tail
<info>  [1618411262.7030] quitting now that startup is complete
<info>  [1618411262.7030] device (team0): carrier: link connected
<info>  [1618411262.7033] device (team0): team port ens2 was released
<info>  [1618411262.7033] device (team0): team port ens3 was released
<info>  [1618411262.7033] manager: NetworkManager state is now CONNECTED_SITE
<info>  [1618411262.7034] exiting (success)
nm-run.service: Deactivated successfully.
nm-run.service: Unit process 476 (teamd) remains running after unit stopped.
Finished nm-run.service.
```

4 years agofix(dracut-logger.sh): double dash trigger unknown logger warnings during run
Dusty Mabe [Wed, 14 Apr 2021 20:23:29 +0000 (16:23 -0400)] 
fix(dracut-logger.sh): double dash trigger unknown logger warnings during run

There are a bunch of `logger: unknown facility name: --user` errors
during a run. This is because logger is getting passed something like:

```
logger -p --user.info
```

Where it should be something like:

```
logger -p user.info
```

4 years agofix(i18n): skip if data is missing
Đoàn Trần Công Danh [Mon, 12 Apr 2021 15:23:02 +0000 (22:23 +0700)] 
fix(i18n): skip if data is missing

On system that doesn't have either consolefonts, consoletrans, keymaps,
or unimaps, "kbddir" is empty, thus the followed installation will
broken with errors like:

cp: cannot stat '/consolefonts/*': No such file or directory

Let's report the checks as failure if "kbddir" is empty.

Signed-off-by: Đoàn Trần Công Danh <congdanhqx@gmail.com>
4 years agofix(dracut.sh): omission is an addition to other omissions in conf files
Jóhann B. Guðmundsson [Wed, 31 Mar 2021 19:17:43 +0000 (19:17 +0000)] 
fix(dracut.sh): omission is an addition to other omissions in conf files

When omitting a module from the command line via -o or --omit
it's expected that it behaves in the same manner as adding a module from the
command line as in it does not overwrite existing omissions of other modules in
configuration file(s).

4 years agofix(dracut-functions): word splitting issue for sed in get_ucode_file
Kairui Song [Fri, 9 Apr 2021 16:57:32 +0000 (00:57 +0800)] 
fix(dracut-functions): word splitting issue for sed in get_ucode_file

This unquated regex could be splitted into two arguments and sed will
not work. I've see giving error of wrong arguments being used on my
desktop.

Signed-off-by: Kairui Song <kasong@redhat.com>
4 years agofix(nbd): shellcheck regression
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
4 years agodocs: clarify `netroot=dhcp`
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.

4 years agofix(dracut-systemd): regression on root=block:
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`.

4 years agofix(base): source hooks without exec
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.

4 years agofix(network): correct regression in iface_has_carrier
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.

4 years agofix(network-manager): no default deps for nm-run.service
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.

4 years agofix(lunmask): shellcheck regression
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
4 years agofix(lvmmerge): depend on bash
Harald Hoyer [Wed, 31 Mar 2021 07:01:58 +0000 (09:01 +0200)] 
fix(lvmmerge): depend on bash

4 years agofix(livenet): fetch-liveupdate.sh does not require bash
Harald Hoyer [Wed, 31 Mar 2021 07:09:52 +0000 (09:09 +0200)] 
fix(livenet): fetch-liveupdate.sh does not require bash

4 years agofix(cms): require bash
Harald Hoyer [Wed, 31 Mar 2021 07:12:19 +0000 (09:12 +0200)] 
fix(cms): require bash

4 years agofix(network-manager): nm-lib.sh does not 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

4 years agofix(zipl): don't depend on grub2
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.

4 years agoci: enable shellcheck for everything
Harald Hoyer [Wed, 31 Mar 2021 07:35:08 +0000 (09:35 +0200)] 
ci: enable shellcheck for everything

4 years agofix(kernel-modules): shellcheck regression
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
4 years agofix(multipath): revise multipathd-stop
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
4 years agofix(multipath): shellcheck regression
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
4 years agofix(nvdimm): shellcheck regression
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
4 years agofix(convertfs): require bash
Harald Hoyer [Wed, 31 Mar 2021 07:16:53 +0000 (09:16 +0200)] 
fix(convertfs): require bash

4 years agofix(caps): require bash
Harald Hoyer [Wed, 31 Mar 2021 07:18:28 +0000 (09:18 +0200)] 
fix(caps): require bash

4 years agotest: mark the whole test subdir as shellcheck'ed
Harald Hoyer [Wed, 31 Mar 2021 07:07:09 +0000 (09:07 +0200)] 
test: mark the whole test subdir as shellcheck'ed

4 years agofix(dracut-initramfs-restore.sh): shellcheck for dracut-initramfs-restore.sh
Harald Hoyer [Tue, 30 Mar 2021 08:40:12 +0000 (10:40 +0200)] 
fix(dracut-initramfs-restore.sh): shellcheck for dracut-initramfs-restore.sh

4 years agofix(examples/yocto): shellcheck again
Harald Hoyer [Wed, 31 Mar 2021 07:31:34 +0000 (09:31 +0200)] 
fix(examples/yocto): shellcheck again

4 years agofix(dasd_rules): add bash dependency
Harald Hoyer [Tue, 30 Mar 2021 14:48:57 +0000 (16:48 +0200)] 
fix(dasd_rules): add bash dependency

4 years agofix(fcoe-uefi): add bash dependency
Harald Hoyer [Tue, 30 Mar 2021 14:48:10 +0000 (16:48 +0200)] 
fix(fcoe-uefi): add bash dependency

4 years agofix(TEST MULTINIC): shellcheck
Harald Hoyer [Tue, 30 Mar 2021 10:19:56 +0000 (12:19 +0200)] 
fix(TEST MULTINIC): shellcheck

4 years agofix(fcoe): remove needless bash dependency
Harald Hoyer [Tue, 30 Mar 2021 14:46:55 +0000 (16:46 +0200)] 
fix(fcoe): remove needless bash dependency

4 years agofix(lunmask): remove needless bash dependency
Harald Hoyer [Tue, 30 Mar 2021 14:44:19 +0000 (16:44 +0200)] 
fix(lunmask): remove needless bash dependency

4 years agofix(crypt): include cryptsetups tmpfile
Jóhann B. Guðmundsson [Tue, 30 Mar 2021 14:38:00 +0000 (14:38 +0000)] 
fix(crypt): include cryptsetups tmpfile

4 years agofix(TEST BASIC): shellcheck
Harald Hoyer [Tue, 30 Mar 2021 10:16:54 +0000 (12:16 +0200)] 
fix(TEST BASIC): shellcheck

4 years agofix(TEST SYSTEMD): shellcheck
Harald Hoyer [Tue, 30 Mar 2021 10:17:01 +0000 (12:17 +0200)] 
fix(TEST SYSTEMD): shellcheck

4 years agofix(TEST USR-MOUNT): shellcheck
Harald Hoyer [Tue, 30 Mar 2021 10:17:06 +0000 (12:17 +0200)] 
fix(TEST USR-MOUNT): shellcheck

4 years agofix(TEST FULL-SYSTEMD): shellcheck
Harald Hoyer [Tue, 30 Mar 2021 10:17:10 +0000 (12:17 +0200)] 
fix(TEST FULL-SYSTEMD): shellcheck

4 years agofix(TEST RAID): shellcheck
Harald Hoyer [Tue, 30 Mar 2021 10:17:14 +0000 (12:17 +0200)] 
fix(TEST RAID): shellcheck

4 years agofix(TEST LVM): shellcheck
Harald Hoyer [Tue, 30 Mar 2021 10:17:19 +0000 (12:17 +0200)] 
fix(TEST LVM): shellcheck

4 years agofix(TEST RAID-DEG): shellcheck
Harald Hoyer [Tue, 30 Mar 2021 10:17:23 +0000 (12:17 +0200)] 
fix(TEST RAID-DEG): shellcheck

4 years agofix(TEST IMSM): shellcheck
Harald Hoyer [Tue, 30 Mar 2021 10:17:31 +0000 (12:17 +0200)] 
fix(TEST IMSM): shellcheck

4 years agofix(TEST DMSQUASH): shellcheck
Harald Hoyer [Tue, 30 Mar 2021 10:17:38 +0000 (12:17 +0200)] 
fix(TEST DMSQUASH): shellcheck

4 years agofix(TEST LVM-THIN): shellcheck
Harald Hoyer [Tue, 30 Mar 2021 10:17:42 +0000 (12:17 +0200)] 
fix(TEST LVM-THIN): shellcheck

4 years agofix(TEST NFS): shellcheck
Harald Hoyer [Tue, 30 Mar 2021 10:17:46 +0000 (12:17 +0200)] 
fix(TEST NFS): shellcheck

4 years agofix(TEST ISCSI): shellcheck
Harald Hoyer [Tue, 30 Mar 2021 10:17:54 +0000 (12:17 +0200)] 
fix(TEST ISCSI): shellcheck

4 years agofix(zfcp_rules): require bash
Harald Hoyer [Tue, 30 Mar 2021 13:27:50 +0000 (15:27 +0200)] 
fix(zfcp_rules): require bash

4 years agofix(memstrack): correct dependencies
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`.

4 years agoci: disable fedora-eln for now
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.

4 years agofix(usrmount): shellcheck for modules.d/98usrmount
Harald Hoyer [Fri, 26 Mar 2021 09:29:33 +0000 (10:29 +0100)] 
fix(usrmount): shellcheck for modules.d/98usrmount

4 years agofix(TEST ENC-RAID-LVM): shellcheck
Harald Hoyer [Tue, 30 Mar 2021 10:17:27 +0000 (12:17 +0200)] 
fix(TEST ENC-RAID-LVM): shellcheck

4 years agofix(TEST BTRFSRAID): shellcheck
Harald Hoyer [Tue, 30 Mar 2021 10:17:35 +0000 (12:17 +0200)] 
fix(TEST BTRFSRAID): shellcheck

4 years agofix(TEST ISCSI-MULTI): shellcheck
Harald Hoyer [Tue, 30 Mar 2021 10:19:48 +0000 (12:19 +0200)] 
fix(TEST ISCSI-MULTI): shellcheck

4 years agofix(TEST NBD): shellcheck
Harald Hoyer [Tue, 30 Mar 2021 10:19:52 +0000 (12:19 +0200)] 
fix(TEST NBD): shellcheck

4 years agofix(TEST BONDBRIDGEVLANIFCFG): shellcheck
Harald Hoyer [Tue, 30 Mar 2021 10:19:59 +0000 (12:19 +0200)] 
fix(TEST BONDBRIDGEVLANIFCFG): shellcheck

4 years agofix(TEST GETARG): shellcheck
Harald Hoyer [Tue, 30 Mar 2021 10:20:03 +0000 (12:20 +0200)] 
fix(TEST GETARG): shellcheck

4 years agofix(TEST RPM): shellcheck
Harald Hoyer [Tue, 30 Mar 2021 10:20:08 +0000 (12:20 +0200)] 
fix(TEST RPM): shellcheck

4 years agofix(dbus-broker): enable the service
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.

4 years agofix(examples/yocto): shellcheck
Harald Hoyer [Tue, 30 Mar 2021 08:57:56 +0000 (10:57 +0200)] 
fix(examples/yocto): shellcheck

4 years agofix(lsinitrd.sh): shellcheck for lsinitrd.sh
Harald Hoyer [Tue, 30 Mar 2021 08:40:13 +0000 (10:40 +0200)] 
fix(lsinitrd.sh): shellcheck for lsinitrd.sh

4 years agofeat(mkinitrd): remove mkinitrd
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.

4 years agofix(test/test-functions): shellcheck for test/test-functions
Harald Hoyer [Tue, 30 Mar 2021 08:40:13 +0000 (10:40 +0200)] 
fix(test/test-functions): shellcheck for test/test-functions

4 years agofix(test/run-qemu): shellcheck for test/run-qemu
Harald Hoyer [Tue, 30 Mar 2021 08:40:13 +0000 (10:40 +0200)] 
fix(test/run-qemu): shellcheck for test/run-qemu

4 years agofix(fedora-test.sh): shellcheck for fedora-test.sh
Harald Hoyer [Tue, 30 Mar 2021 08:40:12 +0000 (10:40 +0200)] 
fix(fedora-test.sh): shellcheck for fedora-test.sh

4 years agofix(dm): shellcheck for modules.d/90dm
Harald Hoyer [Fri, 26 Mar 2021 09:29:19 +0000 (10:29 +0100)] 
fix(dm): shellcheck for modules.d/90dm

4 years agofix(install): handle builtin modules
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`.

4 years agofix(network-legacy): shellcheck for modules.d/35network-legacy
Harald Hoyer [Fri, 26 Mar 2021 09:29:14 +0000 (10:29 +0100)] 
fix(network-legacy): shellcheck for modules.d/35network-legacy

4 years agofix(systemd-modules-load): shellcheck for modules.d/01systemd-modules-load
Harald Hoyer [Fri, 26 Mar 2021 09:29:07 +0000 (10:29 +0100)] 
fix(systemd-modules-load): shellcheck for modules.d/01systemd-modules-load

4 years agofix(busybox): shellcheck for modules.d/05busybox
Harald Hoyer [Fri, 26 Mar 2021 09:29:11 +0000 (10:29 +0100)] 
fix(busybox): shellcheck for modules.d/05busybox

4 years agofix(securityfs): shellcheck for modules.d/96securityfs
Harald Hoyer [Fri, 26 Mar 2021 09:29:31 +0000 (10:29 +0100)] 
fix(securityfs): shellcheck for modules.d/96securityfs

4 years agofix(iscsi): shellcheck for modules.d/95iscsi
Harald Hoyer [Fri, 26 Mar 2021 09:29:27 +0000 (10:29 +0100)] 
fix(iscsi): shellcheck for modules.d/95iscsi

4 years agofix(mdraid): shellcheck for modules.d/90mdraid
Harald Hoyer [Fri, 26 Mar 2021 09:29:22 +0000 (10:29 +0100)] 
fix(mdraid): shellcheck for modules.d/90mdraid

4 years agofix(TEST-30-ISCSI): add sync to client root creation
Harald Hoyer [Mon, 29 Mar 2021 13:24:50 +0000 (15:24 +0200)] 
fix(TEST-30-ISCSI): add sync to client root creation

4 years agofix(cifs): shellcheck for modules.d/95cifs
Harald Hoyer [Fri, 26 Mar 2021 09:29:24 +0000 (10:29 +0100)] 
fix(cifs): shellcheck for modules.d/95cifs

4 years agotest(FULL-SYSTEMD): add fuse kernel module in test root
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

4 years agofix(dmsquash-live): shellcheck for modules.d/90dmsquash-live
Harald Hoyer [Fri, 26 Mar 2021 09:29:19 +0000 (10:29 +0100)] 
fix(dmsquash-live): shellcheck for modules.d/90dmsquash-live

4 years agofix(crypt-gpg): shellcheck for modules.d/91crypt-gpg
Harald Hoyer [Fri, 26 Mar 2021 09:29:23 +0000 (10:29 +0100)] 
fix(crypt-gpg): shellcheck for modules.d/91crypt-gpg

4 years agofix(fcoe-uefi): shellcheck for modules.d/95fcoe-uefi
Harald Hoyer [Fri, 26 Mar 2021 09:29:26 +0000 (10:29 +0100)] 
fix(fcoe-uefi): shellcheck for modules.d/95fcoe-uefi

4 years agofix(fstab-sys): shellcheck for modules.d/95fstab-sys
Harald Hoyer [Fri, 26 Mar 2021 09:29:27 +0000 (10:29 +0100)] 
fix(fstab-sys): shellcheck for modules.d/95fstab-sys

4 years agofix(lunmask): shellcheck for modules.d/95lunmask
Harald Hoyer [Fri, 26 Mar 2021 09:29:27 +0000 (10:29 +0100)] 
fix(lunmask): shellcheck for modules.d/95lunmask