Alex313031 / Thorium-Raspi

Thorium builds for Raspberry Pi 3B+, 4B, and 400.
https://thorium.rocks/
BSD 3-Clause "New" or "Revised" License
22 stars 0 forks source link

[Feature request] Support musl-linux-arm64 architecture #5

Open shipurjan opened 7 months ago

shipurjan commented 7 months ago

I'm trying to install thorium on Raspberry Pi Zero 2 W with Alpine Linux installed, but it's using musl-linux-arm64 architecture.

I know that there may not be many users needing this, so if there's a lot to need to change then I don't expect you to implement this feature, but if it's quite easy, like just adding one more arch to the compiling process which might work out of the box, then that'd be great.

# wget "https://github.com/Alex313031/Thorium-Raspi/releases/download/M117.0.5938.157/thorium-browser_117.0.5938.157_arm64.deb"
Connecting to github.com (140.82.121.4:443)
Connecting to objects.githubusercontent.com (185.199.108.133:443)
saving to 'thorium-browser_117.0.5938.157_arm64.deb'
thorium-browser_117. 100% |****************|  111M  0:00:00 ETA
'thorium-browser_117.0.5938.157_arm64.deb' saved

# dpkg -i thorium-browser_117.0.5938.157_arm64.deb
dpkg: error processing archive thorium-browser_117.0.5938.157_arm64.deb (--install):
 package architecture (arm64) does not match system (musl-linux-arm64)
Errors were encountered while processing:
 thorium-browser_117.0.5938.157_arm64.deb

# uname -a
Linux localhost 6.6.4-0-rpi #1-Alpine SMP PREEMPT Mon Dec  4 15:16:56 UTC 2023 aarch64 Linux

# cat /etc/*-release
3.19.0
NAME="Alpine Linux"
ID=alpine
VERSION_ID=3.19.0
PRETTY_NAME="Alpine Linux v3.19"
HOME_URL="https://alpinelinux.org/"
BUG_REPORT_URL="https://gitlab.alpinelinux.org/alpine/aports/-/issues"