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

Add support for x86 devices #2048

Merged
merged 57 commits into from
Sep 19, 2024
Merged

Conversation

nicomiguelino
Copy link
Contributor

@nicomiguelino nicomiguelino commented Sep 2, 2024

Description

References (for Easy Access)

Copy link
Contributor

@vpetersson vpetersson left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Needs to comment back a few things and swap out your branch but good progress. Also keep in mind that x86 can run on 32 bit too.

@@ -206,15 +209,28 @@
update_cache: true
when: not cdefs_exist

- name: Install Anthias dependencies
- name: Get architecture
ansible.builtin.command: dpkg --print-architecture
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Use a more native way for this. You can get it from ansible directly.

The long term plan is to be less Debian specific so the less hard coded we can be the better.

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@nicomiguelino this is what I mean

https://stackoverflow.com/questions/44713880/how-do-i-make-decision-based-on-arch-in-ansible-playbooks

Meaning, use "ansible_facts.ansible_architecture" instead of shelling out.

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Got it, thanks! Please see newer commits.

bin/install.sh Show resolved Hide resolved
@nicomiguelino nicomiguelino marked this pull request as ready for review September 17, 2024 16:24
@nicomiguelino nicomiguelino requested a review from a team as a code owner September 17, 2024 16:24
Copy link
Contributor

@vpetersson vpetersson left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This PR should probably still be in draft given that it had a lot of commented out code with notes. That said, looks promising

@nicomiguelino nicomiguelino marked this pull request as draft September 18, 2024 14:28
Copy link

sonarcloud bot commented Sep 18, 2024

@nicomiguelino nicomiguelino marked this pull request as ready for review September 18, 2024 17:59
Copy link
Contributor

@vpetersson vpetersson left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@nicomiguelino nicomiguelino merged commit 37f4d74 into Screenly:master Sep 19, 2024
7 checks passed
@nicomiguelino nicomiguelino deleted the x86-support branch September 19, 2024 16:24
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
Status: Done
Development

Successfully merging this pull request may close these issues.

Add support for x86 devices running Debian
2 participants