-
Notifications
You must be signed in to change notification settings - Fork 4
Vrouter: support Ubuntu vrouter kernel module #36
base: master
Are you sure you want to change the base?
Conversation
nlewo
left a comment
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.
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 |
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.
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 }: | |||
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.
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; |
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.
You only need to inherit version.
No description provided.