You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
OMI and the PSRP provider need to be packaged appropriately such that the PowerShell packages can depend on them. OMI must be aware of the location of PowerShell (currently packaged to /usr/local/share/powershell).
We’ve done a lot of work to get to a point where we only have one OMI daemon on the system for all use cases (SC, DSC, OMS). I think it’s desirable to make sure that any necessary changes to OMI get into the upstream OMI and we use the existing OMI packages for this. Is that consistent with your plans?
I've seen OMI packages, just need to figure out how to create them outside of other projects. Jeff Coffler (@jeffaco), Nick (@niroyb) pointed me to installbuilder, but I can't find any script or make target to produce a deb/rpm for OMI, do you know how?
We have no builder of OMI packages that can be run stand-alone. Well, sort of.
The actual installbuilder files for OMI are checked into OMI itself. But you need to be careful on how to configure OMI to work with our products. Otherwise, you can have an OMI that installs into "our" directory (/opt/omi), yet it won't work with our products. That would be a disaster.
There are only two places that I'm aware of where this is actually built: SCX and DSC.
Both are fairly light-weight projects. If you just did a "configure --enable-ulinux; make" in SCXcore, you'd get what you needed. But if you were willing to check out SCXcore, I could give you a few targeted commands to JUST build OMI.
Is that enough for you? Or do you need something more?
What if you took any of the output packages up on the build share for SCX, and ran the shell bundle with --extract. If you did this, you'd get an up-to-date version of OMI as well (from the master branch).
I'd suggest you stop by, tell me exactly what you need, and I'll work with you to satisfy your needs.
Ideally, we wouldn't take a dependency on SCXCore or DSC in order to build an OMI package for PowerShell. My goal is to get an OMI "2.0" Debian package that the PowerShell package and Paul Allen (@paulcallen)'s PSRP provider can take a dependency on. Thus a master branch build isn't enough; I need to make one for the psrp/features branch (and be able to make new ones as it gets updated).
It sounds like OMI is incapable of producing its own packages, is this something we can remedy?
I could give you specific 'make' instructions on how to build OMI. Note that you would need to take a dependency on project "pal" (this is a public repo), as that's where installbuilder happens to live. If we moved that, that would impact a bunch of projects (SCXcore, dsc, apache, mysql, ...)
Kristopher Bash (@KrisBash) Are you okay with PowerShell building OMI themselves, assuming they use identical build steps to what SCXcore does?
Activity
KrisBash commentedon Mar 8, 2016
We’ve done a lot of work to get to a point where we only have one OMI daemon on the system for all use cases (SC, DSC, OMS). I think it’s desirable to make sure that any necessary changes to OMI get into the upstream OMI and we use the existing OMI packages for this. Is that consistent with your plans?
andyleejordan commentedon Mar 8, 2016
Yes, we would intend to keep just one OMI daemon, and integrate the PSRP feature changes into OMI's master branch.
If I can easily updated the existing OMI packages, that would be great. I'll work with Nick (@niroyb) on this.
Kristopher Bash (@KrisBash) what is the status of microsoft/omi#24?
[-]Package OMI[/-][+]Setup package feed[/+]andyleejordan commentedon Mar 14, 2016
I've seen OMI packages, just need to figure out how to create them outside of other projects. Jeff Coffler (@jeffaco), Nick (@niroyb) pointed me to
installbuilder, but I can't find any script or make target to produce a deb/rpm for OMI, do you know how?jeffaco commentedon Mar 14, 2016
We have no builder of OMI packages that can be run stand-alone. Well, sort of.
The actual installbuilder files for OMI are checked into OMI itself. But you need to be careful on how to configure OMI to work with our products. Otherwise, you can have an OMI that installs into "our" directory (/opt/omi), yet it won't work with our products. That would be a disaster.
There are only two places that I'm aware of where this is actually built: SCX and DSC.
Both are fairly light-weight projects. If you just did a "configure --enable-ulinux; make" in SCXcore, you'd get what you needed. But if you were willing to check out SCXcore, I could give you a few targeted commands to JUST build OMI.
Is that enough for you? Or do you need something more?
What if you took any of the output packages up on the build share for SCX, and ran the shell bundle with
--extract. If you did this, you'd get an up-to-date version of OMI as well (from the master branch).I'd suggest you stop by, tell me exactly what you need, and I'll work with you to satisfy your needs.
andyleejordan commentedon Mar 14, 2016
Ideally, we wouldn't take a dependency on SCXCore or DSC in order to build an OMI package for PowerShell. My goal is to get an OMI "2.0" Debian package that the PowerShell package and Paul Allen (@paulcallen)'s PSRP provider can take a dependency on. Thus a
masterbranch build isn't enough; I need to make one for thepsrp/featuresbranch (and be able to make new ones as it gets updated).It sounds like OMI is incapable of producing its own packages, is this something we can remedy?
jeffaco commentedon Mar 14, 2016
I could give you specific 'make' instructions on how to build OMI. Note that you would need to take a dependency on project "pal" (this is a public repo), as that's where installbuilder happens to live. If we moved that, that would impact a bunch of projects (SCXcore, dsc, apache, mysql, ...)
Kristopher Bash (@KrisBash) Are you okay with PowerShell building OMI themselves, assuming they use identical build steps to what SCXcore does?
andyleejordan commentedon Mar 23, 2016
Kristopher Bash (@KrisBash) Can you follow up?
andyleejordan commentedon Jun 15, 2016
Travis Plunk (@TravisEz13) adding you as an assignee.
andyleejordan commentedon Jun 24, 2016
This issue is covering several things that should be separate. OMI and PSRP packages are being discussed externally in email threads with Paul Allen (@paulcallen), Jeff Coffler (@jeffaco), and George Fleming (@palladia); I'll let them figure out tracking. Separately from that, package feeds for PowerShell don't seem to be in our scope any more, I believe the intention is to ship the packages in the official feeds. Joey Aiello (@joeyaiello), Kristopher Bash (@KrisBash), is this right?
andyleejordan commentedon Jul 5, 2016
Until Kristopher Bash (@KrisBash) can resolve the questions around official feeds, I'm closing this with #1279.