Skip to content
This repository was archived by the owner on Mar 30, 2021. It is now read-only.

Conversation

@sureshkvl
Copy link
Contributor

No description provided.

Copy link
Contributor

@nlewo nlewo left a comment

Choose a reason for hiding this comment

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

If the goal is to load the module in a devstack, I think it would be better to provide a script to fetch kernel sources and build the vrouter module from the devstack itself becasue i think we can encounter to much different kernel versions.

};
in lself.lib.buildVrouter kernel;

vrouterModuleUbuntu_4_4_0_137_generic = let
Copy link
Contributor

Choose a reason for hiding this comment

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

Can you add in a command for which ubuntu release it is?

@@ -0,0 +1,33 @@
{ stdenv, fetchurl, patchelf, dpkg, rsync }:

{ version, amd64File, amd64Sha256, allFile, allSha256 }:
Copy link
Contributor

Choose a reason for hiding this comment

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

I think amd64File, allFile strings can be generated from the version. Also, I think we could find better name for these files. You can see what apt description of theses packages.

{ version, amd64File, amd64Sha256, allFile, allSha256 }:

stdenv.mkDerivation rec {
inherit version amd64File amd64Sha256 allFile allSha256;
Copy link
Contributor

Choose a reason for hiding this comment

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

You only need to inherit version.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants