Skip to content
This repository has been archived by the owner on Aug 25, 2021. It is now read-only.

Commit

Permalink
dracut/30ignition: simplify service installation
Browse files Browse the repository at this point in the history
  • Loading branch information
jlebon committed Feb 27, 2019
1 parent f791943 commit a29cccd
Showing 1 changed file with 3 additions and 11 deletions.
14 changes: 3 additions & 11 deletions dracut/30ignition/module-setup.sh
Original file line number Diff line number Diff line change
Expand Up @@ -32,17 +32,9 @@ install() {
inst_simple "$moddir/ignition-generator" \
"$systemdutildir/system-generators/ignition-generator"

inst_simple "$moddir/ignition-disks.service" \
"$systemdsystemunitdir/ignition-disks.service"

inst_simple "$moddir/ignition-files.service" \
"$systemdsystemunitdir/ignition-files.service"

inst_simple "$moddir/ignition-ask-var-mount.service" \
"$systemdsystemunitdir/ignition-ask-var-mount.service"

inst_simple "$moddir/ignition-remount-sysroot.service" \
"$systemdutildir/system/ignition-remount-sysroot.service"
for svc in "$moddir"/*.service; do
inst_simple "$svc" "$systemdsystemunitdir/$(basename $svc)"
done
}

has_builtin_fw_cfg() {
Expand Down

0 comments on commit a29cccd

Please sign in to comment.