Skip to content

feat: major Greengrass architecture refactor and component updates #13238

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

Conversation

thomas-roos
Copy link
Contributor

This commit introduces significant improvements to the AWS IoT Greengrass integration in meta-aws, including architectural separation, version updates, and new component examples.

  • Split greengrass-common.inc into separate bbclasses for better modularity

  • Add greengrass-component.bbclass for classic Greengrass v2 components

  • Add greengrass-lite-component.bbclass for Greengrass Lite components

  • Update greengrass-plugin.bbclass with enhanced functionality

  • Upgrade greengrass-bin from v2.14.1 to v2.15.0

  • Update greengrass-lite to v2.2.1 with bug fixes and improvements

  • Remove obsolete greengrass.service.patch, update loader.patch

  • Add greengrass-component-helloworld-bash: Bash-based component example

  • Add greengrass-component-helloworld-python: Python-based component example

  • Add greengrass-component-helloworld-sdk-lite: C SDK Lite component example

  • All examples include proper component recipes and ptest integration

  • Add deployment copy path fix (002-fix-deployment-copy-path.patch)

  • Add multi-component CLI support (003-ggl-cli-multi-component.patch)

  • Fix fleet provisioning circular dependency (004-fix-fleet-provisioning-circular-dependency.patch)

  • Add local deployment service (ggl.local-deployment.service)

  • Add image component deployment script (ggl-deploy-image-components)

  • Update fleet provisioning services with improved configuration

  • Remove demo certificate files for security

  • Add proper systemd service integration

  • Update configuration template with better defaults

  • Remove deprecated board ID replacement script

  • Update README.md with new component architecture and examples

  • Add comprehensive component development guidance

This refactor provides a cleaner separation between Greengrass variants,

Issue #, if available:

Description of changes:

By submitting this pull request, I confirm that you can use, modify, copy, and redistribute this contribution, under the terms of your choice.

@thomas-roos thomas-roos requested a review from a team as a code owner August 11, 2025 12:43
@thomas-roos thomas-roos force-pushed the 2025-08-11_master-next_components branch 5 times, most recently from b3aceeb to 3a1f7d4 Compare August 11, 2025 14:24
This commit introduces significant improvements to the AWS IoT Greengrass
integration in meta-aws, including architectural separation, version updates,
and new component examples.

- Split greengrass-common.inc into separate bbclasses for better modularity
- Add greengrass-component.bbclass for classic Greengrass v2 components
- Add greengrass-lite-component.bbclass for Greengrass Lite components
- Update greengrass-plugin.bbclass with enhanced functionality

- Upgrade greengrass-bin from v2.14.1 to v2.15.0
- Update greengrass-lite to v2.2.1 with bug fixes and improvements
- Remove obsolete greengrass.service.patch, update loader.patch

- Add greengrass-component-helloworld-bash: Bash-based component example
- Add greengrass-component-helloworld-python: Python-based component example
- Add greengrass-component-helloworld-sdk-lite: C SDK Lite component example
- All examples include proper component recipes and ptest integration

- Add deployment copy path fix (002-fix-deployment-copy-path.patch)
- Add multi-component CLI support (003-ggl-cli-multi-component.patch)
- Fix fleet provisioning circular dependency (004-fix-fleet-provisioning-circular-dependency.patch)
- Add local deployment service (ggl.local-deployment.service)
- Add image component deployment script (ggl-deploy-image-components)
- Update fleet provisioning services with improved configuration

- Remove demo certificate files for security
- Add proper systemd service integration
- Update configuration template with better defaults
- Remove deprecated board ID replacement script

- Update README.md with new component architecture and examples
- Add comprehensive component development guidance

This refactor provides a cleaner separation between Greengrass variants,
@thomas-roos thomas-roos force-pushed the 2025-08-11_master-next_components branch from 3a1f7d4 to 56ba2f4 Compare August 11, 2025 14:58
@thomas-roos thomas-roos merged commit 572867e into aws4embeddedlinux:master-next Aug 11, 2025
3 of 8 checks passed
@aws-iot-embedded-linux-ci
Copy link
Collaborator

Backport failed for kirkstone-next, because it was unable to cherry-pick the commit(s).

Please cherry-pick the changes locally and resolve any conflicts.

git fetch origin kirkstone-next
git worktree add -d .worktree/backport-13238-to-kirkstone-next origin/kirkstone-next
cd .worktree/backport-13238-to-kirkstone-next
git switch --create backport-13238-to-kirkstone-next
git cherry-pick -x 572867efac58c26fc4e1085cbbe9b7a89d07ebf0

@aws-iot-embedded-linux-ci
Copy link
Collaborator

Backport failed for scarthgap-next, because it was unable to cherry-pick the commit(s).

Please cherry-pick the changes locally and resolve any conflicts.

git fetch origin scarthgap-next
git worktree add -d .worktree/backport-13238-to-scarthgap-next origin/scarthgap-next
cd .worktree/backport-13238-to-scarthgap-next
git switch --create backport-13238-to-scarthgap-next
git cherry-pick -x 572867efac58c26fc4e1085cbbe9b7a89d07ebf0

@aws-iot-embedded-linux-ci
Copy link
Collaborator

Backport failed for walnascar-next, because it was unable to cherry-pick the commit(s).

Please cherry-pick the changes locally and resolve any conflicts.

git fetch origin walnascar-next
git worktree add -d .worktree/backport-13238-to-walnascar-next origin/walnascar-next
cd .worktree/backport-13238-to-walnascar-next
git switch --create backport-13238-to-walnascar-next
git cherry-pick -x 572867efac58c26fc4e1085cbbe9b7a89d07ebf0

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants