NOTE: DEPRECIATED IN FAVOR OF https://github.com/bcomnes/raspi-packer
alarm project does not publish images, just inconveniently packaged archives that require a very up-to-date version of
You can use this repo in a few different ways:
Flashing the provided image
# on mac $ brew cask install balenaetcher
/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.
- Arch Linux: Parted#Resizing_partitions
- macOS: TODO
- Windows: TODO
- Continue on step 9 from the relavant intructions where you boot the SD card, log in (user:
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 https://github.com/bcomnes/archlinux-arm-img.git $ cd archlinux-arm-img $ sudo ./build-arch-arm-img.sh http://os.archlinuxarm.org/os/ArchLinuxARM-aarch64-latest.tar.gz
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)
- Install packages
- Resize the image
- Create users
- Set up ssh keys
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.