A recent change skipped calling debootstrap if the allow-existing-root flag was passed in combination with apt as the package manager. However this is not enough. If you say allow-existing-root but the existing root is empty or not valid to continue with chroot and apt the debootstrap phase should not be skipped. This commit checks if apt works in the chroot such that we can assume debootstrap has done its job and can be skipped |
||
|---|---|---|
| .. | ||
| __init__.py | ||
| base_test.py | ||
| image_info_test.py | ||
| image_resize_test.py | ||
| result_bundle_test.py | ||
| result_list_test.py | ||
| system_build_test.py | ||
| system_create_test.py | ||
| system_prepare_test.py | ||
| system_update_test.py | ||