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

os configure: Locate the boot partition w/o using the device-type.json's partition field #2901

Draft
wants to merge 4 commits into
base: master
Choose a base branch
from

Conversation

thgreasi
Copy link
Member

@thgreasi thgreasi commented Dec 18, 2024

On top of #2899, so let's get that in first for better debugging in case of an issue.

Update balena-device-init from 8.0.0 to 8.1.0

Depends-on: balena-io-modules/balena-device-init#47
Change-type: patch

@thgreasi thgreasi force-pushed the balena-device-init-v-8-1-0 branch 7 times, most recently from bd042dc to b64723f Compare December 19, 2024 22:27
@thgreasi thgreasi force-pushed the balena-device-init-v-8-1-0 branch from b64723f to 245a966 Compare December 20, 2024 17:13
src/utils/helpers.ts Outdated Show resolved Hide resolved
@thgreasi thgreasi force-pushed the balena-device-init-v-8-1-0 branch from 245a966 to 08d2d3c Compare December 24, 2024 17:54
@thgreasi thgreasi force-pushed the balena-device-init-v-8-1-0 branch from 08d2d3c to 3ed7317 Compare December 24, 2024 18:32
…n's partition field

Update balena-device-init from 8.0.0 to 8.1.0

Change-type: minor
@thgreasi thgreasi force-pushed the balena-device-init-v-8-1-0 branch from 3ed7317 to c36c530 Compare December 24, 2024 19:05
@thgreasi thgreasi force-pushed the balena-device-init-v-8-1-0 branch from c36c530 to 6281bb1 Compare December 24, 2024 19:12
@kb2ma kb2ma self-requested a review December 26, 2024 16:12
Copy link
Contributor

@kb2ma kb2ma left a comment

Choose a reason for hiding this comment

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

Nice tests! Not approving only due to package version on balena-device-init.

const command: string[] = [
`os configure ${tmpMatchingDtJsonPartitionPath}`,
'--device-type jetson-nano',
'--version 6.0.13',
Copy link
Contributor

@kb2ma kb2ma Dec 26, 2024

Choose a reason for hiding this comment

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

You can remove the version option now that getOsVersionFromImage() reads from the image. It also would provide another implicit test.

const command: string[] = [
`os configure ${tmpNonMatchingDtJsonPartitionPath}`,
'--device-type jetson-nano',
'--version 6.1.25',
Copy link
Contributor

@kb2ma kb2ma Dec 26, 2024

Choose a reason for hiding this comment

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

You can remove this version option now like for the preceding test.

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.

3 participants