Browse Source

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.
master
Jóhann B. Guðmundsson 4 years ago committed by Harald Hoyer
parent
commit
afef455718
  1. 4
      modules.d/01systemd-ask-password/module-setup.sh
  2. 4
      modules.d/01systemd-coredump/module-setup.sh
  3. 4
      modules.d/01systemd-repart/module-setup.sh
  4. 2
      modules.d/01systemd-sysctl/module-setup.sh
  5. 4
      modules.d/01systemd-sysusers/module-setup.sh

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

@ -17,9 +17,7 @@ check() { @@ -17,9 +17,7 @@ check() {
# Module dependency requirements.
depends() {

# This module has external dependency on the systemd module.
echo systemd
# Return 0 to include the dependent systemd module in the initramfs.
# Return 0 to include the dependent module(s) in the initramfs.
return 0

}

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

@ -18,8 +18,8 @@ check() { @@ -18,8 +18,8 @@ check() {
depends() {

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

}

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

@ -16,9 +16,7 @@ check() { @@ -16,9 +16,7 @@ check() {
# Module dependency requirements.
depends() {

# This module has external dependency on the systemd module.
echo systemd
# Return 0 to include the dependent systemd module in the initramfs.
# Return 0 to include the dependent module(s) in the initramfs.
return 0

}

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

@ -17,7 +17,7 @@ check() { @@ -17,7 +17,7 @@ check() {
depends() {

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


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

@ -17,9 +17,7 @@ check() { @@ -17,9 +17,7 @@ check() {
# Module dependency requirements.
depends() {

# This module has external dependency on the systemd module.
echo systemd
# Return 0 to include the dependent systemd module in the initramfs.
# Return 0 to include the dependent module(s) in the initramfs.
return 0

}

Loading…
Cancel
Save