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

🐛 Orin fixups #1562

Merged
merged 7 commits into from
Jun 29, 2023
Merged

🐛 Orin fixups #1562

merged 7 commits into from
Jun 29, 2023

Conversation

mudler
Copy link
Member

@mudler mudler commented Jun 28, 2023

Note: requires docs updates as the partition XML file changed too docs pr: kairos-io/kairos-docs#43

This PR does the following:

  • Add cublas and opencv (so can test the GPU from the image)
  • Bump the default image size to allow more space for packages
  • Adds a workaround for /usr/local. The Orin images currently are installing files into /usr/local, and as such are not visible on boot (/usr/local is mounted to COS_PERSISTENT). Introduce here a cloud-config that attempts to overlay the content of the image to /usr/local during boot. The consequence is that there will be a folder inside the partition local and one work due to how the nature of overlayfs works.

@mudler mudler requested a review from a team June 28, 2023 14:15
@mudler mudler changed the title 🐧 Orin fixups 🐛 Orin fixups Jun 28, 2023
mudler added 5 commits June 28, 2023 16:20
Signed-off-by: Ettore Di Giacinto <mudler@kairos.io>
Signed-off-by: Ettore Di Giacinto <mudler@kairos.io>
Signed-off-by: Ettore Di Giacinto <mudler@kairos.io>
Signed-off-by: Ettore Di Giacinto <mudler@kairos.io>
Signed-off-by: Ettore Di Giacinto <mudler@kairos.io>
Signed-off-by: Ettore Di Giacinto <mudler@kairos.io>
ENV SIZE="15200"
IF [[ "$FLAVOR" =~ ^ubuntu* ]]

IF [[ "$FLAVOR" = "ubuntu-20-lts-arm-nvidia-jetson-agx-orin" ]]
Copy link
Member

Choose a reason for hiding this comment

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

not for this PR but we need to find a way to do this in a similar way as the overlay files checks for ubuntu and others

mauromorales
mauromorales previously approved these changes Jun 28, 2023
Copy link
Member

@mauromorales mauromorales left a comment

Choose a reason for hiding this comment

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

lgtm

Signed-off-by: mudler <mudler@kairos.io>
@mudler mudler merged commit 32465fa into master Jun 29, 2023
@mudler mudler deleted the orin_fixups branch June 29, 2023 10:07
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
Archived in project
Development

Successfully merging this pull request may close these issues.

2 participants