Skip to content

Commit

Permalink
Merge pull request #1689 from mook-as/wsl-dnsmasq-state-dir
Browse files Browse the repository at this point in the history
WSL: create state directory needed for dnsmasq
  • Loading branch information
jandubois authored Mar 1, 2022
2 parents 3c1fe7f + 98d930a commit 481eea1
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/k8s-engine/wsl.ts
Original file line number Diff line number Diff line change
Expand Up @@ -1233,6 +1233,7 @@ export default class WSLBackend extends events.EventEmitter implements K8s.Kuber
});
await this.writeFile(`/etc/init.d/buildkitd`, SERVICE_BUILDKITD_INIT, 0o755);
await this.writeFile(`/etc/conf.d/buildkitd`, SERVICE_BUILDKITD_CONF, 0o644);
await this.execCommand('mkdir', '-p', '/var/lib/misc');

await this.runInit();
if (this.#currentContainerEngine === ContainerEngine.MOBY) {
Expand Down

0 comments on commit 481eea1

Please sign in to comment.