Skip to content

Commit ba0f3a0

Browse files
authored
Merge pull request #1227 from Drakx/alpine-linux
Added instructions for building on Alpine Linux
2 parents cf72f13 + 84f65d4 commit ba0f3a0

File tree

1 file changed

+17
-0
lines changed

1 file changed

+17
-0
lines changed

README.md

+17
Original file line numberDiff line numberDiff line change
@@ -108,6 +108,23 @@ services.udev.extraRules = '' # if not slip rules in manually
108108
'';
109109
```
110110

111+
##### Alpine
112+
First you'll need to download and install [QZXing](https://github.com/ftylitak/qzxing) first by doing `qmake`.
113+
The advice in that repo suggests to add the header files to the `Moolticute.pro` however this dosen't work.
114+
```
115+
doas apk add qt5-qtmultimedia-dev qt5-qtsystems-dev qt5-qttools-dev qt5-qtx11extras-dev qt5-qtwayland-dev acpi alpine-conf eudev eudev-doc eudev-rule-generator eudev-openrc linux-firmware cpufreqd pciutils util-linux
116+
doas rc-update add udev
117+
doas rc-update add acpid
118+
doas rc-update add cpufreqd
119+
doas setup-devd udev
120+
doas setup-devd dbus
121+
doas setup-devd elogind
122+
doas setup-devd polkit
123+
curl https://raw.githubusercontent.com/mooltipass/mooltipass-udev/master/udev/69-mooltipass.rules | doas tee /etc/udev/rules.d/69-mooltipass.rules
124+
doas udevadm control --reload-rules
125+
```
126+
Reboot, then make sure to add yourself to plugdev group, once done you may need to reboot again, check via `groups`.
127+
111128
##### Non systemd Linux
112129
The main [udev rules](https://github.com/mooltipass/mooltipass-udev)
113130
relies on integration between systemd, systemd-login and systemd-udevd

0 commit comments

Comments
 (0)