armbian-next: aggregate_packages out of main_default_start_build(); introduce assert_requires_aggregation()

This commit is contained in:
Ricardo Pardini
2023-01-27 13:07:36 +01:00
parent 67e6b010f2
commit 16eb5eb50b
5 changed files with 34 additions and 11 deletions

View File

@@ -64,6 +64,9 @@ function cli_rootfs_run() {
# This is run inside do_with_default_build(), above.
function cli_rootfs_only_in_default_build() {
assert_requires_aggregation # Bombs if aggregation has not run
declare -g rootfs_cache_id="none_yet"
LOG_SECTION="prepare_rootfs_build_params_and_trap" do_with_logging prepare_rootfs_build_params_and_trap