Open liushilongbuaa opened 1 year ago
After additional tests I have found more possible issues for SPLIT_RFS+DPKG cache:
Until that fixed I don't recommend to use DPKG cache for SPLIT RFS. Maybe I'll create PR later, but not sure. Need a lot of time to test all possible cases.
@Yakiv-Huryk FYI
Maybe we need to collect some data. We need to put only one or two long time job into stage 1. Small jobs which run less than 1 second are not included.
@xumia Please triage this issue. If you require Nvidia's help please reach out to @Yakiv-Huryk
Maybe we need to collect some data. We need to put only one or two long time job into stage 1. Small jobs which run less than 1 second are not included.
==== 1st stage ====
=== 2nd stage ====
resolv.conf
, apt http proxy, sources.list ?Also need to fix list of dependencies (flags and files) for 1st stage RFS DPKG cache.
Add _DEPENDS for RFS ($(DEBOOTSTRAP) $(INITRAMFS_TOOLS) $(INITRAMFS_TOOLS_CORE) $(LINUX_KERNEL)
) for DPKG cache.
Probably build sonic-build-hooks as reproducible deb package (and add deb file to RFS DPKG-cache deps files). This package also includes some config options like VERSION_CONTROL_COMPONENTS and downloaded trusted gpg keys.
If checksum of sonic-build-hooks is changed then we should rebuild 1st stage RFS.
I think I can try to implement this and open PR later or report if something is not possible to implement.
Description
Without this fix PR https://github.com/sonic-net/sonic-buildimage/pull/16936, build will exit with depmod error. It says missing folder /lib/modules.
Steps to reproduce the issue:
1. 2. 3.
Describe the results you received:
Describe the results you expected:
Output of
show version
:Output of
show techsupport
:Additional information you deem important (e.g. issue happens only occasionally):