Skip to content

ostree-kernel-initramfs: add back initramfs fit workaround#777

Merged
pattivacek merged 1 commit intoadvancedtelematic:masterfrom
ricardosalveti:fit
Oct 16, 2020
Merged

ostree-kernel-initramfs: add back initramfs fit workaround#777
pattivacek merged 1 commit intoadvancedtelematic:masterfrom
ricardosalveti:fit

Conversation

@ricardosalveti
Copy link
Copy Markdown
Contributor

Previous initramfs fit specific workaround was removed as part of commit
6eecf15, causing ostree to provide an init argument as part of the
kernel command line arguments when it is not really needed.

Bring back the workaround by simply generating an empty file in case
kernel image type is fit and initramfs is also used by the target.

Signed-off-by: Ricardo Salveti [email protected]

Previous initramfs fit specific workaround was removed as part of commit
6eecf15, causing ostree to provide an init argument as part of the
kernel command line arguments when it is not really needed.

Bring back the workaround by simply generating an empty file in case
kernel image type is fit and initramfs is also used by the target.

Signed-off-by: Ricardo Salveti <[email protected]>
@ricardosalveti
Copy link
Copy Markdown
Contributor Author

@liuming50 something I noticed when updating to latest meta-updater.

ricardosalveti added a commit to ricardosalveti/meta-lmp that referenced this pull request Oct 15, 2020
ricardosalveti added a commit to foundriesio/meta-lmp that referenced this pull request Oct 15, 2020
Copy link
Copy Markdown
Collaborator

@pattivacek pattivacek left a comment

Choose a reason for hiding this comment

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

I also wondered about that bit being removed. It looks correct to me to restore it. Some of the tests failed, but they are known to fail at present on master and they aren't particularly relevant to your changes. Thanks!

@pattivacek pattivacek merged commit 9a63337 into advancedtelematic:master Oct 16, 2020
ricardosalveti added a commit to foundriesio/meta-lmp that referenced this pull request Jan 7, 2022
Changes proposed to meta-updater at:
advancedtelematic/meta-updater#777

Signed-off-by: Ricardo Salveti <[email protected]>
(cherry picked from commit dca95a7)
Signed-off-by: Raul Muñoz <[email protected]>
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.

2 participants