Skip to content

Some scripts to cross-compile an Arch Linux ARM Kernel in a Docker environment

License

Notifications You must be signed in to change notification settings

silkskier/build-archlinuxarm-pkg

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

build-archlinuxarm-pkg

Cross-compile and package an Arch Linux ARM kernel inside of a Docker containter.

This may work for other packages varying on dependencies if you change the contents of the package/ directory.

Usage

To build package run the following:

./scripts/run-docker-build

If you get the following error:

==> ERROR: The package group has already been built. (use -f to overwrite)

You should clear out the package products by running:

rm -rf package/*.tar.zst package/pkg

Credits

Copied and tweaked files for PKGBUILD from:
https://github.com/archlinuxarm/PKGBUILDs/blob/master/core/linux-aarch64-rc/PKGBUILD

Copied and tweaked files for Docker from:
https://github.com/flaccid/docker-arch-pkgbuild

And some inspiration from:
https://github.com/aarch64-laptops/build/blob/master/scripts/make-image.sh

About

Some scripts to cross-compile an Arch Linux ARM Kernel in a Docker environment

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Shell 85.6%
  • Dockerfile 14.4%