Hi, Quoting Josh Triplett (2020-12-31 01:56:47) > mmdebstrap appears to be running commands like the following: > > env --unset=APT_CONFIG --unset=TMPDIR /usr/sbin/chroot /path/to/targetdir env > --unset=TMPDIR dpkg --install > > Running env both inside and outside of the chroot seems unnecessary. > chroot will not set TMPDIR, so the internal invocation of env can be > dropped; it would be nice to not count on "env" existing inside the > chroot.
funnily, I was investigating this situation already last december but then didn't change anything because I didn't see a way to have a working chroot without coreutils or busybox. Thus, I didn't make the change. Do you have a scenario where the chroot actually doesn't have env? Thanks! cheers, josch
signature.asc
Description: signature

