Skip to content

Commit

Permalink
chore(pkg/distro): driverkit does validate env now.
Browse files Browse the repository at this point in the history
Signed-off-by: Federico Di Pierro <nierro92@gmail.com>
  • Loading branch information
FedeDP authored and poiana committed May 10, 2024
1 parent 3042921 commit 0469ee9
Showing 1 changed file with 0 additions and 4 deletions.
4 changes: 0 additions & 4 deletions pkg/driver/distro/distro.go
Original file line number Diff line number Diff line change
Expand Up @@ -187,10 +187,6 @@ func Build(ctx context.Context,
return "", err
}

if env == nil {
env = make(map[string]string)
}

// Disable automatic kernel headers fetching
// if customizeBuild already retrieved kernel headers for us
// (and has set the KernelDirEnv key)
Expand Down

0 comments on commit 0469ee9

Please sign in to comment.