-
Notifications
You must be signed in to change notification settings - Fork 0
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
Conversation
buianhhuy96
commented
Jul 12, 2024
- 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
config-processor-installers.nix
Outdated
@@ -97,7 +98,7 @@ let | |||
isoImage.squashfsCompression = "lz4"; | |||
} | |||
] | |||
++ (import "${ghafOS}/modules/module-list.nix") | |||
#++ (import "${ghafOS}/modules/module-list.nix") |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Leftovers?
There was a problem hiding this comment.
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 |
There was a problem hiding this comment.
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
There was a problem hiding this comment.
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 |
There was a problem hiding this comment.
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.
There was a problem hiding this comment.
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="; |
There was a problem hiding this comment.
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?
There was a problem hiding this comment.
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.
There was a problem hiding this comment.
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 |
There was a problem hiding this comment.
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.
There was a problem hiding this comment.
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
aba7bb6
to
4254b9a
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGFM. Ship it!
4254b9a
to
1539e3f
Compare
- 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]>
1539e3f
to
cee8b6e
Compare