From 14fbe238b964813a7c821c8eb0329d288afb68af Mon Sep 17 00:00:00 2001 From: JP Meijers Date: Wed, 15 Apr 2026 15:47:03 +0200 Subject: [PATCH 1/2] Add /usr/lib/wsl dir and readme --- static/usr/lib/wsl/README | 1 + 1 file changed, 1 insertion(+) create mode 100644 static/usr/lib/wsl/README diff --git a/static/usr/lib/wsl/README b/static/usr/lib/wsl/README new file mode 100644 index 00000000..14ab8a7c --- /dev/null +++ b/static/usr/lib/wsl/README @@ -0,0 +1 @@ +This directory is a placeholder for mounting runtime libraries from a WSL host. From 400ea620df3bcfbfad1f10ef56f94c65d361978f Mon Sep 17 00:00:00 2001 From: JP Meijers Date: Fri, 17 Apr 2026 10:01:52 +0200 Subject: [PATCH 2/2] Replace static wsl dir by mkdir in hook --- hooks/020-extra-files.chroot | 3 +++ static/usr/lib/wsl/README | 1 - 2 files changed, 3 insertions(+), 1 deletion(-) delete mode 100644 static/usr/lib/wsl/README diff --git a/hooks/020-extra-files.chroot b/hooks/020-extra-files.chroot index 4fa66b4b..8dea3f8b 100755 --- a/hooks/020-extra-files.chroot +++ b/hooks/020-extra-files.chroot @@ -55,3 +55,6 @@ chmod 0644 /usr/lib/systemd/system.conf.d/11-snapd-ctrl-alt-del-burst.conf mkdir -p /etc/iproute2 mkdir -p /var/lib/dhcp + +echo "creating wsl mount point" +mkdir -p /usr/lib/wsl diff --git a/static/usr/lib/wsl/README b/static/usr/lib/wsl/README deleted file mode 100644 index 14ab8a7c..00000000 --- a/static/usr/lib/wsl/README +++ /dev/null @@ -1 +0,0 @@ -This directory is a placeholder for mounting runtime libraries from a WSL host.