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

View File

@@ -8,6 +8,7 @@ fi
echo "Setting up sshd"
mkdir -p /run/sshd
mkdir -p /var/empty
ssh-keygen -f /etc/ssh/ssh_host_rsa_key -N '' -t rsa
ssh-keygen -f /etc/ssh/ssh_host_dsa_key -N '' -t dsa