Package: mmdebstrap
Severity: normal

Dear maintainer,

live-build's `lb build` uses some command line options which are unsupported by mmdebstrap.

live-build currently doesn't support configuration of the debootstrap program [1] but until/if it does, I simply used "sudo cp /usr/bin/mmdebstrap /usr/sbin/debootstrap". mmdebstrap attempts to be a debootstrap drop-in replacement as far as I understand so that should work.

It's currently broken because `lb` uses (at least) the following parameters which are unsupported by mmdebstrap:

* --download-only

By looking at the source code of live-build I am reasonably sure, this might only be happening because I previously set:
`lh config --cache-packages true`

That 'lb config' option however may or may not be redundant since mmdebstrap might cache itself by default. Nevertheless would it be nice if this could be fixed please.

While at it, there are some other debootstrap related command line options that I found in the live-build source. These might come up later in other corner cases that mmdebstrap doesn't support yet:

* --foreign - Only used for the live-build's qemu-debootstrap related code path. But perhaps worth supporting too?

* --second-stage - Similar to above.

* --no-check-gpg - Not sure worth bothering or if you would like to support that for compatibility's sake.

Thank you for maintaining mmdebstrap, it's an amazing tool!

Kind regards,
Patrick

[1] live-build: support configuration of debootstrap binary
https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=1031929

Reply via email to