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

Rebase ghaf release 24.06 #52

Merged
merged 1 commit into from
Jul 12, 2024
Merged

Rebase ghaf release 24.06 #52

merged 1 commit into from
Jul 12, 2024

Conversation

buianhhuy96
Copy link
Collaborator

  • Update flake.lock to ghaf 24.06
  • Modify config-processor to use ghaf modules
  • Rename microvm interface id from "vm-" to "tap-"
  • Simplify some configs due to updated nixpkgs
  • Adapt app changes to new version: lisgd, squeekboard
  • Remove upstream package overlay which caused error in previous build
  • Remove local golang, go-app is now built with nixpkgs.buildGoModules
  • Issue remained: fmo-dci warning and added unused (not working) audiovm

@@ -97,7 +98,7 @@ let
isoImage.squashfsCompression = "lz4";
}
]
++ (import "${ghafOS}/modules/module-list.nix")
#++ (import "${ghafOS}/modules/module-list.nix")
Copy link
Collaborator

Choose a reason for hiding this comment

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

Leftovers?

Copy link
Collaborator Author

Choose a reason for hiding this comment

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

Fixed.

flake.nix Outdated
@@ -64,7 +55,7 @@

imports = [
./hydrajobs/flake-module.nix
./modules/flake-module.nix
./modules/flake-module.nix
Copy link
Collaborator

Choose a reason for hiding this comment

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

unnecessary space at the end of string

Copy link
Collaborator Author

Choose a reason for hiding this comment

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

Fixed.

@@ -114,6 +114,8 @@ in {
after = [
"docker.service"
"docker.socket"
# WAR: warning: fmo-dci.service is ordered after 'network-online.target'
# but doesn't depend on it
Copy link
Collaborator

Choose a reason for hiding this comment

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

Need to create a Jira ticket for that and put its number here.

Copy link
Collaborator Author

Choose a reason for hiding this comment

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

Created FMO-44 and commented

@@ -21,12 +11,9 @@ buildGo121Module {
};
tags = [ "prod" ];
patches = [./remove-test.patch];
vendorSha256 = "sha256-9/twQyt6SVXWTRypt1FIWsRQxQEWFBkdi8eR+/xYNqg==";
vendorHash = "sha256-18p7l1otlviZNlM0UlCgW/US5YckBYcY/OEJoJIsIM0=";
Copy link
Collaborator

Choose a reason for hiding this comment

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

Are we update RA version here? It seems that we should not do that?

Copy link
Collaborator Author

Choose a reason for hiding this comment

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

This is the updated hash code due to golang (buildGoModule in nixpkgs) updated.
RA version is not changed.

Copy link
Collaborator

Choose a reason for hiding this comment

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

Cool, thanks!

(import "${ghafOS}/modules/microvm/networking.nix")
(import "${ghafOS}/modules/microvm/virtualization/microvm/microvm-host.nix")

# WAR: ghaf mainline has audiovm hardcoded. This causes audiovm defined here
Copy link
Collaborator

Choose a reason for hiding this comment

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

Need to create a Jira ticket for that. And put its number here.

Copy link
Collaborator Author

Choose a reason for hiding this comment

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

Created FMO-43 and commented

Copy link
Collaborator

@jsvapiav jsvapiav left a comment

Choose a reason for hiding this comment

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

LGFM. Ship it!

- Update flake.lock to ghaf 24.06
- Modify config-processor to use ghaf modules
- Rename microvm interface id from "vm-*" to "tap-*"
- Simplify some configs due to updated nixpkgs
- Adapt app changes to new version: lisgd, squeekboard
- Remove upstream package overlay which caused error in previous build
- Remove local golang, go-app is now built with nixpkgs.buildGoModules
- Issue remained: fmo-dci warning and added unused (not working) audiovm

Signed-off-by: Anh Huy Bui <[email protected]>
@buianhhuy96 buianhhuy96 merged commit f7a143c into main Jul 12, 2024
3 checks passed
@buianhhuy96 buianhhuy96 deleted the rebase_ghaf_release_2406 branch August 7, 2024 11:58
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