clearlinux / mixer-tools

Software update mixer and related tools
Apache License 2.0
28 stars 37 forks source link

Making a minimal mix #707

Closed ashleshaAtrey closed 4 years ago

ashleshaAtrey commented 4 years ago

Currently, the “os-core” bundle and its “filesystem” package is a hard requirement in Mixer. In order to enable a minimal mix for 3rd party, “filesystem” package is made optional. In case the “filesystem” package is found in any of the mix bundles, then Mixer should install the “filesystem” package first. If it’s not found in any of the mix bundles, then filesystem is not installed.

The “os-core” bundle is still a hard requirement in Mixer. If the "os-release" file is not found, then Mixer creates and injects a default one. fixes #704

Signed-off-by: Ashlesha Atrey ashlesha.atrey@intel.com

reaganlo commented 4 years ago

Instead of failing if the "os-release" file is not found, can Mixer create and inject a default one. I have updated the #704. Also please check if there are other hard requirements.

ashleshaAtrey commented 4 years ago

@reaganlo made the changes. Ready for review.

reaganlo commented 4 years ago

Updating git commit message and merging