-
Notifications
You must be signed in to change notification settings - Fork 445
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Fix for Arch Linux ARM on Raspberry Pi #62
base: master
Are you sure you want to change the base?
Conversation
@terrywang Please review the referenced commit and try it out, please. |
@KittyKatt Works like a charm. Nicer fix, looks much better than my ugly fix ;-) terry@pi:~/screenFetch$ ./screenfetch-dev
pcilib: Cannot open /proc/bus/pci
lspci: Cannot find any working access method.
-`
.o+` terry@pi.terry.im
`ooo/ OS: Arch Linux
`+oooo: Kernel: armv6l Linux 3.10.9-1-ARCH+
`+oooooo: Uptime: 17m
-+oooooo+: Packages: 184
`/:-:++oooo+: Shell: 314
`/++++/+++++++: Disk: 705M / 4.6G (16%)
`/++++++++++++++: CPU: ARMv6-compatible rev 7 (v6l) @ 700MHz
`/+++ooooooooooooo/` RAM: 52MB / 460MB
./ooosssso++osssssso+`
.oossssso-````/ossssss+`
-osssssso. :ssssssso.
:osssssss/ osssso+++.
/ossssssss/ +ssssooo/-
`/ossssso+/:- -:/+osssso+-
`+sso+:-` `.-/+oso:
`++:. `-/+/
.` `/ |
I might be able to work on those other issues, too. Shell detection shouldn't be hard. Just gotta figure out the PPID walk pattern I need to do there. :) |
Haven't got a chance to look into the |
@terrywang are you regularly on IRC? I would love to run some test commands with you at some point and it's easiest to do over IRC or some faster form of communication. :D |
@KittyKatt Not regularly on IRC (freenode? which channel?). Send me an email and I'll do the test and reply back ASAP ;-) |
Why hasn't this been merged? |
Mostly because I've dropped support for this to @darealshinji due to many life issues I've had in the last several years. The good news is I'm hoping to hop on this wagon again not too long from now, later this year. Perhaps the highlight will help alert darealshinji and he'll see if he can merge. Sorry for the delay, I just lost the time I was using to work on this to lots of personal issues. |
I can manually merge this but I can't test if it works. |
Is this fix still needed? Doesn't the current code already detect ARM Arch Linux? case "${distro_detect}" in
[...]
"archlinux"|"Arch Linux"|"arch"|"Arch"|"archarm")
[/etc/os-release detection ...]
[[ "${distro}" == "Arch" || "${distro}" == "Archarm" || "${distro}" == "archarm" ]] && distro="Arch Linux" |
This PR was created back in August 2013, I haven't been closely following the project for quite some time as I've switched to |
A quick and ugly fix for screenfetch running on Arch Linux ARM @ Raspberry Pi.
ScreenFetch from master branch
Looking at the code logic, looks like screenfetch is pulling distribution information from
/etc/os-releases
.On Pi, the contents of the
/etc/os-release
file like below, the key issue is its ID =>archarm
. This file is a part of thefilesystem
package.This commit is a quick and ugly fix, may need a bit more polish when merged;-)