Fix module dependency resolution for clean builds

- Use container modules from kernel_modules stage for dependency resolution
- Remove dependency on initramfs modules that haven't been copied yet
- Fixes regression where clean builds had empty stage1.list
- Dependency resolution now works correctly in clean build scenarios
This commit is contained in:
2025-09-05 17:29:46 +02:00
parent d594d29732
commit cbdc08c71f
34 changed files with 123 additions and 20 deletions

10
config/zinit.old/init/ntpd.sh Executable file
View File

@@ -0,0 +1,10 @@
#!/bin/sh
ntp_flags=$(grep -o 'ntp=.*' /proc/cmdline | sed 's/^ntp=//')
params=""
if [ -n "$ntp_flags" ]; then
params=$(echo "-p $ntp_flags" | sed s/,/' -p '/g)
fi
exec ntpd -n $params