Skip to content

Linux Kernel Shallow Bundles are a way to distribute kernel source code in a more compact and efficient form

License

Notifications You must be signed in to change notification settings

armbian/shallow

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

36 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Armbian logo

This repository automates the preparation and distribution of shallow Linux kernel bundles optimized for use in CI/CD environments.

Full kernel trees can be several gigabytes in size and take considerable time and resources to clone. While shallow clones reduce this overhead, fetching them directly still places significant load on the source servers.

To address this, kernel.org provides pre-generated git bundles, which are simple archive files downloadable via CDN. These are the recommended method for CI usage according to kernel.org best practices.

This repository:

  • Automates downloading of upstream kernel bundles.
  • Updates them from live git sources.
  • Generates new, optimized shallow bundles for downstream use.
  • Ensures all relevant version tags are included (including -rc tags).
  • Executes scheduled daily updates using GitHub Actions and caching mechanisms.

Optimized shallow bundles are ~300 MB — significantly smaller than full clones and much faster to work with.

About

Linux Kernel Shallow Bundles are a way to distribute kernel source code in a more compact and efficient form

Topics

Resources

License

Security policy

Stars

Watchers

Forks

Packages

 
 
 

Contributors 2

  •  
  •  

Languages