Stop using qemu-debootstrap, use debootstrap directly

The vmdb2 code already passed the call to debootstrap, so lets do it ourselves too which also makes it clearer what happens.

As we mount tag-firmware in /boot/firmware, the target directory for debootstrap is NOT empty, causing a build failure.
So add the 'require_empty_target' parameter with value 'False', to resolve that build failure.

Upstream commit f2c2863f09bbd6fe10f9f901ffefdc50de5b3598 requires an empty target dir for debootstrap, but in commit 3c6f8fdfd09bdc0f8433176d9b94eaef5275d8fd a parameter 'require_empty_target' was added to allow a non-empty target dir.
This does not seem to be documented though; bug is being filed.

Merge request reports

Loading