Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

dracut: depend on net-lib module #69

Closed
wants to merge 1 commit into from
Closed
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 1 addition & 5 deletions dracut/03flatcar-network/module-setup.sh
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@

# called by dracut
depends() {
echo systemd-networkd
echo net-lib systemd-networkd
}

# called by dracut
Expand Down Expand Up @@ -42,10 +42,6 @@ install() {
inst_simple "$moddir/zz-default.network" \
"$systemdutildir/network/zz-default.network"

# install net-lib.sh regardless of its parent module's status
inst_simple "$moddir/../40network/net-lib.sh" /lib/net-lib.sh ||
dfatal 'Could not install net-lib.sh from the network module'

# add a hook to generate networkd configuration from ip= arguments
inst_hook cmdline 99 "$moddir/parse-ip-for-networkd.sh"

Expand Down