logo

bootstrap-initrd

Linux initrd to bootstrap from a small binary seed git clone https://hacktivis.me/git/bootstrap-initrd.git

common.sh (690B)


  1. APKS_main="
  2. musl-1.2.5-r2.apk
  3. musl-dev-1.2.5-r2.apk
  4. musl-libintl-1.2.5-r2.apk
  5. "
  6. APKS_testing="
  7. tcc-0.9.27_git20240117-r0.apk
  8. tcc-libs-0.9.27_git20240117-r0.apk
  9. tcc-dev-0.9.27_git20240117-r0.apk
  10. tcc-libs-static-0.9.27_git20240117-r0.apk
  11. "
  12. ALPINE_MIRROR="http://dl-cdn.alpinelinux.org/alpine"
  13. # Alpine edge is definitely not a good way to do it but I need TCC with musl and /testing/ means edge-only
  14. ALPINE_BRANCH="edge"
  15. # Architectures which alpine supports for tcc (+musl of course)
  16. ALPINE_ARCHES="x86 x86_64 aarch64 armhf armv7 riscv64"
  17. if ! test "${EXCLUDE_EXTRAS:+y}" = "y"; then
  18. APKS_main="${APKS_main}
  19. linux-headers-6.6-r0.apk"
  20. fi
  21. die() {
  22. echo "[Error] die: ${*}"
  23. exit 1
  24. }