Harald Hoyer
909961d048
fix: shellcheck 0.7.2
...
github action `luizm/action-sh-checker@v0.2.2` uses `shellcheck-0.7.2`,
which detects more non-posix shell code and complains accordingly.
2021-05-05 14:55:30 +02:00
Harald Hoyer
ae4fbb3db4
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.
2021-04-17 13:22:58 +02:00
Harald Hoyer
4042816955
fix(dbus-daemon): shellcheck for modules.d/06dbus-daemon
2021-03-26 13:24:45 +01:00
Harald Hoyer
9a52c3fdb0
style: shfmt reformat
...
reproducible with:
```
$ shfmt_version=3.0.1
$ wget "https://github.com/mvdan/sh/releases/download/v${shfmt_version}/shfmt_v${shfmt_version}_linux_amd64 " -O shfmt
$ chmod u+x shfmt
$ ./shfmt -w .
```
2021-03-13 20:10:43 +01:00
Harald Hoyer
f9cbd928ce
fix: shellcheck for modules.d/06dbus-daemon/module-setup.sh
2021-02-15 11:00:37 +01:00
Jóhann B. Guðmundsson
5cd1a9fb13
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.
2021-02-10 21:26:35 +01:00
Harald Hoyer
16efdfa25c
fix: revise all module checks
...
1. no module checks for modules which are in depends()
2. no `derror` for optional (255) modules checking for dependencies
3. fix dbus meta module
2021-02-10 13:29:17 +01:00
Harald Hoyer
1914a2eba1
fix: add missing line continuation
2021-02-10 12:05:24 +01:00
Harald Hoyer
d1c8083b3a
fix: correct the line continuation
...
Comments will break bash line continuation.
Also added some missing line continuation here and there.
2021-02-09 15:33:34 +01:00
Zoltán Böszörményi
702e7e83ed
fix(dbus-daemon): use uid/gid from sysroot is dracutsysrootdir is set
...
Signed-off-by: Zoltán Böszörményi <zboszor@pr.hu>
2021-02-09 07:09:28 +00:00
Jóhann B. Guðmundsson
7135c81931
feat(dbus-daemon): introducing the dbus-daemon module
...
Introdusing dbus-daemon which is based on but superseeds
the previous 06dbus implementation with various enhancements and fixes.
fix: adding new modules to rpm spec file
fix: missed an echo
2021-02-08 20:18:25 +01:00