Skip to content
archlinux aarch64 images for Orange PI Prime
Branch: master
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
README.md

README.md

skyalarm.img

  • Archlinux aarch64 image for Orange PI Prime

initial setup

  • Burn the skyalarm.img to a microSD
wget https://github.com/0pcom/skyalarm/releases/download/skyalarm/skyalarm.img.tar.xz
bsdtar -xpf skyalarm.img.tar.xz
sudo dcfldd if='~/skyalarm.img' of=/dev/sdx
  • Resize the rootfs partition to take up the rest of the microSD with your preferred partitioning utility (parted, gparted, cfdisk, gnome-disks-utility, etc.)

  • Insert the microSD into your OrangePI Prime

  • Determine the IP address of your board via your router's web interface which is probably here or here

  • ssh to the board with alarm@

  • password is alarm and for root is root

  • Run the following at first boot:

pacman-key --init
pacman-key --populate
pacman -Sy
pacman -Syy
pacman -S archlinux-keyring
pacman -Syu

troubleshooting

  • If the above step fails due to DNS resolution related errors, try disabling systemd-resolved.service
systemctl disable systemd.resolved.service
systemctl stop systemd.resolved.service
  • If errors persist try adding a nameserver to /etc/resolv.conf (not /etc/resolve.conf !)
cat /etc/resolv.conf
#see if there's anything there with the above; then
echo 'nameserver 8.8.8.8.8 >> /etc/resolv.conf
echo 'nameserver 192.168.0.1 >> /etc/resolv.conf
echo 'nameserver 192.168.1.1 >> /etc/resolv.conf

IF THE ABOVE DOES NOT WORK PLEASE FILE AN ISSUE!

  • To avoid MAC address / hostname conflicts for multiple boards you may need to edit

/etc/hostname & / or etc/machine-id

pre-configuration

  • Create a user (or give sudo privelages to alarm)
su - root
useradd -m user
  • Add the user to sudoers with visudo

  • Switch to the user:

su - user

Configuring skywire, etc.

To avoid stale packages, the skycoin aarch64 repository has been depreciated & is no longer preconfigured on the image provided.

  • To utilise the AUR packages for skycoin, skywire, etc. first install some make dependancies.
sudo pacman -S base-devel
sudo pacman -S go-pie git
  • Then install yay, an AUR package manager written in go
git clone https://aur.archlinux.org/yay.git
cd yay
makepkg -scif
cd ~/
  • Now you can install skywire with the following:

yay -S skywire or yay -S skywire-mainnet

A la carte

If you prefer to save bandwidth or processing power and avoid building in paralell; or to save some space on the nodes and avoid having to install the make dependancies, you can build any particular package you like and share it over the local network with the following:

git clone https://aur.archlinux.org/skywire-mainnet.git
cd skywire-mainnet
makepkg -scif
darkhttpd .

Now you can find this package on your lan at <your board's IP>:8080/

You can’t perform that action at this time.