Comments (6)
I don't know if that differentiate armv6 and armv7 :/
unfortunately no, dpkg --print-architecture
returns armhf
for both :/
from gotosocial_ynh.
Since YunoHost 4.3.1.8, you can the the $YNH_ARCH
env variable (which is basically the return of dpkg --print-architecture
), but I don't know if this command differentiate between armv6 and armv7 either...
from gotosocial_ynh.
my armv6 raspi zero w returns:
# dpkg --print-architecture
armhf
but idk too :")
from gotosocial_ynh.
with uname -m
:
my armv6 raspi zero w returns armv6l
and a friend's armv7 computer returns armv7l
The $YNH_ARCH
ynh helper seems using uname -m
, so maybe we can just slightly edit it to differentiate those 2 arm variants?
$YNH_ARCH
already distinguishes arm64
from arm
so I see no reason not to do so for these variants as well
from gotosocial_ynh.
$YNH_ARCH
is using dpkg --print-architecture
, but again I don't know if that differentiate armv6 and armv7 :/
https://github.com/YunoHost/yunohost/blob/93ed8efb1783be8b5fb49deb1acb2ffb790ba36a/src/app.py#L2330
from gotosocial_ynh.
I think you can tweak ynh_detect_arch
to differentiate those arch and put it in _common.sh
to use it in all your scripts
from gotosocial_ynh.
Related Issues (16)
- BIG logfile HOT 3
- Implement OpenID Connect (OIDC) HOT 6
- Unexpected token < on JSON HOT 1
- Configuration panel
- postgresql is dead after installing gotosocial HOT 4
- Installation fails HOT 1
- Unclear duplicated fields in config panel HOT 1
- Expose `account-domain` setting with suitable warnings HOT 8
- Allow CSS setting is not kept on upgrade HOT 2
- Version 0.8.1 released HOT 1
- fetching issues HOT 4
- update to 0.9 failed HOT 1
- [question] is link to media broken? HOT 5
- Version 0.10.0 HOT 2
- Asking help for NGINX 404 rule
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from gotosocial_ynh.