Skip to content

Commit 481eea1

Browse files
authored
Merge pull request #1689 from mook-as/wsl-dnsmasq-state-dir
WSL: create state directory needed for dnsmasq
2 parents 3c1fe7f + 98d930a commit 481eea1

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

src/k8s-engine/wsl.ts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1233,6 +1233,7 @@ export default class WSLBackend extends events.EventEmitter implements K8s.Kuber
12331233
});
12341234
await this.writeFile(`/etc/init.d/buildkitd`, SERVICE_BUILDKITD_INIT, 0o755);
12351235
await this.writeFile(`/etc/conf.d/buildkitd`, SERVICE_BUILDKITD_CONF, 0o644);
1236+
await this.execCommand('mkdir', '-p', '/var/lib/misc');
12361237

12371238
await this.runInit();
12381239
if (this.#currentContainerEngine === ContainerEngine.MOBY) {

0 commit comments

Comments
 (0)