Skip to content

improve config loading flow - #451

Merged
desultory merged 20 commits into
mainfrom
load_time_imports
Jul 12, 2026
Merged

improve config loading flow#451
desultory merged 20 commits into
mainfrom
load_time_imports

Conversation

@desultory

Copy link
Copy Markdown
Owner

No description provided.

Signed-off-by: Zen <z@pyl.onl>
Signed-off-by: Zen <z@pyl.onl>
Signed-off-by: Zen <z@pyl.onl>
@desultory
desultory force-pushed the load_time_imports branch 13 times, most recently from 6826ef7 to 3a8c966 Compare July 11, 2026 23:50
Signed-off-by: Zen <z@pyl.onl>
Signed-off-by: Zen <z@pyl.onl>
need higher zenlib version for parse_toml

Signed-off-by: Zen <z@pyl.onl>
keeps config processing where it should be

Signed-off-by: Zen <z@pyl.onl>
doesn't do anything because this happens before custom_paramaters are
defined

if the custom parameters were already defined, the queue should not have
    values in it

Signed-off-by: Zen <z@pyl.onl>
Signed-off-by: Zen <z@pyl.onl>
when custom parameters are defined, immediately process queued values

Signed-off-by: Zen <z@pyl.onl>
@desultory
desultory force-pushed the load_time_imports branch from 3a8c966 to 215cf60 Compare July 12, 2026 00:49
@desultory desultory changed the title improve config loading flow, add _early_args improve config loading flow Jul 12, 2026
remove check for validated, if it was validated then writing would not
be allowed anyways

Signed-off-by: Zen <z@pyl.onl>
instead of loading multiple times, just load things from the base up
this sets the stage for removing late_args (possibly) but mostly for
making early arg loading possible

Signed-off-by: Zen <z@pyl.onl>
used to ensure late_args are only processed once the stage is set to the
late stage

the late stage is started by the generator before the build process
starts. At the start of the stage, all enqueued late args are processed

this should ensure that args like "kernel_version" are processed after
parameters like "no_kmod" are set anywhere

Signed-off-by: Zen <z@pyl.onl>
Signed-off-by: Zen <z@pyl.onl>
sets the stage for the busybox module, or any other module which may
want to change how binaries are processed

Signed-off-by: Zen <z@pyl.onl>
because it depends on the binaries helper for error handling, it must be
used later for proper error handling

Signed-off-by: Zen <z@pyl.onl>
Signed-off-by: Zen <z@pyl.onl>
@desultory
desultory force-pushed the load_time_imports branch from 215cf60 to ff75b4e Compare July 12, 2026 00:52
@desultory
desultory merged commit 192f5bc into main Jul 12, 2026
9 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant