armbian-build/lib
Ricardo Pardini 88ff66ae11
armbian-next: adaptive shallow/full Kernel git bare git (3gb -> 300mb download)
- allows using pre-shallow-ed bare trees, specific to the KERNEL_MAJOR_MINOR
- uses shallow by default if storage is "slow" (mmc), or free disk space < 32g (@TODO tweak this)
- if full tree already there keeps using it
- allow forcing decision with `KERNEL_GIT=full` or `KERNEL_GIT=shallow`
- countdown to confirm if decision based on storage type/free space and user is interactive
  - this has some of the worst copy ever written
- @TODO refactor the device type / free space code, reuse across codebase (3-4 other spots detect free space)
- @TODO GHA self-hosted (full) vs hosted (shallow) runners decision
- sprinkle with `wait_for_disk_sync()` around clean/download/extract
- sprinkle git with debugs, and an info between fetch and checkout (otherwise it seems "fetch" takes a long time)
2023-02-18 07:43:54 -03:00
..
functions armbian-next: adaptive shallow/full Kernel git bare git (3gb -> 300mb download) 2023-02-18 07:43:54 -03:00
tools armbian-next: add Debian Ports keyring hostdep to strap Debian riscv64 from ports 2023-02-18 07:43:49 -03:00
extensions.sh armbian-next: allow shortcut EXT= to the overly-long and plural ENABLE_EXTENSIONS= 2023-02-18 07:43:34 -03:00
library-functions.sh armbian-next: adaptive shallow/full Kernel git bare git (3gb -> 300mb download) 2023-02-18 07:43:54 -03:00
single.sh armbian-next: a bunch of checks for Darwin; use brew's GNU coreutils first in PATH, so we get the correct utils; give instructions 2023-02-18 07:42:50 -03:00