Hi Jochen,

Quoting Jochen Sprickerhof (2021-05-31 15:16:26)
> I just tried the sub-essential busybox-based chroot example from the man page
> on an up to date sid and got:
> 
> /var/lib/dpkg/info/base-passwd.postinst: line 1: mktemp: not found
> 
> Adding mktemp to the setup-hook ln loop fixes it.

thanks! Fixed in git. The more elegant way is indeed to run `busybox --install
-s` in the extract-hook. That's also what is done in the scripts in
/usr/share/mmdebstrap/hooks/busybox that you already discovered.

> In addition it probably makes sense to add something like this below:
> 
> The same can be archived by:
> --hook-dir=/usr/share/mmdebstrap/hooks/busybox
> 
> Or maybe replace the example?
> 
> Similar for the merged-/usr via symlinks example above:
> 
> The same can be archived by:
> --hook-dir=/usr/share/mmdebstrap/hooks/

I fixed it like this:

https://gitlab.mister-muffin.de/josch/mmdebstrap/commit/594ea3c72e7af26b680d2bfb696c0271839b731d

> Thanks for the great tool!

Thank you for your bug report. :)

cheers, josch

Attachment: signature.asc
Description: signature

Reply via email to