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

🎨 Bundle bootargs with framework images #1796

Merged
merged 4 commits into from
Sep 7, 2023
Merged

Conversation

Itxaka
Copy link
Member

@Itxaka Itxaka commented Sep 7, 2023

Currently bootargs is not provided with the framework images so its missing a very important piece to boot which results into BYOI being broken.

This patch adds the bootargs.cfg to the framework image. Also the config.txt to the rpi images.

Also drops the kernel/initramfs vars from the bootargs as they are set to the default now in the package.

Also moves the luet clean under the package list generation as it requires the database of luet to list the packages.

What this PR does / why we need it:

Which issue(s) this PR fixes (optional, in fixes #<issue number>(, fixes #<issue_number>, ...) format, will close the issue(s) when PR gets merged):
Fixes #1770

Requires: kairos-io/packages#408

Currently bootargs is not provided with the framework images so its
missing a very important piece to boot which results into BYOI being
broken.

This patch adds the bootargs.cfg to the framework image. Also the
config.txt to the rpi images.

Also drops the kernel/initramfs vars from the bootargs as they are set
to the default now in the package.

Also moves the luet clean under the package list generation as it
requires the database of luet to list the packages.

Signed-off-by: Itxaka <itxaka@kairos.io>
@Itxaka Itxaka requested a review from a team September 7, 2023 10:33
jimmykarily
jimmykarily previously approved these changes Sep 7, 2023
@Itxaka
Copy link
Member Author

Itxaka commented Sep 7, 2023

missing package update with the default kernel/initrd variable set...

Signed-off-by: Itxaka <itxaka@kairos.io>
Its not needed, we boot from latest release and upgrade to pushed
container, the iso is not touched

Signed-off-by: Itxaka <itxaka@kairos.io>
Needed for upgrade as we dont upgrade COS_GRUB partition with anything
new during upgrade so we are stuck with existing config in there during
upgrades

Signed-off-by: Itxaka <itxaka@kairos.io>
@Itxaka Itxaka requested review from a team and jimmykarily September 7, 2023 15:32
Copy link
Member

@mudler mudler left a comment

Choose a reason for hiding this comment

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

Looking good!

@Itxaka Itxaka merged commit aca4ee0 into kairos-io:master Sep 7, 2023
21 checks passed
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.

You need to load the kernel first
3 participants