Skip to content
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

Support for armhf more than armv7 #139

Merged
merged 1 commit into from
Jun 14, 2024
Merged

Conversation

rosbeef
Copy link
Contributor

@rosbeef rosbeef commented Apr 14, 2024

Problem

error : Failed to provision sources : In resources.sources: it looks like you forgot to define url/sha256 or armhf.url/armhf.sha256

Solution

add armhf.url line with the same armv7 url source in the manifestt.toml

PR Status

  • Code finished and ready to be reviewed/tested
  • The fix/enhancement were manually tested (if applicable)

@OniriCorpe
Copy link
Member

OniriCorpe commented Apr 15, 2024

i don't understand your problem

this package doesn't have an armhf source because it distinguishes armv6 and armv7

your addition in the manifest.toml would not be used by the package's scripts because it's out of its logic

@rosbeef
Copy link
Contributor Author

rosbeef commented Apr 15, 2024

In Debian Linux and derivatives such as Ubuntu and Linux Mint, armhf (ARM hard float) refers to the ARMv7 architecture

source https://en.wikipedia.org/wiki/ARM_architecture_family

@rosbeef
Copy link
Contributor Author

rosbeef commented Apr 15, 2024

Before armhf or so armv7, Debian name the arch, "armel" so armv6 shoud be changed to armel too, but i have not this kind of hardware to test it bymyself

better source : https://www.debian.org/ports/arm/index.en.html

@OniriCorpe
Copy link
Member

OniriCorpe commented Apr 15, 2024

AFAIK the yunohost default detection returns armhf for both armv6 and armv7
see: https://github.com/YunoHost-Apps/gotosocial_ynh/blob/master/scripts/_common.sh#L12

anyway, can't do anything without logs or the actual detailed problem

@rosbeef
Copy link
Contributor Author

rosbeef commented Apr 15, 2024

Here it is.
https://paste.yunohost.org/raw/cakalufuyi

The ynh_setup_source is using "dpkg --print-architecture" to detect arch (https://yunohost.org/en/packaging_apps_resources#sources)
which return armhf for my armv7l arch. odroidxu4.

Maybe here is the difference.
j;)

@OniriCorpe OniriCorpe changed the base branch from testing to armhf June 14, 2024 20:27
@OniriCorpe OniriCorpe merged commit 8345c41 into YunoHost-Apps:armhf Jun 14, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants