File tree Expand file tree Collapse file tree 1 file changed +8
-19
lines changed Expand file tree Collapse file tree 1 file changed +8
-19
lines changed Original file line number Diff line number Diff line change 1717#  shellcheck disable=SC2034
1818
1919DEFAULT_PACKAGE_GIT_URL=" https://github.com/delphix/grub2" 
20+ SKIP_COPYRIGHTS_CHECK=true
2021
21- UPSTREAM_GIT_URL=https://git.launchpad.net/ubuntu/+source/grub2
22- UPSTREAM_GIT_BRANCH=" applied/ubuntu/${UBUNTU_DISTRIBUTION} -updates" 
22+ URI=" s3://release-de-images/internal-artifacts/2025.3.0.1/1.0.53/input-artifacts/combined-packages/packages/grub2" 
2323
24- SKIP_COPYRIGHTS_CHECK=true
24+ function  fetch()  {
25+ 	logmust cd  " $WORKDIR /artifacts" 
2526
26- # 
27- #  Install build dependencies for the package.
28- # 
29- function  prepare()  {
30- 	logmust install_build_deps_from_control_file
27+ 	logmust aws s3 sync " $URI "   . 
28+ 	logmust sha256sum -c SHA256SUMS
3129}
3230
33- # 
34- #  Build the package.
35- # 
3631function  build()  {
37- 	logmust dpkg_buildpackage_default
38- }
39- 
40- # 
41- #  Hook to fetch upstream package changes and merge into our tree.
42- # 
43- function  update_upstream()  {
44- 	logmust update_upstream_from_git
32+ 	return 
33+ 	#  Nothing to do, all the logic is done in fetch().
4534}
    
 
   
 
     
   
   
          
     
  
    
     
 
    
      
     
 
     
    You can’t perform that action at this time.
  
 
    
  
     
    
      
        
     
 
       
      
     
   
 
    
    
  
 
  
 
     
    
0 commit comments