Skip to content

Commit afef455

Browse files
johannbgharaldh
authored andcommitted
fix(systemd-modules): remove dependency on systemd meta module
Depending on systemd meta module causes circular dependency, prevents the existance of multiple systemd based meta modules and is redunant.
1 parent 2257d54 commit afef455

File tree

5 files changed

+6
-12
lines changed

5 files changed

+6
-12
lines changed

modules.d/01systemd-ask-password/module-setup.sh

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -17,9 +17,7 @@ check() {
1717
# Module dependency requirements.
1818
depends() {
1919

20-
# This module has external dependency on the systemd module.
21-
echo systemd
22-
# Return 0 to include the dependent systemd module in the initramfs.
20+
# Return 0 to include the dependent module(s) in the initramfs.
2321
return 0
2422

2523
}

modules.d/01systemd-coredump/module-setup.sh

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -18,8 +18,8 @@ check() {
1818
depends() {
1919

2020
# This module has external dependency on the systemd module.
21-
echo systemd systemd-journald systemd-sysctl
22-
# Return 0 to include the dependent systemd module in the initramfs.
21+
echo systemd-journald systemd-sysctl
22+
# Return 0 to include the dependent module(s) in the initramfs.
2323
return 0
2424

2525
}

modules.d/01systemd-repart/module-setup.sh

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -16,9 +16,7 @@ check() {
1616
# Module dependency requirements.
1717
depends() {
1818

19-
# This module has external dependency on the systemd module.
20-
echo systemd
21-
# Return 0 to include the dependent systemd module in the initramfs.
19+
# Return 0 to include the dependent module(s) in the initramfs.
2220
return 0
2321

2422
}

modules.d/01systemd-sysctl/module-setup.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@ check() {
1717
depends() {
1818

1919
# This module has external dependency on other module(s).
20-
echo systemd systemd-modules-load
20+
echo systemd-modules-load
2121
# Return 0 to include the dependent module(s) in the initramfs.
2222
return 0
2323

modules.d/01systemd-sysusers/module-setup.sh

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -17,9 +17,7 @@ check() {
1717
# Module dependency requirements.
1818
depends() {
1919

20-
# This module has external dependency on the systemd module.
21-
echo systemd
22-
# Return 0 to include the dependent systemd module in the initramfs.
20+
# Return 0 to include the dependent module(s) in the initramfs.
2321
return 0
2422

2523
}

0 commit comments

Comments
 (0)