Skip to content
This repository has been archived by the owner on Apr 18, 2020. It is now read-only.


Repository files navigation


Build Status



A simple (unofficial) CI/CD bash script to build a zipped .img of Arch Linux Arm installation archives, released to GitHub releases.

The alarm project does not publish images, just inconveniently packaged archives that require a very up-to-date version of bsdtar.


You can use this repo in a few different ways:

Flashing the provided image

  1. Download the image and install with the etcher GUI or something similar:
# on mac
$ brew cask install balenaetcher

etcher screenshot

  1. The / partition is very small, so you will also need to extend that to fill up your SD card. You have to do this from an external system, you cannot resize the partition with the system running on the SD card itself.
  1. Continue on step 9 from the relavant intructions where you boot the SD card, log in (user:alarm pw:alarm root:root) and initialize pacman:
pacman-key --init
pacman-key --populate archlinuxarm

Running your own build

The indented usage is to just consume the artifacts published on the GitHub releases page, but you can also run it locally on linux.

$ git clone
$ cd archlinux-arm-img
$ sudo ./

The script requires sudo access, because it needs to mount things. Read the script, it short.

There is also a script to install new bsdtar, but its just a simple ./configure ; make ; make install, so its not recommended to use outside of a disposable environment. Find a way to install bsdtar 3.3.1 or greater with your system package manager.

If you do run your own build, set it up to run in a CI environment. See .travis.yml for example CI usage.

Customize with packer (experimental)

(Note the following method is still experimental/WIP and doesn't work yet)

Create customized versions of this image with packer and solo-io/packer-builder-arm-image.

  • Install packages
  • Resize the image
  • Create users
  • Set up ssh keys
  • etc...

See for example consumption of this image with packer. (Not functional yet, see solo-io/packer-builder-arm-image#12)


Currently publishing the following installations. Open a pull request if you would like additional images added or to request a rebuild. Images are dated when they were created.

Run your own builds in CI for a greater level of trust in the build output.

See also