Permit to use choose where applying modules
When a job deploy has a module entry, it applies both (if present) to ramdisk and nfsrootfs. Problem appears for some arm64 jobs where the ramdisk became too big due to huge number of modules and cannot fit in memory.
The solution is to permit to choose where to apply modules. Along this, it could be useful to have two sets of modules: one limited to essential modules to boot and mount rootfs and one for full set to apply on final rootfs.
For representing this, there are multiple way:
modules: - url: applyto: - url: applyto:
modules_for_ramdisk: url: modules_for_rootfs: url:
ramdisk: url: modules: url:
The solution 3 seems the best.