sonic-buildimage/scripts
xumia 6e43b5c515
[Build] Support to use the snapshot mirror for debian base image (#14474)
Why I did it
[Build] Support to use the snapshot mirror for debian base image

How I did it
If the MIRROR_SNAPSHOT=n, then use the default mirror http://deb.debian.org/debian
If the MIRROR_SNAPSHOT=y, then use the snapshot mirror, for instance http://packages.trafficmanager.net/snapshot/debian/20230330T000330Z/.

How to verify it
+ scripts/build_debian_base_system.sh amd64 bullseye ./fsroot-vs
I: Target architecture can be executed
I: Retrieving InRelease 
I: Checking Release signature
I: Valid Release signature (key id A4285295FC7B1A81600062A9605C66F00D6C9793)
I: Retrieving Packages 
I: Validating Packages 
I: Resolving dependencies of required packages...
I: Resolving dependencies of base packages...
I: Checking component main on http://packages.trafficmanager.net/snapshot/debian/20230331T000125Z...
I: Retrieving libacl1 2.2.53-10
2023-04-07 11:05:51 +08:00
..
j2cli [dockers] label SONiC Docker with manifest (#5939) 2021-04-26 13:51:50 -07:00
build_debian_base_system.sh [Build] Support to use the snapshot mirror for debian base image (#14474) 2023-04-07 11:05:51 +08:00
build_kvm_image.sh [Build] Fix the build unstalbe issue caused by the kvm not ready (#12180) 2022-09-27 06:55:19 +08:00
build_mirror_config.sh [Build] Change the default mirror version config file (#13786) 2023-02-14 14:59:38 +08:00
collect_build_version_files.sh 05.Version cache - docker dpkg caching support (#12005) 2022-12-12 09:20:56 +08:00
collect_docker_version_files.sh 05.Version cache - docker dpkg caching support (#12005) 2022-12-12 09:20:56 +08:00
collect_host_image_version_files.sh 05.Version cache - docker dpkg caching support (#12005) 2022-12-12 09:20:56 +08:00
convert-pfx-cert-format.sh Simplify the function to covert pfx certificate (#5086) 2020-08-01 20:07:20 +08:00
dbg_files.sh Create the src archive in target/ when INSTALL_DEBUG_TOOLS=y (#3323) 2019-08-28 09:29:48 -07:00
docker_version_control.sh [build] Fix issues found in reproducible build. (#10407) 2022-03-31 13:07:46 +08:00
efi-sign.sh Add Secure Boot Support (#12692) 2023-03-14 14:55:22 +02:00
generate_buildinfo_config.sh [Build] Support Debian snapshot mirror to improve build stability (#13097) 2023-01-13 16:16:35 +08:00
populate_file_web_server.py Add script to upload packages to web server (#13545) 2023-02-23 08:18:42 +02:00
prepare_debian_image_buildinfo.sh 05.Version cache - docker dpkg caching support (#12005) 2022-12-12 09:20:56 +08:00
prepare_docker_buildinfo.sh [Build] Support j2 template for debian sources for docker ptf (#13198) 2022-12-29 23:33:21 -08:00
prepare_slave_container_buildinfo.sh 05.Version cache - docker dpkg caching support (#12005) 2022-12-12 09:20:56 +08:00
process_log.sh [build]: add SONIC_CONFIG_BUILD_LOG_TIMESTAMP to add timestamp in build log (#4269) 2020-03-21 14:21:26 -07:00
run_with_retry Fix sonic-slave-* build errors about sudo command not found (#13412) 2023-01-31 12:35:17 +02:00
secure_boot_signature_verification.sh Add Secure Boot Support (#12692) 2023-03-14 14:55:22 +02:00
sign_image.sh [Secure Boot] Support to sign swi image (#4627) 2020-06-09 15:25:17 +08:00
signing_kernel_modules.sh Add Secure Boot Support (#12692) 2023-03-14 14:55:22 +02:00
signing_secure_boot_dev.sh Add Secure Boot Support (#12692) 2023-03-14 14:55:22 +02:00
versions_manager.py [Build] Support Debian snapshot mirror to improve build stability (#13097) 2023-01-13 16:16:35 +08:00
wait_for_docker.sh [build]: wait up to 60 seconds for docker engine to start (#3067) 2019-06-22 14:40:05 -07:00