Azure/WALinuxAgent

[FR] Best practice for packaging the WALinuxAgent for Nix/NixOS

AkechiShiro opened this issue · 4 comments

Could you tell me the correct packages I script that I should look at for packaging for Nix/NixOS distro this Azure Agent ?

Tasks

No tasks being tracked yet.

@AkechiShiro We don't do any packaging for the agent. It's up to the distro owner how they do it. We have few samples in readme, in case that helps.

If someone looking to install from source, they may need to look at the setup.py script.

Well @nagworld9 you didn't understand my question I wasn't asking you to package it. But was indeed asking about what files and which advices you would have in order to package this software for Nix/NixOS, as it is an immutable distro and some package do have side effects which breaks when packaged for Nix/NixOS

@AkechiShiro Please check the setup.py in our repo, it has list of files needs to be there depending on distro.

So I take it the agent does not write any files other than config files and those are written at built time ?

If any files is written, due to nix read only mount, the agent will crash.

I will package it following setup.py and will open any issue, if I can't make it work with more specific info.