Skip to content

scarthgap: keep the same IMAGE_NAME_SUFFIX as before#1580

Merged
quaresmajose merged 2 commits intofoundriesio:mainfrom
quaresmajose:image-name-suffix
Feb 12, 2025
Merged

scarthgap: keep the same IMAGE_NAME_SUFFIX as before#1580
quaresmajose merged 2 commits intofoundriesio:mainfrom
quaresmajose:image-name-suffix

Conversation

@quaresmajose
Copy link
Copy Markdown
Member

@quaresmajose quaresmajose commented Feb 11, 2025

The default value in scarthgap of IMAGE_NAME_SUFFIX is '.rootfs'.
This will have several impacts on our CI so we will revert back for the default value.

Fixup for [1]. The default value of IMAGE_NAME_SUFFIX is '.rootfs'
but that can be changed so add support for that.

[1] foundriesio@d024291

Signed-off-by: Jose Quaresma <[email protected]>
Copy link
Copy Markdown
Member

@ricardosalveti ricardosalveti left a comment

Choose a reason for hiding this comment

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

LGTM, we should validate via CI, with pre-built containers and so on as well.

@ricardosalveti
Copy link
Copy Markdown
Member

@mike-sul @mike-scott ^^

@quaresmajose
Copy link
Copy Markdown
Member Author

LGTM, we should validate via CI, with pre-built containers and so on as well.

I have asked Mike Sul to help testing this and he validate the system assembly in his factory

Copy link
Copy Markdown
Contributor

@angolini angolini left a comment

Choose a reason for hiding this comment

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

"The default value in scarthgap of IMAGE_NAME_SUFFIX is '.rootfs'.
This will have several impacts on our CI so we will revert back
for the default value."
is confusing, maybe use:

"The default value in scarthgap of IMAGE_NAME_SUFFIX is '.rootfs'.
This will have several impacts on our CI so we will revert back
for the previous/lmp defaulf value."

Other than that, great work, thanks!

sed -e 's/@@MACHINE@@/${MACHINE}/' ${S}/bootloader.uuu.in > bootloader.uuu
sed -e 's/@@MACHINE@@/${MACHINE}/' \
-e 's/@@MFGTOOL_FLASH_IMAGE@@/${MFGTOOL_FLASH_IMAGE}/' \
-e 's/@@IMAGE_NAME_SUFFIX@@/${IMAGE_NAME_SUFFIX}/' \
Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

nice!

The default value in scarthgap of IMAGE_NAME_SUFFIX is '.rootfs'.
This will have several impacts on our CI so we will revert back
for the previous/lmp defaulf value.

Signed-off-by: Jose Quaresma <[email protected]>
@quaresmajose
Copy link
Copy Markdown
Member Author

"The default value in scarthgap of IMAGE_NAME_SUFFIX is '.rootfs'.
This will have several impacts on our CI so we will revert back
for the previous/lmp defaulf value."

I used your suggestion

@quaresmajose quaresmajose merged commit aea4894 into foundriesio:main Feb 12, 2025
@quaresmajose quaresmajose deleted the image-name-suffix branch February 12, 2025 10:35
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