Bug#1002628: Using build command fails in Debian WSL
Package: live-build
Version: 1:20190311
Severity: important
Dear Maintainer,
I was following your [tutorials on customizing the live debian installation](https://live-team.pages.debian.net/live-manual/html/live-manual/examples.en.html#using-the-examples).
The last command in every tutorial is `lb build 2>&1 | tee build.log`. But every time I use it on my Debian WSL2
machine I run into this:
```
...
P: If the following stage fails, the most likely cause of the problem is with your mirror configuration or a caching proxy.
P: Running debootstrap...
mknod: /mnt/c/deb-live-tutorial/chroot/test-dev-null: Operation not supported
E: Cannot install into target '/mnt/c/deb-live-tutorial/chroot' mounted with noexec or nodev
P: Begin unmounting filesystems...
P: Saving caches...
chroot: failed to run command ‘/usr/bin/env’: No such file or directory
```
Could it be that live-build is not wokring properly inside WSL2?
-- Package-specific info:
-- System Information:
Debian Release: 10.11
APT prefers oldstable-updates
APT policy: (500, 'oldstable-updates'), (500, 'oldstable')
Architecture: amd64 (x86_64)
Kernel: Linux 4.19.104-microsoft-standard (SMP w/8 CPU cores)
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8), LANGUAGE=en_US.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash
Init: unable to detect
Versions of packages live-build depends on:
ii debootstrap 1.0.114
Versions of packages live-build recommends:
ii apt-utils 1.8.2.3
ii bzip2 1.0.6-9.2~deb10u1
ii cpio 2.12+dfsg-9
ii file 1:5.35-4+deb10u2
ii live-boot-doc 1:20190614
ii live-config-doc 5.20190519
ii live-manual-html [live-manual] 2:20151217.1
ii wget 1.20.1-1.1
ii xz-utils 5.2.4-1
Versions of packages live-build suggests:
ii e2fsprogs 1.44.5-1+deb10u3
pn mtd-utils <none>
pn parted <none>
-- no debconf information
Reply to: